gst/gstutils.h: Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * gst/gstutils.h:
4         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
5         conversion functions.
6
7 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
8
9         * gst/gstbuffer.c: (gst_buffer_finalize):
10         Avoid costly typechecking for trivially correct pointers.
11
12         * gst/gstpoll.c: (gst_poll_wait):
13         Add some G_LIKELY here and there.
14
15         * libs/gst/base/gstadapter.c: (gst_adapter_push):
16         Add some debug info.
17
18 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
19
20         * docs/random/wtay/poll-timeout:
21         Small tweaks.
22
23 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
24
25         * tests/old/testsuite/caps/intersection.c: (main):
26         * tests/old/testsuite/plugin/loading.c: (main):
27         Remove references to deprecated API g_mem_chunk*.
28         Fixes #560442.
29
30 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         * tools/gst-inspect.c: (main):
33         Add --plugin option. Fixes #560301.
34
35 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
36
37         * docs/random/wtay/poll-timeout:
38         Quick braindump for a possible (not totally verified) atomic case.
39
40 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
41
42         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
43         (gst_registry_binary_initialize_magic),
44         (gst_registry_binary_write_cache),
45         (gst_registry_binary_check_magic):
46         * gst/gstregistrybinary.h:
47         Don't write and check a CRC for the binary registry file. It's
48         guaranteed that the registry is completely written (it's first written
49         to a temporary file and then moved) and if the registry was corrupted
50         by some hardware failure we would have bigger problems.
51
52         Bump binary registry version to 0.10.21.1 for this as it's an
53         incompatible change and to ensure that the registry gets rebuild
54         after the update.
55
56         This saves some milliseconds for reading/writing the registry.
57         Fixes bug #560399.
58
59 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
60
61         * docs/random/wtay/poll-timeout:
62         Some pseudo code for how we could implement clock timeouts with GstPoll.
63
64 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
65
66         * plugins/elements/gstfilesink.c:
67           Update Author string to match others.
68
69 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
70
71         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
72         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
73         being fixed and inline the trivial check.
74
75 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
76
77         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
78         (gst_caps_merge_structure), (gst_caps_get_structure),
79         (gst_caps_copy_nth), (gst_caps_set_simple),
80         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
81         (gst_caps_is_equal_fixed), (gst_caps_intersect),
82         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
83         (gst_caps_to_string):
84         Callgrind micro optimisations.
85         Avoid array bounds checks and force inline of trivial function.
86
87         * gst/gstobject.c: (gst_object_set_name_default):
88         -1 is equivalent to letting glib to the strlen but then there is more
89         room for optimisations and it's not our fault.
90
91         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
92         no need to clear the array, we're cool.
93
94         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
95         The most common _is_fixed() check is done on fundamental glib base
96         types so we check this first instead of doing a huge amount of
97         useless GST_TYPE_ARRAY calls.
98
99 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
100
101         * gst/gstevent.h:
102         Add a SKIP seek flag for use with advanced trickmodes.
103         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
104
105 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
106
107         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
108         No need to memset, we can clear the value ourselves.
109
110         * gst/gstvalue.c: (gst_type_is_fixed),
111         (gst_value_get_compare_func):
112         Some optimisations from a few callgrind sessions:
113         When checking if a type is fixed, check for trivial fundamental types
114         first before checking types for which we need to get the type followed
115         by the heavy duty type checks, this reduces the amount of
116         g_type_fundamental() calls a lot.
117         When getting the compare function, first check for our registered types.
118         If that fails, do the heavy duty g_type_is_a() checks, reduces the
119         amount of g_type_is_a() considerably.
120
121 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
122
123         * docs/design/part-TODO.txt:
124         Mumble something about removing GstXML.
125
126 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * gst/gstbin.c: (gst_bin_handle_message_func):
129         Get the seqnum before we dispose the message.
130
131 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
132
133         * docs/design/part-TODO.txt:
134         Refer to the framestepping document.
135
136 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
137
138         * gst/gstbin.c: (bin_handle_async_start),
139         (gst_bin_handle_message_func), (gst_bin_query):
140         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
141         (gst_base_sink_event), (gst_base_sink_change_state):
142         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
143         (gst_base_src_loop), (gst_base_src_change_state):
144         Copy seqnums from events to messages so that they can all be related
145         back to eachother.
146
147 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
148
149         * tools/gst-launch.c: (event_loop):
150         Print the message seqnums.
151
152 2008-11-04  Andy Wingo  <wingo@pobox.com>
153
154         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
155
156 2008-11-04  Andy Wingo  <wingo@pobox.com>
157
158         Add sequence numbers to events and messages. See #559250.
159
160         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
161         API: New functions.
162
163         * gst/gstevent.h:
164         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
165         events with a new sequence number, and copy it when copying.
166         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
167         an event's sequence number.
168
169         * gst/gstmessage.h:
170         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
171         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
172         so with messages.
173
174         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
175
176 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
177
178         * docs/manual/advanced-position.xml:
179         * docs/manual/basics-bins.xml:
180         * docs/manual/basics-bus.xml:
181         * docs/manual/basics-pads.xml:
182         * docs/manual/intro-gstreamer.xml:
183         * docs/manual/intro-preface.xml:
184         Some Application Development Manual fixes thanks to
185         Andrew Feren. Fixes #558459.
186
187 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
188
189         * gst/gstregistrybinary.c:
190           Don't bother with the GTimer if we don't output the results.
191
192 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
193
194         Patch by: David Schleef  <ds@schleef.org>
195
196         * libs/gst/net/Makefile.am:
197         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
198
199 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
200
201         * gst/gstregistrybinary.c:
202           Oh my, studip, stupid me. Remove double stat() call.
203
204 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
205
206         * gst/gstpreset.c:
207           Use g_unlink instead of unlink.
208
209         * gst/gststructure.c:
210           Use glib type.
211
212         * gst/gstutils.c:
213           Add a FIXME:.
214
215         * gst/gsttaglist.c:
216         * gst/gsttypefind.c:
217         * gst/gstvalue.c:
218           Formatting & whitespaces.
219
220 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
221
222         * plugins/elements/gstidentity.c:
223           Doc typo. Use return value of parent_class->event.
224   
225         * plugins/elements/gsttypefindelement.c:
226           Chain up at the end for consistency.
227   
228 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
229
230         * docs/Makefile.am:
231         * docs/gst/gstreamer-docs.sgml:
232         * docs/gst/gstreamer-sections.txt:
233         * docs/gst/running.xml:
234         * docs/libs/gstreamer-libs-docs.sgml:
235           Change to xinclude based build - its faster and easier to maintain.
236
237 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
238
239         * gst/gstregistrybinary.c:
240         * gst/gstregistryxml.c:
241           Use g_unlink() as none of these are directories.
242
243 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
246         Some more comments.
247
248 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
249
250         * libs/gst/base/gstbasetransform.c:
251         (gst_base_transform_find_transform), (gst_base_transform_getrange):
252         If we have a fixate function, call it even if we already have fixed caps
253         because the subclass might add some caps. Makes audioconvert add a
254         default channel layout.
255
256 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
257
258         * libs/gst/base/gstbasetransform.c:
259         (gst_base_transform_prepare_output_buffer),
260         (gst_base_transform_getrange):
261         Clear the output buffer variable.
262         Cleanups to the error path in the getrange function.
263         Fixes #557649.
264
265 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
266
267         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
268         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
269         Use gst_buffer_try_new_and_alloc() and handle errors instead of
270         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
271         be allocated.
272
273 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
274
275         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
276         Set the last_stop to a more meaningful position when configuring the
277         segment. ie. the start/stop of the segment or clipped against the
278         updated segment boundaries.
279
280         * tests/check/gst/gstsegment.c: (GST_START_TEST):
281         Add some unit tests for the last_stop.
282
283 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
284
285         * libs/gst/base/gstbytereader.c:
286         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
287         copies of them.
288
289 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
290
291         * docs/gst/gstreamer-sections.txt:
292         * gst/gstutils.h:
293         API: Move float endianness conversion macros from libgstfloatcast
294         to core as it's useful in general, even in core. Fixes bug #555196.
295         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
296         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
297         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
298
299         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
300         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
301         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
302         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
303
304 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
305
306         * docs/libs/gstreamer-libs-sections.txt:
307         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
308         (gst_byte_reader_peek_data):
309         * libs/gst/base/gstbytereader.h:
310         * win32/common/libgstbase.def:
311         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
312         to get a pointer to the data at the current position and have
313         a guaranteed size.
314
315 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
316
317         * configure.ac:
318         Fix a bug in the output of the configure script summary
319         when --gst-disable-registry is supplied
320
321 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
322
323         * libs/gst/base/gstbitreader.c:
324         * libs/gst/base/gstbytereader.c:
325         Fix the names of 2 functions in the docs strings.
326
327 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
328
329         * libs/gst/base/gstbasetransform.c:
330         (gst_base_transform_prepare_output_buffer),
331         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
332         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
333         refcount problems as seen in banshee and maybe also in farsight2.
334         Remove atomic int now that we need to take the lock anyways.
335
336 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
337
338         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
339         (gst_base_sink_default_prepare_seek_segment),
340         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
341         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
342         (gst_base_sink_query):
343         Implement more seeking in pull mode.
344         Use pad convert functions to convert position to the requested format.
345         Fix position/duration reporting in pull mode.
346         Implement position and duration reporting in other formats than time.
347
348         * libs/gst/base/gstbasesink.h:
349         Add member to keep track of when the segment is playing.
350
351 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
352
353         * gst/gstpad.c: (gst_pad_configure_src):
354         When we use gst_pad_alloc_buffer() without wanting to set the caps we
355         also don't need to check if the caps are compatible because the caller
356         presumably is going to perform its own custom checks. Fixes some cases
357         where basetransform elements would error out when it was not needed.
358
359 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
360
361         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
362         Update comment.
363
364         * libs/gst/base/gstbasetransform.c:
365         (gst_base_transform_handle_buffer),
366         (gst_base_transform_reconfigure):
367         Add some debug info.
368
369         * win32/common/libgstbase.def:
370         Add new method.
371
372 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
373
374         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
375           Remove duplicated assignment and log a message in failure case.
376
377 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
378
379         Patch by: Dig Ge <dig.ge.cn at gmail com>
380
381         * tests/examples/helloworld/helloworld.c: (main):
382           Fix copy'n'paste bug in hello world example (#556900).
383
384 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
385
386         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
387         (gst_base_sink_query):
388         Query the total number of bytes when activating the pad in pull mode.
389         Implement duration query in pull mode by using the installed pad convert
390         function to convert from bytes to the requested format.
391
392 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
393
394         * docs/libs/gstreamer-libs-sections.txt:
395         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
396         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
397         (gst_base_sink_event), (gst_base_sink_perform_seek),
398         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
399         (gst_base_sink_send_event), (gst_base_sink_change_state):
400         * libs/gst/base/gstbasesink.h:
401         Add method to commit the state in subclasses.
402         Refactor the flush_start and flush_stop code because we need it for
403         flushing while seeking too.
404         Implement the beginnings of seeking in pull mode.
405         Use the segment last_stop field for the pulling offset.
406         Fix the pause method in pull mode.
407         Configure the segment to BYTES for pull mode.
408         API: GstBaseSink::gst_base_sink_do_preroll()
409
410 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
411
412         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
413         Update some docs.
414
415 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
416
417         * gst/gstquark.c: (_priv_gst_quarks_initialize):
418           Fix printf format warning.
419
420 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
421
422         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
423         Fix flow aggregation of tee. Error out immediately for all flow returns
424         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
425         and return OK if at least one pad is linked.
426
427         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
428         and otherwise returned the flow return of the last pad, which is wrong.
429         
430         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
431         (GST_START_TEST), (tee_suite):
432         Add unit tests for the flow aggregation.
433
434 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
435
436         * docs/design/part-TODO.txt:
437         Remove item from the todo list because it was fixed with the latency
438         state change rewrites.
439
440         * docs/design/part-seeking.txt:
441         * docs/design/part-segments.txt:
442         Update some docs.
443
444         * gst/gstevent.c: (gst_event_new_new_segment_full),
445         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
446         (gst_event_parse_buffer_size), (gst_event_new_qos),
447         (gst_event_parse_qos), (gst_event_new_seek),
448         (gst_event_parse_seek), (gst_event_new_latency),
449         (gst_event_parse_latency):
450         Use quarks to construct and parse events.
451
452         * gst/gstquark.c: (_priv_gst_quarks_initialize):
453         * gst/gstquark.h:
454         Add some more quarks to the table.
455         Emit a warning when the quark tables are not in sync.
456
457         * tests/check/gst/gstbus.c: (GST_START_TEST):
458         Add an assert.
459
460 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
461
462         * plugins/elements/Makefile.am:
463         * plugins/indexers/Makefile.am:
464           Don't install static libs for plugins. Fixes #550851 for core.
465
466 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * gst/gstbus.c: (gst_bus_source_finalize),
469         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
470         (gst_bus_enable_sync_message_emission),
471         (gst_bus_disable_sync_message_emission),
472         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
473         Fix deadlock, g_source_get_id() cannot be called in finalize.
474         Keep track of the watch source by keeping a pointer to the source object
475         instead.
476         Use the bus lock to protect access to the pointer to the current
477         watch source.
478
479 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
480
481         Base on Patch by: Olivier Crete <tester at tester dot ca>
482
483         * gst/gstbus.c: (gst_bus_source_finalize),
484         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
485         Only allow one bus watch to be set at a time. This is necessary
486         because the dispatcher pops the message from the bus and the second
487         watcher will then get NULL or the next message (and the first won't
488         get this next message then, etc). If more than one "watcher" is
489         required signal watches should be used. Fixes bug #526044.
490
491 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
492
493         * tools/gst-launch.c:
494         Change the printing of the 'buffering...' output to avoid putting
495         a \r in a translateable string (flagged by the TP).
496
497 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
498
499         * gst/gstxml.c:
500         Clarify that the save_thyself() and restore_thyself() virtual
501         functions of GstObject need to be overriden, not
502         gst_object_(save|restore)_thyself() which is impossible.
503         Fixes bug #555700.
504
505 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
506
507         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
508         Revert a patch from 21 months ago that broke caps negotiation in pull
509         mode. Basically, having a buffer pass over a pad will trigger the
510         setcaps function when caps change, just like in push mode.
511
512 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
513
514         * docs/design/part-negotiation.txt:
515         Update the docs some more.
516
517         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
518         If we pull a buffer with non-trivial caps, suggest those caps with the
519         max probability.
520
521 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
522
523         * docs/design/part-TODO.txt:
524         Add another limitation of pad-blocking with segment seeks not pushing
525         EOS events.
526
527 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
528
529         * win32/common/libgstbase.def:
530         * win32/common/libgstreamer.def:
531         Add new symbols to the win32 defs files
532
533 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
536         (gst_bin_handle_message_func):
537         The message src can be NULL, don't try to print the object names in that
538         case.
539
540         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
541         Add some more debug info.
542
543         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
544         (GST_START_TEST):
545         Add some debug.
546         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
547         scheduling modes.
548
549 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * docs/design/part-negotiation.txt:
552         Small doc update.
553
554         * docs/libs/gstreamer-libs-sections.txt:
555         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
556         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
557         (gst_base_sink_init), (gst_base_sink_set_blocksize),
558         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
559         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
560         (gst_base_sink_loop), (gst_base_sink_pad_activate),
561         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
562         (gst_base_sink_change_state):
563         * libs/gst/base/gstbasesink.h:
564         Add blocksize property and methods to control the amount of data
565         to pull.
566         Negotiate first before activating upstream in pull mode so that they can
567         negotiate themselves.
568         When we operate in pull mode, we only accept the caps that we
569         negotiated.
570         Make the sink go ASYNC to PAUSED, like all other sinks.
571         API: GstBaseSink::gst_base_sink_set_blocksize()
572         API: GstBaseSink::gst_base_sink_get_blocksize()
573         API: GstBaseSink::blocksize
574
575         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
576         (gst_base_src_set_live), (gst_base_src_is_live),
577         (gst_base_src_set_format), (gst_base_src_query_latency),
578         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
579         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
580         (gst_base_src_set_property), (gst_base_src_get_property):
581         * libs/gst/base/gstbasesrc.h:
582         Add typechecking in public API functions.
583         Add methods to control the blocksize in subclasses.
584         API: GstBaseSrc::gst_base_src_set_blocksize()
585         API: GstBaseSrc::gst_base_src_get_blocksize()
586
587 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
588
589         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
590         (buffer_probe), (event_probe), (GST_START_TEST):
591         We now see 3 events go through our pad, since basesink now sends
592         upstream latency events.
593
594 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
595
596         * gst/gstpipeline.c: (gst_pipeline_change_state):
597         Release the object lock before trying to flush the bus.
598
599 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
600
601         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
602         Forward LATENCY events upstreams so that elements know about the total
603         pipeline latency. Fixes #555307.
604
605 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
606
607         * plugins/elements/gstqueue.c:
608         Allow through queries when we don't know how
609         to adjust them (not TIME or BYTES), as otherwise it's
610         not possible to query the current position in order
611         to seek in other formats at all.
612
613 2008-10-08  Andy Wingo  <wingo@pobox.com>
614
615         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
616
617 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
618
619         * gst/gstghostpad.c:
620         * gst/gstghostpad.h:
621         Unbreak -good build, private is a reserved c++ keyword.
622
623 2008-10-08  Andy Wingo  <wingo@pobox.com>
624
625         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
626         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
627         removal: re-add GST_GHOST_PAD_CAST to the header.
628
629         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
630         (GstGhostPadClass): Publically expose these structures so as to
631         allow easy subclassing from C. Hide the member data behind a
632         private opaque data pointer.
633
634         * gst/gstghostpad.c: Adapt to store instance data in the type
635         instance's private data region, not in the public struct.
636
637 2008-10-08  Andy Wingo  <wingo@pobox.com>
638
639         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
640         template via g_object_get(), be sure to unref it.
641
642         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
643
644 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
645
646         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
647         If we can't get a cache file don't try to save something to it.
648         Dereferencing NULL pointers usually isn't a good idea.
649
650 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
651
652         * tests/check/Makefile.am:
653         * tests/check/gst/gstabi.c:
654         * tests/check/gst/struct_sparc.h:
655         * tests/check/libs/libsabi.c:
656         * tests/check/libs/struct_sparc.h:
657         Add Sparc ABI checks
658
659         * tests/check/gst/gstvalue.c: (GST_START_TEST):
660         Cast signed integer to unsigned to avoid a compiler warning.
661
662 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
663
664         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
665         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
666         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
667         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
668         (gst_byte_reader_peek_int24_be):
669         Use new GST_READ_UINT24_(LE|BE) macros.
670
671 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
672
673         * docs/gst/gstreamer-sections.txt:
674         * gst/gstutils.h:
675         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
676         as it's too easy to break the ISO C strict aliasing rules with simple
677         casts to the corresponding type and this would introduce hard to debug
678         bugs. Fixes bug #545714.
679
680         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
681
682 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
683
684         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
685         * gst/gstghostpad.c: (gst_ghost_pad_construct):
686           Add 'Since' bits to gtk-doc chunks for new API.
687
688 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
689
690         * docs/gst/gstreamer-sections.txt:
691         Fix documentation
692
693 2008-10-06  Andy Wingo  <wingo@pobox.com>
694
695         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
696         that will be called on the malloc_data to free it. Basically a way
697         to avoid subclassing when all you need is a different free
698         function, i.e. free() instead of g_free().
699
700         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
701         calling the free function.
702         (gst_buffer_init): Initialize the free function to g_free.
703
704 2008-10-06  Andy Wingo  <wingo@pobox.com>
705
706         * gst/gstghostpad.h:
707         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
708         finishes the initialization of ghost pad. Useful for language
709         bindings and subclassers of GstGhostPad. Fixes #539108.
710         (gst_ghost_pad_new_full): Use the new constructor.
711
712 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
713
714         Base on Patch by: Olivier Crete <tester at tester dot ca>
715
716         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
717         (gst_bin_remove_func), (update_degree),
718         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
719         Keep track of pads that are being linked/unlinked and resync the state
720         changes.
721
722         * gst/gstpad.c: (gst_pad_get_direction),
723         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
724         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
725         (gst_pad_link_prepare), (gst_pad_link),
726         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
727         (gst_pad_check_pull_range), (gst_pad_get_range),
728         (gst_pad_pull_range):
729         Some code cleanups, use macros to check pad direction.
730         Don't need to take the lock on the pad direction.
731         Post structure change when pads are linked/unlinked.
732         Change some checks into _return_if_fail().
733
734         * tests/check/gst/gstbin.c:
735         (test_link_structure_change_state_changed_sync_cb),
736         (GST_START_TEST), (gst_bin_suite):
737         Add testcase for pad link/unlinke resync during a state change.
738         Fixes #510354.
739
740 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
741
742         * docs/gst/gstreamer-sections.txt:
743         * gst/gstmessage.c: (gst_message_new_structure_change),
744         (gst_message_parse_structure_change):
745         * gst/gstmessage.h:
746         Implement STRUCTURE_CHANGED messages. These messages will be used to
747         signal the parent bin of link/unlink operations that could require a
748         resync when doing a state change. See ##510354.
749         API: gst_message_new_structure_change()
750         API: gst_message_parse_structure_change()
751
752 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
753
754         * gst/gstquark.c:
755         * gst/gstquark.h:
756         Add some more quarks for new message. See #510354.
757
758 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
759
760         * docs/libs/gstreamer-libs-docs.sgml:
761         * docs/libs/gstreamer-libs-sections.txt:
762         * libs/gst/base/Makefile.am:
763         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
764         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
765         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
766         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
767         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
768         (gst_bit_reader_skip_to_byte):
769         * libs/gst/base/gstbitreader.h:
770         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
771         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
772         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
773         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
774         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
775         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
776         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
777         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
778         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
779         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
780         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
781         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
782         * libs/gst/base/gstbytereader.h:
783         * tests/check/Makefile.am:
784         * tests/check/libs/bitreader.c: (GST_START_TEST),
785         (gst_bit_reader_suite):
786         * tests/check/libs/bytereader.c: (GST_START_TEST),
787         (gst_byte_reader_suite):
788         API: Add bit reader and byte reader classes, including documentation
789         and an extensive unit test suite. Fixes bug #553554.
790
791 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
792
793         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
794         (gst_base_sink_query):
795         Improve position reporting while flushing and other intermediate state
796         changes. Fixes #553874.
797
798 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
799
800         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
801
802         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
803         Original patch by : Simon Descaries
804         Fix small refount leak in caps compatibility check.
805         Fixes #551676.
806
807 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
808
809         * docs/pwg/advanced-request.xml:
810           Fix 0.8 api usage in example. Fixes #554561
811
812         * docs/pwg/appendix-porting.xml:
813           Change 0.9 to 0.10 here.
814
815 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
816
817         * docs/manual/basics-data.xml:
818           Change "event-event interaction" to "element-element interaction".
819           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
820           updates.
821
822 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
823
824         * configure.ac:
825         Back to development -> 0.10.21.1
826
827 === release 0.10.21 ===
828
829 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
830
831         * configure.ac:
832           releasing 0.10.21, "Take These Things From Me"
833
834 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
835
836         * configure.ac:
837         0.10.20.4 pre-release
838
839 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
840
841         * libs/gst/base/gstbasetransform.c:
842         * plugins/elements/gstcapsfilter.c:
843         * tests/check/Makefile.am:
844         * tests/check/elements/.cvsignore:
845         * tests/check/elements/capsfilter.c:
846         Fix assertion in basetransform when the subclass chooses not to
847         allocate a buffer in prepare_buffer(), and make capsfilter error out
848         cleanly if requested to apply caps that don't completely specify the
849         buffer. Fixes #551509
850
851 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
852
853         * libs/gst/base/gstbasetransform.c:
854         (gst_base_transform_prepare_output_buffer):
855         Take new caps ref because our old one might have been gone when the
856         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
857
858 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
859
860         * configure.ac:
861           Do not probe availability of check unit test library when cross
862           compiling, as test would not work anyway. Also cleanup verbose output
863           of the check test. Fixes #551952.
864
865 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
866
867         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
868
869         * gst/gstelement.c: (gst_element_sync_state_with_parent):
870         Avoid leaking the parent ref when we fail changing the state of the
871         element using gst_element_sync_state_with_parent(). Fixes #551978.
872
873 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
874
875         * docs/manual/intro-motivation.xml::
876           Remove some bits that no longer apply, update others (#551642).
877
878 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
879
880         * configure.ac:
881         0.10.20.2 pre-release
882
883         * po/LINGUAS:
884         * po/id.po:
885         * po/pt_BR.po:
886
887         New translations.
888
889 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
890
891         * win32/common/config.h.in:
892           Add GST_DATADIR, hard-code cpu to x86.
893
894         * win32/common/libgstreamer.def:
895           Spaces to tabs.
896
897 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
898
899         * gst/gsttaglist.h:
900           Fix Since: markers for new geo tags.
901
902 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
903
904         * gst/gsttaglist.h:
905           Fix actual tag name define after renaming from altitude to elevation.
906
907 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
908
909         * gst/gstpad.c: (add_unref_pad_to_list),
910         (gst_pad_get_internal_links_default):
911         Add fallback when calling the deprecated function on an element that
912         implements the new internal_link handler.
913
914 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
915
916         * docs/gst/gstreamer-sections.txt:
917         * gst/gsttaglist.c:
918         * gst/gsttaglist.h:
919           Add new tags for geo location and clarify purpose of existing location
920           tag. Fixes #481169
921
922 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
923
924         Patch by: Olivier Crete <tester at tester dot ca>
925
926         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
927         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
928         Use thread-safe internal links iterator. Fixes #549504.
929
930 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
931
932         Based on patch by: Olivier Crete <tester at tester dot ca>
933
934         * docs/gst/gstreamer-sections.txt:
935         * win32/common/libgstreamer.def:
936         * gst/gstpad.c: (gst_pad_init),
937         (gst_pad_set_iterate_internal_links_function),
938         (int_link_iter_data_free), (iterate_pad),
939         (gst_pad_iterate_internal_links_default),
940         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
941         * gst/gstpad.h:
942         Add threadsafe replacement functions for getting internal links of an
943         element. Deprecate the old internal links functions.
944         API:GstPad::gst_pad_set_iterate_internal_links_function()
945         API:GstPad::GstPadIterIntLinkFunction
946         API:GstPad::gst_pad_iterate_internal_links()
947         API:GstPad::gst_pad_iterate_internal_links_default()
948
949         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
950         (gst_proxy_pad_init):
951         Implement threadsafe internal links.
952
953         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
954         Unit test for internal links on tee. See #549504.
955
956 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
957
958         * tests/check/Makefile.am:
959         libs/transform1 test requires libs/test_transform.c
960
961 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
962
963         * gst/gstpad.c: (gst_pad_get_internal_links_default):
964         Die evil deadlock, die !
965
966 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
967
968         * gst/gstutils.c: (gst_element_get_compatible_pad):
969         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
970         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
971         Fix all leaks due to the bug in gst_pad_template_new() by which it does
972         not steal the refcount of the given caps as stated.
973
974         REVERT THIS COMMIT ONCE FIXED !
975         REVERT THIS COMMIT ONCE FIXED !
976         REVERT THIS COMMIT ONCE FIXED !
977         REVERT THIS COMMIT ONCE FIXED !
978         REVERT THIS COMMIT ONCE FIXED !
979         REVERT THIS COMMIT ONCE FIXED !
980
981 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
982
983         * gst/gstiterator.c:
984         * gst/gstiterator.h:
985         After 3 years it's about time to revise the documentation of the
986         iterator objects.
987
988 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
989
990         * gst/gstpad.c: (gst_pad_get_internal_links_default):
991         Make the internal links function less thread-unsafe and add some
992         comments, dunno why.
993
994 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
995
996         * gst/gst_private.h:
997           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
998           build with --disable-gst-debug.
999
1000 2008-08-28  David Schleef  <ds@schleef.org>
1001
1002         * gst/gstpadtemplate.c: Revert last change, since it breaks
1003           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1004           but shouldn't be enabled until we've released fixed versions
1005           of -good and -ffmpeg.
1006
1007 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1008
1009         * gst/gstobject.c:
1010           Put the gst_object_get_name() back in.
1011
1012 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1013
1014         * gst/gstpadtemplate.c:
1015           The old behaviour was that gst_pad_template_new() takes ownership of
1016           the caps. As we now call g_object_new() which calls g_object_set() and
1017           which copies the caps, we have to unref them to not leak them. Fixes
1018           make valgrid for me.
1019
1020 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1021
1022         * gst/gsturi.c:
1023           Don't segfault on input like "tel:+1-123-555-1234".
1024
1025 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1026
1027         * gst/gstobject.c:
1028           Due to popular request also include ObjectType in
1029           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1030
1031 2008-08-26  David Schleef  <ds@schleef.org>
1032
1033         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1034           src_val must be positive, because that's not a requirement.
1035           This causes problems with converting negative granulepos
1036           values for Dirac.
1037         * gst/gstquery.c: Same, gst_query_new_convert().
1038
1039 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1040
1041         * gst/gstclock.c: (gst_clock_add_observation):
1042         Add some more debugging to the clock slaving code.
1043
1044         * win32/common/libgstbase.def:
1045         Add new basetransform method.
1046
1047 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1048
1049         * gst/gstbin.c: (gst_bin_element_set_state):
1050         Take the (recursive) state lock between getting the locked state of an
1051         element and changing the element state. This allows the application to
1052         lock an element's state and then change its state without races.
1053
1054 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1055
1056         * gst/gstbin.c: (gst_bin_element_set_state):
1057         When an element is in the locked state we still want to update the
1058         base_time of the element.
1059
1060 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1061
1062         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1063         Use the result from gst_pad_set_caps() instead of assuming the element
1064         always accepted the caps computed by the default negotiate function.
1065
1066 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1067
1068         * docs/libs/gstreamer-libs-sections.txt:
1069         * libs/gst/base/gstbasetransform.c:
1070         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1071         (gst_base_transform_chain), (gst_base_transform_suggest),
1072         (gst_base_transform_reconfigure):
1073         * libs/gst/base/gstbasetransform.h:
1074         Implement method for reconfiguring basetransform.
1075         API: GstBaseTransform::gst_base_transform_reconfigure()
1076
1077 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1078
1079         patch by: Murray Cumming <murrayc@murrayc.com>
1080
1081         * gst/gstutils.c:
1082           Mention that this is just like gst_buffer_merge() but with extra
1083           unreffing for C coders. Advise language bindings not to wrap it.
1084           Fixes Bug #533856.
1085           
1086           Also fix file comment.
1087
1088 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1089
1090         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1091
1092         * plugins/elements/gstfakesink.c:
1093         * plugins/elements/gstfakesrc.c:
1094           Call super::event() when not handling it. Fixes #544855.
1095
1096 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1097
1098         Patch by: Alessandro Decina <alessandro@nnva.org>
1099         * plugins/elements/gstfilesrc.c:
1100           Use 64 bit variants of stat functions on win32, to enable support
1101           of large files there.
1102           Fixes #547277.
1103
1104 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1105
1106         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1107         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1108         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1109         (gst_base_sink_get_position), (gst_base_sink_change_state):
1110         Improve position reporting in the flushing state.
1111         Also report the position when we are not yet prerolled but we
1112         have a newsegment event. Fixes #543444.
1113         Improve the pull-based negotiation code.
1114
1115         * tests/check/elements/fakesink.c: (GST_START_TEST),
1116         (fakesink_suite):
1117         Add testcase for position reporting while flushing in PAUSED and
1118         PLAYING.
1119
1120         * tests/check/generic/sinks.c: (GST_START_TEST):
1121         Update unit-test, we can now query the position as soon as we receive a
1122         NEWSEGMENT event.
1123
1124 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1125
1126         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1127
1128         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1129         When the subclass event handler releases the PREROLL_LOCK, we could be
1130         in the flushing state and we have to ignore the event. Fixes #548394.
1131
1132 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1133
1134         * tools/gst-launch.1.in:
1135           Document GST_REGISTRY_UPDATE environment variable.
1136
1137 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * libs/gst/base/gstbasetransform.c:
1140         (gst_base_transform_prepare_output_buffer):
1141         If the element is configured in passthrough mode but the
1142         prepare_output_buffer gave us a new output buffer, discard that buffer
1143         and reuse the input buffer.
1144
1145 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1146
1147         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1148
1149         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1150         (gst_tee_request_new_pad), (gst_tee_release_pad),
1151         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1152         * plugins/elements/gsttee.h:
1153         Protect pad_alloc with a new lock so that we can be sure that nothing is
1154         performing a pad_alloc when removing the pad. Fixes #547835.
1155
1156         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1157         (buffer_alloc_harness_teardown), (app_thread_func),
1158         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1159         Added testcase for shutdown race.
1160
1161 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1162
1163         * gst/gstpad.h:
1164         Add doc
1165
1166 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1167
1168         * libs/gst/base/gstbasetransform.c:
1169         (gst_base_transform_prepare_output_buffer),
1170         (gst_base_transform_buffer_alloc):
1171         Go over the buffer_alloc function again and make sure we always end up
1172         allocating a buffer.
1173         Add some more docs.
1174         Avoid doing pad alloc when we have a pending suggestion because we
1175         cannot yet deal with changing caps in that case. Fixes #547728
1176
1177 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1178
1179         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1180
1181         * docs/manual/advanced-clocks.xml:
1182         * docs/manual/clocks.png:
1183         * docs/manual/diagrams-clocks.svg:
1184           Add one more image showing different times together with a describing
1185           paragraph. Fixes #547729.
1186
1187 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1188
1189         * win32/common/libgstbase.def:
1190         Add new method.
1191
1192 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1193
1194         * libs/gst/base/gstbasetransform.c:
1195         (gst_base_transform_transform_caps),
1196         (gst_base_transform_prepare_output_buffer),
1197         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1198         Don't overwrite the outsize when calculating the expected size of a new
1199         buffer because we still need it in case we cannot process the new
1200         buffer.
1201         When converting the size of the new buffer to an upstream size, actually
1202         use the expected size of the buffer, not some other random value.
1203         Use an atomic int to signal that a new upstream caps suggestion is
1204         available.
1205         When we can convert the current buffer to a new format, check if the
1206         buffer size is of the expected size and allocate a new buffer of the
1207         expected size when this is not the case. Fixes #546883.
1208
1209         * tests/check/libs/transform1.c: (GST_START_TEST):
1210         remove ifdeffed code from the unit test.
1211
1212 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1213
1214         * pkgconfig/gstreamer-uninstalled.pc.in:
1215         * pkgconfig/gstreamer.pc.in:
1216           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1217           called gstcontroller-0.10.
1218
1219 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1220
1221         * gst/gstchildproxy.h:
1222         * gst/gstpreset.h:
1223           Remove double interface from doc-string.        
1224
1225 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1226
1227         * libs/gst/base/gstbasesrc.c:
1228         * libs/gst/base/gstbasetransform.c:
1229           Fix headings in docs and gtk-doc warnings.
1230
1231 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1232
1233         * gst/gstregistrybinary.c:
1234           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1235           libc.
1236           Fixes #544776.
1237
1238 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1239
1240         * libs/gst/base/gstbasetransform.c:
1241         (gst_base_transform_buffer_alloc):
1242         Fix a "may be used unitialized" warning.
1243
1244 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1245
1246         * docs/gst/gstreamer-sections.txt:
1247         * gst/gstpreset.h:
1248           Document preset-iface vmethods.
1249
1250 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1251
1252         * docs/manual/advanced-interfaces.xml:
1253           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1254           only used to discover devices.
1255
1256 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1257
1258         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1259
1260         * gst/gst.c: (init_pre):
1261         Make sure gettext returns translations in UTF-8 encoding rather
1262         than in the current locale encoding (#546822).
1263
1264 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1265
1266         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1267         Fix subset test.
1268
1269         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1270         Improve unit test subset tests and add a testcase for the subset failure
1271         cases.
1272
1273         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1274         Improve subtraction unit test.
1275
1276 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1277
1278         * plugins/elements/gsttee.c:
1279           Unlock, instead of locking again.
1280
1281 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1282
1283         * gst/gstpad.h:
1284         Clarify the docs a bit more.
1285
1286 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * tests/examples/metadata/read-metadata.c:
1289           Don't leak old taglist.
1290
1291 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1292
1293         Patch by: Olivier Crete <tester at tester dot ca>
1294
1295         * gst/gststructure.c:
1296         (gst_structure_fixate_field_nearest_fraction):
1297         Avoid overflows in fixation code when dealing with MAXINT values, which
1298         v4l2src seems to do.
1299         Fixes #546328.
1300
1301         * tests/check/gst/gststructure.c: (GST_START_TEST):
1302         Make a unit test to check the fix. 
1303
1304 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1305
1306         * plugins/elements/gstcapsfilter.c: (copy_func),
1307         (gst_capsfilter_set_property):
1308         Use new caps suggestion feature of basetransform to request a caps
1309         negotiation upstream.
1310
1311 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1312
1313         * docs/libs/gstreamer-libs-sections.txt:
1314         Add new function:
1315         API: GstBaseTransform::gst_base_transform_suggest()
1316
1317         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1318         (gst_base_transform_init), (gst_base_transform_transform_caps),
1319         (gst_base_transform_transform_size),
1320         (gst_base_transform_configure_caps),
1321         (gst_base_transform_can_transform),
1322         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1323         (gst_base_transform_prepare_output_buffer),
1324         (gst_base_transform_buffer_alloc),
1325         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1326         (gst_base_transform_chain), (gst_base_transform_activate),
1327         (gst_base_transform_set_passthrough),
1328         (gst_base_transform_is_passthrough),
1329         (gst_base_transform_set_in_place),
1330         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1331         (gst_base_transform_set_qos_enabled),
1332         (gst_base_transform_is_qos_enabled),
1333         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1334         (gst_base_transform_reconfigure):
1335         * libs/gst/base/gstbasetransform.h:
1336         Rewrite of basetransform to perform negotiation outside of the
1337         buffer_alloc functions.  Fixes #545853.
1338
1339         * tests/check/libs/transform1.c: (GST_START_TEST),
1340         (buffer_alloc_ct2):
1341         Update unit test.
1342
1343 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1344
1345         * tests/check/gst/gstpreset.c:
1346           Only run preset tests when $HOME is writable. Preliminary fix for
1347           #545433.
1348
1349 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1350
1351         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1352         (gst_bin_change_state_func), (bin_handle_async_done),
1353         (gst_bin_handle_message_func):
1354         Fix race for bins that simulate ASYNC state changes by inserting
1355         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1356         pending ASYNC messages even when the bin does not have ASYNC children.
1357         We note detect this behaviour because we will receive an ASYNC message
1358         that is originating from the bin itself. 
1359         Fixes races with decodebin2 state changes.
1360
1361         * tests/check/gst/gstbin.c: (GST_START_TEST):
1362         Add some more debug.
1363
1364 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1365
1366         * gst/gsttaglist.c: (_gst_tag_initialize):
1367           Fix typo.
1368
1369 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * gst/gsttaglist.c:
1372           Argh. actually save the text before committing. Now adds
1373           gst_tag_merge_strings_with_comma() to gst_tag_register().
1374
1375 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1376
1377         * gst/gsttaglist.c:
1378         * gst/gsttaglist.h:
1379           Do as tim pointed out and actually register the new tag. Also improve
1380           te docs and use gst_tag_merge_strings_with_comma() method to allow
1381           retriving all keywords merged in one list.
1382
1383 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1384
1385         * configure.ac:
1386         * docs/gst/gstreamer.types:
1387           Revert 'accidential' change of the configure option removal. We still
1388           need to generate the types file in configure --disable-load-save.
1389
1390 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1391
1392         * docs/gst/gstreamer-sections.txt:
1393         * gst/gsttaglist.h:
1394           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1395
1396 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1397
1398         * gst/gstpadtemplate.c:
1399           (gst_pad_template_class_init), (gst_static_pad_template_get),
1400           (gst_pad_template_new), (gst_pad_template_pad_created),
1401           (gst_pad_template_set_property), (gst_pad_template_get_property):
1402           Add "name-template", "direction", "presence" and "caps" properties,
1403           so that gst_pad_template_new() is just a thin wrapper around
1404           g_object_new(), which is better for bindings. (Fixes: #539772)
1405
1406 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1407
1408         * gst/gsturi.c:
1409           Be more liberal in what URIs we accept.
1410           Do not unescape bits of the URI for no apparent reason before passing to
1411           the element. Fixes #545352.
1412
1413 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1414
1415         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1416
1417         * gst/gst.c:
1418         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1419
1420 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1421
1422         * configure.ac:
1423         * docs/gst/gstreamer-sections.txt:
1424         * docs/gst/gstreamer.types:
1425         * docs/gst/gstreamer.types.in:
1426         * gst/Makefile.am:
1427         * gst/gst.c:
1428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1429         * gst/gstconfig.h.in:
1430         * gst/gstelement.c: (gst_element_get_index):
1431         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1432         (gst_registry_binary_load_feature),
1433         (gst_registry_binary_read_cache):
1434         * gst/gstregistryxml.c: (load_feature),
1435         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1436         * plugins/Makefile.am:
1437         * tools/gst-indent:
1438         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1439         (print_plugin_features), (print_element_features):
1440         * tools/gst-xmlinspect.c: (print_event_masks),
1441         (print_element_info):
1442         * win32/common/gstconfig.h:
1443         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1444
1445         Disabling the indexers and URI handler code will only reduce the
1446         required amount of memory by a very small amount but on the other hand
1447         requires much more maintaince work. Apart from that many places of
1448         code are broken when disabling them.
1449
1450         Disabling the enum types doesn't reduce the required amount of memory
1451         by more than a few bytes and makes it hard to fix bugs like #539772,
1452         i.e. use the enums as GObject properties.
1453
1454 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1455
1456         * docs/design/part-TODO.txt:
1457         Add some thoughts and problems with upstream renegotiation.
1458
1459 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1460
1461         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1462         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1463         Remove silly redundant debug.
1464         Add some more debug info.
1465         Clarify the docs regarding new caps received from pad_alloc.
1466
1467 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1468
1469         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1470         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1471         Make setting the caps more threadsafe.
1472
1473 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1474
1475         * docs/design/part-element-transform.txt:
1476         Update docs.
1477
1478 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1479
1480         * plugins/elements/gstqueue.c: (gst_queue_init),
1481         (gst_queue_acceptcaps):
1482         Add and use a custom acceptcaps function instead of falling back to the
1483         potentially less optimized default implementation.
1484
1485 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1486
1487         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1488           Only sanity-check the buffer size if requested_caps == buffer_caps
1489           (ie. don't take pad caps into account, they're not relevant here)
1490
1491 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1492
1493         * plugins/elements/gsttee.c:
1494         * plugins/elements/gsttee.h:
1495           Reverting as not everything is clear yet. Needs some general design
1496           work.
1497
1498 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * ChangeLog:
1501           ChangeLog surgery for tee commit.
1502
1503 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1504
1505         * docs/gst/gstreamer-sections.txt:
1506           Cleanup section-file.
1507
1508 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1509
1510         * plugins/elements/gsttee.c:
1511         * plugins/elements/gsttee.h:
1512           Relay tag events in tee. Fixes parts of #474016.
1513           Downgrades 3 reoccurring debugs to log.
1514
1515 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1516
1517         * configure.ac:
1518         * libs/gst/Makefile.am:
1519           Build the net library if we have winsock2.
1520
1521 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1522
1523         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1524
1525         * docs/manual/advanced-threads.xml:
1526         * docs/manual/diagrams-pipelines.svg:
1527         * docs/manual/hello-world.png:
1528         * docs/manual/linked-elements.png:
1529         * docs/manual/mime-world.png:
1530         * docs/manual/queue.png:
1531         * docs/manual/thread-buffering.png:
1532         * docs/manual/thread-synchronizing.png:
1533           Replace one diagram with two separate ones and updates others.
1534           Fixes #542401.
1535
1536 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1537
1538         * gst/gstelement.h:
1539         Fix link in documentation.
1540
1541 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1542
1543         * gst/gstmessage.c:
1544         Fix confusing documentation.
1545
1546 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1547
1548         * libs/gst/base/gstbasesrc.h:
1549         revert the changes to the header file for the ABI.
1550
1551 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1552
1553         * libs/gst/base/gstbasesrc.c:
1554         * libs/gst/base/gstbasesrc.h:
1555         Don't cache the seekable status.
1556         Fixes bug #544174
1557
1558 2008-07-24  Rene Stadler  <mail@renestadler.de>
1559
1560         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1561         code to close the pipeline graph.  This prevents the program from
1562         printing internal data flow errors.
1563
1564 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1565
1566         * docs/manual/basics-bus.xml:
1567         Correct typo. Fixes bug #544320.
1568
1569 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1570
1571         * configure.ac:
1572           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1573           Add check (taken from -base) for winsock, adds WIN32_LIBS
1574         * gst/Makefile.am:
1575           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1576           winsock.
1577           Define GST_EXPORTS when building libgstreamer (only used on win32)
1578         * gst/gst_private.h:
1579         * gst/gstinfo.h:
1580           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1581           for symbols that we need to export in both these files.
1582         * gst/gstpoll.c:
1583           Include gst_private.h higher up to avoid some compile problems on win32.
1584
1585 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1586
1587         * gst/gstvalue.c:
1588         Fix typos.
1589
1590 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1591
1592         * gst/gstcaps.c:
1593         Previous commit was wrong NULL caps does not exist
1594         and indicate an error, so also add a FIXME to
1595         gst_caps_is_equal where NULL caps are accepted.
1596
1597 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1598
1599         * gst/gstcaps.c:
1600         Allow passing of NULL to gst_caps_union
1601
1602 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1603
1604         * gst/gstghostpad.c:
1605         Add in doc that gst_ghost_pad_set_target can accept
1606         NULL to clear target
1607
1608 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1609
1610         * gst/gstplugin.c:
1611         * gst/gstregistry.c:
1612           GstRegistryPool doesn't exist; don't refer to it in docs.
1613           Don't refer to functions that don't exist in docs, it's
1614           unhelpful.
1615
1616 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1617
1618         * gst/gst.c:
1619         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1620
1621 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1622
1623         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1624
1625         * docs/pwg/building-testapp.xml:
1626         Don't use an undeclared variable in the example program.
1627         Fixes bug #542573.
1628
1629 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1630
1631         * gst/gstdebugutils.c:
1632           Squeeze ghost-pad links and remove <> from classname labels to save
1633           more horizontal space.
1634
1635 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1636
1637         * gst/gstdebugutils.c:
1638           Give request and sometimes pads a different shpe style. Condense the
1639           graphs a little more.
1640
1641 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1642
1643         * configure.ac:
1644           Don't require flex and bison if the parser is disabled.
1645
1646 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1647
1648         * libs/gst/controller/gstinterpolationcontrolsource.c:
1649         (_list_find_sorted_custom):
1650         Don't use declarations after statements.
1651
1652 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1653
1654         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1655         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1656         of the the child-added / -removed signals as GstChildProxy
1657         only supports GstObjects.
1658
1659 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1660
1661         * gst/gstdebugutils.c:
1662         Fix memleak
1663
1664 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1665
1666         Patch by: Alessandro Decina <alessandro at nnva dot org>
1667
1668         * gst/gstpoll.c:
1669         Fix "ignored return value" compiler warning with newer glibc.
1670
1671 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1672
1673         * gst/gstchildproxy.c:
1674         Fix copy&paste error in gst_child_proxy_removed() documentation.
1675
1676 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1677
1678         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1679           Print error debug message if plugin description fields that should
1680           be set are NULL.
1681
1682         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1683           Don't crash if the string to serialise is NULL (it really should
1684           not be, but apparently this used to work with the xml registry ...).
1685
1686 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1687
1688         * tools/gst-plot-timeline.py:
1689         Fix parsing of log messages
1690
1691 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1692
1693         * win32/common/libgstbase.def::
1694           Sort alphabetically so make check-exports doesn't barf.
1695
1696 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1697
1698         * gst/gstevent.c:
1699           Use gst_format_get_name() to improve debug output.
1700
1701         * gst/gstpreset.c:
1702           Remove #ifdef'ed code. Add TODO comment.
1703
1704         * gst/gstsegment.c:
1705           Add debug output to ease spotting format != segment.format assertions.
1706
1707 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1708
1709         * tests/check/libs/gdp.c: (gst_dp_suite):
1710         Also enable the GDP unit test again on PPC now that the bug
1711         is fixed.
1712
1713 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1714
1715         * libs/gst/dataprotocol/dataprotocol.c:
1716         Don't write to the same region of memory as a uint64 and uint16
1717         as this breaks strict aliasing rules and apparantly breaks on PPC
1718         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1719
1720 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1721
1722         * libs/gst/controller/gstinterpolationcontrolsource.c:
1723           Optimize list handling. Use own find function. Exploit that fact that
1724           the list is sorted. Also pass back the node before, so that we can
1725           insert quickly. Have a fast path for append.
1726
1727 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1728
1729         * docs/design/draft-framestep.txt:
1730         * docs/design/part-negotiation.txt:
1731           Fix two typos.
1732
1733 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * configure.ac:
1736           Show configuration sumary after configure run. Based on patch by
1737           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1738
1739 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1740
1741         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1742
1743         * docs/manual/advanced-autoplugging.xml:
1744         * docs/manual/advanced-threads.xml:
1745         * docs/manual/basics-bins.xml:
1746         * docs/manual/basics-elements.xml:
1747         * docs/manual/basics-helloworld.xml:
1748         * docs/manual/basics-pads.xml:
1749           Add scale factor for pdf output.
1750
1751         * docs/manual/intro-basics.xml:
1752           Switched sections "pads" and "bins" and added a pipeline diagram.
1753
1754         * docs/manual/intro-gstreamer.xml:
1755           Added more info on gstreamer.
1756
1757         * docs/manual/intro-motivation.xml:
1758           Commented out the whole section "current problem", which sounds
1759           historical and somehow osolete; it could be turned in a positive
1760           way and reused to improve the design principles.
1761
1762         * docs/manual/intro-preface.xml:
1763           - Update URLs to library.gnome.org. 
1764           - Do not mention GTK+ in preliminary reading (irrelevant). 
1765           - Mention Plugin Writer's Manual and further reading only in the
1766             previous section.
1767           - Added a list of most relevant GObject/glib topics.
1768
1769         * docs/manual/Makefile.am:
1770         * docs/manual/bin-element-ghost.fig:
1771         * docs/manual/bin-element-ghost.png:
1772         * docs/manual/bin-element-noghost.fig:
1773         * docs/manual/bin-element-noghost.png:
1774         * docs/manual/bin-element.fig:
1775         * docs/manual/bin-element.png:
1776         * docs/manual/filter-element-multi.fig:
1777         * docs/manual/filter-element-multi.png:
1778         * docs/manual/filter-element.fig:
1779         * docs/manual/filter-element.png:
1780         * docs/manual/gstreamer-overview.png:
1781         * docs/manual/hello-world.fig:
1782         * docs/manual/hello-world.png:
1783         * docs/manual/linked-elements.fig:
1784         * docs/manual/linked-elements.png:
1785         * docs/manual/mime-world.fig:
1786         * docs/manual/mime-world.png:
1787         * docs/manual/queue.fig:
1788         * docs/manual/queue.png:
1789         * docs/manual/simple-player.png:
1790         * docs/manual/sink-element.fig:
1791         * docs/manual/sink-element.png:
1792         * docs/manual/src-element.fig:
1793         * docs/manual/src-element.png:
1794         * docs/manual/diagrams-general.svg:
1795         * docs/manual/diagrams-pipelines.svg:
1796           Removed .fig, added .png counterpart.
1797           
1798           Fixes: #539137
1799
1800 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1801
1802         * plugins/elements/gstmultiqueue.c:
1803         * plugins/elements/gstmultiqueue.h:
1804         revert extra-size-buffers stuff, caused some race conditions
1805         and extra-size-buffers is not used anymore. Docs needs some updates
1806
1807 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1808
1809         * win32/common/config.h:
1810         * win32/common/gstenumtypes.c:
1811         * win32/common/gstenumtypes.h:
1812         * win32/common/gstversion.h:
1813           Update win32 files.
1814
1815 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1816
1817         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1818           (GST_DEBUG_BIN_TO_DOT_FILE):
1819           Add missing Since' markers to gtk-doc blurbs.
1820
1821 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1822
1823         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1824         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1825         (set_caps_1), (set_caps_ct1), (transform_ct1),
1826         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1827         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1828         (transform_size_ct2), (buffer_alloc_ct2):
1829         Add some more tests with switching caps in buffer_alloc.
1830
1831 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1832
1833         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1834         (gst_test_trans_class_init), (result_sink_chain),
1835         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1836         (gst_test_trans_push), (gst_test_trans_pop):
1837         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1838         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1839         (set_caps_1), (set_caps_ct1), (transform_ct1),
1840         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1841         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1842         (transform_size_ct2), (buffer_alloc_ct2),
1843         (gst_basetransform_suite):
1844         More tests, prepare for tests with switching caps in buffer_alloc.
1845
1846 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1847
1848         * plugins/elements/gstmultiqueue.c:
1849         * plugins/elements/gstmultiqueue.h:
1850         Fix dead-lock in underrun_cb
1851
1852 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1853
1854         * docs/design/part-states.txt:
1855         Fix device open/close docs.
1856
1857 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1858
1859         * ChangeLog:
1860           Mention bugnumber for last commit.
1861
1862 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1863
1864         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1865
1866         * docs/manual/manual.xml:
1867         - Reorganised the previous "introduction" bundle into Foreword,
1868         Introduction, and About GStreamer. The two first are <preface>
1869         docbook elements. The later is the first part of the book.
1870         - added intro-gstreamer.xml (content partially from
1871         intro-preface.xml)
1872         - moved appendix-win32.xml into appendix-integration.xml
1873
1874         * docs/manual/intro-preface.xml: gstreamer section moved...
1875         * docs/manual/intro-gstreamer.xml: ...here. new file.
1876
1877         * docs/manual/appendix-win32.xml: removed file. Content moved...
1878         * docs/manual/appendix-integration.xml: ...here.
1879         
1880         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1881         * docs/manual/appendix-checklist.xml: ...here.
1882         
1883         Fixes: 538764
1884
1885 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1886
1887         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1888
1889         * docs/manual/basics-helloworld.xml:
1890         * docs/manual/hello-world.fig:
1891           - Explicitely include glib.h.
1892           - Do not use global variables.
1893           - Use g_printerr() instead of g_print().
1894           - Minor formating/renaming to increase readibility.
1895           - Renamed new_pad() to on_pad_added()
1896           - Improved explenatory comments.
1897           - renamed ogg parser to ogg demuxer
1898           - Use "autoaudiosink" instead of "alsasink".
1899           Fixes: #538619
1900
1901 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1902
1903         * ChangeLog:
1904           Remove cvs conflict marker.
1905
1906 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1907
1908         * docs/README:
1909           Document that for plgin-docs we extraxt he short-desc from the element
1910           details.
1911
1912         * docs/design/part-states.txt:
1913           Tell that devices should be closed in PAUSED -> READY.
1914
1915         * docs/manual/README:
1916           Document how tests in the manual are handled.
1917
1918         * docs/manuals.mak:
1919           Typo in comment.
1920
1921 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1922
1923         * gst/gstbin.c: (bin_query_latency_fold):
1924         Only care about latency min and max when the sink is actually a live
1925         sink.
1926
1927 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1928
1929         * docs/design/part-block.txt:
1930         Fix typo.
1931
1932         * docs/design/part-element-transform.txt:
1933         Add notes about why transform needs to know input/output sizes.
1934         Add some issues that need to be solved.
1935         Add some more use cases.
1936
1937         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1938         (gst_test_trans_class_init), (result_sink_chain),
1939         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1940         (gst_test_trans_push), (gst_test_trans_pop):
1941         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1942         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1943         (set_caps_1), (set_caps_ct1), (transform_ct1),
1944         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1945         (gst_basetransform_suite):
1946         Add suport for different pad templates and buffer-alloc.
1947         Add more checks for caps and buffer-alloc.
1948         Add checks for proxy buffer alloc.
1949         Add unit test for copy transform.
1950
1951 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1952
1953         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1954
1955         * docs/manual/appendix-integration.xml:
1956         * docs/manual/appendix-licensing.xml:
1957         * docs/manual/basics-elements.xml:
1958         * docs/manual/basics-helloworld.xml:
1959         * docs/manual/basics-pads.xml:
1960         * docs/manual/highlevel-components.xml:
1961         * docs/manual/highlevel-xml.xml:
1962         * docs/manual/intro-basics.xml:
1963         * docs/manual/intro-preface.xml:
1964           Typo and formatting fixes (#538594).
1965
1966 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1967
1968         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1969         Fix some memory leaks and uses of object instances that we don't
1970         actually own.
1971
1972 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1973
1974         * plugins/elements/gstmultiqueue.c:
1975         Add functionality to extra-size-buffers property.
1976
1977 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1978
1979         * plugins/elements/gstmultiqueue.c:
1980         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1981         activate the pads if they are added in STATE_NULL.
1982
1983 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1984
1985         * docs/libs/gstreamer-libs-sections.txt:
1986         Add new API to doc
1987         * libs/gst/check/gstcheck.c:
1988         * libs/gst/check/gstcheck.h:
1989         API: gst_check_teardown_pad_by_name
1990
1991 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1992
1993         * libs/gst/check/gstcheck.c:
1994         * libs/gst/check/gstcheck.h:
1995         Also setup request pads and allow setup pads by name (#537812)
1996         API: gst_check_setup_src_pad_by_name
1997         API: gst_check_setup_sink_pad_by_name
1998
1999 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2000
2001         * tests/check/gst/gstbuffer.c:
2002         * tests/check/pipelines/parse-launch.c:
2003           Use HAVE_VALGRIND_H some more.
2004
2005 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2006
2007         * scripts/cvs-update.sh:
2008           Pass arguments to make.
2009           Run autoregen.sh if Makefile is not there.
2010
2011 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2012
2013         * configure.ac:
2014         * gst/gstinfo.c:
2015           Don't assume that <valgrind/valgrind.h> exists just because
2016           the binary is there.
2017
2018 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2019
2020         * tests/check/Makefile.am:
2021         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2022         (gst_test_trans_class_init), (gst_test_trans_init),
2023         (gst_test_trans_set_data), (result_sink_chain),
2024         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2025         (gst_test_trans_pop):
2026         * tests/check/libs/transform1.c: (GST_START_TEST),
2027         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2028         Add some test basetransform element and the beginnings of various
2029         unit tests for it.
2030
2031 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2032
2033         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2034         Increase code readability.
2035         Don't try to compare buffer offsets when ther are invalid.
2036
2037 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2038
2039         * docs/design/Makefile.am:
2040           Dist some more design docs.
2041
2042         * docs/random/moving-plugins:
2043           Small addition: good plugins mustn't have functional code
2044           within assertion macros.
2045
2046 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2047
2048         * docs/design/draft-framestep.txt:
2049         Some ideas about a framestep API
2050
2051         * docs/design/part-element-transform.txt:
2052         Start design and use cases for basetransform in order to get it
2053         fixed soon.
2054
2055 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2056
2057         * gst/gsttaglist.h:
2058           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2059           be in UTF-8 encoding.
2060
2061 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2062
2063         * gst/gstbus.c:
2064           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2065
2066 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2067
2068         * plugins/elements/gstcapsfilter.c:
2069         * plugins/elements/gstfakesink.c:
2070         * plugins/elements/gstfakesrc.c:
2071         * plugins/elements/gstfdsink.c:
2072         * plugins/elements/gstfdsrc.c:
2073         * plugins/elements/gstfilesink.c:
2074         * plugins/elements/gstfilesrc.c:
2075         * plugins/elements/gstidentity.c:
2076         * plugins/elements/gstmultiqueue.c:
2077         * plugins/elements/gstqueue.c:
2078         * plugins/elements/gsttee.c:
2079         * plugins/elements/gsttypefindelement.c:
2080           Remove short_description. Add basic docs for gsttypefindelement.
2081           Simplify markup for fakesrc/fdsrc.
2082
2083 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2084
2085         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2086         Added Since doc.
2087
2088 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2089
2090         Patch by: Joel Larsson <tilljoel at gmail dot com>
2091
2092         * docs/plugins/gstreamer-plugins.args:
2093         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2094         (gst_fd_src_init), (gst_fd_src_update_fd),
2095         (gst_fd_src_set_property), (gst_fd_src_get_property),
2096         (gst_fd_src_create):
2097         * plugins/elements/gstfdsrc.h:
2098         Add timeout property like udpsrc. Fixes #538628.
2099         Add some more docs and example pipelines.
2100
2101 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2102
2103         * docs/libs/gstreamer-libs-sections.txt:
2104         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2105         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2106         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2107         (gst_base_sink_do_sync):
2108         * libs/gst/base/gstbasesink.h:
2109         * win32/common/libgstbase.def:
2110         Add method to allow sinks to specify additional delay between the sync
2111         times and the actual rendering of the data.
2112         API: gst_base_sink_set_render_delay()
2113         API: gst_base_sink_get_render_delay()
2114
2115 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2116
2117         * configure.ac:
2118         Bump version number back to dev -> 0.10.20.1
2119
2120 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2121
2122         * docs/gst/gstreamer-sections.txt:
2123         * gst/gsttaglist.c: (_gst_tag_initialize):
2124         * gst/gsttaglist.h:
2125         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2126         Fixes bug #538568.
2127
2128 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2129
2130         * libs/gst/controller/gstcontroller.c:
2131           Revert one change, that make ret value possible uninitialized.
2132
2133 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2134
2135         * libs/gst/controller/gstcontroller.c:
2136           Use freeze/thaw notify to sync notify emission a bit (its also more
2137           efficient). Move debug output to LOG (is called a lot in a loop).
2138           Always unset g_values if the have been initialized.
2139
2140 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2141
2142         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2143         (gst_base_sink_wait_eos), (gst_base_sink_event):
2144         If we have not seen a buffer before EOS, use the segment values to
2145         report the current position instead of invalid positions.
2146
2147 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2148
2149         * docs/plugins/tmpl/.cvsignore:
2150         * tests/check/gst/.cvsignore:
2151           Ignore more.
2152
2153 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2154
2155         * libs/gst/controller/gstinterpolation.c:
2156         * libs/gst/controller/gstinterpolationcontrolsource.c:
2157         * tests/check/libs/controller.c:
2158           Rewrite handling of default values. Fix overflow with unsigned types
2159           in linear interpolation. Remove now obsolete _first_value() function.
2160           Add more tests. Fixes #538201.
2161
2162 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2163
2164         * libs/gst/base/gstbasetransform.c:
2165         (gst_base_transform_class_init), (gst_base_transform_init),
2166         (gst_base_transform_transform_caps),
2167         (gst_base_transform_prepare_output_buffer):
2168         Add debug info.
2169         When a buffer is writable, its metadata is also writable so we don't
2170         need to subbuffer (which then makes the buffer not-writable anymore).
2171
2172 === release 0.10.20 ===
2173
2174 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2175
2176         * configure.ac:
2177           releasing 0.10.20, "You Crazy Diamond"
2178
2179 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2180
2181         * configure.ac:
2182         0.10.19.3 pre-release
2183
2184 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2185
2186         * configure.ac:
2187         * gst/gstpreset.c:
2188         Rename DATADIR to GST_DATADIR to avoid build problems
2189         on win32. Patch By: David Schleef <ds@schleef.org>
2190         Fixes: #536857
2191
2192 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2193
2194         * configure.ac:
2195         Explicitely link with -ldl if dladdr() is found there. Before it was
2196         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2197         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2198
2199 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2200
2201         * gst/gsterror.c: (_gst_stream_errors_init):
2202           Fix typo (spotted by Fabricio Godoy, #536723).
2203
2204 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2205
2206         * configure.ac:
2207         0.10.19.2 pre-release
2208
2209 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2210
2211         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2212         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2213         Add some debug.
2214         Make sure we don't generate invalid QoS messages.
2215
2216 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2217
2218         * gst/gstevent.c: (gst_event_new_qos):
2219         Add some assert and docs for invalid input to the qos function.
2220
2221 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2222
2223         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2224         (gst_base_sink_get_position):
2225         The reported position must always be smaller than the last seen
2226         timestamps (or timestamp + duration for reverse).
2227
2228 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2229
2230         Patch by: Rob Bradford <rob at robster dot org dot uk>
2231
2232         * gst/gstregistry.c: (gst_registry_scan_path_level):
2233         Don't recurse into .debug directories as some distros install
2234         the debugging symbols next to the plugins in .debug directories
2235         and dlopen() crashes on them sometimes. Fixes bug #508070.
2236
2237         Add FIXME for 0.11 to not recurse into directories at all because
2238         it's very inconsistent to the behaviour of other PATH environment
2239         variables.
2240
2241 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2242
2243         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2244         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2245         Fix position query range checks in reverse playback.
2246
2247 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2248
2249         * gst/gstelement.c:
2250         * gst/gstelement.h:
2251         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2252         clear of the reference to the resulting pad must be released later
2253         or not, resulting in possible leaks. Fixes bug #533865.
2254
2255 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2256
2257         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2258
2259         * gst/gstelementfactory.c:
2260         Small doc fix. Fixes #535285.
2261
2262 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2263
2264         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2265
2266         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2267         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2268         (gst_base_src_loop), (gst_base_src_set_flushing),
2269         (gst_base_src_change_state):
2270         Make sending an EOS event to the basesrc non-blocking even if the
2271         implementation does blocking waits in the create function. This is done
2272         by unlocking the create function when EOS is sent.
2273         Fixes #535218.
2274
2275 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2276
2277         * tools/gst-inspect.c: (print_element_properties_info):
2278         If possible print the element type of GValueArray properties.
2279
2280 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2281
2282         * gst/gstiterator.c:
2283         Remove an unused field from the private GstListIterator struct.
2284
2285 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2286
2287         * libs/gst/controller/gstcontroller.c:
2288           Add parameter guards.
2289
2290 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2291
2292         * tests/check/gst/gstpipeline.c:
2293           Revert test change and add comment why it should not work.
2294
2295 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2296
2297         * tests/check/gst/gstpipeline.c:
2298           Extending the test a little to verify that we also get the NULL state-
2299           change message.
2300
2301 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2302
2303         * gst/gstpreset.c: (gst_preset_default_get_meta),
2304           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2305           (gst_preset_load_preset), (gst_preset_save_preset),
2306           (gst_preset_rename_preset), (gst_preset_delete_preset),
2307           (gst_preset_set_meta):
2308           Add Since: markers to docs blurbs.
2309
2310         * win32/common/libgstreamer.def:
2311           Add recently-added API.
2312
2313 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2314
2315         Patch by: Stefan Kost  <ensonic@users.sf.net>
2316
2317         * configure.ac:
2318         Add DATADIR for storing presets.
2319
2320         * docs/gst/gstreamer-docs.sgml:
2321         * docs/gst/gstreamer-sections.txt:
2322         * docs/gst/gstreamer.types.in:
2323         Add GstPreset to docs.
2324
2325         * gst/Makefile.am:
2326         * gst/gst.h:
2327         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2328         (preset_open_and_parse_header), (preset_parse_version),
2329         (preset_merge), (preset_get_keyfile),
2330         (gst_preset_default_get_preset_names),
2331         (gst_preset_default_get_property_names),
2332         (gst_preset_default_load_preset),
2333         (gst_preset_default_save_presets_file),
2334         (gst_preset_default_save_preset),
2335         (gst_preset_default_rename_preset),
2336         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2337         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2338         (gst_preset_default_reset), (gst_preset_get_preset_names),
2339         (gst_preset_get_property_names), (gst_preset_load_preset),
2340         (gst_preset_save_preset), (gst_preset_rename_preset),
2341         (gst_preset_delete_preset), (gst_preset_set_meta),
2342         (gst_preset_get_meta), (gst_preset_class_init),
2343         (gst_preset_base_init), (gst_preset_get_type):
2344         * gst/gstpreset.h:
2345         Add GstPreset to core. Fixes #396779
2346
2347         * tests/check/Makefile.am:
2348         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2349         (gst_preset_test_set_property), (gst_preset_test_class_init),
2350         (gst_preset_test_base_init), (gst_preset_test_get_type),
2351         (gst_preset_test_plugin_init), (GST_START_TEST),
2352         (remove_preset_file), (test_setup), (test_teardown),
2353         (gst_preset_suite):
2354         Add GstPreset unit tests.
2355
2356 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2357
2358         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2359         The default event function on a sinkpad should return TRUE when
2360         there are no internal links but should collect the return values from
2361         the internal links otherwise.
2362
2363 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2364
2365         * plugins/elements/gsttypefindelement.c:
2366         (gst_type_find_element_src_event),
2367         (gst_type_find_element_handle_event):
2368         Use faster and safer _pad_push_event().
2369
2370 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2371
2372         * docs/gst/gstreamer-sections.txt:
2373         * gst/gstutils.c: (element_find_unlinked_pad),
2374           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2375         * gst/gstutils.h:
2376           API: add gst_bin_find_unlinked_pad()
2377           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2378
2379 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2380
2381         * gst/gstclock.c:
2382         * gst/gstclock.h:
2383         * gst/gsttask.c:
2384         * gst/gsttask.h:
2385         Fixed a bunch of typos.
2386
2387 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2388
2389         * gst/gstpad.h:
2390         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2391           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2392           (gst_parse_bin_from_description_full):
2393         * gst/gstutils.h:
2394           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2395
2396 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2397
2398         * docs/pwg/advanced-tagging.xml:
2399           Small docs update, can't be bothered to rewrite the nonsensical
2400           examples right now.
2401
2402 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2403
2404         * gst/gstevent.h:
2405           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2406
2407 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2408
2409         * gst/parse/grammar.y:
2410           Remove unneeded casts.
2411
2412 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2413
2414         * gst/parse/grammar.y:
2415         * tests/check/pipelines/parse-launch.c:
2416           Get all missing elements from a parse launch string if possible
2417           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2418
2419 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2420
2421         * tests/check/Makefile.am:
2422         * tests/check/pipelines/parse-launch.c:
2423           Add some unit tests for the new gst_parse_launch*_full() API.
2424           (Exposes a previously-existing memory leak in the error code
2425           path, so adding to VALGRIND_TO_FIX for now).
2426
2427 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2428
2429         * docs/gst/gstreamer-sections.txt:
2430         * gst/gst.c: (init_post):
2431         * gst/gst_private.h: (_GstParseContext):
2432         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2433           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2434           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2435           (gst_parse_launch_full):
2436         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2437           (GstParseFlags), (GstParseContext):
2438         * gst/gstutils.c: (gst_parse_bin_from_description),
2439           (gst_parse_bin_from_description_full):
2440         * gst/gstutils.h:
2441         * gst/parse/grammar.y:
2442         * gst/parse/types.h:
2443         * win32/common/libgstreamer.def:
2444           Add new gst_parse_*_full API (#528178):
2445           API: gst_parse_launch_full()
2446           API: gst_parse_launchv_full()
2447           API: gst_parse_bin_from_description_full()
2448           API: gst_parse_context_new()
2449           API: gst_parse_context_free()
2450           API: gst_parse_context_get_missing_elements()
2451
2452 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2453
2454         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2455
2456         * docs/faq/gst-uninstalled:
2457           Also support ffmpeg in gst-uninstalled.
2458
2459 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2460
2461         * configure.ac:
2462         After discussion on IRC use the binary registry as default
2463         but allow to disable it with --disable-binary-registry.
2464
2465         * win32/common/libgstreamer.def:
2466         Add the two new symbols for the binary registry.
2467
2468 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2469
2470         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2471         * gst/gstutils.c: (gst_parse_bin_from_description):
2472         * gst/parse/grammar.y: (graph):
2473           More guards against bad input; typo fix; some minor clean-ups.
2474
2475 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2476
2477         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2478
2479         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2480         If nothing else can be used, use the last buffer's start time as
2481         the segment's last stop. Fixes bug #534258.
2482
2483 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2484
2485         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2486           Move size sanity check to the right place: downstream may return
2487           a buffer with a smaller size if the buffer caps are different than
2488           the requested ones, as may happen when doing reverse negotiation.
2489
2490 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2491
2492         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2493         (gst_file_sink_render):
2494         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2495         (gst_file_src_start):
2496         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2497         use it yet.
2498
2499 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2500
2501         * gst/gstpad.c: (gst_pad_load_and_link):
2502         * gst/gstutils.c: (gst_element_link_pads),
2503         (gst_element_unlink_pads):
2504         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2505         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2506         (gst_check_teardown_sink_pad),
2507         (gst_check_element_push_buffer_list):
2508         * tests/check/elements/fakesink.c: (GST_START_TEST):
2509         * tests/check/elements/filesink.c:
2510         * tests/check/elements/filesrc.c: (GST_START_TEST):
2511         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2512         (mq_sinkpad_to_srcpad):
2513         * tests/check/elements/tee.c: (GST_START_TEST):
2514         * tests/check/generic/sinks.c: (GST_START_TEST):
2515         * tests/check/gst/gstbin.c: (GST_START_TEST):
2516         * tests/check/gst/gstevent.c: (GST_START_TEST):
2517         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2518         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2519         * tests/check/gst/gstquery.c: (GST_START_TEST):
2520         * tests/check/gst/gstutils.c: (GST_START_TEST):
2521         * tests/check/libs/basesrc.c: (GST_START_TEST):
2522         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2523         (gst_parse_test_element_change_state):
2524         Don't use gst_element_get_pad().
2525
2526 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2527
2528         * docs/Makefile.am:
2529         Fix installing plugin documentation when gtk-doc is disabled.
2530
2531 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2532
2533         * docs/manual/advanced-autoplugging.xml:
2534         * docs/manual/basics-helloworld.xml:
2535         * docs/manual/basics-pads.xml:
2536         * docs/manual/highlevel-components.xml:
2537         Avoid using a bad function in the example code.
2538
2539 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2540
2541         * gst/gstclock.c: (gst_clock_set_calibration):
2542         Fix debug of the new clock rate.
2543
2544 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2545
2546         * win32/common/libgstbase.def:
2547         Add gst_base_sink_wait_clock() to the exported symbols.
2548
2549 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2550
2551         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2552
2553         * libs/gst/base/gstbasetransform.c:
2554         (gst_base_transform_sink_event):
2555         Unref events that the GstBaseTransform::event vfunc didn't want to
2556         have forwarded by the base class. Closes a leak in identity.
2557         Fixes bug #446763.
2558
2559 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2560
2561         * docs/libs/gstreamer-libs-sections.txt:
2562         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2563         * libs/gst/base/gstbasesink.h:
2564         Expose a method that was previously used internally to synchronize
2565         against the clock because it can be useful for subclasses too.
2566         API: GstBaseSink::gst_base_sink_wait_clock()
2567
2568 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2569
2570         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2571           Add sanity check to make sure we don't get smaller buffers
2572           than requested (and fallback to normal buffer alloc if we do).
2573
2574 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2575
2576         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2577         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2578         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2579         Refactor adjusting the running_time with latency and offset into a
2580         separate method.
2581         When doing clipping, we still want to use the subclass get_times method,
2582         just in case the DURATION or TIMESTAMP are not set.
2583
2584 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2585
2586         * docs/gst/gstreamer-sections.txt:
2587         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2588         * gst/gsttypefind.h:
2589         * win32/common/libgstreamer.def:
2590           API: add gst_type_find_suggest_simple(), #533740.
2591
2592 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2593
2594         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2595           Use right error code when typefinding fails, so we can use
2596           the default (translated) error messages.
2597
2598 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2599
2600         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2601         (gst_base_src_start):
2602         When the subclass did not set caps on outgoing buffers, configure the
2603         caps we negotiated on the source pad.
2604         When the typefind helper does not find caps, error out properly instead
2605         of doing things with NULL caps.
2606
2607 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2608
2609         * gst/gsttypefind.h:
2610           Tabs to spaces, oh yes!
2611
2612 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2613
2614         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2615           Add David's and Benjamin's tests for array intersection to the
2616           unit test suite (#147931).
2617
2618 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2619
2620         * gst/gstevent.c:
2621           Document that gst_event_new_tag() and gst_event_new_navigation()
2622           take ownership of the taglist/structure passed to them. (#533635).
2623
2624 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2625
2626         * docs/Makefile.am:
2627         Don't descend into the plugins dir if plugin docs building
2628         is disabled.
2629
2630         * docs/README:
2631         Add a note about the new type:GTypeName syntax for the plugin
2632         documentation .types file.
2633
2634 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2635
2636         * gst/gstmessage.c: (gst_message_new_error),
2637         (gst_message_new_warning), (gst_message_new_info):
2638         * gst/gstmessage.h:
2639         Mark the debug string parameters as const. Fixes bug #533490.
2640
2641 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2642
2643         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2644         Sort buffer cache list by end offsets. This makes sure that we don't
2645         stop to search for a cached buffer that contains the requested data
2646         too early.
2647         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2648         more efficient. Fixes bug #459862.
2649
2650 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2651
2652         * gst/gstinfo.c:
2653           Explain why we copy the list.
2654
2655         * gst/gstpipeline.c:
2656           Improve docs.
2657
2658         * gst/gstutils.c:
2659           Add one debug-log statement to help tracing probelms with linking pads.
2660
2661 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2662
2663         * tests/check/gst/gstinfo.c:
2664         Add a test for removing the default log handler. Seems to fail under
2665         windows.
2666
2667 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2668
2669         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2670         Release pad lock before calling out to avoid a possible deadlock.
2671
2672 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2673
2674         * gst/parse/grammar.y:
2675         Remove unneeded value unset.
2676
2677         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2678         Add unit test for de/serialization of caps.
2679
2680 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2681
2682         * plugins/elements/gstfakesink.c:
2683         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2684         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2685         (gst_fake_src_class_init):
2686         Use custom marshalers that take GstMiniObject as first parameter.
2687         Using OBJECT as parameter while a GstMiniObject is given will lead
2688         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2689
2690 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2691
2692         * plugins/elements/gsttypefindelement.c:
2693         (gst_type_find_element_handle_event),
2694         (gst_type_find_element_send_cached_events),
2695         (gst_type_find_element_change_state):
2696         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2697         immediately.
2698
2699 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2700
2701         * plugins/elements/gsttypefindelement.c:
2702         (gst_type_find_handle_src_query), (stop_typefinding),
2703         (gst_type_find_element_handle_event),
2704         (gst_type_find_element_send_cached_events),
2705         (gst_type_find_element_change_state):
2706         Forward FLUSH_START events immediately and clean up instead of
2707         caching them.
2708
2709 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2710
2711         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2712
2713         * libs/gst/base/gstbasetransform.c:
2714         (gst_base_transform_buffer_alloc):
2715         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2716         fall back to default negotiation in the chain function if the caps
2717         are different from what was requested. Fixes bug #526768.
2718
2719 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2720
2721         * gst/gstsegment.c:
2722         * tests/check/gst/gstsegment.c:
2723           No, let's not use g_slice_{dup|copy} here, since they only exist
2724           since GLib 2.14 and we still depend only on >= 2.12. Also add
2725           unit test for gst_segment_copy().
2726
2727 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2728
2729         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2730           Try to fix 'dereferencing type-punned pointer will break strict
2731           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2732           changed the default GType typedef from gulong to gsize at some point,
2733           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2734           g_once_* functions all take a gsize * though, so work around the type
2735           mismatch for C++ by doing everything in gsize and casting to GType
2736           later.
2737
2738 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2739
2740         * plugins/elements/gstmultiqueue.c:
2741         Add documentation for the signals to push our core plugin docs
2742         coverage back up to 100%.
2743
2744 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2745
2746         * gst/gstinfo.h (GST_FUNCTION):
2747           Reverted GST_FUNCTION to the old version as we don't want the
2748           full signature in C++ code. Also added support for MSVC.
2749
2750 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2751
2752         * gst/gstutils.h:
2753         Intern the type name string, similar to what G_DEFINE_TYPE does.
2754
2755 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2756
2757         * gst/gstutils.h:
2758         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2759
2760 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2761
2762         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2763
2764         * libs/gst/base/gstbasetransform.c:
2765         (gst_base_transform_buffer_alloc):
2766         Don't passthrough buffer allocation too easily if the caps change.
2767         This breaks when working in passthrough mode and upstream changes
2768         it's caps. Fixes bug #526768.
2769
2770 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2771
2772         * gst/gstinfo.c (gst_debug_log_valist):
2773           Improved the __FILE__ part of debug output for MSVC.
2774
2775 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2776
2777         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2778           Declaration after statement fix for compilers like MSVC.
2779
2780 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2781
2782         * win32/common/config.h.in:
2783           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2784           use the real thing than having "???" unconditionally.
2785
2786 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2787
2788         * gst/gstinfo.h (GST_FUNCTION):
2789           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2790
2791 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2792
2793         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2794         Small code cleanup.
2795
2796         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2797         (gst_base_sink_set_flushing):
2798         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2799         Fix some comments.
2800
2801 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2802
2803         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2804         (gst_fake_src_init), (gst_fake_src_set_property),
2805         (gst_fake_src_get_property), (gst_fake_src_start):
2806         * plugins/elements/gstfakesrc.h:
2807         Added format property to control the format of the newsegment events.
2808         API: GstFakeSrc:format
2809
2810 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2811
2812         * win32/common/libgstreamer.def:
2813         Add gst_pad_has_name() to the exported symbols.
2814
2815 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2816
2817         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2818         * libs/gst/base/gstbasetransform.c:
2819         (gst_base_transform_prepare_output_buffer):
2820         Don't allow negative sizes when allocating new buffers.
2821         Fixes bug #461253.
2822
2823 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2824
2825         Patch by: Sjoerd Simons <sjoerd at luon net>
2826
2827         * gst/gstbus.c: (gst_bus_source_dispatch):
2828           Don't print a warning if the queue is empty when we try to pop
2829           here. That could happen if another thread or callback set the
2830           bus to flushing between the source's check/prepare and the
2831           dispatch being called (#531538).
2832
2833 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2834
2835         * plugins/elements/gstmultiqueue.c:
2836           Small docs fix.
2837         
2838 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2839
2840         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2841         Add unit test for deserializing uint64s and check some really large
2842         numbers in the int64 test.
2843
2844 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2845
2846         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2847         (print_interfaces), (print_element_properties_info),
2848         (print_signal_info):
2849         Use "%s" as format string instead of printing strings directly.
2850
2851 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2852
2853         * gst/gstclock.c: (gst_clock_set_calibration):
2854         Make some checks actually useful.
2855
2856         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2857         Remove some unused code. Unsigned integers tend to be >= 0.
2858
2859 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2860
2861         * gst/gstminiobject.c: (gst_value_get_mini_object):
2862           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2863           function was not in the unscheduled 0.10.19 release.
2864
2865 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2866
2867         * gst/gstregistry.c: (gst_registry_scan_path_level):
2868           Only print one log message per non-plugin file.
2869
2870 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2871
2872         * gst/gstinfo.c: (gst_debug_log_default):
2873           Fix alignment of debug log columns on 64-bit.
2874
2875 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2876
2877         * docs/libs/Makefile.am:
2878         * docs/libs/gstreamer-libs-sections.txt:
2879           Ignore private controller headers for docs.
2880
2881 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2882
2883         * libs/gst/controller/gstcontrollerprivate.h:
2884         * libs/gst/controller/gsthelper.c:
2885         * libs/gst/controller/gstinterpolation.c:
2886         * libs/gst/controller/gstinterpolationcontrolsource.c:
2887         (gst_interpolation_control_source_set_interpolation_mode):
2888         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2889         * libs/gst/controller/lib.c:
2890         Move some private declarations into private headers.
2891
2892 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2893
2894         * gst/gstdebugutils.c: (debug_dump_element_pad):
2895         Remove some code that is unused after Stefan's refactoring and uses
2896         uninitialized variables now, resulting in a compiler warning.
2897
2898 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2899
2900         * gst/gstregistry.c: (gst_registry_scan_path_level):
2901           Run g_str_has_suffix() only on the file name, not the
2902           entire file path.
2903
2904 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2905
2906         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2907           Since we're not called only from the chain function any longer,
2908           we can't assume that there's always data in the queue, so move
2909           the is_full check to the beginning of the loop (otherwise we'd
2910           hit the assert when changing the limit properties while the
2911           queue is empty or not running yet).
2912           Also, only set a discont if items were actually removed from
2913           the queue.
2914
2915         * tests/check/elements/queue.c: (test_leaky_downstream):
2916           Test case for the above.
2917
2918 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2919
2920         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2921
2922         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2923         (gst_queue_chain), (queue_capacity_change),
2924         (gst_queue_set_property):
2925         When changing thr max capacity of a leaky queue, immediatly drop buffers
2926         instead of waiting for a push on the sinkpad. Fixes #530637.
2927
2928 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2929
2930         * gst/gstdebugutils.c:
2931           Refactor code and fix handling of ghostpads and their proxypads.
2932
2933 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2934
2935         * docs/gst/gstreamer-sections.txt:
2936         * gst/gstevent.c: (gst_event_has_name):
2937         * gst/gstevent.h:
2938         * tests/check/gst/gstevent.c: (GST_START_TEST):
2939         Add method to conveniently check the name of a custom event with
2940         gst_event_has_name().
2941         Reformat the event docs so that related methods are put together instead
2942         of the default alphabetical sort.
2943         Update unit test with new method.
2944         API: GstEvent::gst_event_has_name()
2945
2946 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2947
2948         * libs/gst/check/Makefile.am:
2949           Don't add an explicit link to libgstreamer-0.10.la; it's already
2950           included in GST_OBJ_LIBS.
2951
2952 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2953
2954         * gst/gst.c:
2955         Register GstClock type from a type-safe context. Fixes bug #530317.
2956
2957 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2958
2959         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2960         * tools/gst-run.c:
2961           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2962
2963 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2964
2965         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2966         (gst_bin_dispose):
2967         Use the GLib stuff to create a private structure.
2968         Add some locking around some dispose methods to make them a little
2969         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2970
2971 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2972
2973         * libs/gst/base/gstbasesink.h:
2974         * libs/gst/base/gstbasesrc.h:
2975         * libs/gst/base/gstbasetransform.h:
2976         * libs/gst/base/gstcollectpads.h:
2977           Fix doc typos and unify caps a bit.
2978
2979 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2980
2981         * tools/gst-launch.1.in:
2982           Forgot to also add the envvar docs here.
2983
2984 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2985
2986         * gst/gst.c: (init_post), (gst_deinit):
2987         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2988           (test_concurrent_create), (gst_pipeline_suite):
2989           Ref some more classes in gst_init() to work around thread-safety
2990           issues in pre-2.16 GLibs, and add basic unit test.
2991
2992 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2993
2994         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2995         (gst_base_sink_send_event):
2996         Rearrange the latency query code. We always want to do the upstream
2997         query, even if we are not live so that the upstream elements can get the
2998         latency results too. If we fail doing the query and we are live, we
2999         return TRUE afterwards.
3000
3001 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3002
3003         patch by: Jason Zhao <e3423c@motorola.com>
3004
3005         * docs/gst/running.xml:
3006         * gst/gst.c:
3007           Enable/disable scan_and_update_registry() based on commandline switch
3008           or environment variable. Fixes #520468.
3009           
3010         * ChangeLog:
3011           Fix typo in my previous commit.
3012
3013 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3014
3015         * gst/gstregistrybinary.c:
3016           Add a warning if we hit unhandled factories when saving.
3017           More debug logging detail, but move to LOG category.
3018
3019 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3020
3021         * gst/gstregistry.c:
3022           Tell the *truth* when improving the documentation.
3023
3024 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3025
3026         * gst/gstelementfactory.c: (gst_element_factory_make):
3027         Unref the factory after it was used the last time, not before.
3028
3029         * gst/gstindexfactory.c: (gst_index_factory_make):
3030         Improve debugging a bit and don't leak a ref to the index factory with
3031         each call.
3032
3033 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3034
3035         * gst/gstregistry.c:
3036           Improve the documentation.
3037
3038 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3039
3040         * gst/gstsegment.c:
3041           The glib macro seems to be borked. Use g_slice_copy directly and cast
3042           in the hope that this fixes the warning on 64bit.
3043
3044 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3045
3046         * gst/gstsegment.c:
3047           Document the new function. Use g_slice_dup() (no need for
3048           gst_segment_init()).    
3049
3050 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3051
3052         * docs/gst/gstreamer-sections.txt:
3053           Move GParamSepc macros to standart section.
3054   
3055         * gst/gstbin.c:
3056           Dn't document _get_type - its in private section in docs anyway and
3057           this doc-blob was incomplete.
3058
3059         * gst/gstclock.h:
3060           Fix wrong symbol names in docs.
3061
3062         * gst/gstmacros.h:
3063           Add once doc sentence.
3064
3065         * tests/check/gst/.cvsignore:
3066           Ignore more.
3067
3068 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3069
3070         * docs/gst/Makefile.am:
3071           And remove those libs here.
3072
3073 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3074
3075         * docs/libs/Makefile.am:
3076           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3077
3078 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3079
3080         Patch by: Olivier Crete <tester at tester dot ca>
3081
3082         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3083         Add the min-threshold to the min latency if possible. Fixes #529148.
3084
3085 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3086
3087         * docs/gst/gstreamer.types.in:
3088           Stupid editor, I removed that line as it should go in yet.
3089
3090 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3091
3092         * docs/gst/gstreamer.types.in:
3093         * docs/libs/gstreamer-libs.types:
3094           Remove library types fro core docs and have them in libs docs.
3095           Reformat and cleanup. Add comment for miniobject types.
3096
3097 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3098
3099         * gst/gsturi.c: (gst_uri_get_protocol):
3100           Fix leak: g_strdown operates on the string in place, while
3101           g_ascii_strdown() returns a newly-allocated string.
3102
3103 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3104
3105         * tools/gst-inspect.c: (print_uri_handler_info),
3106         (print_element_info):
3107         Print the URI protocols and the URI type supported by the element.
3108
3109 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3110
3111         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3112         Use g_value_take_string() instead of the deprecated
3113         g_value_set_string_take_ownership().
3114
3115 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3116
3117         * gst/gstregistrybinary.c: (_gst_crc32):
3118         Return the old CRC instead of 0 if we give a NULL buffer
3119         or a buffer with a length of 0.
3120
3121 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3122
3123         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3124         (gst_uri_get_protocol), (gst_uri_has_protocol),
3125         (gst_uri_construct), (gst_uri_handler_set_uri):
3126         A valid URI scheme can also include '+', '-' and '.' additional
3127         to alphanumeric characters as per RFC 3986 Section 3.1.
3128
3129         Handle URI schemes case insensitive in all places and convert
3130         to lower-case when constructing an URI or setting an URI with
3131         the GstURIHandler interface. Fixes bug #528868.
3132         All elements can still assume (as before) that they will
3133         get passed URIs with a lower-case URI scheme by the GstURIHandler
3134         interface.
3135
3136 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3137
3138         * gst/gstcaps.c: (gst_static_caps_get):
3139         * gst/gstclock.c: (gst_clock_entry_new):
3140           Don't use g_atomic_set_int where it's not needed.
3141
3142 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3143
3144         * gst/gstvalue.c: (gst_value_deserialize_caps):
3145         * gst/parse/grammar.y:
3146         Fix 2 caps leaks.
3147
3148 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3149
3150         * gst/gstutils.c: (gst_atomic_int_set):
3151         Use g_atomic_int_set() here too instead of assignment +
3152         g_atomic_int_get().
3153
3154 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3155         
3156         * gst/gstutils.c:
3157         * gst/gstutils.h:
3158         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3159         now that we depend on new enough GLib.
3160
3161         * gst/gstcaps.c: (gst_static_caps_get):
3162         * gst/gstclock.c: (gst_clock_entry_new):
3163         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3164         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3165         (gst_debug_category_set_threshold):
3166         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3167         (gst_base_sink_set_qos_enabled):
3168         * libs/gst/net/gstnettimeprovider.c:
3169         (gst_net_time_provider_set_property):
3170         Use g_atomic_int_set() instead of gst_atomic_int_set().
3171
3172 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3173
3174         * gst/gstquery.c:
3175           Also use G_GINT64_CONSTANT for the queries.
3176
3177 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3178
3179         * gst/gstmessage.c:
3180           Use G_GINT64_CONSTANT in varargs function.
3181
3182 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3185         Initialize the registry magic with zeroes.
3186
3187 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3188
3189         * gst/gstregistrybinary.c: (_gst_crc32),
3190         (gst_registry_binary_write),
3191         (gst_registry_binary_initialize_magic),
3192         (gst_registry_binary_write_cache),
3193         (gst_registry_binary_check_magic),
3194         (gst_registry_binary_read_cache):
3195         * gst/gstregistrybinary.h:
3196         Add crc32 checksum to the binary registry file and check this before
3197         accepting a registry file.
3198
3199         Also free the data list when writing to the registry file fails.
3200
3201 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3202
3203         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3204         (gst_registry_binary_load_feature),
3205         (gst_registry_binary_load_plugin):
3206         If an element supports the Uri interface, returns a valid pointer
3207         to the supported URI protocols but this pointer contains nothing
3208         don't try to save that as it will corrupt the registry.
3209
3210         Don't unref the plugin if we added it to the registry already but
3211         fail to load a feature as gst_registry_add_plugin() takes ownership
3212         of the plugin.
3213
3214         Improve debugging a bit.
3215
3216 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3217
3218         * gst/gsttaglist.h:
3219           Clarify some tag item docs after discussion on irc.
3220
3221 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * docs/gst/gstreamer-docs.sgml:
3224           Remove commented out plugins (they have their own docs). Update
3225           comments.
3226
3227 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3228
3229         * docs/gst/gstreamer-docs.sgml:
3230         * docs/gst/gstreamer-sections.txt:
3231         * gst/gstparamspecs.c:
3232         * gst/gstparamspecs.h:
3233           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3234           docs to own section.
3235
3236         * gst/gstvalue.c:
3237           This now only documents GValue.
3238           
3239         * docs/libs/gstreamer-libs-sections.txt:
3240         * libs/gst/controller/gstcontroller.h:
3241           Remove GST_PARAM_CONTROLLABLE.
3242
3243 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3244
3245         * docs/README:
3246           Correct file path. Tell about how to use -overrides.txt.
3247         * docs/design/draft-tagreading.txt:
3248           Small design update.
3249
3250 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3251
3252         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3253         (gst_registry_binary_load_plugin):
3254         Fix a typo in a debug message and revert change from yesterday as
3255         gst_registry_add_plugin() will only fail if something is really wrong
3256         already and we can't survive it anyway.
3257
3258 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3259
3260         * gst/gst.c: (init_post), (gst_deinit):
3261           Pre-register GstGError GType from a thread-safe context
3262           (fixes #527967); unref enum type classes in deinit.
3263
3264 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3265
3266         Patch by: Rene Stadler <mail at renestadler de>
3267
3268         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3269           Merging an empty list with another list in KEEP_ALL mode should
3270           yield an empty list as result and not the second list (#512578).
3271
3272         * tests/check/gst/gsttagsetter.c:
3273           Add unit test for tag merge modes and the aforementioned bug.
3274
3275 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3276
3277         Patch by: Rene Stadler <mail at renestadler de>
3278
3279         * gst/gsttaglist.h:
3280           Fix description to match the order in the table (#512577).
3281   
3282 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3283
3284         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3285
3286         * libs/gst/net/gstnettimepacket.h:
3287         * docs/libs/gstreamer-libs-sections.txt:
3288           Define socklen_t as int if it's not defined yet. Fixes compilation
3289           with MSVC6 and other versions where socklen_t is not defined in
3290           the windows headers (#518022).
3291
3292 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3293
3294         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3295         If gst_registry_add_plugin() fails our reference to the plugin is
3296         invalid so don't try to use it anymore and instead error out.
3297
3298 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3299
3300         * tools/gst-xmlinspect.c: (print_element_info), (main):
3301           De-cruft a bit. If no argument is specified, print all elements in
3302           XML syntax rather than a freestyle list of elements like gst-inspect.
3303           Also, don't print XML header chunk unless we actually have something
3304           to print (ie. don't print it before an error message); print error
3305           message to stderr not stdout. Remove support for printing plugin
3306           info (it would just output something freestyle along the lines of
3307           gst-inspect so far), which fixes #514507. Also add license header.
3308
3309 2008-04-11  Julien Moutte  <julien@fluendo.com>
3310
3311         Mac OS X love...
3312         * configure.ac: Merge platform specific defines, introduce a new
3313         define on OS X to remember that forking when updating registry is
3314         unsafe.
3315         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3316         module.
3317         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3318         is defined.
3319         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3320         condition that leads to absolutely no plugins being registered on
3321         OS X.
3322
3323 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3324
3325         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3326
3327         * gst/gstutils.c: (gst_pad_add_data_probe),
3328           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3329           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3330           (gst_pad_add_buffer_probe_full):
3331         * gst/gstutils.h:
3332         * docs/gst/gstreamer-sections.txt:
3333         * win32/common/libgstreamer.def:
3334           Add gst_pad_add_*_probe_full() functions with a notify callback that
3335           lets the caller free the data it passes to the probe functions. This
3336           is useful for bindings such as gst-python or gstreamermm (#526814).
3337           API: gst_pad_add_data_probe_full
3338           API: gst_pad_add_buffer_probe_full
3339           API: gst_pad_add_event_probe_full
3340
3341         * tests/check/gst/gstutils.c:
3342           Add minimal unit test to make sure freeing the data actually works
3343           as expected.
3344
3345         * tests/benchmarks/.cvsignore:
3346           Random cvsignore addendum.
3347
3348 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3351           (GST_DEBUG_BIN_TO_DOT_FILE):
3352           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3353           to it in the docs (since these are macros the types of the arguments
3354           won't be shown in the docs otherwise).
3355
3356 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * gst/gstpad.c:
3359           Do not abort on out of memory for pad_alloc_buffer.
3360
3361 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3362
3363         * libs/gst/check/gstcheck.c:
3364           Remove blank line between symbol name ad parameters to fix gtkdoc
3365           warning.
3366
3367 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3368
3369         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3370
3371         * docs/gst/gstreamer-sections.txt:
3372         * gst/gstsegment.c:
3373         * gst/gstsegment.h:
3374         * win32/common/libgstreamer.def:
3375           Expose gst_segment_copy() to make things easier for the c++ bindings.
3376           Fixes #518932.
3377           API: gst_segment_copy()
3378
3379 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3380
3381         * gst/gst.c: (gst_init_get_option_group), (init_post):
3382           Fix const position; ref GType classes for enum types to work
3383           around thread-safety issues in GLib versions < 2.16.
3384
3385 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3386
3387         * docs/design/part-buffering.txt:
3388         Fix some typos and set the estimated total for push mode to -1.
3389
3390         * gst/gstquery.c: (gst_query_new_buffering):
3391         Set buffering-left to 0 as we're not buffering by default.
3392
3393         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3394         Implement BUFFERING query.
3395
3396 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3397
3398         Based on patch by: Milosz Derezynski <internalerror gmail com>
3399
3400         * gst/gsterror.c: (_gst_stream_errors_init):
3401         * gst/gsterror.h:
3402           Add two new error codes for encrypted content. Fixes #524659.
3403           API: GST_STREAM_ERROR_DECRYPT
3404           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3405
3406 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3407
3408         * gst/gstquery.h:
3409           Fix typo.
3410
3411         * win32/common/libgstreamer.def:
3412           Add new functions.
3413
3414 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3415
3416         * plugins/elements/gstidentity.c: (gst_identity_event),
3417         (gst_identity_start):
3418         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3419         event after processing some data. Fixes bug #526042.
3420
3421 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3422
3423         * docs/gst/gstreamer-sections.txt:
3424         * gst/gstquery.c: (gst_query_parse_latency),
3425         (gst_query_set_buffering_percent),
3426         (gst_query_parse_buffering_percent),
3427         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3428         * gst/gstquery.h:
3429         Rename _avail -> _range
3430         API: gst_query_set_buffering_range
3431         API: gst_query_parse_buffering_range
3432
3433 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3434
3435         * docs/design/part-buffering.txt:
3436         * gst/gstquark.c:
3437         * gst/gstquark.h:
3438         * gst/gstquery.c: (gst_query_parse_latency),
3439         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3440         (gst_query_parse_buffering_percent):
3441         * gst/gstquery.h:
3442         Add busy field and quark for the buffering query so that the app can
3443         only use the query to see if buffering is in progress.
3444
3445 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3446
3447         * docs/gst/gstreamer-sections.txt:
3448         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3449         (gst_message_parse_buffering_stats):
3450         * gst/gstmessage.h:
3451         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3452         (gst_query_parse_latency), (gst_query_new_buffering),
3453         (gst_query_set_buffering_percent),
3454         (gst_query_parse_buffering_percent),
3455         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3456         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3457         * gst/gstquery.h:
3458         Reorder the message docs and headers for clarity.
3459         Add aditional buffering stats API for messages.
3460         Add buffering query.
3461         Convert some leftover queries to use GstQuark.
3462         API: gst_message_set_buffering_stats
3463         API: gst_message_parse_buffering_stats
3464         API: GST_QUERY_BUFFERING
3465         API: GstBufferingMode
3466         API: gst_query_new_buffering
3467         API: gst_query_set_buffering_percent
3468         API: gst_query_parse_buffering_percent
3469         API: gst_query_set_buffering_stats
3470         API: gst_query_parse_buffering_stats
3471
3472 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3473
3474         * gst/gstmessage.c: (gst_message_new_error),
3475         (gst_message_new_warning), (gst_message_new_info),
3476         (gst_message_new_buffering), (gst_message_new_state_changed),
3477         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3478         (gst_message_new_new_clock), (gst_message_new_segment_start),
3479         (gst_message_new_segment_done), (gst_message_new_duration),
3480         (gst_message_new_async_start), (gst_message_parse_buffering),
3481         (gst_message_parse_state_changed),
3482         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3483         (gst_message_parse_new_clock), (gst_message_parse_error),
3484         (gst_message_parse_warning), (gst_message_parse_info),
3485         (gst_message_parse_segment_start),
3486         (gst_message_parse_segment_done), (gst_message_parse_duration),
3487         (gst_message_parse_async_start):
3488         Use GstQuark for messages.
3489
3490 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3491
3492         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3493         * gst/gstquark.h:
3494         Add some more quarks needed for messages and queries.
3495
3496 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3497
3498         * docs/design/part-buffering.txt:
3499         Remove the "none" buffering mode, STREAM is a good default.
3500         Move estimated-time to the avail query, that's when it will be needed.
3501         Other small typo fixes and updates.
3502
3503 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3504
3505         * gst/gstindex.c: (gst_index_resolver_get_type):
3506           Don't put descriptions into the nick field of a GEnumValue: it's not
3507           meant for that and some language bindings rely on the nick field to
3508           construct constants and the like. Fixes #526705.
3509
3510 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * NEWS:
3513         * RELEASE:
3514         * gstreamer.doap:
3515           Merge other changes from 0.10.19 release branch.
3516
3517 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3518
3519         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3520
3521         * configure.ac:
3522         Actually build dlls when cross-compiling with mingw32.
3523         Fixes bug #526247.
3524
3525 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3526
3527         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3528
3529         * gst/gstpoll.c:
3530         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3531
3532 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3533
3534         * docs/design/draft-latency.txt:
3535         Fix typo.
3536
3537         * docs/design/part-buffering.txt:
3538         Update design docs with more buffering ideas.
3539
3540 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3541
3542         * configure.ac:
3543           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3544
3545 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * configure.ac:
3548           Revert part that belongs to the preset patch.
3549
3550 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3551
3552         * configure.ac:
3553           Add qoutes to the define. Fixes # 525961.
3554
3555 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3556
3557         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3558         (gst_file_index_load), (gst_file_index_add_id),
3559         (gst_file_index_get_assoc_entry):
3560         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3561         (gst_mem_index_free_id), (gst_mem_index_add_id),
3562         (gst_mem_index_index_format):
3563         Use GSlice when possible.
3564
3565 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3566
3567         * libs/gst/controller/gstinterpolationcontrolsource.c:
3568         (gst_control_point_free),
3569         (gst_interpolation_control_source_set_internal):
3570         Use GSlice for allocating the control points.
3571
3572 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3573
3574         * plugins/elements/gsttypefindelement.c:
3575         (gst_type_find_element_class_init),
3576         (gst_type_find_element_set_property),
3577         (gst_type_find_element_get_property),
3578         (gst_type_find_element_activate):
3579         * plugins/elements/gsttypefindelement.h:
3580         Cleanup properties.
3581         Fix pad leak when peer query fails.
3582         We can still typefind when the peer returns -1.
3583         Add property to force caps and bypass typefinding. This will be used in
3584         uridecodebin.
3585         API::force-caps
3586
3587 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3588
3589         * configure.ac:
3590         Require GLib 2.12.
3591
3592         * gst/glib-compat-private.h:
3593         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3594         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3595         Unconditionally use GSlice for allocation.
3596
3597         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3598         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3599         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3600         (gst_structure_free):
3601         Use GSlice for allocation.
3602
3603 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3604
3605         * gst/parse/Makefile.am:
3606         * gst/parse/grammar.tab.pre.c:
3607         * gst/parse/grammar.tab.pre.h:
3608         * gst/parse/lex._gst_parse_yy.pre.c:
3609         Require a new enough flex and bison and remove the parser hacks to use
3610         a pre-regenerated version.
3611
3612 2008-04-01  Julien Moutte  <julien@fluendo.com>
3613
3614         patch by: Jason Zhao <E3423C@motorola.com>
3615
3616         * configure.ac: Add a configure switch to disable option parsing
3617         in gst_init.
3618         Fixes #522882.
3619
3620 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * configure.ac:
3623         * gst/gstregistry.c:
3624           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3625           and handle this case.
3626
3627         * gst/gst.c:
3628           Add a comment here describing, why we stat each plugin and not try to
3629           be smart.
3630
3631 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3632
3633         * libs/gst/base/gstbasetransform.c:
3634         (gst_base_transform_prepare_output_buffer):
3635         Also unset the GAP flag on buffers if we're working inplace but
3636         the element is not GAP-aware.
3637
3638         Mark a comment as FIXME 0.11.
3639
3640 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3641
3642         * gst/gst.c:
3643           Fix type in log message and add one to ease seeing how long registry
3644           cache verification takes.
3645
3646         * gst/gstregistry.c:
3647           Only test plugin filenames against G_MODULE_SUFFIX.
3648
3649 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3650
3651         * gst/gstdebugutils.c:
3652           Improve handling ghost/proxy pads.
3653
3654 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3655
3656         * docs/gst/gstreamer-sections.txt:
3657         * gst/gstpad.c:
3658         * gst/gstpad.h:
3659           Expose macro to docs and fix link to it.
3660
3661 2008-03-27  Michael Smith <msmith@fluendo.com>
3662
3663         * libs/gst/dataprotocol/dataprotocol.c:
3664         (gst_dp_packet_from_event_1_0):
3665           When calculating GDP body CRC, use the correct pointer. 
3666           Fixes part of #522401.
3667
3668 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3669
3670         Patch by: Mark Nauwelaerts <manauw at skynet be>
3671
3672         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3673         (gst_identity_init), (gst_identity_prepare_output_buffer):
3674         Identity is not always a passthrough element, it can modify the buffer
3675         timestamps when it has a datarate and operates in single-segment mode.
3676         We therefore make it an in_place filter with a custom buffer prepare
3677         function that conditionally makes the input buffer metadata writable
3678         when needed.  Fixes #523985.
3679
3680 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3681
3682         Patch by: Mark Nauwelaerts <manauw at skynet be>
3683
3684         * gst/gstclock.h:
3685         * libs/gst/base/gstbasesrc.h:
3686         * libs/gst/base/gstbasetransform.c:
3687         * libs/gst/check/gstcheck.c:
3688         Small documentation fixes. Fixes #523978.
3689
3690 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3691
3692         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3693         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3694         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3695
3696 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3697
3698         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3699         (single_queue_underrun_cb):
3700         When trying to make room in the queue, bump the max allowed buffers
3701         bigger than the current amount of buffers in the queue. this fixes some
3702         nasty deadlocks in multiqueue when dynamically changing the limits of
3703         the queue.
3704
3705 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3706
3707         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3708
3709         * gst/gstcaps.c: (gst_caps_set_simple),
3710         (gst_caps_set_simple_valist), (gst_caps_intersect):
3711         * gst/gstcaps.h:
3712         Constify the field gchar * params in set_simple and friends.
3713         Fixes #522326.
3714
3715 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3716
3717         * gst/gstvalue.c: (gst_value_transform_object_string):
3718         Transform a GstObject to a more meaningfull string that includes the
3719         object type in addition to its name.
3720
3721 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3722
3723         * ChangeLog:
3724           ChangeLog surgery to add bugnumber to commit.
3725
3726 2008-03-23  Rene Stadler  <mail@renestadler.de>
3727
3728         * libs/gst/base/gstbasetransform.c:
3729         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3730
3731 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3732
3733         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3734         Rename constant everywhere and don't forget one occurence.
3735
3736 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3737
3738         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3739         Align memory to the pointer size even if the architecture allows
3740         unaligned memory access. Unaligned memory access usually comes with
3741         performance penality.
3742
3743 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3744
3745         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3746         (gst_registry_binary_check_magic),
3747         (gst_registry_binary_load_pad_template),
3748         (gst_registry_binary_load_feature),
3749         (gst_registry_binary_load_plugin):
3750         Align memory to the pointer size instead of always 32 bit. Fixes
3751         unaligned memory accesses on ia64 and friends.
3752
3753         * gst/gstregistrybinary.h:
3754         Bump binary registry format version for this as it changes the
3755         format on those architectures that don't have unaligned access
3756         and 64 bit pointers.
3757
3758 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3759
3760         * docs/pwg/advanced-dparams.xml:
3761         * docs/pwg/building-props.xml:
3762         * docs/pwg/other-source.xml:
3763         * gst/glib-compat.h:
3764         * gst/gstbin.c: (gst_bin_class_init):
3765         * gst/gstclock.c: (gst_clock_class_init):
3766         * gst/gstindex.c: (gst_index_class_init):
3767         * gst/gstobject.c: (gst_object_class_init):
3768         * gst/gstpad.c: (gst_pad_class_init):
3769         * gst/gstpipeline.c: (gst_pipeline_class_init):
3770         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3771         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3772         * libs/gst/base/gstbasetransform.c:
3773         (gst_base_transform_class_init):
3774         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3775         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3776         (_gst_check_fault_handler_sighandler),
3777         (_gst_check_fault_handler_setup), (gst_check_init):
3778         * libs/gst/controller/gstcontroller.c:
3779         (_gst_controller_class_init):
3780         * libs/gst/controller/gstlfocontrolsource.c:
3781         (gst_lfo_control_source_class_init):
3782         * libs/gst/net/gstnetclientclock.c:
3783         (gst_net_client_clock_class_init):
3784         * libs/gst/net/gstnettimeprovider.c:
3785         (gst_net_time_provider_class_init):
3786         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3787         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3788         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3789         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3790         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3791         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3792         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3793         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3794         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3795         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3796         * plugins/elements/gsttee.c: (gst_tee_class_init):
3797         * plugins/elements/gsttypefindelement.c:
3798         (gst_type_find_element_class_init):
3799         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3800         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3801         use it everywhere for GParamSpecs that use static strings (i.e. all).
3802         This gives us less memory usage, fewer allocations and thus less
3803         memory defragmentation. Fixes bug #523806.
3804
3805 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3806
3807         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3808         (gst_param_spec_mini_object):
3809         * gst/gstminiobject.h:
3810         * win32/common/libgstreamer.def:
3811         * docs/gst/gstreamer-sections.txt:
3812         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3813         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3814         GstParamSpecMiniObject into a public header for this.
3815
3816         This make GstMiniObject a bit more consistent with GObject and makes
3817         it possible to extend the param specs.
3818
3819         gst_value_dup_mini_object is mainly useful for set_property methods.
3820
3821         Fixes bug #523798.
3822
3823         * tools/gst-inspect.c: (print_element_properties_info):
3824         Print something useful for GstMiniObject properties and not just
3825         "unknown type".
3826
3827 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3828
3829         * docs/gst/gstreamer-sections.txt:
3830         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3831         (gst_registry_binary_check_magic):
3832         * gst/gstregistrybinary.h:
3833         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3834         and add it to the (private part) of the docs to fix the build.
3835
3836 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3837
3838         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3839         (gst_registry_binary_check_magic),
3840         (gst_registry_binary_read_cache):
3841         * gst/gstregistrybinary.h:
3842         Don't use GST_MAJORMINOR for the binary registry version. Instead
3843         hardcode a value that must be changed whenever the format changes
3844         in an incompatible way.
3845         Also don't GST_ERROR when there is a version mismatch, just
3846         regenerate the registry silently.
3847
3848 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3849
3850         * configure.ac:
3851         Back to development - 0.10.18.1
3852
3853 === release 0.10.18 ===
3854
3855 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3856
3857         * configure.ac:
3858           releasing 0.10.18, "So far away"
3859
3860 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3861
3862         * configure.ac:
3863         * win32/common/config.h:
3864         0.10.17.4 pre-release
3865
3866 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3867
3868         Patch by: Ole André Vadla Ravnås
3869             <ole dot andre dot ravnas at tandberg dot com>
3870
3871         * docs/gst/gstreamer-sections.txt:
3872         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3873         (gst_poll_update_winsock_event_mask),
3874         (gst_poll_prepare_winsock_active_sets),
3875         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3876         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3877         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3878         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3879         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3880         * gst/gstpoll.h:
3881         * win32/common/libgstreamer.def:
3882         Add new function gst_poll_fd_ignored() for improved Windows
3883         compatibility.
3884         Various minor fixes and cleanups. See #520808.
3885
3886 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3887
3888         * gst/gstindex.c: (gst_index_entry_free):
3889         * gst/gstindex.h:
3890           Don't free key strings which we don't own. Fixes crash in
3891           gst_index_entry_free() (#522741).
3892
3893         * tests/check/Makefile.am:
3894         * tests/check/gst/.cvsignore:
3895         * tests/check/gst/gstindex.c: (test_index_entries),
3896           (gst_index_suite), (gst_index):
3897           Add unit test for the above.
3898
3899 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3900
3901         * win32/common/libgstreamer.def:
3902         Remove symbols that were removed recently. Fixes bug #521740.
3903
3904 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3905
3906         * configure.ac:
3907         * win32/common/config.h:
3908         0.10.17.3 pre-release
3909
3910 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3911
3912         Patch by: Ole André Vadla Ravnås
3913             <ole dot andre dot ravnas at tandberg dot com>
3914
3915         * docs/gst/gstreamer-sections.txt:
3916         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3917         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3918         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3919         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3920         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3921         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3922         (gst_poll_fd_can_write), (gst_poll_wait),
3923         (gst_poll_set_controllable), (gst_poll_restart),
3924         (gst_poll_set_flushing):
3925         * gst/gstpoll.h:
3926         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3927         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3928         (gst_net_time_provider_new):
3929         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3930         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3931         * tests/benchmarks/gstpollstress.c: (main):
3932         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3933         Remove GstPollMode from the API, it does not make sense to let the
3934         application control this.
3935         Add support for Win32.
3936         Fix the testsuite. Fixes #520671.
3937
3938 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3939
3940         Patch by: Ole André Vadla Ravnås
3941             <ole dot andre dot ravnas at tandberg dot com>
3942
3943         * gst/gstregistrybinary.c:
3944         Include io.h for write() and close() when building with MSVC. Fixes
3945         bug #520877.
3946
3947 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3948
3949         * configure.ac:
3950         * gst/gst_private.h:
3951         * gst/gstconfig.h.in:
3952         * gst/gstregistry.h:
3953         * gst/gstregistrybinary.c:
3954         * win32/common/gstconfig.h:
3955           Move registry backend API to private headers where we can. Add
3956           fixme-0.11 comments for the others. Add stubs for the xml backend when
3957           using the binary to ensure they functions exists (they should not be
3958           used though). Fixes #520756.
3959
3960 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3961
3962         * configure.ac:
3963         * win32/common/config.h:
3964         0.10.17.2 prelease
3965
3966 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3967
3968         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3969         (gst_registry_binary_read_cache):
3970         * gst/gstregistryxml.c: (gst_registry_save):
3971         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3972         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3973         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3974         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3975         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3976         Fixes #520152
3977
3978 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3979
3980         * gst/gstminiobject.c:
3981         Import gst_private.h before any other header that might include other
3982         glib headers. This fixes the build on windows using native compilers.
3983
3984 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3985
3986         * win32/common/gstconfig.h:
3987           Add here too, just for completeness.
3988
3989 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3990
3991         * configure.ac:
3992         * gst/gstconfig.h.in:
3993         * gst/gstregistry.h:
3994           Fix broken use of config.h-defined preprocessor directive in a public
3995           header file. Add a corresponding define to gstconfig.h, since we can't
3996           really remove those function declarations from the header file now
3997           (or can we? and why are they there in the first place?).
3998
3999 2008-03-03  Andy Wingo  <wingo@pobox.com>
4000
4001         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4002         the new warning.
4003
4004         * gst/gststructure.c (gst_structure_from_string): Warn if
4005         structure_from_string didn't consume the whole string, but the
4006         caller did not provide an end pointer.
4007
4008 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4009
4010         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4011
4012         * gst/gstregistryxml.c: (read_string), (load_feature):
4013           Strings allocated by libxml2 should be freed with xmlFree(), not
4014           with g_free(). Fixes issues on windows in certain contexts (#519698).
4015
4016 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4017
4018         * gst/gstinterface.c: (gst_element_implements_interface):
4019           Don't crash if the element supports the interface queried, but does
4020           not implement GstImplementsInterface. Fixes #519584.
4021
4022         * tests/check/Makefile.am:
4023         * tests/check/gst/.cvsignore:
4024         * tests/check/gst/gstinterface.c:
4025           Add unit test for the above.
4026
4027 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4028
4029         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4030         Small doc update.
4031
4032 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4033
4034         * gst/gstsegment.c: (gst_segment_set_seek),
4035         (gst_segment_to_stream_time):
4036         Improve some comment.
4037         Update variables where it makes more sense.
4038
4039 2008-02-29  Rene Stadler  <mail@renestadler.de>
4040
4041         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4042         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4043         URIHandlers implemented using language bindings.
4044
4045 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4046
4047         * gst/gstelementfactory.h:
4048         * tests/check/elements/fakesink.c:
4049         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4050         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4051         * tests/check/elements/filesink.c: (setup_filesink):
4052         * tests/check/elements/filesrc.c: (setup_filesrc):
4053         * tests/check/elements/identity.c: (setup_identity):
4054         * tests/check/elements/tee.c:
4055         * tests/check/generic/sinks.c:
4056         * tests/check/generic/states.c: (setup), (teardown):
4057         * tests/check/gst/gst.c:
4058         * tests/check/gst/gstabi.c:
4059         * tests/check/gst/gstbin.c:
4060         * tests/check/gst/gstbus.c: (pull_messages):
4061         * tests/check/gst/gstcaps.c:
4062         * tests/check/gst/gstelement.c:
4063         * tests/check/gst/gstevent.c:
4064         * tests/check/gst/gstghostpad.c:
4065         * tests/check/gst/gstiterator.c:
4066         * tests/check/gst/gstmessage.c:
4067         * tests/check/gst/gstminiobject.c: (my_foo_init):
4068         * tests/check/gst/gstobject.c: (thread_name_object),
4069         (gst_object_suite):
4070         * tests/check/gst/gstpad.c:
4071         * tests/check/gst/gstplugin.c:
4072         * tests/check/gst/gstpoll.c:
4073         * tests/check/gst/gstquery.c:
4074         * tests/check/gst/gstsegment.c:
4075         * tests/check/gst/gststructure.c:
4076         * tests/check/gst/gstsystemclock.c:
4077         * tests/check/gst/gsttask.c:
4078         * tests/check/gst/gstutils.c:
4079         * tests/check/gst/gstvalue.c:
4080         * tests/check/gst/struct_hppa.h:
4081         * tests/check/gst/struct_i386.h:
4082         * tests/check/gst/struct_ppc32.h:
4083         * tests/check/gst/struct_ppc64.h:
4084         * tests/check/gst/struct_x86_64.h:
4085         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4086         * tests/check/libs/basesrc.c:
4087         * tests/check/libs/controller.c: (GST_START_TEST):
4088         * tests/check/libs/gdp.c:
4089         * tests/check/libs/gstnetclientclock.c:
4090         * tests/check/libs/gstnettimeprovider.c:
4091         * tests/check/libs/libsabi.c:
4092         * tests/check/libs/struct_hppa.h:
4093         * tests/check/libs/struct_i386.h:
4094         * tests/check/libs/struct_ppc32.h:
4095         * tests/check/libs/struct_ppc64.h:
4096         * tests/check/libs/struct_x86_64.h:
4097         * tests/check/pipelines/cleanup.c:
4098         * tests/check/pipelines/simple-launch-lines.c:
4099         * tests/check/pipelines/stress.c:
4100         And correct even more valid sparse warnings.
4101
4102         * win32/common/libgstreamer.def:
4103         Add gst_poll_fd_init to the list of symbols.
4104
4105 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4106
4107         * gst/gstconfig.h.in:
4108         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4109         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4110         (gst_check_log_critical_func), (gst_check_drop_buffers),
4111         (gst_check_element_push_buffer_list):
4112         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4113         (gst_controller_get_type):
4114         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4115         (gst_object_get_controller), (gst_object_get_control_source):
4116         * libs/gst/controller/gstinterpolationcontrolsource.c:
4117         (gst_interpolation_control_source_new):
4118         * libs/gst/controller/gstlfocontrolsource.c:
4119         (gst_lfo_control_source_new):
4120         * libs/gst/dataprotocol/dataprotocol.c:
4121         (gst_dp_event_from_packet_0_2):
4122         * plugins/elements/gstfdsrc.c:
4123         * plugins/elements/gstmultiqueue.c:
4124         * plugins/elements/gsttee.c:
4125         * plugins/elements/gsttypefindelement.c:
4126         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4127         (gst_file_index_add_association):
4128         * plugins/indexers/gstmemindex.c:
4129         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4130         * tests/check/elements/queue.c: (setup_queue):
4131         * tests/check/gst/gstpipeline.c:
4132         * tests/check/libs/collectpads.c: (setup), (teardown),
4133         (gst_collect_pads_suite):
4134         * tests/examples/adapter/adapter_test.c:
4135         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4136         * tests/examples/xml/createxml.c:
4137         * tests/examples/xml/runxml.c:
4138         * tools/gst-inspect.c:
4139         * tools/gst-run.c:
4140         Correct all relevant warnings found by the sparse semantic code
4141         analyzer. This include marking several symbols static, using
4142         NULL instead of 0 for pointers, not using variable sized arrays
4143         on the stack, moving variable declarations to the beginning of
4144         a block and using "foo (void)" instead of "foo ()" for declarations.
4145
4146 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4147
4148         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4149         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4150         Don't reset GstPollFDs, this is not necessary at all.
4151
4152         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4153         (delayed_restart), (delayed_control):
4154         Use GST_POLL_FD_INIT.
4155
4156 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4157
4158         * gst/gstpoll.c: (gst_poll_fd_init):
4159         * gst/gstpoll.h:
4160         Added Since tags.
4161
4162         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4163         Use some more init macros.
4164
4165 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4166
4167         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4168         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4169         Use init macros and functions.
4170
4171 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4172
4173         * docs/gst/gstreamer-sections.txt:
4174         * gst/gstpoll.c: (gst_poll_fd_init):
4175         * gst/gstpoll.h:
4176         Add INIT macro and _init method for initializing the GstPollFD.
4177
4178 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4179
4180         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4181         (gst_fd_sink_update_fd):
4182         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4183         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4184         (delayed_restart), (delayed_control):
4185         Initialize some uninitialized variables as spotted by valgrind.
4186
4187 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4188
4189         * tests/benchmarks/Makefile.am:
4190         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4191         (main):
4192         Add poll stress test.
4193
4194 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4195
4196         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4197
4198         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4199         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4200         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4201         * plugins/elements/gstfdsink.h:
4202         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4203         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4204         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4205         (gst_fd_src_uri_set_uri):
4206         * plugins/elements/gstfdsrc.h:
4207         Port to GstPoll. See #505417.
4208
4209 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4210
4211         * win32/common/libgstreamer.def:
4212         Add new gst_poll_ symbols to win32 defs.
4213
4214 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4215
4216         * docs/libs/gstreamer-libs-sections.txt:
4217         * libs/gst/net/gstnetclientclock.c:
4218         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4219         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4220         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4221         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4222         * libs/gst/net/gstnetclientclock.h:
4223         * libs/gst/net/gstnettimeprovider.c:
4224         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4225         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4226         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4227         (gst_net_time_provider_new):
4228         * libs/gst/net/gstnettimeprovider.h:
4229         Use a private stuct to not break ABI.
4230
4231 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4232
4233         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4234
4235         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4236         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4237         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4238         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4239         * libs/gst/net/gstnetclientclock.h:
4240         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4241         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4242         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4243         (gst_net_time_provider_new):
4244         * libs/gst/net/gstnettimeprovider.h:
4245         Massive code removal and cleanups because of GstPoll.
4246         Fixes #505417.
4247
4248 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4249
4250         * configure.ac:
4251         Add checks for poll, ppoll and pselect.
4252
4253         * docs/gst/gstreamer-docs.sgml:
4254         * docs/gst/gstreamer-sections.txt:
4255         Add docs for GstPoll.
4256
4257         * gst/Makefile.am:
4258         * gst/gst.h:
4259         * gst/gstpoll.c: (find_index), (selectable_fds),
4260         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4261         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4262         (gst_poll_set_mode), (gst_poll_get_mode),
4263         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4264         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4265         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4266         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4267         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4268         (gst_poll_fd_can_write), (gst_poll_wait),
4269         (gst_poll_set_controllable), (gst_poll_restart),
4270         (gst_poll_set_flushing):
4271         * gst/gstpoll.h:
4272         Add generic poll abstraction. We ideally don't want to have this in core
4273         here but in glib intead...
4274         This code will be used in various network elements and ultimately for
4275         the nanosecond precision monotonic clock (that's why it's here in core).
4276         It'll allow us to implement cancelable socket operations for windows too.
4277
4278         * tests/check/Makefile.am:
4279         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4280         (delayed_stop), (delayed_restart), (delayed_flush),
4281         (delayed_control), (gst_poll_suite):
4282         Add GstPoll unit test.
4283
4284 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4285
4286         * gst/gstfilter.c:
4287           Improve documentation of gst_filter_run(). Fixes #518627.
4288
4289 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4290
4291         * docs/README:
4292           Add a few lines about the new 'check-inspected-versions' target.
4293
4294 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4295
4296         * tests/check/gst/gstevent.c:
4297           Add qos to the event test. Rename tcase/tsuite; is not only about
4298           custom events.
4299
4300 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4301
4302         * plugins/elements/gstqueue.c:
4303           Ensure that buffer metadata is writeable, before modifying. Spotted by
4304           Mike.
4305
4306 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4307
4308         * plugins/elements/gstqueue.c:
4309         * plugins/elements/gstqueue.h:
4310           When dropping buffers in leaky modes, mark next buffers we sent as
4311           DISCONT.
4312
4313 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4316           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4317
4318 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * plugins/elements/Makefile.am:
4321         * plugins/elements/gstbufferstore.c:
4322         * plugins/elements/gstbufferstore.h:
4323         * plugins/elements/gsttypefindelement.h:
4324           Remove GstBufferStore, no idea why we were still building it.
4325           It's not used anywhere and superseded by GstAdapter.
4326
4327         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4328           (gst_file_src_create_mmap):
4329         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4330           Printf format fixes for 64-bit integers.
4331
4332 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4333
4334         * configure.ac:
4335         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4336         We're not in 0.8 times anymore.
4337
4338 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4339
4340         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4341         (gst_check_element_push_buffer_list):
4342         * libs/gst/check/gstcheck.h:
4343         Make the declaration in the header for
4344         gst_check_element_push_buffer_list match the implementation.
4345
4346         Fix up spelling, grammar and wording of the documentation in a few
4347         places, and add the Since keyword to new API functions.
4348         Use g_list_delete_link instead of g_list_remove in
4349         gst_check_drop_buffers, since it's immeasurably more efficient.
4350
4351         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4352         Use new gst_check_drop_buffers function where appropriate.
4353
4354         * win32/common/libgstbase.def:
4355         * win32/common/libgstreamer.def:
4356         Add new symbols gst_collect_pads_take_buffer, 
4357         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4358         exports
4359
4360         Changelog surgery to add API keyword to new gst_check API.
4361
4362 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4363
4364         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4365         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4366         Update pre-generated flex files with flex 2.3.34.
4367
4368 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4369
4370         * gst/gstminiobject.c:
4371           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4372           friendly to subclasses and not require them to know all internals
4373           of their parent class.
4374
4375 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4376
4377         * docs/libs/gstreamer-libs-sections.txt:
4378         * libs/gst/base/gstcollectpads.c:
4379         * libs/gst/base/gstcollectpads.h:
4380           Add sub-buffer functions to collectpads. Fixes #516187.
4381           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4382
4383 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4384
4385         * gst/gstbuffer.c:
4386           Copy selected buffer-flags when creating subbuffers.
4387           Fixes #516395.
4388
4389 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4390
4391         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4392         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4393         * gst/gstmessage.c: (gst_message_class_init),
4394         (gst_message_finalize):
4395         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4396         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4397         (gst_mmap_buffer_finalize):
4398         Properly chain up finalize functions to the parent class.
4399
4400 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4401
4402         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4403
4404         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4405         (gst_index_set_resolver_full):
4406         * gst/gstindex.h:
4407         Add new function with option to dispose of user_data in resolver.
4408         Actually call the dispose function when finalizing the object and not
4409         just when changing the resolver/filter.
4410         API: GstIndex::gst_index_set_resolver_full()
4411
4412         * docs/gst/gstreamer-sections.txt:
4413         Add new function to docs. Fixes #515469.
4414
4415 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4416
4417         * gst/gstindex.c: (gst_index_finalize):
4418         Chain up finalize to the parent class. Fixes leaking the GstObject
4419         name and other things.
4420
4421 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4422
4423         * configure.ac:
4424         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4425         pre-releases or releases.
4426
4427         * docs/faq/gst-uninstalled:
4428         Add gst-plugins-gl
4429
4430         * docs/random/release:
4431         Change one of the steps - we only upload core & base to Gnome FTP
4432
4433 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4434
4435         * gst/gstconfig.h.in:
4436           Add 'id' for example.
4437
4438         * gst/gstpad.c:
4439         * gst/gstutils.c:
4440         * plugins/elements/gstfdsink.c:
4441           Link to signals. Doc and comment fixes.
4442
4443 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4446         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4447           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4448           unused and unimplemented; finally, it is plugin features, not
4449           plugins, that have ranks.
4450           
4451 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4452
4453         * gst/gstpluginfeature.h:
4454           Clarify GstRank range docs.
4455
4456 2008-02-05  David Schleef  <ds@schleef.org>
4457
4458         * gst/gst.c: Add a separate gst_deinitialized that prevents
4459           gst_init() from being called after gst_deinit().  Fixes #509559
4460
4461 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4462
4463         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4464         (gst_bin_class_init):
4465         * gst/gstelement.c: (gst_element_base_class_init),
4466         (gst_element_class_add_pad_template):
4467         * gst/gstpadtemplate.c: (gst_pad_template_init):
4468         * gst/gstpipeline.c: (gst_pipeline_get_type),
4469         (gst_pipeline_base_init), (gst_pipeline_class_init):
4470         * libs/gst/base/gstbasesink.c:
4471         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4472         (gst_base_src_base_init), (gst_base_src_class_init):
4473         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4474         (gst_capsfilter_class_init):
4475         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4476         (gst_fake_sink_class_init):
4477         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4478         (gst_fake_src_class_init):
4479         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4480         (gst_fd_sink_class_init):
4481         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4482         (gst_fd_src_class_init):
4483         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4484         (gst_file_sink_class_init):
4485         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4486         (gst_file_src_class_init):
4487         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4488         (gst_identity_class_init):
4489         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4490         (gst_multi_queue_class_init):
4491         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4492         (gst_queue_class_init):
4493         * plugins/elements/gsttee.c: (gst_tee_base_init),
4494         (gst_tee_class_init):
4495         * plugins/elements/gsttypefindelement.c:
4496         (gst_type_find_element_base_init),
4497         (gst_type_find_element_class_init):
4498         * tests/check/gst/gstelement.c: (gst_element_suite):
4499         Revert previous changes to the behaviour of GstPadTemplates, etc
4500         and the possiblity to call them in class_init as it breaks too
4501         many elements. Reopens bug #491501.
4502
4503         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4504         several places.
4505
4506 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4507
4508         * tools/gst-launch.c:
4509         Dump one graph per pipeline state-change and state change name
4510         (if GST_DEBUG_DUMP_DOT_DIR is set).
4511
4512 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4513
4514         * gst/gstpad.c:
4515         * tests/check/gst/gstpad.c:
4516         Be sure that we have a new copy of the caps and not
4517         reffed caps from a template
4518
4519 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4520
4521         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4522         * gst/gstpipeline.c: (gst_pipeline_get_type),
4523         (gst_pipeline_class_init):
4524         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4525         (gst_base_sink_class_init):
4526         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4527         (gst_base_src_class_init):
4528         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4529         (gst_base_transform_class_init):
4530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4531         (gst_collect_pads_class_init):
4532         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4533         * libs/gst/net/gstnettimeprovider.c:
4534         (gst_net_time_provider_base_init),
4535         (gst_net_time_provider_class_init):
4536         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4537         (gst_capsfilter_class_init):
4538         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4539         (gst_fake_sink_class_init):
4540         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4541         (gst_fake_src_class_init):
4542         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4543         (gst_fd_sink_class_init):
4544         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4545         (gst_fd_src_class_init):
4546         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4547         (gst_file_sink_class_init):
4548         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4549         (gst_file_src_class_init):
4550         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4551         (gst_identity_class_init):
4552         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4553         (gst_multi_queue_class_init):
4554         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4555         (gst_queue_class_init):
4556         * plugins/elements/gsttee.c: (gst_tee_base_init),
4557         (gst_tee_class_init):
4558         * plugins/elements/gsttypefindelement.c:
4559         (gst_type_find_element_base_init),
4560         (gst_type_find_element_class_init):
4561         Don't use base_init where not absolutely necessary. For example it's
4562         not necessary anymore for adding pad templates or setting element
4563         details.
4564
4565         Leave empty base_init functions in several places as GST_BOILERPLATE
4566         still defines and uses them.
4567
4568 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4569
4570         * gst/gstelement.c: (gst_element_base_class_init),
4571         (gst_element_class_add_pad_template):
4572         * gst/gstpadtemplate.c:
4573         Make it possible (and recommended) to set element details and add
4574         pad templates in the class_init functions by copying the details/pad
4575         templates in GstElement's base_init.
4576
4577         Also make it possible to replace existing pad templates by adding
4578         a new one with the same name. This was done in a hackish fashion
4579         in same elements before already.
4580
4581         Don't reference pad templates that are added a second time. A
4582         new pad template has a refcount of one and is not floating anymore
4583         and to be owned by the element's class. Make this more explicit by
4584         mentioning it in the docs of gst_element_class_add_pad_template().
4585
4586         These changes are backwards compatible. Fixes bug #491501.
4587
4588         * tests/check/gst/gstelement.c:
4589         Add unit test for setting element details, adding pad templates and
4590         replacing them in a subclass.
4591
4592 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4593
4594         * tools/gst-inspect.c: (print_interfaces),
4595         (print_element_properties_info), (print_pad_info),
4596         (print_signal_info), (print_element_info):
4597         Fix a few memory leaks.
4598
4599 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4600
4601         * docs/libs/gstreamer-libs-sections.txt:
4602         * libs/gst/check/gstcheck.c:
4603         * libs/gst/check/gstcheck.h:
4604         Add more functions for unit testing: gst_check_drop_buffers,
4605         gst_check_caps_equal, gst_check_element_push_buffer_list,
4606         gst_check_element_push_buffer
4607         API: gst_check_drop_buffers
4608         API: gst_check_caps_equal
4609         API: gst_check_element_push_buffer_list
4610         API: gst_check_element_push_buffer
4611
4612 2008-02-01  Julien Moutte  <julien@fluendo.com>
4613
4614         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4615         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4616         (gst_index_finalize), (gst_index_entry_free),
4617         (gst_index_add_association): Fix memory leaks.
4618         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4619         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4620         (gst_mem_index_free_format), (gst_mem_index_free_id),
4621         (gst_mem_index_finalize): Fix memory leaks.
4622         * win32/common/config.h: Updated to CVS HEAD.
4623
4624 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4625
4626         * docs/README:
4627           Some more details about how the plugin docs works.
4628
4629         * docs/plugins/gstreamer-plugins-sections.txt:
4630           Whitespace cleanup.
4631
4632 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4633
4634         * gst/parse/grammar.tab.pre.c:
4635         * gst/parse/grammar.tab.pre.h:
4636         * gst/parse/grammar.y:
4637         * gst/parse/lex._gst_parse_yy.pre.c:
4638           Add delayed set-property. This allows to set properties on dynamicaly
4639           created objects (pads in videomxer). Fixes #509391.
4640
4641 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4642
4643         * gst/gstutils.c:
4644         Check if caps are not NULL (fix bug #510194)
4645
4646 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4647
4648         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4649         (gst_base_sink_get_position_paused):
4650         Add fixme regarding EOS in pull mode.
4651         Fix position reporting in PAUSED for negative rates.
4652
4653 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4654
4655         * gst/gstminiobject.c: (gst_mini_object_replace):
4656         When replacing a miniobject, do a quick equality check first so that we
4657         can avoid a ref/unref pair.
4658
4659 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4660
4661         * docs/design/part-synchronisation.txt:
4662         Update some docs.
4663
4664         * docs/plugins/Makefile.am:
4665         * docs/plugins/gstreamer-plugins-docs.sgml:
4666         * docs/plugins/gstreamer-plugins-sections.txt:
4667         * plugins/elements/gstmultiqueue.c:
4668         Add multiqueue to the docs.
4669
4670 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4671
4672         * configure.ac:
4673           Back to CVS
4674
4675 === release 0.10.17 ===
4676
4677 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4678
4679         * configure.ac:
4680           releasing 0.10.17, "Due Negligence"
4681
4682 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4683
4684         * gst/gstutils.c:
4685         Revert caps != NULL check temporarily for 0.10.17 release.
4686
4687 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4688
4689         * gst/gstutils.c:
4690         Check if caps are not NULL (fix bug #510194)
4691
4692 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4693
4694         * gst/gstutils.c:
4695         Fix compilation on systems that have posix timers but no
4696         monotonic clock.
4697         Fixes: #512715
4698         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4699         dot net>
4700
4701 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4702
4703         * tools/gst-inspect.c:
4704         Revert previous commit in preparation for an impromptu 0.10.17 release
4705
4706 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4707
4708         * tools/gst-inspect.c: (print_interfaces),
4709         (print_element_properties_info), (print_pad_info),
4710         (print_signal_info), (print_element_info):
4711         Fix a few memory leaks.
4712
4713 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4714
4715         * configure.ac:
4716         Back to CVS
4717
4718 === release 0.10.16 ===
4719
4720 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4721
4722         * configure.ac:
4723           releasing 0.10.16, "Special Dispensation"
4724
4725 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4726
4727         * configure.ac:
4728           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4729           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4730           not fail when trying to crosscompile on OpenEmbedded (#511750).
4731
4732 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4733
4734         * docs/manuals.mak:
4735         Use $(MAKE) instead of make to fix the build if GNU make is
4736         called different. Fixes bug #510747.
4737
4738 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4739
4740         * gst/gstplugin.c: (_gst_plugin_initialize):
4741           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4742           again, which I broke two commits ago when changing the API
4743           of gst_plugin_register_static(): the g_list_foreach() in
4744           _gst_plugin_register_static still assumed the old function
4745           signature and would therefore fail (re-fixes #510187).
4746
4747         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4748           (_gst_plugin_register_static), (gst_plugin_register_static):
4749           Revert the (technically correct) change to call g_thread_init() from
4750           the pre-main() constructor. This will break programs which call
4751           g_thread_init() without an if (!g_thread_supported()) guard in their
4752           main function. We could just blame it on GLib or the application, but
4753           it's probably best to just avoid this altogether and simply not use
4754           any GLib functions here and use plain old malloc() with a simple
4755           array to store the plugins to register later when gst_init() is
4756           finally called (re-fixes #510187).
4757
4758         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4759           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4760           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4761           (GST_START_TEST), (gst_plugin_suite):
4762           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4763           works.
4764
4765 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4766
4767         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4768           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4769           This makes gtk-doc complain, but results in slightly better
4770           compiler errors. The old _gst_plugin_register_static() is
4771           still guarded, so there'll be a compiler warning about that
4772           instead. Fixes #510187 too.
4773
4774 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4775
4776         * gst/gst.c: (init_post):
4777         * gst/gstplugin.c: (_gst_plugin_register_static),
4778           (gst_plugin_register_static), (_gst_plugin_initialize):
4779         * gst/gstplugin.h: (GstPluginFilter):
4780           Change API of gst_plugin_register_static() to not take
4781           a GstPluginDesc, but rather just take all the arguments
4782           in a GstPluginDesc directly. This is more intuitive and
4783           avoids certain mistakes when porting code from
4784           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4785           Fixes #510187.
4786
4787         * tests/check/gst/gstplugin.c:
4788           Fix up for changed API.
4789
4790 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4791
4792         * docs/faq/legal.xml:
4793           Update FAQ, Totem actually has an exception these days.
4794
4795 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4796
4797         * win32/common/libgstreamer.def:
4798         Add new API declarations
4799
4800 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4801
4802         * gst/gstminiobject.c:
4803           Spelling fixes for the API docs.
4804
4805 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4806
4807         * libs/gst/base/gstbasetransform.c:
4808           Fix long property description for QoS.
4809
4810 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4811
4812         * gst/gst.c:
4813         _gst_trace_on is already provided by gsttrace.h, no need to declare
4814         it ourselves.
4815
4816         * docs/libs/gstreamer-libs-sections.txt:
4817         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4818         and remove strange tcase_add_test which is outputting a warning.
4819
4820         * libs/gst/check/gstcheck.c:
4821         * libs/gst/check/gstcheck.h:
4822         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4823         and define them in gstcheck.c instead of having every .c file whcih
4824         includes gstcheck.h be defining its own copy and relying on symbol
4825         interposing to marry them all, which doesn't work on Solaris.
4826
4827         * tests/check/elements/identity.c: (GST_START_TEST):
4828         Don't define 'buffers' locally, it comes from libgstcheck.
4829
4830         * tests/check/generic/sinks.c: (send_buffer):
4831         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4832
4833         * tests/check/gst/gststructure.c: (GST_START_TEST):
4834         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4835         * tests/check/gst/gstutils.c: (GST_START_TEST):
4836         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4837         Add a bunch of casts to make various constants fit the types
4838         they're being assigned to.
4839
4840 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4841
4842         * gst/gstchildproxy.c:
4843           Improve docs and add some ideas for making this more general-purpose.
4844
4845 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4846
4847         * gst/gst_private.h: (GST_CAT_TYPES):
4848           Add GST_CAT_TYPES, for consistency, and so that the other
4849           debug categories don't make fun of it. Spotted by Saur on IRC.
4850
4851 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4852
4853         * gst/parse/Makefile.am:
4854           Move types.h from EXTRA_DIST to noinst_HEADERS.
4855
4856 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4857
4858         * autogen.sh:
4859           Add -Wno-portability to the automake parameters to stop warnings
4860           about GNU make extensions being used. We require GNU make in almost
4861           every Makefile anyway.
4862
4863         * configure.ac:
4864           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4865           at the same time is required for per target flags.
4866
4867 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * gst/gstmacros.h:
4870           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4871           __GNUC__ is defined before using it.
4872
4873 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4874
4875         * docs/gst/gstreamer-sections.txt:
4876         * gst/gst.c: (init_post):
4877         * gst/gstplugin.c: (_gst_plugin_register_static),
4878           (gst_plugin_register_static), (_gst_plugin_initialize),
4879           (gst_plugin_register_func):
4880         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4881           API: add gst_plugin_register_static() and deprecate
4882           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4883           (#498924).
4884           Also, in _gst_plugin_register_static(), make sure to call
4885           g_thread_init() before calling GLib functions such as
4886           g_list_append() if we're not initialised yet, since that
4887           may lead to random crashes with older GSlice/GLib versions.
4888
4889         * tests/check/gst/gstplugin.c:
4890           Adapt unit test to above changes.
4891
4892 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4893
4894         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4895         * gst/gstcaps.c: (gst_caps_to_string):
4896         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4897           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4898           Yet another gratuitous GString micro-optimisation: add a (private)
4899           function that serialises a structure appending to an existing
4900           GString, so that when we serialise caps we don't need to alloc+free
4901           a throwaway GString for each structure (each of which also entailing
4902           multiple reallocs on the way); also use g_string_sized_new() in
4903           various places with an approximate string length to avoid reallocs
4904           within GString. See #500143.
4905
4906 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4907
4908         * gst/gststructure.c: (gst_structure_id_set_value):
4909           Always check UTF-8 conformance of structure strings and not only
4910           if the debugging system is enabled; reasoning: the behaviour of
4911           the actual code shouldn't really change depending on whether the
4912           debugging system is enabled or not (#508291).
4913
4914 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4915
4916         * Makefile.am:
4917           Remove old coverage target in favour of "make lcov".
4918
4919 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4920
4921         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4922         (gst_base_src_loop):
4923         The start segment for reverse playback goes from start to last_stop.
4924
4925 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4926
4927         Patch by: Peter Kjellerstedt <pkj axis com>
4928
4929         * gst/gstclock.h:
4930         Cast the results from the timeval/spec_to_time macros to what the
4931         docs say it casts to, a GstClockTime. fixes #508175.
4932
4933 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4934
4935         * gst/gstbuffer.c:
4936         Update some comments.
4937
4938         * tools/gst-inspect.c: (print_element_properties_info):
4939         Improve printing of flags.
4940
4941 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         * libs/gst/base/gstbasetransform.c:
4944           (gst_base_transform_transform_size):
4945           Print element name with g_warning() if there's a problem
4946           with the unit size.
4947
4948 2008-01-07  David Schleef  <ds@schleef.org>
4949
4950         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4951
4952         * libs/gst/controller/gstcontroller.h:
4953         * libs/gst/controller/gstcontrolsource.h:
4954         * libs/gst/controller/gstinterpolationcontrolsource.h:
4955         * libs/gst/controller/gstlfocontrolsource.h:
4956         * libs/gst/dataprotocol/dataprotocol.h:
4957           Fix empty prototypes.  Fixes bug #507957.
4958
4959 2008-01-07  David Schleef  <ds@schleef.org>
4960
4961         * docs/faq/dependencies.xml: Fix typo.
4962
4963 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4964
4965         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4966         (gst_base_src_loop):
4967         Don't update the last_stop position in do_seek, that's the position we
4968         did a seek to.
4969         Read backwards when we have a negative rate.
4970
4971         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4972         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4973         (filesrc_suite):
4974         Add check for reverse reading.
4975
4976 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4977
4978         Patch by: Alexis Ballier <aballier at gentoo org>
4979
4980         * tests/check/gst/gstabi.c:
4981         * tests/check/gst/struct_ppc64.h:
4982         * tests/check/libs/libsabi.c:
4983         * tests/check/libs/struct_ppc64.h:
4984           Decide which header to include based on the userland ABI target
4985           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4986           for 64-bit userland (#503590).  Might need something similar for
4987           x86 too.
4988
4989 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4990
4991         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4992           Log the reason why fopen fails in addition to the fact that it failed.
4993           
4994 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4995
4996         * gst/parse/parse.l:
4997         Use "%option never-interactive" to prevent useless calls to isatty()
4998         on every input when parsing. Also use "%option noinput" to not define
4999         the static input/yyinput functions which we don't use anyway. This
5000         removes a compiler warning with gcc 4.3 and saves some bytes in the
5001         library.
5002         
5003         * gst/parse/lex._gst_parse_yy.pre.c:
5004         Regenerated for the above change.
5005
5006 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5007
5008         * gst/gstpad.c: (fixate_value):
5009         Don't crash when trying to fixate and empty list.
5010         Fixes #506643.
5011
5012 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5013
5014         * docs/faq/gst-uninstalled:
5015         Clarify the comments to make the usage of this script and what it
5016         does easier to understand.
5017
5018 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5019
5020         * tools/gst-plot-timeline.py:
5021         Add more options to gst-plot-timeline
5022
5023 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5024
5025         * docs/design/part-synchronisation.txt:
5026         Some more info on how the stream_time in GstBaseSink is done.
5027
5028 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5029
5030         * tests/check/generic/sinks.c: (gst_sinks_suite):
5031           Put back the tcase_set_timeout(), apparently it's needed after
5032           all; fix it up in a way that makes things work with valgrind too.
5033
5034 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5035
5036         * gst/gstdebugutils.c:
5037           Add warning when failed to open file for writing.
5038
5039 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5042
5043         * gst/gstvalue.c: (gst_value_is_fixed):
5044           Optimisation: bail out of the loop as early as possible (#500143).
5045
5046 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5047
5048         * gst/gstcaps.c: (gst_caps_to_string):
5049         * gst/gstinfo.c: (gst_debug_construct_term_color):
5050         * gst/gstparse.c: (gst_parse_launchv):
5051         * gst/gstutils.c: (gst_util_dump_mem):
5052         * gst/gstvalue.c: (gst_value_serialize_any_list),
5053           (gst_value_transform_any_list_string):
5054           Bunch of gratuitous nano-optimisations.
5055
5056 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5057
5058         * tests/check/generic/sinks.c: (async_done_func),
5059           (async_done_eos_func):
5060           Fix leak in unit test (bus sync handler must unref the message
5061           if it returns GST_BUS_DROP). Don't fiddle with the default test
5062           timeout, this is smaller than the current preconfigured value
5063           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5064           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5065
5066 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5067
5068         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5069
5070         * configure.ac:
5071         Check for stdio_ext.h for the filesink changes.
5072
5073         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5074         (gst_file_sink_class_init), (gst_file_sink_init),
5075         (gst_file_sink_dispose), (gst_file_sink_set_property),
5076         (gst_file_sink_get_property), (gst_file_sink_open_file),
5077         (gst_file_sink_close_file):
5078         * plugins/elements/gstfilesink.h:
5079         Add two properties to control the buffering mode and size.
5080         API: GstFileSink::buffer-mode
5081         API: GstFileSink::buffer-size
5082         Fixes #500150.
5083
5084 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5085
5086         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5087         Add some more docs to explain why a FIXME was wrongly added. 
5088
5089 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5090
5091         * gst/gstobject.c:
5092           Fix typo in the gst_object_{ref,unref} documentation.
5093
5094 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5095
5096         * tests/check/libs/controller.c:
5097         * tests/check/libs/typefindhelper.c:
5098         * tests/check/pipelines/parse-launch.c:
5099           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5100           going to be deprecated (see #498924).
5101
5102 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * gst/gsttypefind.c: (gst_type_find_register):
5105           Make gst_type_find_register work for static typefind functions,
5106           ie. allow passing plugin == NULL (prerequisite for #498924).
5107
5108         * gst/gstelementfactory.c: (gst_element_register):
5109           Small docs addition.
5110
5111 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5112
5113         * gst/gstpad.c: (gst_pad_dispose):
5114         Really unlink the peer pad instead of setting the peer pointer to NULL
5115         when we dispose the pad.
5116         This correctly calls the unlink functions and makes sure that the peer
5117         does not have a handle to invalid memory. See #504671.
5118
5119         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5120         Add testsuite for above case.
5121
5122 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         Patch by: Peter Kjellerstedt <pkj axis com>
5125
5126         * libs/gst/check/gstcheck.h:
5127           Fix detection of the check version we're compiling against (would
5128           otherwise break if check goes v0.10.0); correctly report the
5129           name of the failed test again in case of failure, instead of
5130           just 'tf' (fixes #504499).
5131
5132 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5133
5134         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5135         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5136         (gst_base_src_loop), (gst_base_src_set_flushing),
5137         (gst_base_src_change_state):
5138         Allow sending EOS to the source to make it send out an EOS event from
5139         the streaming thread.
5140         Update docs and deprecate the old NULL/READY shutdown method.
5141
5142         * tests/check/libs/basesrc.c: (GST_START_TEST),
5143         (gst_basesrc_suite):
5144         Add unit test for controlled shutdown.
5145
5146 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5147
5148         * docs/design/part-synchronisation.txt:
5149         Small updates.
5150
5151         * gst/gstsegment.c: (gst_segment_set_seek),
5152         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5153         (gst_segment_to_running_time):
5154         The seek format can be different from the segment format when the start
5155         and stop values are not to be updated, when we only do a rate change for
5156         example.
5157
5158         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5159         (gst_segment_suite):
5160         Add a testcase for the rate-only seeks, checking that the format is
5161         correctly ignored when start and stop are not updated.
5162
5163 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5164
5165         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5166
5167         * win32/vs8/grammar.vcproj:
5168         * win32/vs8/libgstcontroller.vcproj:
5169         * win32/vs8/libgstreamer.vcproj:
5170         Fix compilation with VS8 and include some missing files.
5171
5172 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5173
5174         * gst/gsttaglist.c:
5175           Small docs addition: mention that the strings returned by
5176           gst_tag_list_get_string*() are in UTF-8 encoding.
5177
5178 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5179
5180         * Makefile.am:
5181           The check-exports stuff moved to common/win32.mak, so include that.
5182
5183 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5184
5185         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5186         (gst_base_src_perform_seek), (gst_base_src_get_range),
5187         (gst_base_src_set_playing), (gst_base_src_change_state):
5188         Make _wait_playing() not check any variables so that we can call this
5189         function from subclasses. Move the checks elsewhere similar to
5190         _wait_preroll() in basesink.
5191         Add some debugging.
5192         Only signal the LIVE cond when we are going back to PLAYING.
5193
5194 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5197           Use g_remove() and g_rename(). Check result of g_rename(), and
5198           don't leak the open file descriptor if we error out when writing.
5199
5200         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5201           Must check the return value of close() after writing out the new
5202           registry file.  Sometimes write problems such as out-of-diskspace
5203           are only reported when the file is closed and not already during
5204           the write.  This may have caused partial/broken registry files in
5205           some rare circumstances. Should fix #503675.
5206
5207 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5208
5209         * docs/gst/.cvsignore:
5210         * docs/libs/.cvsignore:
5211         * docs/plugins/.cvsignore:
5212         Ignore files generated by new common/* modifications
5213
5214 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5215
5216         * win32/common/libgstbase.def:
5217           Yes, you can also have a <TAB> if you want.
5218
5219 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5220
5221         * win32/common/libgstbase.def:
5222           Add new basetransform API to win export file.
5223
5224 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5225
5226         * tests/check/gst/gstbin.c:
5227           Adjust the test to the refcount change two days ago.
5228
5229 2007-12-14  David Schleef  <ds@schleef.org>
5230
5231         * docs/faq/getting.xml: Fix typo.
5232
5233 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5234
5235         * docs/libs/gstreamer-libs-sections.txt:
5236         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5237           (gst_base_transform_prepare_output_buffer),
5238           (gst_base_transform_set_gap_aware):
5239         * libs/gst/base/gstbasetransform.h:
5240           API: Add gst_base_transform_set_gap_aware() to control whether
5241           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5242           get buffers with this flag at all. Fixes #503231.
5243
5244 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5245
5246         * libs/gst/base/gstbasesink.c:
5247         * libs/gst/base/gstbasesrc.c:
5248         * libs/gst/base/gstbasetransform.c:
5249           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5250           thread. Correct log message in gstbasesrc.c.
5251
5252 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5253
5254         * gst/gstutils.c: (element_find_unconnected_pad):
5255           Fix possible compiler warning (#503417).
5256
5257 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5258
5259         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5260           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5261
5262 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5263
5264         * tools/gst-inspect.c: (print_element_properties_info):
5265           Add support for GstFraction properties.
5266
5267 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * Makefile.am:
5270           Add check-exports target and run it as part of 'make check'
5271           (see #499140 and #493983).
5272
5273         * gst/gst_private.h:
5274         * gst/gstelementfactory.h:
5275         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5276         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5277           (_priv_gst_in_valgrind):
5278         * gst/gstinfo.h: (GstLogFunction):
5279         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5280           (gst_type_find_register):
5281         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5282           (gst_type_find_factory_get_type):
5283         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5284           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5285           (gst_controller_new_valist), (gst_controller_new_list),
5286           (_gst_controller_dispose), (_gst_controller_class_init):
5287         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5288         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5289           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5290           (gst_object_get_controller), (gst_object_set_controller),
5291           (gst_object_suggest_next_sync), (gst_object_sync_values),
5292           (gst_object_set_control_source), (gst_object_get_control_source),
5293           (gst_object_get_value_arrays), (gst_object_get_value_array),
5294           (gst_object_get_control_rate), (gst_object_set_control_rate):
5295         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5296         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5297           Make some functions that should be static static; rename some
5298           private symbols so that they don't get exported; add some FIXME
5299           comments so we can move accidentally exported functions into
5300           our private section in 0.11.
5301
5302         * win32/common/libgstreamer.def:
5303           Add gst_utils_get_timestamp().
5304
5305 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5306
5307         * gst/gstvalue.c:
5308         * gst/gstvalue.h:
5309           Add more missing "Since:" tags to docs.
5310
5311 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5312
5313         * gst/gstutils.c:
5314           Add mising "Since:" to docs.
5315
5316 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5317
5318         * gst/gstplugin.c:
5319           Include "glib-compat-private.h" to fix the build on system with
5320           glib < 2.10. Fixes #503131.
5321
5322 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5323
5324         * gst/gstutils.c:
5325         * gst/gstutils.h:
5326           Actually its not PURE as it gets the time from elsewhere.
5327
5328 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5329
5330         * docs/gst/gstreamer-sections.txt:
5331         * gst/gstclock.h:
5332         * gst/gstdebugutils.c:
5333         * gst/gstinfo.c:
5334         * gst/gstutils.c:
5335         * gst/gstutils.h:
5336         * libs/gst/base/gstbasesink.c:
5337         * tools/gst-launch.c:
5338           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5339           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5340           Thanks Tim for spotting.
5341           API: gst_util_get_timestamp
5342
5343 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5344
5345         * configure.ac:
5346           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5347
5348 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5349
5350         * gst/gststructure.c: (gst_structure_validate_name),
5351           (gst_structure_new_valist), (gst_structure_parse_value),
5352           (gst_structure_from_string):
5353           Don't crash in _from_string() if the structure name is not valid
5354           (fixes #501560).  Allow structure names to start with a number
5355           again (this apparently broke the ubuntu codec installer).
5356
5357         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5358           (GST_START_TEST):
5359           Add unit test for the crash; update unit tests for new behaviour.
5360
5361 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5362
5363         * gst/gstutils.c:
5364         Clarify gst_element_get_compatible_pad() documentation.
5365         Fixes #500919.
5366
5367 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5368
5369         * tests/check/Makefile.am:
5370           Don't forget to dist {gst,libs}/struct_hppa.h.
5371
5372 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5373
5374         * libs/gst/base/gstbasesink.c:
5375           Use new API to get elapsed time.
5376
5377 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5378
5379         * gst/gstdebugutils.c:
5380         * gst/gstinfo.c:
5381           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5382
5383         * tools/gst-launch.c:
5384           Use new API to get elapsed time.
5385
5386 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5387
5388         * docs/gst/gstreamer-sections.txt:
5389         * gst/gstclock.h:
5390         * gst/gstdebugutils.c:
5391         * gst/gstinfo.c:
5392           Rename new API + ChangeLog surgery to remove old name from last entry..
5393
5394 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5395
5396         * docs/gst/gstreamer-sections.txt:
5397         * gst/gstclock.h:
5398         * gst/gstdebugutils.c:
5399         * gst/gstinfo.c:
5400           Now hide the different clock stuff behind a macro.
5401
5402 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5403
5404         * configure.ac:
5405         * gst/gstdebugutils.c:
5406         * gst/gstinfo.c:
5407           Apply the posix-timer check from #361155. Conditionally use the posix
5408           timer for logging. This gives better timestamp precission, less
5409           overhead and no ntp jitter.
5410
5411 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5412
5413         * gst/gstminiobject.c: (gst_mini_object_get_type),
5414         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5415         (gst_mini_object_finalize), (gst_mini_object_copy),
5416         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5417         (gst_mini_object_replace), (param_mini_object_validate),
5418         (gst_param_spec_mini_object_get_type):
5419         Some cleanup and checking against invalid function parameters.
5420
5421 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5422
5423         * docs/gst/gstreamer-sections.txt:
5424         * gst/gstclock.h:
5425         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5426         (gst_systemclock_suite):
5427         Start merging in the easy bits of #361155, the monotonic clock patch.
5428         This one adds a few handy macros with docs and a testsuite.
5429
5430 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5431
5432         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5433         Be a bit smarter when seeking, like, don't try to do a seek when it's
5434         not needed. This avoids errors when the file is not seekable.
5435         Fixes #499771.
5436
5437 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5438
5439         * docs/gst/gstreamer-docs.sgml:
5440         * docs/gst/gstreamer-sections.txt:
5441         * docs/gst/gstreamer.types.in:
5442         * gst/Makefile.am:
5443         * gst/gst.h:
5444         * gst/gstpreset.c:
5445         * gst/gstpreset.h:
5446         * plugins/elements/gstqueue.c:
5447           Due to popular request remove preset interface again. :-(.
5448
5449 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5450
5451         * tools/gst-inspect.c:
5452           Print 'default value' for enums and flags too.
5453
5454 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5455
5456         * docs/random/ensonic/profiling.txt:
5457           More ideas.
5458
5459         * gst/gstbin.c:
5460           Fix typo and give better log output.
5461
5462         * gst/gstdebugutils.c:
5463         * gst/gstdebugutils.h:
5464           More ideas, make graphs a bit smaller and fix param name in macro.
5465
5466 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5467
5468         * gst/gstpreset.c:
5469           Try harder to use the return value from fgets().
5470
5471 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * gst/gstpreset.c:
5474           For theses two fgets we handle the error below.
5475
5476 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5477
5478         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5479         Only send upstream events upstream. Fixes #498746.
5480
5481 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5482
5483         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5484
5485         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5486         (gst_identity_init), (gst_identity_transform_ip),
5487         (gst_identity_set_property), (gst_identity_get_property):
5488         * plugins/elements/gstidentity.h:
5489         Add property to disable handoff signal emission. Fixes #498694.
5490         API: GstIdentity::signal-handoffs
5491
5492 2007-11-21  Julien Moutte  <julien@fluendo.com>
5493
5494         * docs/faq/gst-uninstalled: Yet another missing library for the
5495         uninstalled script (fft)
5496
5497 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5498
5499         * docs/faq/developing.xml:
5500         Add a question about how to submit new translations.
5501
5502         * docs/random/release:
5503         Update the contact email address for the Translation Project
5504
5505         * plugins/elements/gstfdsrc.c:
5506         The parent_class for fdsrc is pushsrc, not GstElement.
5507
5508 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5509
5510         * gst/gstpreset.c:
5511           Plug a leak and fix saving.
5512
5513 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5514
5515         * docs/gst/gstreamer-sections.txt:
5516         Add new gst_preset__get_property_names() function to the docs
5517         to fix the build.
5518
5519 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5520
5521         * gst/gstpreset.c:
5522         * gst/gstpreset.h:
5523           Change _get_preset_names API to return a strv with copies. Add
5524           _get_property_names to allow implementations to filter and provide
5525           good default implementation.
5526
5527 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5528
5529         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5530         script (sdp).
5531
5532 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5533
5534         * gst/gstpreset.c:
5535           More cleanups, docs, and TODOs from comments that now slowly come in.
5536
5537 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5538
5539         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5540         search path.
5541
5542 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5543
5544         * gst/gstpreset.c:
5545           Fix bogus warning and make the property type specific code more
5546           similar.
5547
5548 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5549
5550         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5551         it build on OS X.
5552
5553 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5554
5555         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5556         (gst_bin_add_func), (gst_bin_remove_func),
5557         (gst_bin_change_state_func), (gst_bin_continue_func):
5558         Change email, cleanups add some more debug and comments.
5559         Also set bus and clock on new elements when the pipeline was in error.
5560
5561 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5562
5563         * gst/gstbin.c:
5564         * gst/gstdebugutils.c:
5565           Fix build with --disable-gst-debug. Fixes #497859.
5566           Spotted by Sameer Naik.
5567
5568 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5569
5570         * gst/gstevent.c:
5571           Little documentation improvment.
5572
5573         * gst/gstpreset.c:
5574           More TODO cleanups. Remove c++ comments.
5575
5576         * libs/gst/controller/gstcontroller.c:
5577           Add TODO and use quark from static string.
5578
5579         * tests/check/gst/gstmessage.c:
5580         * tests/check/gst/gststructure.c:
5581           Use quark from static string.
5582
5583 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5584
5585         * gst/gstpreset.c:
5586           Add some comments and TODOs.
5587
5588         * gst/gstpreset.h:
5589           Add padding for future changes.
5590
5591         * plugins/elements/gstqueue.c:
5592           Implement the iface.    
5593
5594 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5595
5596         * docs/gst/gstreamer-docs.sgml:
5597         * docs/gst/gstreamer-sections.txt:
5598         * docs/gst/gstreamer.types.in:
5599         * gst/Makefile.am:
5600         * gst/gst.h:
5601         * gst/gstpreset.c:
5602         * gst/gstpreset.h:
5603           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5604
5605 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5606
5607         * configure.ac:
5608
5609         Back to CVS
5610
5611 === release 0.10.15 ===
5612
5613 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5614
5615         * configure.ac:
5616           releasing 0.10.15, "October"
5617
5618 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5619
5620         * win32/vs6/libgstreamer.dsp:
5621         Convert line endings back to DOS.
5622
5623 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5624
5625         * docs/design/draft-tagreading.txt:
5626         * docs/random/ensonic/profiling.txt:
5627         Update fast tagreading draft and performance profiling ideas.
5628
5629 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5630
5631         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5632         Don't hold the object lock when unreffing a buffer because it could
5633         cause a deadlock when the finalize function wants to grab the object
5634         lock too. Fixes #495133.
5635
5636 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5637
5638         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5639         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5640         Also accumulate time correctly when doing reverse playback. Fixes
5641         #488201,
5642         When converting to running and stream time, use default values for
5643         start/stop/time/accum when comparing different formats. Fixes #494245.
5644
5645         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5646         Do running/stream time in TIME format.
5647
5648         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5649         (gst_segment_suite):
5650         2 new unit tests for segment accumulation.
5651
5652 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5653
5654         * gst/gst.c: (init_pre):
5655         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5656           (_gst_debug_bin_to_dot_file):
5657           Move getenv() back into gst_init, so everyone can live happily
5658           ever after. Make sure the symbol isn't exported though.
5659
5660 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5661
5662         Patch by: Sebastien Moutte  <sebastien moutte net>
5663
5664         * win32/common/gstenumtypes.c:
5665         * win32/common/gstenumtypes.h:
5666           Update enum types.
5667
5668         * win32/vs6/libgstreamer.dsp:
5669           Update vs6 project files (#494343).
5670
5671 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5672
5673         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5674         (gst_base_src_perform_seek), (gst_base_src_default_event),
5675         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5676         (gst_base_src_activate_pull):
5677         Unify flushing code, remove some old unlock code that is no longer used.
5678         Take the streaming lock when seeking to avoid races. Fixes #492729.
5679         Added some more comments.
5680
5681 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5682
5683         * gst/gst.c: (_gst_disable_segtrap):
5684           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5685           we can use gst_segtrap_is_enabled() there now that we have that API.
5686           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5687           to do the getenv here (and export the variable).
5688
5689         * gst/gstdebugutils.c: (debug_dump_element),
5690           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5691           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5692
5693         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5694           (gst_debug_log_default):
5695           Rename _gst_info_start_time to priv_gst_info_start_time so it
5696           doesn't get exported (was never in any header).
5697
5698         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5699           (gst_plugin_loading_mutex):
5700           Make static mutex gst_plugin_loading_mutex really static (was never
5701           in any header), and use gst_segtrap_is_enabled() instead of
5702           _gst_disable_segtrap.
5703
5704         * gst/gsttrace.c: (_gst_trace_default):
5705           Make local _gst_trace_default static (was never in any header).
5706
5707 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5708
5709         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5710
5711         * win32/common/libgstbase.def:
5712         * win32/common/libgstcontroller.def:
5713         * win32/common/libgstdataprotocol.def:
5714         * win32/common/libgstnet.def:
5715         * win32/common/libgstreamer.def:
5716           Add more missing symbols, remove some duplicates, and sort
5717           as the 'sort' command sorts it (partially fixes #493983).
5718
5719 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5720
5721         * gst/gstelement.c: (gst_element_set_state_func):
5722         Only change the state cookie if a different state was set on the
5723         element. See #492729.
5724
5725 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5726
5727         * gst/gstvalue.c:
5728           Remove unused and uninitialised type variables that were still
5729           exported for some reason (they were never in any header files
5730           though).
5731
5732 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5733
5734         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5735         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5736         (gst_base_sink_event), (gst_base_sink_get_position_last),
5737         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5738         (gst_base_sink_change_state):
5739         Don't try to report a 0 position when we don't know, return -1 and FALSE
5740         instead. This mostly happens when we are prerolling.
5741         Make sure we can report the right position before we post the ASYNC_DONE
5742         message so that a message handler can query position without races.
5743
5744         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5745         (async_done_handoff), (async_done_func), (send_buffer),
5746         (async_done_eos_func), (gst_sinks_suite):
5747         Add two tests for the above.
5748
5749 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5750
5751         * MAINTAINERS:
5752         Update with new email address.
5753
5754         * docs/design/part-TODO.txt:
5755         Add some more info about future pad-block and negotiation changes.
5756
5757         * docs/design/part-buffering.txt:
5758         Add some ideas about buffering reporting.
5759
5760 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5761
5762         * tests/check/gst/gstobject.c:
5763         Disable silly racy test that always fails on this combination of CPU
5764         and kernel.
5765
5766 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         Patch by: Murray Cumming  <murrayc@murrayc.com>
5769
5770         * gst/gstobject.c:
5771           Corrected the registration of the parent-set and parent-unset
5772           signals: The parameter is a GstObject, not a GObject (#493134).
5773
5774 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * gst/gst_private.h:
5777         * gst/gstbuffer.h:
5778         * gst/gstevent.h:
5779         * gst/gstformat.h:
5780         * gst/gstmessage.h:
5781         * gst/gstplugin.h:
5782         * gst/gstquery.h:
5783         * gst/gsttaglist.h:
5784         * gst/gstvalue.h:
5785           Move declaration of private _gst_foo_initialize() functions into
5786           our private header file where they should have been all along.
5787
5788 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5789
5790         * docs/plugins/gstreamer-plugins-sections.txt:
5791         * gst/gstdebugutils.h:
5792         * gst/gstxml.h:
5793         * plugins/elements/gstqueue.c:
5794           gtk-doc fixes; trailing-comma-in-enum fix.
5795
5796 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5797
5798         * gst/gst.c: (gst_deinit):
5799           Clean up on deinit (not the external ones though, doesn't seem to be
5800           needed for some reason).
5801
5802 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5803
5804         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5805           Remove __declspec(dllimport) for MSVC that was copied over into core
5806           from a plugin, obviously without ever having been tested (note the
5807           single underscore in _declspec in the initial commit), and that doesn't
5808           really make sense.  See #492077.
5809
5810 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5811
5812         * gst/gst.c: (init_post):
5813         * gst/gstevent.c: (_gst_event_initialize):
5814         * gst/gstquery.c: (_gst_query_initialize):
5815         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5816           g_type_class_ref() other types as well, see #349410 and #64764.
5817
5818         * gst/gstbuffer.c: (_gst_buffer_initialize):
5819         * gst/gstmessage.c: (_gst_message_initialize):
5820           Simplify existing g_type_class_ref().
5821
5822 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5823
5824         * gst/gstformat.c: (_gst_format_initialize):
5825           g_type_class_ref() our GstFormat type to make sure we avoid the
5826           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5827           bug #64764. Should fix intermittent tee unit test failures (#474823).
5828
5829 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5830
5831         * tests/check/elements/tee.c: (test_num_buffers):
5832           Simplify, simplify, simplify - or not.  Rewrite unit test
5833           not to use gst_parse_launch(); allow N sub-streams. Increasing
5834           the number of sub-streams seems to reproduce #474823 more easily.
5835
5836 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5839
5840         * gst/gsttrace.c:
5841         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5842         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5843         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5844           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5845           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5846           so use _pipe() directly (#492077).
5847
5848         * win32/common/dirent.c: (_treaddir):
5849           Add a couple of casts to make it build without warnings with MSVC.
5850
5851         * win32/common/libgstreamer.def:
5852           Add some more symbols that need to be exported.
5853
5854 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5855
5856         * tests/examples/metadata/read-metadata.c: (message_loop):
5857           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5858           arriving in a second or third tag message are added to
5859           the tag list as well.
5860
5861 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5862
5863         * libs/gst/base/gstbasesrc.c:
5864           Its "Since:" and not "@Since:". And remove an superflous cast.
5865
5866 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5867
5868         * docs/libs/gstreamer-libs-sections.txt:
5869         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5870         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5871         (gst_base_sink_get_property), (gst_base_sink_render_object),
5872         (gst_base_sink_preroll_object),
5873         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5874         (gst_base_sink_change_state):
5875         * libs/gst/base/gstbasesink.h:
5876         Add a new last-buffer property that contains the last buffer used in
5877         basesink for preroll or rendering. useful for making snapshots.
5878         API: gst_base_sink_get_last_buffer()
5879         API: GstBaseSink::last-buffer
5880
5881 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5882
5883         * docs/gst/running.xml:
5884         * gst/gst.c:
5885         * gst/gstdebugutils.c:
5886         * gst/gstdebugutils.h:
5887         * tools/gst-launch.c:
5888           Improve bin graph dumping, by using the envvar to specify a path.
5889           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5890
5891 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5892
5893         * plugins/elements/gsttypefindelement.c:
5894           (gst_type_find_element_handle_event),
5895           (gst_type_find_element_activate):
5896           Post special error message if we can't determine the type of a stream
5897           because it's empty.
5898
5899 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * docs/gst/running.xml:
5902         * gst/gstdebugutils.c:
5903           Document new env-var. Add one log-line after dumpng a graph.
5904
5905 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5906
5907         * configure.ac:
5908           Ugly hack to put the (recently removed and non-portable, apparently)
5909           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5910           GNU ld, because without that 'make check' fails miserably on my debian
5911           stable box.  Someone with more knowledge of linker intricacies and
5912           portability issues than me fix this properly please.
5913
5914 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5915
5916         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5917         Reset last seen position after flushing so that we don't report the old
5918         position anymore.
5919
5920 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5921
5922         * gst/gstelementfactory.c: (gst_element_register):
5923         * gst/gsturi.h:
5924         Patch from Alessandro Decina adding get_type_full and
5925         get_protocols_full private vfuncs to the URIHandler interface
5926         to allow bindings to support creating URI handlers. 
5927         Partially fixes: #339279
5928         API: GstURIHandlerInterface::get_type_full
5929         API: GstURIHandlerInterface::get_protocols_full
5930
5931 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5932
5933         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5934         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5935         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5936         Make it so that pads are considered linked until a buffer is pushed
5937         and discovered otherwise. This avoids problems with decodebin2 hanging
5938         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5939         case.
5940
5941         Make sure we lock the multiqueue when updating the max-size properties.
5942         
5943         Fix a crash on Solaris in a debug statement in get_request_pad that
5944         passes a NULL string to GST_DEBUG. 
5945
5946         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5947         (run_output_order_test):
5948         Fix the test to allow the first buffer on not-linked pads to come out
5949         of sequence while multiqueue discovers that they are not-linked.
5950
5951 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5952
5953         * configure.ac:
5954         * libs/gst/check/Makefile.am:
5955         Use a custom export symbol regex for libgstcheck, as it needs
5956         to export symbols that don't match the standard GStreamer gst_*
5957         pattern, and  --export-dynamic is not portable (only works on 
5958         GNU ld)
5959
5960         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5961         (gst_check_setup_sink_pad):
5962         Make sure to pass a message parameter to the fail_* macros.
5963
5964         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5965         Fix some compiler warnings.
5966
5967 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5968
5969         * tests/check/gst/gststructure.c: (test_to_string):
5970           Disable test that checks that white spaces are not allowed
5971           in structure names or field names, since we need to
5972           support that for now for backwards compatibility reasons.
5973
5974 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5975
5976         * docs/gst/gstreamer-sections.txt:
5977         * gst/gsttaglist.c:
5978         * gst/gsttaglist.h:
5979           API: add GST_TAG_ARTIST_SORTNAME
5980           API: add GST_TAG_ALBUM_SORTNAME
5981           API: add GST_TAG_TITLE_SORTNAME
5982           Add tag variants for sorting (#414539).
5983
5984 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * gst/gststructure.c:
5987           Also allow white space for names so we don't break
5988           backwards compatibility.
5989
5990 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5991
5992         * docs/design/part-TODO.txt:
5993         * docs/design/part-segments.txt:
5994         * docs/design/part-streams.txt:
5995         Small updates.
5996
5997 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5998
5999         * docs/gst/gstreamer-sections.txt:
6000          Fixed documentation from my previous commit (added new API add
6001          gst_value_set_structure(), add gst_value_get_structure() and
6002          GST_VALUE_HOLDS_STRUCTURE).
6003
6004 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6005
6006         * gst/gstdebugutils.c:
6007           Reflow code to fix uninitialized variable warning.
6008
6009 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6010
6011         * gst/gstcaps.c: (gst_caps_to_string),
6012         (gst_caps_from_string_inplace):
6013         * gst/gststructure.c: (gst_structure_get_abbrs),
6014         (gst_structure_to_string), (gst_structure_from_string):
6015         * gst/gstvalue.c: (gst_value_set_structure),
6016         (gst_value_get_structure), (gst_value_serialize_structure),
6017         (gst_value_deserialize_structure), (_gst_value_initialize):
6018         * gst/gstvalue.h:
6019         * tests/check/gst/gststructure.c: (GST_START_TEST),
6020         (gst_structure_suite):
6021         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6022          Added GstStructure to gst_value_table and its related functions.
6023          Changed gst_structure_to_string to print ';' in the end.
6024          Changed gst_caps_to_string to not print ';' beteween its
6025          fields (structures) anymore and remove the lastes ';' from latest
6026          structure. Now it is possible to have nested structures.
6027          In addition, backward compatibilty is assured by accepting '\0' as
6028          end delimiter. Fixes: #487969.
6029          API: add gst_value_set_structure()
6030          API: add gst_value_get_structure()
6031          API: add GST_VALUE_HOLDS_STRUCTURE
6032
6033 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6034
6035         * gst/gstbus.c:
6036           When no GSource callback has been set up, tell developer
6037           to use a function that actually exists.
6038
6039 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6040
6041         * docs/gst/gstreamer-sections.txt:
6042         * gst/Makefile.am:
6043         * gst/gst.c:
6044         * gst/gst.h:
6045         * gst/gstdebugutils.c:
6046         * gst/gstdebugutils.h:
6047         * gst/gstinfo.c:
6048         * gst/gstinfo.h:
6049         * tools/gst-launch.c:
6050           Allow dumping pipelines as dot graphs. Fixes #456573.
6051
6052 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         * gst/gststructure.c:
6055           Allow '+' as well, it can be part of media or mime types
6056           such as image/svg+xml.
6057
6058 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6059
6060         * docs/gst/gstreamer-sections.txt:
6061         * gst/gstbus.c:
6062         * gst/gstbus.h:
6063           API: add gst_bus_pop_filtered
6064           API: add gst_bus_timed_pop_filtered
6065           Two new functions for waiting for specific message types on the
6066           bus for a specified amount of time without iterating any main
6067           loops or main contexts.
6068
6069         * tests/check/gst/gstbus.c:
6070           Some tests for the new functions.
6071
6072 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6073
6074         * docs/libs/gstreamer-libs-sections.txt:
6075           Make gtk-doc ignore stuff it should ignore.
6076
6077 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * libs/gst/check/gstcheck.c:
6080         * libs/gst/check/gstcheck.h:
6081           Allow runtime selection of unit tests to run via the GST_CHECKS
6082           environment variable (test case function names, comma-separated).
6083
6084 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6085
6086         * gst/gststructure.c:
6087         * tests/check/gst/gststructure.c:
6088           Revert serialisation change and constrain structure-names after
6089           consensus on irc. Update api documentation to reflect the change.
6090
6091 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6092
6093         * gst/gststructure.c:
6094           Improve serialization and fix tests.
6095
6096         * tests/check/gst/gststructure.c:
6097           Add another test that covers why I actually did the previous structure
6098           change.
6099
6100 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6101
6102         * tools/gst-inspect.c: (print_element_info):
6103         Don't crash when inspecting an element.
6104
6105 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6106
6107         * tests/check/gst/gststructure.c:
6108           Add unit test for escaping of structure name when serialising
6109           and deserialising to/from strings.
6110
6111 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6112
6113         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6114         (gst_single_queue_new):
6115         * plugins/elements/gstqueue.c: (gst_queue_init),
6116         (gst_queue_push_one):
6117         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6118         upstream is tricked into thinking it can suggest a format downstream
6119         while downstream does not support that format. The real problem is that
6120         core calls acceptcaps when pushing a buffer with new caps, for which we
6121         do a little workaround by setting the caps on the srcpad ourselves
6122         before pushing the buffer (until this is figured out). Fixes #486758.
6123
6124 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6125
6126         * gst/gststructure.c:
6127         * gst/gstvalue.c:
6128           Add some more comments and debug output. Quote structure name to fix
6129           deserialisation of some strings.
6130
6131 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6132
6133         * gst/gstbuffer.h:
6134           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6135           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6136
6137 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6138
6139         * tools/gst-inspect.c:
6140           Save approx. 400 1 byte allocs when printing. Use API to acces element
6141           details.
6142
6143         * tools/gst-run.c:
6144           Avoid a strdup.
6145
6146         * tools/gst-xmlinspect.c:
6147           Use API to acces element details.
6148
6149 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6150
6151         * gst/gstinfo.c:
6152           Fix some spelling errors.
6153
6154 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6155
6156         * gst/gstbin.c: (bin_handle_async_done):
6157         Correctly set the next state if all of our async children commited their
6158         state. This makes sure we can actually cancel the state change in
6159         progress. Fixes a regression in Rhythmbox when seeking.
6160
6161 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * gst/gstbin.c:
6164           Don't shadow local variable.
6165
6166         * gst/gstinfo.c:
6167           Don't shadow global function name.
6168
6169 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         * gst/gstelementfactory.c:
6172         * gst/gstpluginfeature.c:
6173         * gst/gstpluginfeature.h:
6174         * gst/gstregistrybinary.c:
6175         * gst/gstregistryxml.c:
6176         * gst/gsttypefind.c:
6177           Use already-interned string for the private GstPluginFeature
6178           plugin_name field.
6179
6180 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6181
6182         * docs/libs/gstreamer-libs-sections.txt:
6183           Add new API to docs; fixes the build.
6184
6185 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6186         
6187         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6188
6189         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6190         (gst_base_sink_event):
6191         * libs/gst/base/gstbasesink.h:
6192         Add function to wait for EOS, subclasses can use this to correctly wait
6193         for devices to drain before performing the EOS logic. Fixes #485343.
6194         API: gst_base_sink_wait_eos()
6195
6196 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6197
6198         * gst/gstplugin.h:
6199           Cast description string constants in GST_PLUGIN_DEFINE macros
6200           to a (gchar*) to make C++ code using these macros compile
6201           without warning with g++-4.2 (see #462737).  Even if slightly
6202           ugly, this seems preferable to putting the description strings
6203           into the GLib quark table or making the structure member a
6204           const gchar * and doing casts in core code that allocs and
6205           frees these strings, or requiring a cast in the C++ code.
6206
6207 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         * gst/gstinfo.h:
6210           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6211           to print the entire class/function signature into the log
6212           file for C++ code.  This only affects C++ code, for C code
6213           everything remains the same.
6214
6215 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6216
6217         * gst/gstbin.c: (remove_from_queue):
6218         Work around a problem with pipelines containing (semi)loops until a
6219         proper, more complicated solution is ready. See #475455.
6220
6221 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * gst/gstplugin.c:
6224         * gst/gstplugin.h:
6225         * gst/gstregistrybinary.c:
6226         * gst/gstregistryxml.c:
6227           Put more strings into the GLib quark table. No need to keep
6228           a hundred-something copies of identical version strings,
6229           license strings, package name strings and package origin
6230           strings around. 
6231
6232 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6233
6234         * docs/manual/advanced-dataaccess.xml:
6235           Don't imply that it's okay to unconditionally change
6236           buffer data or buffer metadata in a pad probe callback,
6237           and a bunch of other comments. Fixes #430031.
6238
6239 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6240
6241         * win32/common/gstenumtypes.c:
6242         * win32/common/gstenumtypes.h:
6243         * win32/common/gstversion.h:
6244           Update generated files.
6245
6246 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6247
6248         * docs/manual/advanced-autoplugging.xml:
6249           Prefix section with broken code with a warning (see #342432).
6250
6251 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6252
6253         * docs/manual/appendix-integration.xml:
6254         * docs/manual/basics-init.xml:
6255           Call g_thread_init() before g_option_context_new() to
6256           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6257
6258 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6259
6260         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6261         (gst_base_sink_queue_object_unlocked),
6262         (gst_base_sink_queue_object), (gst_base_sink_event),
6263         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6264         When we received EOS and are waiting for when to post the EOS message,
6265         our state is prerolled and we should not return ASYNC.
6266         Reorganize some code paths to implement this behavior.
6267
6268         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6269         (gst_sinks_suite):
6270         Add unit test to verify above EOS fix.
6271
6272 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6273
6274         * plugins/elements/gsttypefindelement.c:
6275         (gst_type_find_element_have_type), (gst_type_find_element_init),
6276         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6277         Move detecting the input caps of the sinkpad to the setcaps function.
6278         This allows us to update the output caps when we receive new input caps
6279         instead of always using the first detected caps.
6280
6281 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6282
6283         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6284         (gst_base_sink_get_position):
6285         Don't try to preroll non-async elements after a flush.
6286         Subtract latency form clock times when reporting position.
6287
6288 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6289
6290         * gst/gstpad.c: (gst_pad_pause_task):
6291         * gst/gstutils.c:
6292         Small comment and documentation update.
6293
6294 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6295
6296         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6297         (gst_base_src_set_live), (gst_base_src_is_live),
6298         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6299         (gst_base_src_default_event), (gst_base_src_wait),
6300         (gst_base_src_do_sync), (gst_base_src_get_range),
6301         (gst_base_src_pad_get_range), (gst_base_src_loop),
6302         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6303         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6304         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6305         (gst_base_src_change_state):
6306         Rework the locking of basesrc in a similar fashion to basesink. We
6307         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6308         us to handle live sources and semi live ones much better.
6309         Simplify flushing.
6310         Fix unlocking when seeking, shutting down and pausing in live sources.
6311
6312 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6313
6314         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6315         Fix compilation again.
6316
6317 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6318
6319         * gst/gstelement.c:
6320           Use meaningful categories for the logs to clean the default one.
6321
6322 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6323
6324         * tests/check/pipelines/cleanup.c:
6325           Print message name and not just number.
6326
6327 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6328
6329         * docs/design/draft-tagreading.txt:
6330           Add some more thoughts.
6331
6332 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6333
6334         * tests/check/pipelines/simple-launch-lines.c:
6335           Print message name and not just number.
6336
6337 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6338
6339         * libs/gst/base/gsttypefindhelper.c:
6340           Speedup typefinding. This is work in progress (see #459862).
6341
6342 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6343
6344         * gst/gstplugin.c:
6345           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6346           Spotted by Josep Torra Valles <josep@fluendo.com>.
6347
6348 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6349
6350         * gst/gstclock.h:
6351           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6352           field has moved to GstObject.
6353
6354 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6355
6356         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6357         (gst_base_src_get_range), (gst_base_src_change_state):
6358         Call unlock for live sources so that they can't get stuck in _create and
6359         produce a buffer before they are set back to PLAYING.
6360
6361 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6362
6363         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6364         (gst_queue_locked_dequeue):
6365         Comment the segment-related code... in the PROPER function.
6366         See #482147 and my commit from yesterday.
6367
6368 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6369
6370         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6371         Also initialize the counter that calculates the first timestamp on a
6372         buffer correctly for non-live sources.
6373
6374 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6375
6376         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6377         Disable code that's breaking the current-time-level reporting.
6378         See #482147
6379
6380 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6381
6382         * docs/gst/gstreamer-sections.txt:
6383         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6384         as they shouldn't show up. Fixes the docs build.
6385
6386 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6387         
6388         * gst/gstinfo.h:
6389         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6390         Define M_PI which is used in files which are including gstinfo.h. 
6391         VS6 includes doesn't define it.
6392         * win32/common/libgstbase.def:
6393         * win32/common/libgstcontroller.def:
6394         * win32/common/libgstreamer.def:
6395         Add new exported functions and variables.
6396         * win32/vs6/libgstcontroller.dsp:
6397         * win32/vs6/libgstreamer.dsp:
6398         Update the list of files to build.
6399         
6400 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6401
6402         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6403
6404         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6405         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6406         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6407         Improve debugging. Fixes #480858.
6408
6409 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6410
6411         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6412
6413         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6414         First patch of code cleanups, use the macros and right arguments in the
6415         macros to signal and lock the queue. See #480858.
6416
6417 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6418
6419         * gst/gstbus.c: (poll_func):
6420         Improve debugging when dealing with _poll().
6421
6422 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gstregistryxml.c:
6425           Fix memory leak I introduced a few days ago.
6426
6427 2007-09-26  Michael Smith <msmith@fluendo.com>
6428
6429         * gst/gstbuffer.c: (gst_buffer_finalize):
6430           Make it once again possible to free GstBuffers in the default
6431           build.
6432           The poisoning scribbles on parts of the miniobject we need in
6433           order to free it.
6434           Fixes #480341
6435
6436 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * docs/gst/gstreamer-sections.txt:
6439         * gst/gsttaglist.c:
6440         * gst/gsttaglist.h:
6441         API: add GST_TAG_COMPOSER, fixes #459809.
6442
6443 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6444
6445         * gst/gstplugin.c:
6446         * gst/gstplugin.h:
6447         Add the 3-clause BSD license and the MIT/X11 license to the license
6448         list. Fixes #479784.
6449
6450 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6451
6452         * docs/faq/getting.xml:
6453           Add Q+A about different GStreamer versions (#364056).
6454
6455 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6456
6457         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6458         (gst_base_sink_event), (gst_base_sink_change_state):
6459         Return correct gboolean from query function.
6460
6461 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6462
6463         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6464         (gst_base_sink_event), (gst_base_sink_query),
6465         (gst_base_sink_change_state):
6466         Simplify latency query.
6467         When not synchronizing, we can report latency without querying the peer
6468         element.
6469
6470 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6471
6472         * gst/gstobject.h:
6473         * gst/gstvalue.c:
6474         Fix small typos in the docs.
6475
6476 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6477
6478         * docs/design/draft-latency.txt:
6479         * docs/design/draft-push-pull.txt:
6480         * docs/design/draft-tagreading.txt:
6481         * docs/design/part-MT-refcounting.txt:
6482         * docs/design/part-activation.txt:
6483         * docs/design/part-block.txt:
6484         * docs/design/part-element-source.txt:
6485         * docs/design/part-events.txt:
6486         * docs/design/part-gstbin.txt:
6487         * docs/design/part-gstelement.txt:
6488         * docs/design/part-gstobject.txt:
6489         * docs/design/part-gstpipeline.txt:
6490         * docs/design/part-messages.txt:
6491         * docs/design/part-preroll.txt:
6492         * docs/design/part-push-pull.txt:
6493         * docs/design/part-qos.txt:
6494         * docs/design/part-query.txt:
6495         * docs/design/part-scheduling.txt:
6496         * docs/design/part-seeking.txt:
6497         * docs/design/part-segments.txt:
6498         * docs/design/part-states.txt:
6499         Documentation updates and typo fixes.
6500
6501 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6502
6503         * plugins/elements/gstfakesink.c:
6504           Add some debug text to error message to indicate that
6505           we errored out on request.
6506
6507         * tools/gst-launch.c:
6508           When the state change to PLAYING fails, check for an
6509           error message on the bus and print it.
6510
6511 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6512
6513         translated by: Jorge González González <aloriel@gmail.com>
6514
6515         * po/LINGUAS:
6516         * po/es.po:
6517           Added Spanish translation.
6518
6519 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6520
6521         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6522         Fix printf arguments.
6523
6524 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6525
6526         * tests/check/generic/states.c:
6527           Improved state change unit test.
6528
6529 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6530
6531         * gst/gstbin.h:
6532           Move priv to the right place.
6533
6534         * gst/gstsystemclock.c:
6535           Add FIXME: and improve log.
6536
6537         * tests/check/Makefile.am:
6538         * tests/examples/manual/Makefile.am:
6539           Work with all types of registries.
6540
6541 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6542
6543         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6544         Don't unref the event after pushing it. Fixes #478401.
6545
6546 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6547
6548         * .cvsignore:
6549         * tests/examples/manual/.cvsignore:
6550           Ignore registries in any format.
6551
6552 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6553
6554         * gst/glib-compat-private.h:
6555           Add compatibility macro for g_intern_string() for
6556           GLib-2.8 (any reason we can't just bump the
6557           requirement to at least 2.10?)
6558
6559         * gst/gstpadtemplate.h:
6560         * gst/gstelementfactory.c:
6561         * gst/gstregistryxml.c:
6562         * gst/gstregistrybinary.c:
6563           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6564           up the internal code accordingly.  This shouldn't be a problem, since
6565           there is no reason external code could ever assume the string in such
6566           a structure is dynamically allocated unless it did that itself;  the
6567           use of g_strdup() is private to element factories.  The new code also
6568           saves some memory by putting pad template name strings into the GLib
6569           quark table instead of allocating them dynamically.
6570           Declaring this field constant fixes warnings with g++-4.2 when using
6571           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6572
6573 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6574
6575         * gst/gstelementfactory.c:
6576           Release static caps. Fixes #475723.
6577
6578 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6579
6580         * gst/gstinfo.c:
6581         * gst/gstinfo.h:
6582           Make some internal API take const gchar * instead of just
6583           gchar * to avoid compiler warnings with g++-4.2.2 when
6584           passing string constants (partially fixes #478092).
6585
6586 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6587
6588         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6589         A latency query fails when one of the sinks fail.
6590
6591         * gst/gstelement.c: (gst_element_set_base_time):
6592         Improve debugging.
6593
6594 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6595
6596         * gst/gstbin.c: (gst_bin_continue_func):
6597         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6598         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6599         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6600
6601         Fix minor compilation warnings shown with Forte.
6602
6603 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6604
6605         * plugins/elements/gstqueue.c: (apply_buffer),
6606         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6607         Measure queue level based on the diff between head and tail timestamps
6608         even when pushing the first buffer.
6609
6610 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6611
6612         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6613         (gst_base_sink_event), (gst_base_sink_change_state):
6614         Sinks that don't preroll can always be queried for the latency.
6615         Don't post ASYNC start when we are not async.
6616
6617 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6618
6619         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6620         (gst_queue_handle_sink_event), (gst_queue_chain),
6621         (gst_queue_push_one), (gst_queue_handle_src_query),
6622         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6623         * plugins/elements/gstqueue.h:
6624         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6625         push more buffers but allow pushing of EOS and NEWSEGMENT.
6626         Add some more debug info here and there. Fixes #476514.
6627
6628 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6629
6630         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6631         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6632         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6633         (gst_base_sink_set_flushing), (gst_base_sink_query),
6634         (gst_base_sink_change_state):
6635         Latency query is allowed after we are prerolled. Introduce a new flag
6636         for this and stop abusing other variables.
6637
6638 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6639
6640         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6641         Push OOB events downstream when we get them in send_event. This allows
6642         the application to insert events in the pipeline.
6643         Add some more comments.
6644
6645 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6646
6647         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6648         (do_bin_latency), (gst_bin_change_state_func):
6649         * gst/gstpipeline.c: (gst_pipeline_change_state):
6650         Move latency query from GstPipeline to GstBin so that we can also
6651         use it when async-handling is enabled on bins.
6652
6653 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6654
6655         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6656         (gst_base_src_do_sync), (gst_base_src_change_state):
6657         Update docs.
6658         Clean up the timestamping and syncing code for pseudo live sources.
6659
6660 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6661
6662         Patch by: Steve Fink  <sphink gmail com>
6663
6664         * docs/manual/appendix-checklist.xml:
6665           Mention less -R switch in the section about debug output (#474055).
6666
6667 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6668
6669         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6670         Queue can latency to the pipeline up to the configured max size in time.
6671         Report this fact in the latency query.
6672
6673 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6674
6675         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6676
6677         * libs/gst/controller/gstinterpolation.c:
6678         * libs/gst/controller/gstlfocontrolsource.c:
6679         Use gst_guint64_to_gdouble() when converting from a uint64 or
6680         GstClockTime to double to fix the build on win32. Fixes #474371.
6681
6682 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6683
6684         * gst/gstbuffer.c: (gst_buffer_finalize):
6685         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6686         When finalizing a buffer the complete struct is filled with 0xff,
6687         thus making a use of the buffer after the final unref impossible.
6688
6689 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6690
6691         * tests/check/libs/controller.c: (GST_START_TEST):
6692         Use fail_unless_equals_int(a, b) instead of
6693         fail_unless_equals (a == b) to get better output on failures.
6694
6695 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6696
6697         * tests/check/gst/gsturi.c:
6698           Also check for the other file URI variant on win32.
6699
6700 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         * gst/gsturi.c: (gst_uri_get_location):
6703           If there's no hostname, we want to return 'c:/foo/bar.txt'
6704           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6705
6706         * tests/check/gst/gsturi.c:
6707           Unit test for the above and a few more things.
6708
6709 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6710
6711         * docs/design/part-live-source.txt:
6712         Add docs on how live sources should timestamp.
6713
6714         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6715         Add some more debug info.
6716         For subclasses that are live and like to sync, add aditional startup
6717         latency to sync time and timestamps so that we timstamp according to the
6718         design doc.
6719
6720 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6721
6722         * gst/gstbuffer.c:
6723           Also do a g_type_class_ref() for the subbuffer type in
6724           the init function.
6725
6726 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6727
6728         * docs/gst/gstreamer-sections.txt:
6729         * gst/gstpad.c: (gst_pad_peer_query):
6730         * gst/gstpad.h:
6731         Add function to perform a query on the peer of a pad.
6732         API: gst_pad_peer_query()
6733
6734 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6735
6736         * tests/check/gst/gstsystemclock.c:
6737           Cleanup the test a little (use gst-logging and not g_message). Improve
6738           test to check if a wait reached the target.
6739
6740 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6741
6742         * docs/libs/gstreamer-libs-sections.txt:
6743           Add new API to docs and fix the build.
6744
6745 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6746
6747         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6748         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6749         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6750         (gst_base_src_get_property), (gst_base_src_do_sync):
6751         * libs/gst/base/gstbasesrc.h:
6752         Add property to make the basesrc timestamp buffers based on the current
6753         running time.
6754         API: GstBaseSrc::do-timestamp
6755         API: gst_base_src_set_do_timestamp()
6756         API: gst_base_src_get_do_timestamp()
6757
6758 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6759
6760         * docs/random/release:
6761           Really make sure translations are up-to-date before
6762           a release (#465010).
6763
6764 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6765
6766         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6767         Always destroy the timer, also in error cases.
6768
6769 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6770
6771         * docs/manual/highlevel-xml.xml:
6772         Fix XML example code. Fixes #472714.
6773
6774 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6775
6776         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6777         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6778         (gst_base_sink_query):
6779         Protect eos and have_preroll with the OBJECT lock so we don't need to
6780         take the PREROLL lock when querying the latency. Fixes #473846.
6781
6782 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6783
6784         * gst/gstelement.c:
6785           Give some log-messages a category.
6786
6787 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6788
6789         * gst/gststructure.c:
6790         (gst_structure_fixate_field_nearest_fraction):
6791         Fix fraction list fixation code. Take the fraction with the smallest
6792         difference with the target instead of the first one in the list.
6793
6794         * tests/check/gst/gststructure.c: (GST_START_TEST),
6795         (gst_structure_suite):
6796         Added test to verify correct fraction list fixation behaviour.
6797
6798 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6799
6800         * win32/common/libgstreamer.def:
6801           Export gst_bus_add_signal_watch too.
6802
6803 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6804
6805         * docs/libs/gstreamer-libs-sections.txt:
6806         Add new methods to docs.
6807
6808         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6809         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6810         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6811         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6812         * libs/gst/base/gstbasesink.h:
6813         Add ts-offset property to fine-tune the synchronisation.
6814         API: GstBaseSink::ts-offset property
6815         API: gst_base_sink_set_ts_offset()
6816         API: gst_base_sink_get_ts_offset()
6817
6818 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6819
6820         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6821         (gst_base_sink_init), (gst_base_sink_set_sync),
6822         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6823         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6824         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6825         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6826         (gst_base_sink_get_property), (gst_base_sink_change_state):
6827         * libs/gst/base/gstbasesink.h:
6828         Add async property to instruct the sink never to inform the parent about
6829         ASYNC state changes, update docs.
6830         Check argument with g_return_* for the public functions.
6831         API: GstBaseSink::async property
6832         API: gst_base_sink_set_async_enabled()
6833         API: gst_base_sink_is_async_enabled()
6834
6835 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6836
6837         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6838         Improve debugging.
6839
6840         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6841         (gst_base_src_default_query), (gst_base_src_wait),
6842         (gst_base_src_do_sync), (gst_base_src_change_state):
6843         Rearrange some code so that we can add support for measuring the 
6844         startup latency.
6845
6846 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6847
6848         * docs/random/ensonic/dynlink.txt:
6849           More thoughs on this.
6850
6851         * plugins/elements/gstcapsfilter.c:
6852           Add bugzilla ticket number to FIXME comment.
6853
6854 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6855
6856         * docs/design/part-TODO.txt:
6857         * docs/design/part-block.txt:
6858         Update some docs.
6859
6860 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6861
6862         * gst/Makefile.am:
6863           Revert patch which uses $(gst_headers) instead of $^ because it
6864           breaks make dist.
6865
6866 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6867
6868         * tests/check/gst/gstbin.c: (GST_START_TEST):
6869           Fix leaks in the new unit test.
6870
6871 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6872
6873         * gst/gst.c:
6874           Don't use GST_INFO before the debug system is actually initialised
6875           (shouldn't do any harm, but won't print anything either, so we can
6876           just as well remove it).
6877
6878         * gst/gstinfo.h:
6879           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6880           compilers that don't support variadic macros (such as MSVC), should
6881           check for debug_level <= __gst_debug_min as well, since that's the
6882           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6883           inline helper functions. Should improve performance a bit, but also
6884           makes sure uses of GST_INFO et.al are ignored if the debugging
6885           system isn't initialised yet (instead of printing an assertion
6886           failure).
6887
6888 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6889
6890         patch by: David Nečas <yeti@physics.muni.cz>
6891
6892         * gst/Makefile.am:
6893           Replace some non portable makefile constructs.
6894
6895 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6896
6897         * common/gtk-doc-plugins.mak:
6898           Grrrrr. Don't remove the types file on make clean.
6899
6900 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6901
6902         * tools/gst-launch.1.in:
6903         Add colorspace to example pipeline. Fixes #458274.
6904
6905 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6906
6907         * docs/random/release:
6908           The release manager should run 'make download-po' before making a
6909           release to make sure translations are up-to-date.
6910
6911         * po/LINGUAS:
6912         * po/be.po:
6913         * po/pl.po:
6914         * po/rw.po:
6915           Add some new translations.
6916
6917 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6918
6919         * tools/gst-launch.c: (event_loop), (main):
6920         Don´t try to do any state management when a live pipeline posts
6921         buffering messages.
6922         Also make the buffering string translatable.
6923
6924 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6925
6926         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6927         (bin_handle_async_start), (gst_bin_handle_message_func):
6928         Improve debugging.
6929         When adding elements, insert messages into the bus of the newly added
6930         element and make sure the element is the source of the message. This
6931         allows the parent bin to intercept the message and do the
6932         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6933         messages to the app (which is not allowed).
6934         Update some docs.
6935
6936         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6937         Fix testsuite so that is does not work around messages that should not
6938         have been posted in the first place.
6939
6940 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6941
6942         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6943         (update_degree), (gst_bin_sort_iterator_next):
6944         Fix annoying bug in the sorted iterator where a sink that is not really
6945         a sink (when it has downstream links) screwed up the iterator.
6946
6947         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6948         Unit test to verify the fix.
6949
6950 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6951
6952         * gst/gstmessage.h:
6953         Add some more docs for the messages.
6954
6955         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6956         (gst_base_sink_query):
6957         Add some more debugging.
6958
6959         * tools/gst-launch.c: (event_loop):
6960         When interrupting, don't try to set pipeline to PAUSED twice.
6961
6962 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6963
6964         
6965         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6966         (bin_handle_async_start), (gst_bin_handle_message_func):
6967         Move ASYNC_START message posting to where it belongs, similar to
6968         async_done. 
6969         Don't post ASYNC_START when we are in error. 
6970         Post ASYNC_START when we added an async element to a bin.
6971
6972 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6973
6974         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6975         generation from vargs. Fixes #466595.
6976
6977 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6978
6979         * gst/gstbin.c: (gst_bin_element_set_state):
6980         Always change the state of a NO_PREROLL element even if it has ASYNC
6981         elements inside (in case of a bin).
6982
6983         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6984         Unit test for this case.
6985
6986 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6987
6988         * libs/gst/check/gstbufferstraw.c:
6989         * libs/gst/check/gstcheck.h:
6990         * libs/gst/controller/gstcontroller.c:
6991         * libs/gst/controller/gstcontrolsource.h:
6992         * libs/gst/controller/gstlfocontrolsource.h:
6993         * plugins/elements/gstcapsfilter.h:
6994         * plugins/elements/gstfdsink.h:
6995         * plugins/elements/gstfdsrc.h:
6996           Add more missing docs.
6997
6998 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6999
7000         * gst/gststructure.c:
7001         Add Since tag to docs.
7002
7003 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7004
7005         * docs/gst/gstreamer-sections.txt:
7006         * gst/gststructure.c: (gst_structure_get_uint):
7007         * gst/gststructure.h:
7008         Add function to get uint from a structure.
7009         API: gst_structure_get_uint()
7010
7011 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7012
7013         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7014         (gst_caps_intersect):
7015         Fix proper check for simple caps.
7016
7017 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7018
7019         * docs/gst/Makefile.am:
7020         * docs/libs/Makefile.am:
7021           Remove cruft and do some cleanups.
7022
7023         * docs/gst/gstreamer-docs.sgml:
7024         * docs/libs/gstreamer-libs-docs.sgml:
7025           Prepare for comming gtkdoc features (rebase against online docs).
7026
7027 2007-08-10  Michael Smith <msmith@fluendo.com>
7028
7029         * docs/gst/gstreamer-sections.txt:
7030           Add gst_registry_add_path to docs.
7031
7032 2007-08-10  Michael Smith <msmith@fluendo.com>
7033
7034         * gst/gstregistry.h:
7035           Add gst_registry_add_path, which was missing from this header.
7036
7037 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7038
7039         * libs/gst/controller/gstlfocontrolsource.c:
7040           Printf format fix.
7041
7042 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7043
7044         * libs/gst/base/gstbasesink.c:
7045           Don't send an async_start message during downwards state change if 
7046           target state is less than READY
7047
7048 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7051
7052         * po/LINGUAS:
7053         * po/hu.po:
7054           Added Hungarian translation.
7055
7056 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7057
7058         * po/fi.po:
7059         * po/it.po:
7060         * po/nl.po:
7061         * po/sv.po:
7062         * po/uk.po:
7063           Updated translations.
7064
7065 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7066
7067         * libs/gst/controller/Makefile.am:
7068         Dist gstlfocontrolsourceprivate.h
7069
7070 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7071
7072         * docs/libs/gstreamer-libs.types:
7073         Don't register the enum type gst_lfo_waveform_get_type() in the
7074         .types file - only GObject derived types belong.
7075
7076 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7077
7078         Patch by: <arenevier at fdn dot fr>
7079
7080         * gst/gstbuffer.h:
7081         Remove comma from last element in enum to avoid compile errors when
7082         using -pendantic. Fixes #464366.
7083
7084 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7085
7086         * docs/design/part-TODO.txt:
7087         Add some more TODO items
7088
7089         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7090         Improve debugging.
7091
7092         * gst/gstcaps.c: (gst_caps_intersect):
7093         Optimize trivial intersection case between identical caps pointers.
7094
7095         * gst/gstelement.c: (gst_element_continue_state),
7096         (gst_element_set_state_func):
7097         * gst/gstpad.c:
7098         Fix spelling and grammar mistakes.
7099
7100 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7101
7102         * po/POTFILES.in:
7103         * po/POTFILES.skip:
7104           Update POTFILES. Fixes #461599.
7105
7106 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7107
7108         * gst/gst.c:
7109         Fix confusing typo in debug output.
7110
7111 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7112
7113         reviewed by: Stefan Kost <ensonic@users.sf.net>
7114
7115         * libs/gst/controller/Makefile.am:
7116         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7117         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7118         (gst_lfo_control_source_new),
7119         (gst_lfo_control_source_set_waveform),
7120         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7121         (gst_lfo_control_source_finalize),
7122         (gst_lfo_control_source_dispose),
7123         (gst_lfo_control_source_set_property),
7124         (gst_lfo_control_source_get_property),
7125         (gst_lfo_control_source_class_init):
7126         * libs/gst/controller/gstlfocontrolsource.h:
7127         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7128         API: Add GstLFOControlSource, a control source that gives values
7129         for specific timestamps based on several periodic waveforms.
7130         Fixes #459717.
7131
7132         * tests/check/libs/controller.c: (GST_START_TEST),
7133         (gst_controller_suite):
7134         * docs/libs/gstreamer-libs-docs.sgml:
7135         * docs/libs/gstreamer-libs-sections.txt:
7136         * docs/libs/gstreamer-libs.types:
7137         Add documentation and unit tests for GstLFOControlSource.
7138
7139 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7140
7141         * configure.ac:
7142         Back to CVS
7143
7144 === release 0.10.14 ===
7145
7146 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7147
7148         * configure.ac:
7149           releasing 0.10.14, "Breathing Vacuum"
7150
7151 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7152
7153         * gst/gstelement.c: (gst_element_class_set_details_simple):
7154         * gst/gstelement.h:
7155           Make strings passed to gst_element_class_set_details_simple()
7156           constant, as they should be (#462752).
7157
7158 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7159
7160         * gst/gstbin.c: (gst_bin_change_state_func),
7161         (bin_handle_async_done), (gst_bin_handle_message_func):
7162         Don't forget about the fact that some element went ASYNC even after a
7163         resync. This makes us post the ASYNC_DONE message correctly.
7164         Fixes #462558.
7165
7166 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7167
7168         * gst/gstregistry.c: (gst_registry_add_feature):
7169         When replacing an existing feature in the registry, make sure to
7170         continue holding a reference until we've replaced the name string
7171         within our feature hash table. Make sure to use g_hash_table_replace
7172         instead of g_hash_table_insert to ensure the new name string is used
7173         as a key instead of the old one that we're about to free.
7174         Fixes: #462085
7175
7176 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7177
7178         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7179         (gst_plugin_feature_set_name):
7180         Revert patch from #459466 until after the release and we can work
7181         out exactly what the problem is (if any).
7182
7183 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7184
7185         * docs/gst/gstreamer-sections.txt:
7186         * gst/gsttaglist.c:
7187         * gst/gsttaglist.h:
7188           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7189
7190 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7191
7192         * docs/libs/Makefile.am:
7193         Include our build-prefix libs and includes before the generic ones to
7194         avoid linking against the installed libs when we want the build-tree
7195         ones.
7196
7197 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7198
7199         Patch by: Steve Fink  <sphink gmail com>
7200
7201         * docs/pwg/building-testapp.xml:
7202           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7203           if people try to build or install the example from the plugin
7204           template against a GStreamer from package using the configure
7205           defaults.
7206
7207 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7208
7209         Patch by: Steve Fink  <sphink gmail com>
7210
7211         * tools/gst-inspect.1.in:
7212           Document --print-all and --print-plugin-auto-install-info command
7213           line options in man page.
7214
7215 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7216
7217         * docs/gst/gstreamer-sections.txt:
7218         Add docs for new api function.
7219
7220 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7221
7222         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7223         * gst/gstelementfactory.h:
7224         API: gst_element_factory_has_interface()
7225         Added method to check if an element factory implements a named
7226         interface.
7227
7228 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7229
7230         * configure.ac:
7231         * docs/gst/gstreamer.types.in:
7232           Another conditional doc check.
7233
7234         * gst/gstmessage.c:
7235         * gst/gstparamspecs.h:
7236         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7237         * gst/gstvalue.c:
7238         * gst/gstxml.h:
7239           API-doc fixes.
7240
7241 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7244         (gst_registry_binary_load_feature),
7245         (gst_registry_binary_load_plugin),
7246         (gst_registry_binary_read_cache):
7247           Print error just once and with additional info.
7248
7249 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7250
7251         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7252         (helper_find_suggest), (helper_find_get_length),
7253         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7254         (gst_type_find_helper_for_buffer):
7255           Cleanup the typefindhelper code and add private doc comments.
7256
7257 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7258
7259         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7260         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7261         Fix capsfilter for cases where the caps set on capsfilter will provide
7262         additional information.
7263         Fixes #449197
7264
7265 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7266
7267         * gst/gsttypefindfactory.c:
7268           Fix docs that recommened wrong function to use.
7269
7270 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7271
7272         * tools/gst-inspect.c: (print_plugin_features):
7273           Also give media-type for typefinders in element output.
7274
7275 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7276
7277         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7278         (gst_registry_remove_features_for_plugin_unlocked),
7279         (gst_registry_add_feature), (gst_registry_remove_feature),
7280         (gst_registry_lookup_feature_locked):
7281         * gst/gstregistry.h:
7282           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7283           Fixes #459501.
7284
7285 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7286
7287         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7288         (gst_plugin_feature_set_name):
7289           Avoid double memory usage for pluginfeature names. Fixes #459466.
7290
7291 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7292
7293         * gst/gstpad.h:
7294           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7295           driving the pipeline may need to explicitly check for NOT_LINKED as
7296           well, since IS_FATAL doesn't cover that.
7297
7298 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7299
7300         * docs/pwg/advanced-types.xml:
7301           Fix typo and duplicate entry in video formats list.
7302
7303 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7304
7305         * libs/gst/controller/gstinterpolation.c:
7306         Also round to the nearest int when using cubic interpolation.
7307
7308 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7309
7310         * libs/gst/controller/gstinterpolation.c:
7311         When linearly interpolating integer types, round to the nearest int
7312         by adding 0.5. Don't do it for float/double types.
7313         Fixes the failing controller test on my machine, which is somehow
7314         rounding differently than on the buildbots.
7315
7316 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * tools/gst-plot-timeline.py:
7319           Better log parsing (categories can have -). Adjust text vs. lines, so
7320           that they span the same y-range.        
7321
7322 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * docs/random/ensonic/audiobaseclasses.txt:
7325         * docs/random/ensonic/dynlink.txt:
7326         * docs/random/ensonic/profiling.txt:
7327           Save my thoughts.
7328
7329         * docs/random/moving-plugins:
7330           Add note to use g_assert type macros.
7331
7332 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * configure.ac:
7335         * libs/gst/check/Makefile.am:
7336           Add libm check as we use in for plugins.
7337
7338 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7339
7340         * gst/gstbin.c: (gst_bin_continue_func):
7341         Check that the state_cookie hasn't changed since the continue_func
7342         was scheduled. Avoids problems where the state changes back to
7343         something it shouldn't be because it was changed in the meantime.
7344
7345 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7346
7347         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7348         (gst_registry_binary_save_string),
7349         (gst_registry_binary_save_pad_template),
7350         (gst_registry_binary_save_feature),
7351         (gst_registry_binary_save_plugin),
7352         (gst_registry_binary_load_feature),
7353         (gst_registry_binary_load_plugin),
7354         (gst_registry_binary_read_cache):
7355           Fix memory leak. Be less verbose in the log.
7356
7357 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7358
7359         * tests/check/elements/.cvsignore:
7360         Add file to cvsignore as commanded.
7361
7362 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7363
7364         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7365         (mq_dummypad_event), (run_output_order_test):
7366         Use a GStaticMutex to protect all cases where libcheck
7367         fail_if/fail_unless macros might be called from multiple threads
7368         simultaneously to avoid errors like:
7369           "check_pack.c:107: :-1081725400:Bad message type arg"
7370
7371 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7372
7373         * tests/check/pipelines/stress.c: (GST_START_TEST):
7374         Make sure we set the pipeline back to the NULL state before
7375         dropping our final reference.
7376
7377 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7378
7379         * tests/check/elements/tee.c: (GST_START_TEST):
7380         Make the tee stress-test a little less stressful so it doesn't just
7381         time out on slow-machines, and remove a small race when it's starting 
7382         up by adding a get_state() call.
7383
7384 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7385
7386         * gst/gst.c:
7387           Avoid reading registry twice on startup. Fixes #457322.
7388
7389 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7390
7391         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7392         * pkgconfig/gstreamer-check.pc.in:
7393         Substitute the CFLAGS for libcheck into our .pc file too so that
7394         dependent modules will pick it up properly if libcheck is installed
7395         into some other prefix.
7396
7397 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7398
7399         * configure.ac:
7400         Revert the pkg-config check for libcheck, since it pulls in the
7401         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7402         a proper solution, either from the check project, or something else.
7403
7404 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7405
7406         * configure.ac:
7407           Use pkg-config to locate check.
7408
7409 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7410
7411         * gst/gsttaglist.c:
7412           Fix doc syntax.
7413
7414         * gst/gstutils.c:
7415         * gst/gstutils.h:
7416           Add deprecation guards.
7417
7418         * libs/gst/base/gstcollectpads.h:
7419           Don't document object (this is implicitly private).
7420
7421 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7422
7423         * gst/gststructure.c: (gst_structure_parse_value):
7424           When deserialising foo=bar without a type cast, check if it's a
7425           boolean before falling back to a string type, otherwise things like
7426           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7427           because the filtercaps end up having a signed=(string)true field,
7428           which causes problems later when intersection caps.
7429
7430         * tests/check/gst/gststructure.c: (GST_START_TEST):
7431           Add a unit test for this.
7432
7433 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7434
7435         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7436
7437         * libs/gst/controller/Makefile.am:
7438         * libs/gst/controller/gstcontroller.c:
7439         (gst_controlled_property_add_interpolation_control_source),
7440         (gst_controlled_property_new), (gst_controlled_property_free),
7441         (gst_controller_find_controlled_property),
7442         (gst_controller_new_valist), (gst_controller_new_list),
7443         (gst_controller_new), (gst_controller_remove_properties_valist),
7444         (gst_controller_remove_properties_list),
7445         (gst_controller_remove_properties),
7446         (gst_controller_set_property_disabled),
7447         (gst_controller_set_disabled), (gst_controller_set_control_source),
7448         (gst_controller_get_control_source), (gst_controller_get),
7449         (gst_controller_sync_values), (gst_controller_get_value_array),
7450         (_gst_controller_dispose), (gst_controller_get_type),
7451         (gst_controlled_property_set_interpolation_mode),
7452         (gst_controller_set), (gst_controller_set_from_list),
7453         (gst_controller_unset), (gst_controller_unset_all),
7454         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7455         * libs/gst/controller/gstcontroller.h:
7456         * libs/gst/controller/gstcontrollerprivate.h:
7457         * libs/gst/controller/gstcontrolsource.c:
7458         (gst_control_source_class_init), (gst_control_source_init),
7459         (gst_control_source_get_value),
7460         (gst_control_source_get_value_array), (gst_control_source_bind):
7461         * libs/gst/controller/gstcontrolsource.h:
7462         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7463         (gst_object_get_control_source):
7464         * libs/gst/controller/gstinterpolation.c:
7465         (gst_interpolation_control_source_find_control_point_node),
7466         (gst_interpolation_control_source_get_first_value),
7467         (_interpolate_none_get), (interpolate_none_get),
7468         (interpolate_none_get_boolean_value_array),
7469         (interpolate_none_get_enum_value_array),
7470         (interpolate_none_get_string_value_array),
7471         (_interpolate_trigger_get), (interpolate_trigger_get),
7472         (interpolate_trigger_get_boolean_value_array),
7473         (interpolate_trigger_get_enum_value_array),
7474         (interpolate_trigger_get_string_value_array):
7475         * libs/gst/controller/gstinterpolationcontrolsource.c:
7476         (gst_control_point_free), (gst_interpolation_control_source_reset),
7477         (gst_interpolation_control_source_new),
7478         (gst_interpolation_control_source_set_interpolation_mode),
7479         (gst_interpolation_control_source_bind),
7480         (gst_control_point_compare), (gst_control_point_find),
7481         (gst_interpolation_control_source_set_internal),
7482         (gst_interpolation_control_source_set),
7483         (gst_interpolation_control_source_set_from_list),
7484         (gst_interpolation_control_source_unset),
7485         (gst_interpolation_control_source_unset_all),
7486         (gst_interpolation_control_source_get_all),
7487         (gst_interpolation_control_source_get_count),
7488         (gst_interpolation_control_source_init),
7489         (gst_interpolation_control_source_finalize),
7490         (gst_interpolation_control_source_dispose),
7491         (gst_interpolation_control_source_class_init):
7492         * libs/gst/controller/gstinterpolationcontrolsource.h:
7493         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7494         API: Refactor GstController into the core controller which can take
7495         a GstControlSource for providing actual values for timestamps.
7496         Implement a interpolation control source and use this for backward
7497         compatibility, deprecate a bunch of functions that are now handled
7498         by GstControlSource or GstInterpolationControlSource.
7499         Make it possible to disable the controller completely or only for
7500         specific properties. Fixes #450711.
7501         * docs/libs/gstreamer-libs-docs.sgml:
7502         * docs/libs/gstreamer-libs-sections.txt:
7503         * docs/libs/gstreamer-libs.types:
7504         Add new functions and classes to the docs.
7505         * tests/check/libs/controller.c: (GST_START_TEST),
7506         (gst_controller_suite):
7507         * tests/examples/controller/audio-example.c: (main):
7508         Port unit test and example to the new API and add some new
7509         unit tests.
7510
7511 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7512
7513         Patch by: Mark Nauwelaerts <manauw at skynet be>
7514
7515         * plugins/elements/gstmultiqueue.c:
7516         (gst_multi_queue_get_internal_links), (apply_buffer),
7517         (single_queue_overrun_cb), (gst_single_queue_new):
7518         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7519         the pipeline layout can be tracked correctly. Fixes #453732.
7520
7521 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7522
7523         * docs/gst/Makefile.am:
7524         * docs/libs/Makefile.am:
7525         * docs/plugins/Makefile.am:
7526           Simplify --extra-dir as gtkdoc scans recursively.
7527
7528 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7529
7530         * tools/gst-launch.c: (main):
7531         When we got an error, there is no point in waiting for preroll when
7532         shutting down.
7533
7534 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7535
7536         * plugins/elements/gsttee.c: (gst_tee_base_init),
7537         (gst_tee_request_new_pad), (gst_tee_release_pad),
7538         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7539         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7540         (gst_tee_chain):
7541         Be a lot smarter when deciding what srcpad to use for proxying
7542         the buffer_alloc. Also handle pad added/removed when doing so.
7543         Fixes #357959.
7544         Keep track of what pads we already pushed on in case we have pads
7545         added/removed while pushing. Fixes #374639 
7546
7547         * tests/check/Makefile.am:
7548         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7549         (tee_suite):
7550         Added unit test for pad resync.
7551
7552 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7553
7554         * po/nl.po:
7555         * po/sv.po:
7556           Updated translations.
7557
7558 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7559
7560         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7561
7562         * po/LINGUAS:
7563         * po/fi.po:
7564           Added new Finnish translation.
7565
7566 2007-06-28  Wim Taymans  <wim@fluendo.com>
7567
7568         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7569         (single_queue_overrun_cb):
7570         When figuring out when a queue is filled, use our internal time estimate
7571         based on segments, just like check_full does.
7572
7573 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7574
7575         * gst/gstminiobject.c: (gst_mini_object_get_type):
7576           Remove 3 do-nothing methods.
7577
7578 2007-06-27  Wim Taymans  <wim@fluendo.com>
7579
7580         Patch by: Tim Angus <tim at ngus dot net>
7581
7582         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7583         (gst_capsfilter_set_property):
7584         Take a reference instead of a copy when setting "caps".
7585         Fix documentation to clarify this behaviour. Fixes #449414.
7586
7587 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7588
7589         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7590         * gst/gstplugin.c: (gst_plugin_init):
7591         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7592         * gst/gstquery.c: (gst_query_get_type):
7593         * gst/gstregistry.c: (gst_registry_init):
7594         * gst/gsturi.c: (gst_uri_handler_base_init):
7595           Remove empty instance_init() functions to save relocs and lessen the
7596           noise. Remove some of the function prototypes that are doubled by
7597           G_DEFINE_TYPE.
7598           
7599 2007-06-27  Wim Taymans  <wim@fluendo.com>
7600
7601         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7602
7603         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7604         Add peer and direction in the XML serialisation of ghostpads.
7605         Fixes #449226.
7606
7607 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * configure.ac:
7610           Preserve useful information, thanks Tim.
7611
7612 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7613
7614         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7615         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7616         (gst_single_queue_push_one), (gst_multi_queue_loop),
7617         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7618         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7619         (compute_high_id), (gst_single_queue_new):
7620         * plugins/elements/gstmultiqueue.h:
7621         Take the multiqueue lock when updating the fill level so we don't get
7622         confused. 
7623
7624         After applying a buffer or event on the src pad segment, make sure to
7625         call gst_data_queue_limits_changed() to get the data queue to unblock
7626         and check the filled state again.
7627         
7628         Rework the not-linked pad handling so the logic is that not-linked 
7629         pads can push as fast as they like, but only so they never get 
7630         ahead of any linked pads.
7631
7632         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7633         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7634         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7635
7636         Add a test to check that not-linked pads always stay behind
7637         linked pads.
7638
7639         Fixes: #430682
7640
7641 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7642
7643         * docs/random/release:
7644           Some updates to the release procedure.
7645
7646 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7647
7648         * gst/gstelementfactory.c: (__gst_element_details_clear):
7649           Microoptimization that saves stunning 80 bytes.
7650
7651 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7652
7653         * docs/plugins/gstreamer-plugins.args:
7654         * docs/plugins/inspect/plugin-coreelements.xml:
7655         * docs/plugins/inspect/plugin-coreindexers.xml:
7656           Update docs with caps info.
7657
7658 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7659
7660         * po/it.po:
7661           Updated Italian translation.
7662
7663 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7664
7665         * ChangeLog:
7666         * po/vi.po:
7667           Update Vietnamese translations.
7668
7669 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7670
7671         * libs/gst/base/gstbasesink.c:
7672           Remove unused signal enum.
7673
7674 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7675
7676         * docs/gst/gstreamer-sections.txt:
7677         * gst/gstelement.c:
7678         * gst/gstutils.c: (gst_type_register_static_full):
7679         Beef up and include the docs for gst_type_register_static_full and
7680         gst_element_class_set_details_simple and add the API keyword
7681         in the ChangeLog.
7682
7683 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7684
7685         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7686         (update_time_level), (gst_single_queue_push_one),
7687         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7688         (single_queue_overrun_cb), (single_queue_underrun_cb),
7689         (single_queue_check_full):
7690         Fix setting max-* properties after adding queues.
7691         Use IS_FILLED for checking visible items.
7692         Signal overrun if multiple queues overrun.
7693         Add extra debug output.
7694         Patch by: Wim Taymans <wim@fluendo.com>
7695
7696 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7697
7698         * gst/gstelement.c: (gst_element_class_set_details_simple):
7699         * gst/gstelement.h:
7700         * gst/gstutils.c: (gst_type_register_static_full):
7701         * gst/gstutils.h:
7702         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7703         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7704         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7705         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7706         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7707         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7708         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7709         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7710         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7711         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7712         (apply_buffer), (gst_queue_chain):
7713         * plugins/elements/gsttee.c: (gst_tee_base_init):
7714         * plugins/elements/gsttypefindelement.c:
7715         (gst_type_find_element_base_init),
7716         (gst_type_find_element_class_init):
7717           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7718           API: add gst_type_register_static_full
7719           API: add gst_element_class_set_details_simple
7720
7721 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7722
7723         * docs/pwg/advanced-types.xml:
7724           Fix typo in iana.org URI.
7725
7726 2007-06-19  Andy Wingo  <wingo@pobox.com>
7727
7728         * tests/check/pipelines/simple-launch-lines.c
7729         (test_state_change_returns): Enable pull-mode tests now that
7730         basesink has been fixed.
7731
7732         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7733         Changed from gst_base_sink_is_prerolled, reversing the sense of
7734         the return value. Returns FALSE also if the sink is in pull mode,
7735         in which case it needs no preroll.
7736         (gst_base_sink_query, gst_base_sink_change_state): Update for
7737         needs_preroll change.
7738         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7739         chaining up, in which we return SUCCESS directly if we activated
7740         in pull mode instead of ASYNC. Involves countering an async_start
7741         message sent before chaining up; not sure if this is correct, in
7742         an ideal world we only send async-start when activating in push
7743         mode.
7744
7745         * tests/check/pipelines/simple-launch-lines.c
7746         (test_state_change_returns): New test, partially disabled until
7747         basesink is fixed.
7748
7749 2007-06-19  Wim Taymans  <wim@fluendo.com>
7750
7751         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7752         (gst_multi_queue_sink_event):
7753         Fix event leak.
7754
7755 2007-06-19  Wim Taymans  <wim@fluendo.com>
7756
7757         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7758         (gst_bin_change_state_func), (bin_push_state_continue),
7759         (bin_handle_async_start), (bin_handle_async_done),
7760         (gst_bin_handle_message_func):
7761         Move the common code for posting state-change messages into
7762         one function.
7763         Broadcast the state signal after we posted the messages.
7764         Mark the bin as busy when it's doing a state-change.
7765         Make sure async-start/done messages don't interfere with the bin's
7766         state when it's busy.
7767         After the state change, let the bin check which elements completed the
7768         state change while it was busy so that it can update its state.
7769
7770 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7771
7772         * docs/random/release:
7773         Add a note about updating the doap file to the release checklist
7774
7775 2007-06-18  Wim Taymans  <wim@fluendo.com>
7776
7777         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7778         (gst_single_queue_push_one), (gst_multi_queue_chain),
7779         (gst_multi_queue_sink_event):
7780         Make sure we don't reference the buffer/event after we have given away
7781         ownership in the queue.
7782
7783 2007-06-18  Wim Taymans  <wim@fluendo.com>
7784
7785         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7786         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7787         Update queue state _after_ adding the item in the queue because else we
7788         could end up being full without the element added yet.
7789
7790 2007-06-18  Wim Taymans  <wim@fluendo.com>
7791
7792         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7793         (gst_bin_remove_func), (gst_bin_get_state_func),
7794         (gst_bin_element_set_state), (gst_bin_continue_func),
7795         (bin_push_state_continue), (bin_handle_async_start),
7796         (bin_handle_async_done), (gst_bin_handle_message_func):
7797         * gst/gstbin.h:
7798         Immediatly commit the toplevel bin state when receiving an async-done
7799         message. This enables us to avoid spawning a thread to commit the state
7800         in some common cases and it also avoids some races.
7801         Avoid spawning a state thread when adding/removing async elements to a
7802         toplevel bin. Instead we immediatly update the bin state.
7803         Get rid of iterating all the children when getting the state in the bin
7804         because it is now always up-to-date.
7805         Fix bug where locked elements would always return _SUCCESS even it they
7806         returned NO_PREROLL before being locked.
7807         Fix the order of the state_change, async-start/done messages that was
7808         sometimes incorrect.
7809         Mark the state_dirty field as deprecated, we don't need it anymore as we
7810         are always up-to-date.
7811
7812         * gst/gstelement.c: (gst_element_get_state_func),
7813         (gst_element_continue_state):
7814         Small debug inprovements.
7815         Return the previous element state return when nothing is pending instead
7816         of blindly returning SUCCESS.
7817
7818         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7819         (gst_sinks_suite):
7820         Add a whole bunch of new testcases.
7821
7822 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7823
7824         * po/uk.po:
7825         * po/vi.po:
7826           Update translations.
7827
7828 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7829
7830         * gst/gstpad.c:
7831         Fix typo in the docs.
7832
7833 2007-06-15  Wim Taymans  <wim@fluendo.com>
7834
7835         * docs/libs/gstreamer-libs-sections.txt:
7836         Add docs for new methods.
7837
7838 2007-06-15  Wim Taymans  <wim@fluendo.com>
7839
7840         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7841         (gst_multi_queue_item_new):
7842         Don't use GSlice because we don't depend on >= 2.10 yet.
7843
7844 2007-06-15  Wim Taymans  <wim@fluendo.com>
7845
7846         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7847         (update_time_level), (apply_segment), (apply_buffer),
7848         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7849         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7850         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7851         (single_queue_underrun_cb), (single_queue_check_full):
7852         Remove debug printf.
7853
7854 2007-06-15  Wim Taymans  <wim@fluendo.com>
7855
7856         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7857         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7858         (gst_data_queue_set_flushing), (gst_data_queue_push),
7859         (gst_data_queue_pop), (gst_data_queue_drop_head),
7860         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7861         * libs/gst/base/gstdataqueue.h:
7862         Various cleanups.
7863         Added methods to get the current levels and to inform the queue that the
7864         'full' limits changed.
7865
7866         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7867         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7868         (gst_single_queue_flush), (update_time_level), (apply_segment),
7869         (apply_buffer), (gst_single_queue_push_one),
7870         (gst_multi_queue_item_steal_object),
7871         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7872         (gst_multi_queue_loop), (gst_multi_queue_chain),
7873         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7874         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7875         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7876         (single_queue_underrun_cb), (single_queue_check_full),
7877         (gst_single_queue_new):
7878         Keep track of time in the queue by measuring the difference between
7879         running_time on input and output. This gives more accurate results and
7880         can compensate for segments correctly.
7881         Make a queue by default only 5 buffers deep. We will now increase the
7882         buffer size depending on the filledness of the other queues.
7883         Factor out commong flush code.
7884         Make sure we don't add additional refcounts to buffers when we can avoid
7885         it.
7886         Propagate GstFlowReturn differently.
7887         Use GSlice for intermediate GstMultiQueueItems.
7888         Keep track of EOS.
7889         Resize queues on over and underruns based on filled level of other
7890         queues.
7891         When checking if the queue is filled, prefer to measure in time if we
7892         can and fall back to bytes when no time is known.
7893
7894         * plugins/elements/gstqueue.c:
7895         Fix return value.
7896
7897 2007-06-15  Wim Taymans  <wim@fluendo.com>
7898
7899         * libs/gst/base/gstbasetransform.c:
7900         (gst_base_transform_sink_event):
7901         Work around the brokenness of the event vmethod in basetransform. Prefer
7902         to return TRUE when the subclass returned FALSE (meaning don't forward
7903         the event). 
7904
7905         * libs/gst/base/gstbasetransform.h:
7906         Clarify the docs.
7907
7908 2007-06-15  Wim Taymans  <wim@fluendo.com>
7909
7910         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7911         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7912         (gst_base_src_default_query), (gst_base_src_get_range),
7913         (gst_base_src_start):
7914         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7915         Improve debugging.
7916
7917 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7918
7919         * docs/pwg/advanced-types.xml:
7920           Added more formats to caps table.
7921
7922 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7923
7924         * tools/gst-launch.c: (main):
7925           Remove crufy code. GOption does not need this workaround.
7926
7927 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7928
7929         * libs/gst/controller/gstcontroller.c:
7930         (gst_controlled_property_set_interpolation_mode):
7931           Fix wrong getter for enums in controller.
7932
7933 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7934
7935         * libs/gst/check/gstcheck.c: (gst_check_init):
7936           Intercept criticals and warnings in the Gst-Phonon log domain, so
7937           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7938           well.
7939         
7940 2007-06-14  Edward Hervey  <edward@fluendo.com>
7941
7942         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7943         Since this file doesn't include "gst.h" it will not go through the
7944         macros that disable GST_LOG if debugging was disabled.
7945
7946 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7947
7948         * libs/gst/check/Makefile.am:
7949         * libs/gst/check/gstcheck.h:
7950         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7951         * pkgconfig/gstreamer-check.pc.in:
7952           Ugly 'fix' for the controller unit test on the p5 bot: in
7953           fail_unless_equals_float() check whether the values are 'almost
7954           equal' by allowing a small absolute error, which should be good
7955           enough for our use cases (normal numbers and values close to 0).
7956           Proper fixage left to floating point arithmetic aficionados.
7957
7958 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7959
7960         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7961         (gst_base_sink_render_object), (gst_base_sink_get_position):
7962           Add two breaks thats where missing.
7963
7964 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7965
7966         * docs/libs/gstreamer-libs-sections.txt:
7967         * libs/gst/check/gstcheck.h:
7968           API: add fail_unless_equals_float() and assert_equals_float().
7969           Add documentation for some of the macros.
7970
7971         * tests/check/libs/controller.c: (GST_START_TEST):
7972           Use newly-added asserts.
7973
7974 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7975
7976         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7977           Show the caps change in the log to help spotting the case of not
7978           exactly matching caps.
7979
7980 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7981
7982         * docs/pwg/building-boiler.xml:
7983           Fix typos, spotted by Thijs Vermeir (#447190).
7984
7985 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7986
7987         * docs/plugins/tmpl/.cvsignore:
7988         Ignore file to keep the buildbots happy
7989
7990 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7991
7992         * docs/plugins/Makefile.am:
7993         * docs/plugins/gstreamer-plugins-docs.sgml:
7994         * docs/plugins/gstreamer-plugins-sections.txt:
7995         Pull fdsink into the docs too.
7996
7997 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7998
7999         * libs/gst/controller/gstinterpolation.c:
8000         Actually use the new functions with min/max checks for the trigger and
8001         none interpolation modes for get() and get_value_array() instead of
8002         just the latter.
8003
8004 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8005
8006         * libs/gst/controller/gstcontroller.c:
8007         (gst_controlled_property_free):
8008         Unset the minimum and maximum GValues when freeing the corresponding
8009         GstControllerProperty struct.
8010
8011 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8012
8013         * libs/gst/controller/gstcontroller.c:
8014         (gst_controlled_property_new):
8015         * libs/gst/controller/gstcontrollerprivate.h:
8016         * libs/gst/controller/gstinterpolation.c:
8017         (gst_controlled_property_find_control_point_node),
8018         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8019         (interpolate_none_get_string_value_array),
8020         (interpolate_trigger_get),
8021         (interpolate_trigger_get_enum_value_array),
8022         (interpolate_trigger_get_string_value_array):
8023         Protect against values larger or smaller than the minimum or maximum
8024         allowed value for the property when using values that can be compared.
8025
8026         Optimize trigger interpolator a bit by taking the last requested value
8027         into account instead of always looping through the complete list.
8028
8029         Fix coding style a bit, everywhere else we use "return foo" instead
8030         of "return (foo)".
8031         
8032         * tests/check/libs/controller.c: (GST_START_TEST),
8033         (gst_controller_suite):
8034         Add unit test for the protection against too large or too small
8035         values.
8036
8037 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8038
8039         * docs/random/slomo/controller.txt:
8040         Add some thoughts about the future of the controller.
8041
8042 2007-06-08  Wim Taymans  <wim@fluendo.com>
8043
8044         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8045         Don't overflow in retimestamping code.
8046
8047 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8048
8049         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8050         Use gst_util_guint64_to_gdouble for conversions.
8051         * win32/common/libgstreamer.def:
8052         Add new exported functions.
8053
8054 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8055
8056         * gst/gstutils.c:
8057           Small docs addition.
8058
8059 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8060
8061         * README:
8062           Remove that test line again.
8063
8064 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8065
8066         * README:
8067           Test commit mail sending.
8068
8069 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8070
8071         * configure.ac:
8072           Fix typo and test commit mail sending.
8073
8074 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8075
8076         * tests/examples/controller/audio-example.c:
8077           Improve comment and test commit mail sending.
8078
8079 2007-06-07  Wim Taymans  <wim@fluendo.com>
8080
8081         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8082         (gst_bin_remove_func), (gst_bin_element_set_state),
8083         (bin_handle_async_start), (bin_handle_async_done),
8084         (gst_bin_handle_message_func):
8085         Add helper function to find messages.
8086         Generate the async-done messages together with the state change
8087         messages.
8088         Small cleanups in handling toplevel bins.
8089
8090 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8091
8092         * libs/gst/base/gstdataqueue.c:
8093         * libs/gst/base/gstdataqueue.h:
8094         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8095         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8096         (gst_multi_queue_sink_event):
8097         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8098           Fix multiqueue leaking buffers and events when downstream or the
8099           queue are flushing. Make refcounting assumptions explicit and
8100           document them (shouldn't break existing code that uses it other than
8101           maybe leak miniobjects, but that already happens anyway). Add unit
8102           test for the most common flushing case. Fixes #423700.
8103           
8104 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8105
8106         * libs/gst/controller/gstcontroller.c:
8107         Clarify docs: The get_all, get_value_array(s) functions
8108         don't modify the GObject properties.
8109
8110 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8111
8112         * libs/gst/controller/gstcontroller.c:
8113         (gst_controlled_property_set_interpolation_mode),
8114         (gst_controlled_property_prepend_default),
8115         (gst_controlled_property_new), (gst_controller_set_unlocked),
8116         (gst_controller_set), (gst_controller_set_from_list),
8117         (gst_controller_unset), (gst_controller_unset_all):
8118         * libs/gst/controller/gstcontrollerprivate.h:
8119         * libs/gst/controller/gstinterpolation.c:
8120         Factor out the 'set' logic into gst_controller_set_unlocked for the
8121         gst_controller_set and gst_controller_set_from_list functions.
8122
8123         To make life of the interpolators easier always add a control point
8124         at timestamp zero with the default value.
8125
8126         In the linear interpolator make things more obvious by better variable
8127         naming (slope).
8128
8129         Implement cubic interpolation mode (by using a natural cubic spline)
8130         and map the quadratic interpolation mode to this too (as quadratic
8131         doesn't make much sense, see discussion on the list).
8132
8133         * tests/check/libs/controller.c: (GST_START_TEST),
8134         (gst_controller_suite):
8135         Add unit test for the cubic interpolation mode and check everywhere
8136         if the interpolation mode could be set as expected.
8137
8138 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8141           Don't use GLib-2.10 functions, we still depend on
8142           GLib-how-old-is-it-again-2.8.
8143
8144 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8145
8146         * docs/gst/gstreamer-sections.txt:
8147         * gst/Makefile.am:
8148         * gst/gst.c:
8149         * gst/gst.h:
8150         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8151         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8152         (_gst_param_fraction_values_cmp),
8153         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8154         * gst/gstparamspecs.h:
8155         * gst/gstvalue.c:
8156         * tests/check/Makefile.am:
8157         * tests/check/gst/.cvsignore:
8158         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8159         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8160         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8161         (GST_START_TEST), (gst_param_spec_suite):
8162           API: add GstParamSpecFraction, so elements can have fraction
8163           properties without lots of painful string parsing (#444648).
8164
8165 2007-06-05  Wim Taymans  <wim@fluendo.com>
8166
8167         * gst/gstobject.c: (gst_object_class_init):
8168         Fix signal signature.
8169
8170         * gst/gstsegment.c:
8171         Add small clarification in the api docs.
8172
8173         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8174         States are protected with object lock.
8175
8176 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8177
8178         * AUTHORS:
8179         I should probably be listed as an author by now.
8180
8181         * docs/random/release:
8182         Update the release doc
8183
8184 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8185
8186         * gst/gstvalue.c:
8187           Make docs for gst_value_compare() mention return enums that
8188           actually exist.
8189
8190 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8191
8192         * configure.ac:
8193           Back to CVS
8194
8195 === release 0.10.13 ===
8196
8197 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8198
8199         * configure.ac:
8200           releasing 0.10.13, "With or without you"
8201
8202 2007-05-25  Wim Taymans  <wim@fluendo.com>
8203
8204         * gst/gstbin.c: (bin_handle_async_done):
8205         Make sure that the child bin stops after completing the async state
8206         change so that the parent can continue the state change to PLAYING.
8207         Fixes #441159.
8208
8209 2007-05-25  Wim Taymans  <wim@fluendo.com>
8210
8211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8212         (unref_data), (gst_collect_pads_remove_pad),
8213         (gst_collect_pads_check_pads):
8214         Use additional refcounting to avoid crashes when dynamically adding and
8215         removing pads. Fixes #420206.
8216
8217 2007-05-24  Wim Taymans  <wim@fluendo.com>
8218
8219         * tools/gst-launch.c: (event_loop):
8220         When buffering goes from a two digit to a single digit number, make sure
8221         to remove the old second digit by writing a blank over it.
8222
8223 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8224
8225         * libs/gst/base/gstdataqueue.c:
8226           Eliminate tabs and trailing comma in enum list; fix some typos.
8227
8228 2007-05-24  Wim Taymans  <wim@fluendo.com>
8229
8230         * tests/check/gst/gstbin.c: (GST_START_TEST):
8231         Allow refcount of 3 and 4 because some state thread might still be busy
8232         with it.
8233
8234 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8235
8236         * plugins/elements/Makefile.am:
8237         * plugins/elements/gstmultiqueue.h:
8238         * plugins/elements/gstqueue.h:
8239           These are not installed headers, no need for padding.
8240
8241 2007-05-24  Wim Taymans  <wim@fluendo.com>
8242
8243         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8244         (gst_bin_continue_func):
8245         Enable latency for next release.
8246         Restore STATE_LOCK around recalc_state that was left out during the
8247         rewrite and could result in racy behaviour when _get_state and
8248         recalc_state are run concurrently. See #440463.
8249
8250 2007-05-23  Wim Taymans  <wim@fluendo.com>
8251
8252         * tests/check/gst/gstsystemclock.c: (store_callback),
8253         (GST_START_TEST):
8254         Improve test_async_order to also work when both timers are already
8255         expired when we get scheduled to check it.
8256
8257 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8258
8259         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8260         (gst_bin_set_property), (gst_bin_get_property),
8261         (gst_bin_remove_func), (gst_bin_handle_message_func):
8262         * gst/gstbin.h:
8263           'private' is a c++ keyword, let's not use that in header files,
8264           otherwise c++ compilers will throw a tantrum.
8265
8266 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8267
8268         * plugins/elements/gstelements.c:
8269         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8270         (gst_file_sink_get_current_offset):
8271         * plugins/indexers/gstindexers.c: (plugin_init):
8272           Use #ifdef for HAVE_XYZ for consistency.
8273
8274         * tests/check/Makefile.am:
8275         * tests/check/elements/.cvsignore:
8276         * tests/check/elements/filesink.c: (setup_filesink),
8277         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8278           Add some unit tests for filesink.
8279
8280 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8281
8282         Patch by: Mark Nauwelaerts <manauw at skynet be>
8283
8284         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8285         (gst_file_sink_query), (gst_file_sink_do_seek),
8286         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8287         * plugins/elements/gstfilesink.h:
8288           Fix position reporting; rename data_written member to current_pos to
8289           reflect its real meaning (fixes #412648).
8290
8291 2007-05-22  Edward Hervey  <edward@fluendo.com>
8292
8293         * docs/gst/gstreamer-sections.txt:
8294         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8295         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8296         (gst_bin_remove_func), (gst_bin_handle_message_func):
8297         * gst/gstbin.h:
8298         Add a property for bins that handle the state change of their childs.
8299         Fixes #435880
8300
8301 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8302
8303         * libs/gst/controller/gstinterpolation.c:
8304         Use an array of the correct type when using _get_value_array with
8305         linear interpolation.
8306
8307 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8308
8309         * gst/gstelement.c (gst_element_requires_clock,
8310           gst_element_provides_clock, gst_element_request_pad,
8311           gst_element_class_set_details, gst_element_class_set_details_simple,
8312           gst_element_default_send_event, gst_element_abort_state,
8313           gst_element_continue_state, gst_element_set_state,
8314           gst_element_set_state_func, iterator_activate_fold_with_resync):
8315         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8316           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8317           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8318           gst_pad_get_range, gst_pad_pull_range):
8319         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8320           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8321           GstPadActivateModeFunction, GstPadChainFunction,
8322           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8323           GstPadFixateCapsFunction, GstPadTemplate):
8324         * gst/gstpipeline.c (gst_pipeline_change_state,
8325           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8326           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8327           gst_pipeline_get_delay):
8328           Whitespace and docs fixes.
8329
8330 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8331
8332         * libs/gst/controller/gstinterpolation.c:
8333         (interpolate_trigger_get_enum_value_array),
8334         (interpolate_trigger_get_string_value_array):
8335         Add support for retrieving value arrays when using the trigger
8336         interpolation mode. 
8337
8338 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8339
8340         * libs/gst/controller/gstcontroller.c:
8341         (gst_controller_get_value_array):
8342         * libs/gst/controller/gstcontroller.h:
8343         Clarify the docs of gst_controller_get_value_array(): The array where
8344         the values should be written to must be allocated as there seems to be
8345         no way to get the size of a random GType. This doesn't change any
8346         behaviour. Also fix some typos all over the place and remove an unused,
8347         commented function that is not necessary as g_object_set() could be
8348         used instead.
8349         * tests/check/libs/controller.c: (GST_START_TEST),
8350         (gst_controller_suite):
8351         Add unit test for gst_controller_get_value_array().
8352
8353 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8354
8355         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8356
8357         Disable part of the gst_buffer_try_new_and_alloc test, because
8358         it can happily succeed on 64-bit systems where there's more address
8359         space available.
8360
8361 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8362
8363         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8364         Add unit test for the improved caps checking from bug #421543.
8365
8366 2007-05-21  Wim Taymans  <wim@fluendo.com>
8367
8368         * docs/design/part-synchronisation.txt:
8369         Small addition.
8370
8371         * gst/gstbin.c: (gst_bin_query):
8372         * plugins/elements/gstqueue.c: (apply_segment):
8373         Improve debugging.
8374
8375         * gst/gstmessage.h:
8376         Improve docs.
8377
8378 2007-05-21  Wim Taymans  <wim@fluendo.com>
8379
8380         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8381         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8382         (gst_pad_configure_src):
8383         Added simple version of improved caps checking. It was previously
8384         assumed that a setcaps function would check the validity of the caps but
8385         people prefer us to check caps against the template automatically. 
8386         Fixes #421543.
8387
8388 2007-05-21  Wim Taymans  <wim@fluendo.com>
8389
8390         * libs/gst/base/gstbasetransform.h:
8391         Fix macro for locking/unlocking the transform lock.
8392
8393 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * docs/plugins/tmpl/.cvsignore:
8396           Ignore more.
8397
8398 2007-05-18  Edward Hervey  <edward@fluendo.com>
8399
8400         * plugins/elements/gstqueue.c: (gst_queue_loop):
8401         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8402         for the subtle art of warning a potentially blocking thread that it
8403         should check the source pad return value, and relay the information
8404         upstream.
8405
8406 2007-05-18  Edward Hervey  <edward@fluendo.com>
8407
8408         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8409         Release the queue lock !
8410
8411 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8412
8413         * docs/libs/gstreamer-libs-sections.txt:
8414         Add the two new controller functions to the appropiate places.
8415
8416 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8417
8418         reviewed by: Stefan Kost <ensonic@users.sf.net>
8419
8420         * libs/gst/controller/gstcontroller.c:
8421         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8422         (_gst_controller_get_property), (_gst_controller_set_property),
8423         (_gst_controller_init), (_gst_controller_class_init):
8424         * libs/gst/controller/gstcontroller.h:
8425         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8426         (gst_object_get_control_rate), (gst_object_set_control_rate):
8427         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8428         Add API that provides sync suggestion timestamps for elements that
8429         call gst_object_sync_values() from which those elements can subdivide
8430         their processing loop to get the best results for the controlled
8431         properties. For now it just suggests last_sync + control_rate as
8432         new timestamp but this will be improved in the future.
8433
8434         While doing that change the control-rate property to a GstClockTime
8435         from guint and change it's meaning from samples to nanoseconds as
8436         the GstController doesn't know anything about sampling rate. Strictly
8437         speaking this breaks ABI but as the control-rate property didn't do
8438         anything in the past and as such couldn't be used this should be no
8439         problem.        
8440
8441 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8442
8443         reviewed by: Stefan Kost <ensonic@users.sf.net>
8444
8445         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8446         (gst_controller_unset_all):
8447         * libs/gst/controller/gstcontrollerprivate.h:
8448         * libs/gst/controller/gstinterpolation.c:
8449         (gst_controlled_property_find_control_point_node):
8450         Save last synced value from the list to continue searching from there
8451         in future syncs. This speeds everything up a bit.
8452         
8453 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8454
8455         reviewed by: Stefan Kost <ensonic@users.sf.net>
8456
8457         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8458         (gst_control_point_find), (gst_controlled_property_new),
8459         (gst_control_point_free), (gst_controlled_property_free),
8460         (gst_controller_set), (gst_controller_set_from_list),
8461         (gst_controller_unset), (gst_controller_unset_all),
8462         (gst_controller_sync_values):
8463         * libs/gst/controller/gstcontroller.h:
8464         * libs/gst/controller/gstcontrollerprivate.h:
8465         * libs/gst/controller/gstinterpolation.c:
8466         (gst_controlled_property_find_control_point_node),
8467         (interpolate_none_get), (interpolate_trigger_get):
8468         Add a new private GstControlPoint struct which "inherits" from
8469         GstTimedValue to allow different interpolators to store internal
8470         values next to each control point. From the outside everything is
8471         still a GstControlPoint so we don't loose binary compatibility.
8472         Also fixup all the GValue handling to not leak GValues or list nodes.
8473         * tests/check/libs/controller.c: (GST_START_TEST):
8474         Free the list nodes and GValues in the controller_misc test.
8475
8476 2007-05-17  Edward Hervey  <edward@fluendo.com>
8477
8478         * gst/gstsegment.c:
8479         Small doc fix.
8480
8481 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * gst/gstplugin.c: (gst_plugin_load_file):
8484           If we fail to load a plugin because of unresolved symbols or missing
8485           libraries and spew a warning to stderr, we may just as well mention
8486           which plugin it was that failed to load.
8487
8488 2007-05-13  David Schleef  <ds@schleef.org>
8489
8490         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8491           handles the case when ENABLE_GTK_DOC is false, and installs
8492           the prebuilt documentation.  So gtk-doc subdirs are 
8493           unconditionally enabled.  Fixes: #349099.
8494
8495 2007-05-13  David Schleef  <ds@schleef.org>
8496
8497         * gst/gstutils.h: Reword some documentation.
8498
8499 2007-05-12  David Schleef  <ds@schleef.org>
8500
8501         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8502           do anything with the passed "module" parameter, so remove it.
8503           Allows removal of additional vestigal code.
8504
8505 2007-05-12  David Schleef  <ds@schleef.org>
8506
8507         * gst/gstplugin.c:
8508           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8509           Switch to using g_stat() because it's more portable.
8510
8511 2007-05-12  David Schleef  <ds@schleef.org>
8512
8513         * gst/gst.c:
8514           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8515           parsing for embedded systems.
8516         * gst/gstelementfactory.c:
8517           Allow gst_element_register() to be called with plugin==NULL.
8518           Did nobody notice that static elements were broken?
8519
8520 2007-05-12  Wim Taymans  <wim@fluendo.com>
8521
8522         * tools/gst-launch.c: (event_loop):
8523         Give more interesting info when buffering starts and stops.
8524         Fix case where buffering starts but we fail to update the buffering flag
8525         because the target state is not PLAYING.
8526
8527 2007-05-12  Wim Taymans  <wim@fluendo.com>
8528
8529         * plugins/elements/gstqueue.c: (gst_queue_init),
8530         (gst_queue_finalize), (update_time_level), (apply_segment),
8531         (apply_buffer), (gst_queue_locked_flush),
8532         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8533         (gst_queue_handle_sink_event), (gst_queue_chain),
8534         (gst_queue_push_one), (gst_queue_loop):
8535         * plugins/elements/gstqueue.h:
8536         Refactor an cleanup queue a bit.
8537         Do better time level calculations that also work when the srcpad is not
8538         yet running.
8539         Remove some unneeded debug lines.
8540
8541         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8542         Added testcase for time level measurement.
8543         Try to make some stuff more racefree.
8544
8545 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8546
8547         * gst/gsturi.c: (gst_element_make_from_uri):
8548           Don't leak plugin feature.
8549
8550         * tests/check/Makefile.am:
8551         * tests/check/gst/.cvsignore:
8552         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8553           Add brain-dead unit test.
8554
8555 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         Patch by: Jeroen Wouters <woutersj at gmail com>
8558
8559         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8560           Treat protocol strings in a case-insensitive way (#437563).
8561
8562 2007-05-11  Michael Smith <msmith@fluendo.com>
8563
8564         * gst/gstplugin.c: (gst_plugin_load_file):
8565         * gst/gstregistry.c: (gst_registry_scan_path_level):
8566           Don't print a g_warning for any failure to load a shared object.
8567           Instead, push this down into gstplugin.c, and warn _only_ if we
8568           failed to open the module (i.e. failure to link).
8569           Avoids warnings on normal, working, non-plugin .so files.
8570
8571 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8572
8573         * gst/gstplugin.c (gst_plugin_load_file):
8574         * gst/gstregistry.c (GST_CAT_DEFAULT,
8575           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8576           Print a g_warning if there was an error when loading a plugins during
8577           registry scan. The shuld help beginners starting with gst-plugin
8578           template.
8579
8580 2007-05-10  Wim Taymans  <wim@fluendo.com>
8581
8582         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8583         (update_time_level), (gst_queue_locked_flush),
8584         (gst_queue_handle_sink_event), (gst_queue_chain),
8585         (gst_queue_push_one), (gst_queue_loop):
8586         * plugins/elements/gstqueue.h:
8587         Be smarter when calculating the current amount of data in the queue by
8588         measuring the difference between start and end timestamps (in running
8589         time) inside the queue. Fixes #432876.
8590         API: GstQueue::pushing to notify elements that we are pushing data again
8591         since the running signal is rather broken for this purpose.
8592
8593 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8594
8595         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8596           gst_queue_base_init, gst_queue_init):
8597           use GST_BOILERPLATE
8598
8599 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8600
8601         * win32/common/libgstreamer.def:
8602         Add new exported functions.
8603         * win32/vs6/grammar.dsp:
8604         Use grammar pre-generated files.
8605
8606 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8607
8608         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8609
8610         * gst/Makefile.am:
8611         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8612         * gst/gstparse.h:
8613         * gst/gstutils.c: (gst_parse_bin_from_description):
8614         * gst/gstutils.h:
8615           Maintain API and ABI when --disable-parse is used. Now that
8616           we have an appropriate error code, we can just return NULL and the
8617           appropriate error when gst_parse_launch() is used despite it having
8618           been disabled (#342564).
8619
8620         * tests/check/Makefile.am:
8621         * tests/check/pipelines/.cvsignore:
8622         * tests/check/pipelines/parse-disabled.c:
8623           Make sure these functions exist and return NULL plus a GError when
8624           --disable-parse is used.
8625
8626 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         * tests/benchmarks/complexity.c: (main):
8629         * tests/benchmarks/mass-elements.c: (main):
8630           Set a good example and don't leak messages.
8631
8632 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8633
8634         * docs/gst/Makefile.am:
8635         * docs/libs/Makefile.am:
8636           Correct fixxrefs options.
8637
8638         * docs/plugins/Makefile.am:
8639         * docs/plugins/gstreamer-plugins-docs.sgml:
8640         * docs/plugins/gstreamer-plugins-sections.txt:
8641         * plugins/elements/Makefile.am:
8642         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8643         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8644           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8645           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8646           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8647           _GstCapsFilterClass, trans_class):
8648         * plugins/elements/gstelements.c (name, rank, type, _elements):
8649         * plugins/elements/gstidentity.c
8650           (gst_identity_check_imperfect_timestamp,
8651           gst_identity_check_imperfect_offset):
8652           Document capsfilter and add doc-blurb to identity.
8653
8654 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8655
8656         * libs/gst/controller/gstcontroller.c:
8657         (gst_controlled_property_set_interpolation_mode):
8658         * libs/gst/controller/gstinterpolation.c:
8659           Don't crash if someone tries to set an interpolation mode that
8660           is invalid or that isn't supported yet. Fixes #422295.
8661
8662         * tests/check/libs/controller.c: (GST_START_TEST),
8663         (gst_controller_suite):
8664           Add a test case for the above.
8665
8666 2007-05-03  Edward Hervey  <edward@fluendo.com>
8667
8668         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8669         Properly set the last_stop position on GstSegment. This will only happen
8670         if there is a buffer to push out.
8671
8672 2007-05-03  Wim Taymans  <wim@fluendo.com>
8673
8674         * libs/gst/base/gstbasetransform.c:
8675         (gst_base_transform_buffer_alloc):
8676         always_in_place does not mean that the sink and source caps are the
8677         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8678
8679 2007-05-03  Wim Taymans  <wim@fluendo.com>
8680
8681         * docs/libs/gstreamer-libs-sections.txt:
8682         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8683         (gst_base_src_default_query), (gst_base_src_get_range):
8684         * libs/gst/base/gstbasesrc.h:
8685         API: gst_base_src_query_latency(). Added method so that subclasses can
8686         easily get the latency values of the base source class.
8687
8688 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8689
8690         * tools/gst-inspect.c (print_implementation_info):
8691         Remove 0.8 cruft.
8692
8693 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8694
8695         * tools/Makefile.am:
8696         * tools/gst-launch.1.in:
8697           Don't create a customised man page based on the host architecture,
8698           describe the default registry path generically. That way the man
8699           page is the same for all architectures and packagers have one
8700           multilib issue less to deal with. Fixes #434926.
8701
8702 2007-05-02  Wim Taymans  <wim@fluendo.com>
8703
8704         * gst/gstpad.c:
8705         Fix documentation as spotted by rg on IRC. 
8706
8707 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8708
8709         * gst/gstutils.c:
8710           Improve docs for gst_element_{link,unlink}.
8711
8712 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8713
8714         * docs/design/part-events.txt:
8715         * docs/design/part-overview.txt:
8716         * gst/gstevent.c:
8717         * gst/gsturi.c:
8718         * gst/gsturi.h:
8719         * libs/gst/base/gstbasesink.c:
8720           Typo fixes; minor docs addition.
8721
8722 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8723
8724         * docs/gst/gstreamer-sections.txt:
8725         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8726         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8727         * gst/gsturi.h:
8728         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8729         or src that supports a given URI protocol exists.
8730
8731 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8732
8733         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8734         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8735         Set the location to NULL if "file://" is set as URI. Otherwise
8736         some random previous URI would still be set if "file://" is
8737         set on an already used filesink/filesrc.
8738
8739 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8740
8741         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8742         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8743         Special case the "file://" URI as as this is used by some
8744         applications to test with gst_element_make_from_uri if there's
8745         an element that supports the URI protocol.
8746         Also move the g_path_is_absolute() check for the location part
8747         of the URI to also check this for "file://localhost/bla" URIs.
8748
8749 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8750
8751         * docs/gst/gstreamer-sections.txt:
8752         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8753         * gst/gstbuffer.h:
8754         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8755         (gst_buffer_suite):
8756           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8757
8758 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8759
8760         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8761         (gst_registry_binary_load_pad_template),
8762         (gst_registry_binary_load_plugin),
8763         (gst_registry_binary_read_cache):
8764         * gst/gstregistrybinary.h:
8765           Implement no-mmap alternative for registry reading. Do code cleanups.
8766           Add more comments about avoiding strdups for all text data. Comments
8767           welcome.
8768
8769 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8770
8771         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8772           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8773           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8774           Comment structs and reformat to fix the build (that stuff should go
8775           into a priv. header).
8776
8777 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8778
8779         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8780         (gst_registry_binary_load_feature):
8781         * gst/gstregistrybinary.h:
8782           Refactor so that we can implement multiple features. Add support for
8783           TypeFindFactory features.
8784
8785 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8786
8787         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8788
8789         * configure.ac:
8790           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8791
8792 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8793
8794         * gst/gstbin.c: (gst_bin_element_set_state),
8795         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8796         (bin_handle_async_done), (gst_bin_handle_message_func):
8797           Fix build with --gst-disable-gst-debug
8798
8799 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8800
8801         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8802           Make sure streaming has finished before calling the ::stop() vfunc,
8803           since that vfunc might clear state which is being used in the
8804           streaming thread. This fixes a race that caused crashes in
8805           audioresample when shutting down a pipeline (#420106).
8806
8807 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8808
8809         * docs/gst/gstreamer-sections.txt:
8810           That was one byte missing.
8811
8812 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8813
8814         * configure.ac:
8815         * docs/gst/gstreamer-sections.txt:
8816         * gst/Makefile.am:
8817         * gst/gstconfig.h.in:
8818         * gst/gstobject.c: (gst_object_class_init),
8819         (gst_signal_object_class_init):
8820         * gst/gstobject.h:
8821           2nd attempt to have a xml-less build as a joined effort of #413123
8822           and #421480.
8823
8824 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8825
8826         * docs/design/draft-tagreading.txt:
8827           Added open issues/thoughts to draft.
8828
8829 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8830
8831         * gst/parse/grammar.tab.pre.c:
8832         * gst/parse/grammar.tab.pre.h:
8833         * gst/parse/lex._gst_parse_yy.pre.c:
8834         Update the prebuild parser sources.
8835
8836 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8837
8838         * gst/parse/Makefile.am:
8839         And now fix the building of the flex sources. Now everything should
8840         work as expected.
8841
8842 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8843
8844         * gst/parse/Makefile.am:
8845         Now hopefully fix the build failures by setting proper rule
8846         dependencies and moving instead of copying.
8847
8848 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8849
8850         * tests/benchmarks/complexity.gnuplot:
8851         * tests/benchmarks/complexity.scm:
8852         * tests/benchmarks/mass-elements.gnuplot:
8853         * tests/benchmarks/mass-elements.scm:
8854           Total licensification.
8855
8856 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8857
8858         * gst/parse/Makefile.am:
8859           Fix the build by correcting the rule that gave wrong files to flex.
8860
8861 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8862
8863         * tests/benchmarks/complexity.c:
8864         * tests/benchmarks/mass-elements.c:
8865           Change licence to LGPL as granted by Benjamin and Andy.
8866
8867 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8868
8869         * gst/parse/Makefile.am:
8870         Add correct grammar.tab.h dependency if compiling without new enough
8871         flex. Fixes #431150.
8872
8873 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8874
8875         * gst/parse/Makefile.am:
8876         Fix typo and use outdated sources if the flex/bison sources are newer
8877         than the pregenerated ones but flex is too old. Print a warning in
8878         that case. This should fix the build on the build bot.
8879
8880 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8881
8882         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8883         * gst/parse/Makefile.am:
8884         * gst/parse/grammar.y:
8885         * gst/parse/parse.l:
8886         Make the parser reentrant and recursively callable. This requires flex
8887         >= 2.5.31, for older versions pregenerated sources are used as we
8888         can't bump the build dependency. Finally fixes #349180.
8889
8890         * gst/gstparse.c: (gst_parse_launch):
8891         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8892         now anyway.
8893
8894         * docs/gst/Makefile.am:
8895         * docs/gst/Makefile.am:
8896         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8897         (__gst_parse_strfree), (__gst_parse_link_new),
8898         (__gst_parse_link_free), (__gst_parse_chain_new),
8899         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8900         (gst_parse_element_set), (gst_parse_free_link),
8901         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8902         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8903         (_gst_parse_launch):
8904         * gst/parse/grammar.tab.pre.h:
8905         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8906         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8907         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8908         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8909         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8910         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8911         (_gst_parse_yypop_buffer_state),
8912         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8913         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8914         (yy_fatal_error), (_gst_parse_yyget_extra),
8915         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8916         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8917         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8918         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8919         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8920         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8921         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8922         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8923         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8924         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8925         (_gst_parse_yyfree):
8926         If the installed flex version is too old use pre-generated parser
8927         sources. These pre-generated parser sources are always updated when
8928         the actual flex/bison sources change but require everybody who wants
8929         to change something in the parser to have flex >= 2.5.31 installed.
8930
8931 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8932
8933         * common/m4/gst-gettext.m4:
8934         * gst/gst-i18n-lib.h:
8935           Make --disable-nls to work
8936
8937 2007-04-17  Wim Taymans  <wim@fluendo.com>
8938
8939         * gst/gstconfig.h.in:
8940         Revert previous change that broke the build.
8941
8942 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8943
8944         * configure.ac:
8945         * gst/Makefile.am:
8946         * gst/gstconfig.h.in:
8947           Drop libxml2 dependency when building with 
8948           --enable-binary-registry --disable-loadsave
8949
8950 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8951
8952         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8953         (gst_registry_binary_read_cache):
8954         * gst/gstregistrybinary.h:
8955           Remove unnecessary <sys/mman.h> include which broke the win32 build
8956           with MingW; move includes from header file to .c file, even if the
8957           header file isn't installed; use g_strerror() where UTF-8 strings
8958           are expected, such as in GST_DEBUG messages.
8959
8960 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8961
8962         * docs/libs/gstreamer-libs-sections.txt:
8963         Remove bogus addition for API I didn't end up keeping.
8964
8965         * libs/gst/base/gstbasesrc.h:
8966         Mention Since: 0.10.13 in the documentation.
8967
8968         Add the API keyword to the previous ChangeLog entry.
8969
8970 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8971
8972         * docs/libs/gstreamer-libs-sections.txt:
8973         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8974         (gst_base_src_default_prepare_seek_segment),
8975         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8976         * libs/gst/base/gstbasesrc.h:
8977         Allow basesrc derived classes to execute seeks in other formats
8978         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8979         to prepare the GstSegment in any format that their perform_seek method
8980         will be able to understand. The default implementation provides the
8981         old behaviour of attempting to convert the seek offsets to the 
8982         configured native format.
8983
8984         API: basesrc::prepare_seek_segment vmethod.
8985
8986 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8987
8988         * gst/gstelement.c: (gst_element_get_state_func):
8989         Don't output the same debug statement twice.
8990
8991         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8992         (gst_adapter_peek), (gst_adapter_take_buffer):
8993         Optimise the case where we have buffers at the head of the queue that
8994         can be joined quickly (because they're contiguous sub-buffers) by
8995         merging them together rather than copying data out into new memory.
8996
8997         * gst/parse/grammar.y:
8998         * tests/check/pipelines/parse-launch.c:
8999         Fix a leak in an error path for parse_launch, and add a check 
9000         for it to the testsuite.
9001
9002 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9003
9004         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9005           Don't deadlock when releasing a pad - gst_pad_set_active may try
9006           and take the multiqueue lock too.
9007
9008 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9009
9010         * gst/gsterror.c: (_gst_core_errors_init):
9011         * gst/gsterror.h:
9012           API: add GST_CORE_ERROR_DISABLED (#392804).
9013
9014 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * docs/faq/gst-uninstalled:
9017           don't get empty paths on the PATH variables
9018         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9019           Don't format for the uncommon terminal width of 84 characters.
9020
9021 2007-04-06  Wim Taymans  <wim@fluendo.com>
9022
9023         * gst/gstpipeline.c: (reset_stream_time),
9024         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9025         Only try to select a different pipeline clock when we went back to
9026         PAUSED and not when we merely got flushed.
9027
9028 2007-04-05  Michael Smith  <msmith@fluendo.com>
9029
9030         * tools/gst-launch.1.in:
9031           fractions are better supported in gstreamer than ractions, so
9032           suggest using those.
9033
9034 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9035
9036         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9037
9038         * po/LINGUAS:
9039         * po/da.po:
9040           Added Danish translation.
9041
9042 2007-04-05  Wim Taymans  <wim@fluendo.com>
9043
9044         * libs/gst/base/gstbasesink.c:
9045         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9046         Fix leak caused when refusing newsegment after EOS.
9047
9048         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9049         (gst_fake_sink_init), (gst_fake_sink_set_property),
9050         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9051         (gst_fake_sink_render), (gst_fake_sink_change_state):
9052         * plugins/elements/gstfakesink.h:
9053         Add num-buffers property to make the element generate EOS after a
9054         configurable amount of buffers.
9055         API: fakesink::num-buffers property.
9056
9057         * tests/check/elements/fakesink.c: (GST_START_TEST),
9058         (fakesink_suite):
9059         Fix GstBus leak in test.
9060         Test for fakesink num-buffers.
9061
9062 2007-04-05  Wim Taymans  <wim@fluendo.com>
9063
9064         * libs/gst/base/gstbasesink.c:
9065         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9066         (gst_base_sink_change_state):
9067         Don't accept anything after an EOS, return UNEXPECTED instead.
9068
9069         * tests/check/elements/fakesink.c: (GST_START_TEST),
9070         (fakesink_suite):
9071         Unit test for new EOS behaviour.
9072
9073 2007-04-05  Wim Taymans  <wim@fluendo.com>
9074
9075         * gst/gstelement.c: (gst_element_get_request_pad):
9076         Make padtemplates also work when they don't contain %s or %d.
9077
9078 2007-04-05  Wim Taymans  <wim@fluendo.com>
9079
9080         * docs/gst/gstreamer-sections.txt:
9081         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9082         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9083         * gst/gstclock.h:
9084         Improve _adjust_unlocked() so that it overflows less.
9085         Add gst_clock_unadjust_unlocked to convert from external time to
9086         internal time based on calibration.
9087         Add some more debug.
9088         API: GstClock::gst_clock_unadjust_unlocked()
9089
9090 2007-04-03  Wim Taymans  <wim@fluendo.com>
9091
9092         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9093
9094         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9095         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9096         when releasing sink pad. Fixes #425400.
9097
9098 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9099
9100         * docs/random/ensonic/dynlink.txt:
9101           More work on proposal for new core api.
9102
9103         * docs/libs/gstreamer-libs-sections.txt:
9104         * libs/gst/base/gstbasetransform.h:
9105           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9106           
9107         * libs/gst/controller/gstcontroller.c:
9108         (on_object_controlled_property_changed),
9109         (gst_controller_sync_values),
9110         (gst_controller_set_interpolation_mode):
9111         * libs/gst/controller/gstcontroller.h:
9112           Less verbose logging add docs for unimplemented parts and correctly
9113           return when using unavailable parts.
9114
9115 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9116
9117         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9118         Move all the debug to the CLOCK category, and associate it with
9119         the clock object.
9120
9121 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9122
9123         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9124         Make take_buffer a bit quicker by removing redundant checks
9125         caused by calling gst_adapter_take.
9126
9127 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9128
9129         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9130           Don't leak GCond.
9131
9132         * tests/check/Makefile.am:
9133         * tests/check/elements/.cvsignore:
9134         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9135         (GST_START_TEST), (multiqueue_suite):
9136           Add some dead simple unit tests for the 'multiqueue' element
9137           (some bits don't work yet and are disabled for now).
9138
9139 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9140
9141         * gst/gstelement.c: (gst_element_get_request_pad),
9142         (gst_element_class_get_request_pad_template):
9143           Make gst_element_get_request_pad() create request pads only for
9144           request pad templates and not for, say, sometimes pad templates.
9145
9146 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9147
9148         * docs/design/draft-klass.txt:
9149           Add example that needs more thinking.
9150         
9151         * docs/design/draft-missing-plugins.txt:
9152           More thoughts about wrapper plugins.
9153         
9154         * docs/random/ensonic/embedded.txt:
9155         * docs/random/ensonic/profiling.txt:
9156           More design work.
9157
9158 2007-03-25  Wim Taymans  <wim@fluendo.com>
9159
9160         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9161         (gst_base_src_loop):
9162         Only push the segment events in the PLAYING state for live sources.
9163
9164 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9165
9166         * gst/gstpipeline.c: (gst_pipeline_change_state):
9167         Modify the clock distribution path in PAUSED->PLAYING so that we 
9168         never attempt to choose a new clock unless we're actually leaving
9169         the PAUSED state for the first time. This prevents choosing a
9170         different clock when the state_change gets called for a 2nd time due
9171         to some element doing an async state change.
9172
9173 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9174
9175         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9176         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9177         (gst_pad_chain_unchecked), (gst_pad_push):
9178         Revert last commit. This needs some more thoughts.
9179
9180 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9181
9182         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9183         (gst_pad_chain_unchecked), (gst_pad_push):
9184         Check in set_caps if the caps are compatible with the pad and remove
9185         two functions that are redundant now. Fixes #421543.
9186
9187 2007-03-22  Wim Taymans  <wim@fluendo.com>
9188
9189         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9190         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9191         Unref some more to make valgrind happy.
9192
9193 2007-03-22  Wim Taymans  <wim@fluendo.com>
9194
9195         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9196         (gst_system_clock_id_wait_jitter),
9197         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9198         Fix anoying regression that survived a few releases. When adding an
9199         async entry while blocking on a sync entry, the sync entry will unblock
9200         but still be busy, so it should continue to wait instead of returning
9201         _BUSY to the app.
9202         Add some comments here and there.
9203
9204         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9205         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9206         Add testcase for this.
9207
9208 2007-03-22  Wim Taymans  <wim@fluendo.com>
9209
9210         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9211         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9212         WRONG_STATE and can silently pause the task. All other cases should
9213         error out.
9214
9215 2007-03-22  Wim Taymans  <wim@fluendo.com>
9216
9217         Patch by: Ville Syrjala <syrjala at sci dot fi>
9218
9219         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9220         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9221         Improve debugging.
9222
9223 2007-03-21  Michael Smith  <msmith@fluendo.com>
9224
9225         * docs/pwg/advanced-types.xml:
9226           Fix some errors in the typefinding docs pointed out on irc.
9227
9228 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9229
9230         * libs/gst/base/gstbasesrc.c:
9231         Clarify FIXME comment in the face of having added unlock_stop()
9232
9233 2007-03-21  Wim Taymans  <wim@fluendo.com>
9234
9235         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9236         Prepare for release where we warn against possible app breakage in the
9237         case of live pipelines along with an env var to enable/disable live
9238         preroll mode (GST_COMPAT=[no-]live-preroll).
9239
9240 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9241
9242         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9243         So we should use correct constants for checking for None offset.
9244
9245 2007-03-20  Wim Taymans  <wim@fluendo.com>
9246
9247         * docs/design/part-block.txt:
9248         Mention the fact that the newly switched element should be set to at
9249         least PAUSED.
9250
9251 2007-03-20  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/gst.c:
9254         Fix compilation with registry disabled as spotted by Saur.
9255
9256 2007-03-20  Wim Taymans  <wim@fluendo.com>
9257
9258         Patch by: Olivier Crete <tester at tester dot ca>
9259
9260         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9261         Look at the pending state too when syncing the element state to the
9262         parent. Fixes #420133.
9263
9264 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9265
9266         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9267         (gst_base_sink_change_state):
9268         * libs/gst/base/gstbasesink.h:
9269         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9270         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9271         (gst_base_src_deactivate):
9272         * libs/gst/base/gstbasesrc.h:
9273         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9274         for sub-classes to correctly clear any state they set trying to
9275         unlock, such as clearing out unlock commands from a command fd.
9276         API: basesrc::unlock_stop
9277         API: basesink::unlock_stop
9278
9279         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9280         (gst_fd_sink_render), (gst_fd_sink_unlock),
9281         (gst_fd_sink_unlock_stop):
9282         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9283         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9284         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9285
9286         Implement unlock_stop in fdsrc and fdsink.
9287         Implement seeking in fdsrc when a seekable fd is passed, as in
9288         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9289
9290 2007-03-19  Wim Taymans  <wim@fluendo.com>
9291
9292         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9293
9294         * gst/gstelement.c: (gst_element_class_init):
9295         Fix pad-added and pad-removed signal signatures so that the pad type is
9296         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9297
9298 2007-03-19  Wim Taymans  <wim@fluendo.com>
9299
9300         * docs/gst/gstreamer-sections.txt:
9301         Add new element field and method.
9302
9303         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9304         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9305         (gst_bin_recalc_state), (gst_bin_get_state_func),
9306         (gst_bin_element_set_state), (gst_bin_change_state_func),
9307         (gst_bin_continue_func), (bin_bus_handler),
9308         (bin_push_state_continue), (bin_handle_async_start),
9309         (bin_handle_async_done), (gst_bin_handle_message_func):
9310         Make async state changes a bit smarter by using new ASYNC_START and
9311         ASYNC_DONE messages. This reduces the number of times we run the state
9312         recalculation thread.
9313         Don't change state of element with a pending ASYNC_START message.
9314         Deprecate STATE_DIRTY messages.
9315         
9316         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9317         (gst_element_get_state_func), (gst_element_continue_state),
9318         (gst_element_lost_state), (gst_element_set_state_func),
9319         (gst_element_change_state):
9320         * gst/gstelement.h:
9321         Keep the state that was last set by the app in a new element field.
9322         Don't allow state changes when handling an element event.
9323         Post ASYNC_START and ASYNC_DONE messages.
9324         Change lost_state so that we go to PAUSED and wait for the parent to set
9325         us to PLAYING again (so latency calculation can be performed)
9326         Export gst_element_change_state() method so that subclasses can use it.
9327         API: gst_element_change_state()
9328         API: GST_STATE_TARGET
9329
9330         * gst/gstpipeline.c: (gst_pipeline_class_init),
9331         (reset_stream_time), (gst_pipeline_change_state),
9332         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9333         Using the new ASYNC_START message we can reset the base_time when
9334         needed. This can then be used to implement base_time redistribution in
9335         flushing seeks so that we can remove the explicit seek handling.
9336         Perform latency query and configuration when going to PLAYING.
9337
9338         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9339         (gst_base_sink_query), (gst_base_sink_change_state):
9340         Post new ASYNC_START/ASYNC_DONE messages.
9341
9342         * tests/check/generic/sinks.c: (GST_START_TEST):
9343         Fix test because the bin will not set the async element to PLAYING right
9344         away.
9345
9346         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9347         Make the message check a little stronger.
9348         Handle ASYNC messages.
9349
9350         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9351         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9352         Expect ASYNC_DONE messages.
9353
9354 2007-03-19  Wim Taymans  <wim@fluendo.com>
9355
9356         * docs/gst/gstreamer-sections.txt:
9357         * gst/gstmessage.c: (gst_message_new_async_start),
9358         (gst_message_new_async_done), (gst_message_parse_info),
9359         (gst_message_parse_async_start):
9360         * gst/gstmessage.h:
9361         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9362         support.
9363
9364 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9365
9366         * tools/gst-inspect.c:
9367         (print_plugin_automatic_install_info_codecs):
9368           Now that we don't check for the 'Codec' keyword any longer in the
9369           klass, we shouldn't spew a warning if the klass isn't a decoder or
9370           encoder (since it might be a Source/Network, for example).
9371
9372 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9373
9374         * tools/gst-inspect.c:
9375         (print_plugin_automatic_install_info_codecs):
9376           Don't require decoder/demuxer/depayloader elements or
9377           encoder/muxer/paylader elements to have 'Codec' as part of their
9378           factory class string when introspecting a plugin's capabilities.
9379           draft-klass.txt mentions that it might be removed in future, and
9380           flump3dec doesn't have it as part of its class string, so chances
9381           are others might also not have it.
9382
9383 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9384
9385         * po/af.po:
9386         * po/az.po:
9387         * po/bg.po:
9388         * po/ca.po:
9389         * po/cs.po:
9390         * po/de.po:
9391         * po/en_GB.po:
9392         * po/fr.po:
9393         * po/it.po:
9394         * po/nb.po:
9395         * po/nl.po:
9396         * po/ru.po:
9397         * po/sq.po:
9398         * po/sr.po:
9399         * po/sv.po:
9400         * po/tr.po:
9401         * po/uk.po:
9402         * po/vi.po:
9403         * po/zh_CN.po:
9404         * po/zh_TW.po:
9405           Update translations from translation project
9406
9407 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9408
9409         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9410         (gst_child_proxy_set_property):
9411           Invert precondition check to be alike the ones in the mimiced gobject
9412           api.
9413
9414 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9415
9416         * docs/design/draft-tagreading.txt:
9417         * docs/random/ensonic/audiobaseclasses.txt:
9418           Do some Architect work.
9419
9420         * gst/gstobject.c: (gst_object_set_name):
9421           Add a WARNING.
9422
9423         * gst/gstpad.c:
9424           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9425
9426 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9427
9428         * gst/gstsystemclock.c: (gst_system_clock_init),
9429         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9430         Defer starting the async system clock thread until the first async
9431         wait is scheduled. Fixes #414986.
9432
9433 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9434
9435         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9436         (gst_single_queue_free):
9437           Fix small leak (free GstSingleQueue structure too, not only contents).
9438
9439 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9440
9441         * gst/gstbin.c:(gst_bin_add):
9442         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9443         * win32/common/libgstbase.def:
9444         * win32/common/libgstreamer.def:
9445         Add new exported functions.
9446
9447 2007-03-09  Wim Taymans  <wim@fluendo.com>
9448
9449         * docs/plugins/gstreamer-plugins-sections.txt:
9450         Fix GstTee docs.
9451
9452 2007-03-09  Wim Taymans  <wim@fluendo.com>
9453
9454         * docs/gst/gstreamer-sections.txt:
9455         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9456         * gst/gstbuffer.h:
9457         Add metadata copy functions. Fixes #393099.
9458         API: gst_buffer_copy_metadata()
9459
9460         * gst/gstutils.c: (gst_buffer_stamp):
9461         * libs/gst/base/gstbasetransform.c:
9462         (gst_base_transform_prepare_output_buffer):
9463         Use new metadata copy functions.
9464
9465 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9466
9467         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9468         (gst_identity_init), (gst_identity_check_perfect),
9469         (gst_identity_check_imperfect_timestamp),
9470         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9471         (gst_identity_set_property), (gst_identity_get_property):
9472         * plugins/elements/gstidentity.h:
9473         Separate out check-imperfect-timestamp and check-imperfect-offset.
9474         Put back check-perfect as it was to keep compatibility.
9475
9476 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9477
9478         * gst/gstelement.c: (gst_element_dispose):
9479         There's no need to warn if VOID_PENDING is not NONE here, as
9480         long as the state is NULL it's ok, and that's checked immediately
9481         above.
9482
9483 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9484
9485         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9486         Fix check for perfect stream to ignore buffers with -1 
9487         offsets/offset ends when checking data contiguity.
9488
9489 2007-03-08  Wim Taymans  <wim@fluendo.com>
9490
9491         * tools/gst-launch.c: (event_loop):
9492         Print INFO messages.
9493
9494 2007-03-08  Wim Taymans  <wim@fluendo.com>
9495
9496         * libs/gst/base/gstbasetransform.c:
9497         (gst_base_transform_sink_eventfunc),
9498         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9499         (gst_base_transform_activate):
9500         * libs/gst/base/gstbasetransform.h:
9501         Add support for dropping buffers with custom GstFlowReturn.
9502         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9503         buffers or dropped buffers.
9504
9505         * docs/libs/gstreamer-libs-sections.txt:
9506         docs for new custom return code.
9507
9508         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9509         Use drop support in base class to implement drop-probability.
9510
9511 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9512
9513         * gst/gst.c: (load_plugin_func):
9514         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9515         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9516         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9517           Remove newlines at end of debug log strings.
9518
9519 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9520
9521         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9522         Only post bus message at max, once per buffer received.
9523
9524 2007-03-07  Wim Taymans  <wim@fluendo.com>
9525
9526         * docs/design/Makefile.am:
9527         * docs/design/part-synchronisation.txt:
9528         Add doc about synchronisation
9529
9530         * docs/design/draft-latency.txt:
9531         * docs/design/part-TODO.txt:
9532         * docs/design/part-clocks.txt:
9533         * docs/design/part-events.txt:
9534         * docs/design/part-gstbus.txt:
9535         * docs/design/part-gstpipeline.txt:
9536         * docs/design/part-live-source.txt:
9537         * docs/design/part-messages.txt:
9538         * docs/design/part-overview.txt:
9539         * docs/design/part-streams.txt:
9540         * docs/design/part-trickmodes.txt:
9541         Documentation updates.
9542
9543 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9544
9545         * gstreamer.doap:
9546         Update the doap file.
9547
9548 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9549
9550         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9551         Rename non-perfect to imperfect for Mike and for the sanctity of the
9552         language.
9553         Also make sure bus message gets emitted for data-incontiguities.
9554
9555 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9556
9557         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9558         (gst_identity_start):
9559         * plugins/elements/gstidentity.h:
9560         Emit bus message if check-perfect is true and we encounter a
9561         non-perfect stream between 2 consecutive buffers.
9562         Fixes #415394.
9563
9564 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9565
9566         * configure.ac:
9567         Back to CVS
9568
9569 === release 0.10.12 ===
9570
9571 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9572
9573         * configure.ac:
9574           releasing 0.10.12, "Inevitable Demise"
9575
9576 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9577
9578         * configure.ac:
9579          Version 0.10.11.2 (0.10.12 pre-release)
9580          Bump libtool versioning.
9581
9582 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9583
9584         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9585           Log flow-names and not numbers.
9586
9587 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9588
9589         * configure.ac:
9590           Convert to new AG_GST style.
9591
9592 2007-02-28  Wim Taymans  <wim@fluendo.com>
9593
9594         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9595         Don't unref query twice.
9596
9597 2007-02-28  Wim Taymans  <wim@fluendo.com>
9598
9599         * gst/gstvalue.c: (gst_value_transform_object_string),
9600         (_gst_value_initialize):
9601         Implement GstObject -> string transform so we print object names
9602         when serializing GValues containing GstObjects.
9603
9604 2007-02-28  Wim Taymans  <wim@fluendo.com>
9605
9606         * docs/gst/gstreamer-sections.txt:
9607         Add new stuff to docs.
9608
9609 2007-02-28  Wim Taymans  <wim@fluendo.com>
9610
9611         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9612         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9613         (gst_base_sink_change_state):
9614         Improve latency query code.
9615         Don't leak latency events.
9616
9617         * tests/check/gst/gstbin.c: (GST_START_TEST):
9618         Improve debugging.
9619
9620 2007-02-28  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstelement.c: (gst_element_message_full),
9623         (gst_element_get_state_func):
9624         * gst/gstelement.h:
9625         Improve docs a little. Added Since: for new macro.
9626
9627         * gst/gstobject.c: (gst_object_sink):
9628         * gst/gstpipeline.c: (gst_pipeline_change_state),
9629         (gst_pipeline_set_new_stream_time):
9630         * gst/gstpipeline.h:
9631         Improve debugging and docs.
9632
9633         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9634         Improve debugging.
9635
9636 2007-02-28  Wim Taymans  <wim@fluendo.com>
9637
9638         * gst/gstelement.c: (gst_element_message_full),
9639         (gst_element_set_locked_state), (gst_element_get_state_func),
9640         (gst_element_change_state):
9641         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9642         Documentation updates.
9643         Small code cleanups.
9644
9645         * gst/gstmessage.c: (gst_message_new_info),
9646         (gst_message_parse_info):
9647         * gst/gstmessage.h:
9648         API: gst_message_new_info()
9649         API: gst_message_parse_info()
9650         Add INFO message create and parse code.
9651
9652 2007-02-28  Wim Taymans  <wim@fluendo.com>
9653
9654         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9655         (bin_query_latency_done):
9656         Also report the live parameter of a latency query.
9657
9658 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9659
9660         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9661           Copy the current generic/states example from -base and adapt so
9662           we can use the exact same code everywhere.
9663           Check a STATES_IGNORE_ELEMENTS env var which can be used
9664           to ignore certain element factories for this test, which is
9665           what is being done in -base
9666         * tests/check/Makefile.am:
9667           Mention this environment variable.
9668
9669 2007-02-27  Wim Taymans  <wim@fluendo.com>
9670
9671         * docs/gst/gstreamer-sections.txt:
9672         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9673         (gst_bus_timed_pop), (gst_bus_pop):
9674         * gst/gstbus.h:
9675         API: gst_bus_timed_pop()
9676         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9677         message to arrive on the bus.
9678
9679         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9680         (gst_bus_suite):
9681         Two unit tests for new _timed_pop() function.
9682
9683 2007-02-23  Wim Taymans  <wim@fluendo.com>
9684
9685         * gst/gstpipeline.c: (gst_pipeline_change_state),
9686         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9687         Don't ref a NULL clock in _provide_clock_func().
9688         Don't allow an INVALID delay.
9689         Don't try to calculate base_time with an invalid start_time.
9690         Also distribute and notify a NULL clock when it was selected.
9691
9692         * tools/gst-launch.c: (event_loop):
9693         Don't crash when a NULL clock was selected in the pipeline.
9694
9695 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * docs/design/Makefile.am:
9698         * docs/design/draft-missing-plugins.txt:
9699         * docs/random/draft-missing-plugins.txt:
9700           Some small updates: update plugin system identifier prefix
9701           ('gstreamer.net' to 'gstreamer'), mention our new install
9702           API in libgstbaseutils rather than libgimme-codec, add
9703           reference to the online docs.
9704
9705 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9706
9707         * win32/common/config.h:
9708           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9709           use moap cl ci to only check in what is mentioned in the ChangeLog.
9710
9711 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9712
9713         * docs/gst/gstreamer-sections.txt:
9714         * gst/gstelement.h:
9715           Fix up documentation to link to the correct GstGError section.
9716           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9717
9718 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9719
9720         * tools/gst-launch.c: (event_loop):
9721           Make sure that we actually show the important message part of a
9722           warning message.
9723           No need to check if the gerror is not NULL to free; first of all
9724           g_free accepts NULL; and second the default error handler would
9725           segfault if gerror was NULL.
9726
9727 2007-02-21  Wim Taymans  <wim@fluendo.com>
9728
9729         * docs/gst/gstreamer-sections.txt:
9730         Removed docs as well.
9731
9732 2007-02-21  Wim Taymans  <wim@fluendo.com>
9733
9734         * gst/gstmessage.c: (gst_message_parse_duration):
9735         * gst/gstmessage.h:
9736         Remove new messages for release.
9737
9738 2007-02-20  Wim Taymans  <wim@fluendo.com>
9739
9740         * docs/design/part-gstghostpad.txt:
9741         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9742         (gst_ghost_pad_new_full):
9743         Make the ghostpad a parent of the internal pad again for better backward
9744         compatibility. Don't write code that relies on this however.
9745
9746         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9747         (gst_pad_link_check_hierarchy):
9748         Require that parents should be GstElements in the hierarchy check.
9749
9750 2007-02-20  Wim Taymans  <wim@fluendo.com>
9751
9752         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9753         (gst_bin_change_state_func), (bin_query_min_max_init),
9754         (bin_query_latency_fold), (bin_query_latency_done),
9755         (gst_bin_query):
9756         Improve debug info.
9757         Implement latency query.
9758
9759 2007-02-20  Wim Taymans  <wim@fluendo.com>
9760
9761         * docs/design/part-gstghostpad.txt:
9762         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9763         (gst_ghost_pad_internal_do_activate_push),
9764         (gst_ghost_pad_internal_do_activate_pull),
9765         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9766         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9767         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9768         Do not set the internal pad as a parent anymore so we can avoid
9769         hierarchy linking errors when the ghostpad has no parent yet. This also
9770         fixes failed activation because of unlinked internal pads, which in
9771         turn fixes the impossible case where you have to activate a pad before
9772         you can add it to a running element.
9773         Also fix the docs.
9774
9775         * gst/gstpad.c: (pre_activate), (post_activate),
9776         (gst_pad_set_active), (gst_pad_activate_pull),
9777         (gst_pad_activate_push), (gst_pad_check_pull_range):
9778         Add some more debug info.
9779         Mark activation mode in pre_activate so that we don't try to activate in
9780         endless loops. Fixes #385084.
9781
9782 2007-02-19  Wim Taymans  <wim@fluendo.com>
9783
9784         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9785         (gst_base_transform_check_get_range):
9786         Implement a checkgetrange function instead of relying on the default
9787         core behaviour that assumes we can operate in pull mode if we have a
9788         getrange function. First step at fixing #385084.
9789
9790 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9791
9792         * gst/gstchildproxy.h:
9793         * libs/gst/base/gstbasesink.h:
9794         * libs/gst/base/gstbasesrc.h:
9795         * libs/gst/base/gstbasetransform.h:
9796         More docs coverage and some ChangeLog surgery (add missing names)
9797
9798 2007-02-15  Wim Taymans  <wim@fluendo.com>
9799
9800         * docs/design/part-TODO.txt:
9801         * docs/design/part-activation.txt:
9802         * docs/design/part-block.txt:
9803         * docs/design/part-buffering.txt:
9804         * docs/design/part-clocks.txt:
9805         * docs/design/part-element-source.txt:
9806         * docs/design/part-events.txt:
9807         * docs/design/part-gstbin.txt:
9808         * docs/design/part-gstbus.txt:
9809         * docs/design/part-gstpipeline.txt:
9810         * docs/design/part-live-source.txt:
9811         * docs/design/part-messages.txt:
9812         * docs/design/part-overview.txt:
9813         * docs/design/part-qos.txt:
9814         * docs/design/part-query.txt:
9815         * docs/design/part-states.txt:
9816         * docs/design/part-trickmodes.txt:
9817         Some doc updates. Start renaming from stream_time to running_time where
9818         it was used wrongly.
9819
9820 2007-02-15  Wim Taymans  <wim@fluendo.com>
9821
9822         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9823         Answer LATENCY query.
9824
9825 2007-02-15  Wim Taymans  <wim@fluendo.com>
9826
9827         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9828         (GST_START_TEST):
9829         Improve debugging.
9830
9831 2007-02-15  Wim Taymans  <wim@fluendo.com>
9832
9833         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9834         (gst_pad_dispatcher):
9835         Improve debugging of default pad dispatcher and query functions.
9836
9837 2007-02-15  Wim Taymans  <wim@fluendo.com>
9838
9839         * docs/gst/gstreamer-sections.txt:
9840         Remove old unused method.
9841
9842 2007-02-13  Wim Taymans  <wim@fluendo.com>
9843
9844         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9845         Fix check
9846
9847 2007-02-13  Wim Taymans  <wim@fluendo.com>
9848
9849         * docs/design/part-seeking.txt:
9850         Some small update.
9851
9852         * gst/gstsegment.c: (gst_segment_set_seek):
9853         Revert old bogus change that should make seeking work again.
9854
9855 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9856
9857         * docs/random/ensonic/dynlink.txt:
9858         * docs/random/ensonic/interfaces.txt:
9859         * docs/random/ensonic/receipies.txt:
9860           Possible dynamic reconnection api, plus some type fixes the other two
9861           docs.
9862
9863 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9864
9865         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9866         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9867         Also check for an absolute path following file:// in the filesrc
9868         element. Remove redundant check and call g_path_is_absolute() on the
9869         unescaped location.
9870
9871 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9872
9873         * docs/design/draft-klass.txt:
9874           Add existing category analysis.
9875           
9876         * gst/gstcaps.c:
9877           Fix doc example, framerate is a fraction.
9878
9879 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9880
9881         * configure.ac:
9882         * docs/gst/Makefile.am:
9883         * docs/gst/gstreamer-sections.txt:
9884         * docs/libs/Makefile.am:
9885           Erm, forgot a bunch of --extra-dir.
9886
9887 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9888
9889         * configure.ac:
9890         * docs/gst/Makefile.am:
9891         * docs/libs/Makefile.am:
9892         * docs/plugins/Makefile.am:
9893           Add crossreferences to glib/gobject docs.
9894
9895 2007-02-12  Wim Taymans  <wim@fluendo.com>
9896
9897         * docs/design/draft-latency.txt:
9898         Small update.
9899
9900         * docs/libs/gstreamer-libs-sections.txt:
9901         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9902         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9903         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9904         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9905         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9906         (gst_base_sink_get_position), (gst_base_sink_query),
9907         (gst_base_sink_change_state):
9908         * libs/gst/base/gstbasesink.h:
9909         API: gst_base_sink_query_latency() to let subclasses query the upstream
9910         latency.
9911         API: gst_base_sink_get_latency() to let subclasses query the configured
9912         latency in the sink.
9913         Implement query and set latency.
9914         Update some docs.
9915         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9916         don't continue preroll when we are flushing. Fixes #405284.
9917
9918         * tests/check/pipelines/stress.c: (change_state_timeout),
9919         (quit_timeout), (GST_START_TEST), (stress_suite):
9920         Test for #405284.
9921
9922 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9923
9924         Patch by: René Stadler <mail at renestadler de>
9925
9926         * docs/gst/gstreamer-sections.txt:
9927         * gst/gsttaglist.c: (_gst_tag_initialize):
9928         * gst/gsttaglist.h:
9929           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9930
9931 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9932
9933         * docs/libs/Makefile.am:
9934           Fix path to core docs.
9935
9936         * gst/gstbin.c: (gst_bin_get_by_interface),
9937         (gst_bin_iterate_all_by_interface):
9938           Refix docs by also renaming 'interface' to 'iface' in implementation.
9939
9940         * docs/gst/gstreamer-sections.txt:
9941         * gst/gstcaps.c:
9942         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9943         * gst/gstchildproxy.h:
9944         * gst/gstelementfactory.c:
9945         * gst/gstpadtemplate.h:
9946         * libs/gst/controller/gstcontroller.c:
9947         (gst_controlled_property_new):
9948           Document more.
9949
9950 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9951
9952         * gst/gstbin.h:(gst_bin_get_by_interface),
9953         (gst_bin_iterate_all_by_interface):
9954         Replace interface parameter name by iface as interface is 
9955         a reserved keyword in Visual Studio for C++ projects so it removes
9956         a build error for application developpers using VS.
9957         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9958         Fix a bug on Windows in uri format check. Now the prefix checked
9959         is file:// and next we check if the path after file:// is absolute.
9960         * win32/common/libgstbase.def:
9961         * win32/common/libgstdataprotocol.def:
9962         * win32/common/libgstgstreamer.def:
9963         Add new exported functions.
9964
9965 2007-02-09  Andy Wingo  <wingo@pobox.com>
9966
9967         * tests/check/pipelines/simple-launch-lines.c
9968         (simple_launch_lines_suite, test_tee): Disable tee test until I
9969         have time to fix it :-(
9970
9971         * tests/check/Makefile.am (noinst_HEADERS): 
9972         * tests/check/libs/libsabi.c: 
9973         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9974         * tests/check/gst/gstabi.c: 
9975         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9976
9977         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9978         tests for push and pull tee behavior.
9979
9980         * plugins/elements/gsttee.h: 
9981         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9982         mark as deprecated as well as unimplemented. It was a crack idea.
9983         Add support for tee operating in pull mode, off by default.
9984
9985         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9986         normal-case logs down to LOG, raise errors to WARNING.
9987         (gst_registry_xml_read_cache): Don't log before calling a function
9988         that logs.
9989
9990         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9991         exit (registry finalize).
9992         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9993         DEBUG log when we emit signals that people don't even have the
9994         chance to connect to.
9995         (gst_registry_scan_path_level): Less logging in the normal case.
9996
9997 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9998
9999         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10000
10001         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10002         Correctly generate EOS for non-seekable files. We don't have a total
10003         length for them and would get an unexpected end of file if we only
10004         special-cased for regular files. (Fixes: #404569)
10005
10006 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10007
10008         * tests/check/elements/filesrc.c: (GST_START_TEST),
10009         (filesrc_suite):
10010         Add unit test for the GstURIHandler interface in filesrc. This also
10011         tests the newly added file://localhost/foo/bar support.
10012
10013 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10014
10015         * gst/gstelementfactory.h:
10016           The klass string is not a hierarchy. Add reference to the design doc
10017           for more information and common types.
10018
10019 2007-02-02  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstquery.c: (gst_query_new_latency):
10022         Remove old structure field.
10023
10024 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10025
10026         * tools/gst-launch.1.in:
10027           Give example for network streaming (#351998)
10028
10029 2007-02-02  Wim Taymans  <wim@fluendo.com>
10030
10031         * docs/gst/gstreamer-sections.txt:
10032         Add docs for new methods.
10033
10034         * gst/gstevent.c: (gst_event_new_latency),
10035         (gst_event_parse_latency):
10036         * gst/gstevent.h:
10037         Add new LATENCY event to configure latency in a pipeline.
10038         API: gst_event_new_latency
10039         API: gst_event_parse_latency
10040
10041         * gst/gstmessage.c: (gst_message_new_buffering),
10042         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10043         (gst_message_new_latency), (gst_message_parse_buffering),
10044         (gst_message_parse_lost_preroll):
10045         * gst/gstmessage.h:
10046         Added messages used in draft-latency.
10047         API: gst_message_new_lost_preroll
10048         API: gst_message_parse_lost_preroll
10049         API: gst_message_new_prerolled
10050         API: gst_message_new_latency
10051
10052         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10053         (gst_query_parse_latency):
10054         * gst/gstquery.h:
10055         Implemented new latency query as in design doc.
10056         API: gst_query_new_latency
10057         API: gst_query_set_latency
10058         API: gst_query_parse_latency
10059
10060 2007-02-02  Wim Taymans  <wim@fluendo.com>
10061
10062         * docs/design/draft-latency.txt:
10063         Slight redesign to allow for dynamic latency adjustments.
10064
10065         * docs/design/part-negotiation.txt:
10066         Fix some typos.
10067
10068 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10069
10070         reviewed by: Wim Taymans <wim@fluendo.com>
10071
10072         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10073         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10074         Allow file://localhost/foo/bar URLs and correctly fail for every other
10075         hostname that one sets. This was gnomevfssrc is linked for those if
10076         installed as it can handle it (#403172)
10077
10078 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10079
10080         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10081
10082         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10083         (unref_data), (gst_collect_pads_add_pad_full):
10084         * libs/gst/base/gstcollectpads.h:
10085         Don't put the previously added destroy notify in the GstCollectData
10086         struct as all it's padding is already used and we don't want to break
10087         ABI. Instead put in the pad's GObject data for now. This should be
10088         cleaned up for 0.11 (#402393).
10089
10090 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10091
10092         reviewed by: Wim Taymans <wim@fluendo.com>
10093
10094         * docs/libs/gstreamer-libs-sections.txt:
10095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10096         (unref_data), (gst_collect_pads_add_pad),
10097         (gst_collect_pads_add_pad_full):
10098         * libs/gst/base/gstcollectpads.h:
10099         API: Add function to specify a destroy notification for custom
10100         GstCollectData when adding new pads in GstCollectPads (#402393).
10101
10102 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10103
10104         * po/sv.po:
10105           Update Swedish translation (#378255).
10106
10107 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10108
10109         * docs/design/draft-klass.txt:
10110           Fix the previous change, this is a list of categories and not a hierarchy.
10111
10112 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10113
10114         * docs/design/draft-klass.txt:
10115           Add info about how to get a list of used classes.
10116
10117 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10118
10119         * plugins/elements/gsttypefindelement.c:
10120         (gst_type_find_element_chain_do_typefinding),
10121         (gst_type_find_element_change_state):
10122           Don't leak found caps in chain function (no idea why that never
10123           showed up as a leak anywhere).
10124
10125 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10126
10127         * gst/gstplugin.h:
10128           Fix and expand GstPluginDesc API docs.
10129
10130 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10131
10132         * gst/gstcaps.c:
10133         * gst/gstelementfactory.c:
10134         * gst/gstpadtemplate.h:
10135           api doc fixes
10136
10137         * libs/gst/controller/gstcontroller.c:
10138         (gst_controlled_property_new):
10139         * tests/examples/controller/audio-example.c:
10140           comment fixes
10141
10142 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10143
10144         * configure.ac:
10145           comment about refining the xml deps
10146
10147         * docs/manuals.mak:
10148           comments about moving away from jade for docs
10149         
10150         * gst/gst.c:
10151           recommit the ifdefs to use the binary registry
10152         
10153         * gst/gstbin.c: (gst_bin_change_state_func):
10154           this break is obsolete
10155
10156         * gst/gstelementfactory.h:
10157           better GST_ELEMENT_DETAILS docs, add comment about translation
10158
10159         * gst/gstinfo.h:
10160           remove eol slash
10161
10162         * gst/gstobject.c: (gst_signal_object_get_type):
10163           add G_UNLIKELY as usual
10164
10165         * gst/gstpad.c: (gst_pad_event_default):
10166           add fall trhu comment
10167
10168         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10169         (gst_registry_binary_initialize_magic),
10170         (gst_registry_binary_save_string),
10171         (gst_registry_binary_save_pad_template),
10172         (gst_registry_binary_save_feature),
10173         (gst_registry_binary_save_plugin),
10174         (gst_registry_binary_write_cache),
10175         (gst_registry_binary_check_magic),
10176         (gst_registry_binary_load_pad_template),
10177         (gst_registry_binary_load_feature),
10178         (gst_registry_binary_load_plugin),
10179         (gst_registry_binary_read_cache):
10180           comment typo and formatting
10181
10182         * gst/gstutils.c: (gst_element_state_get_name),
10183         (gst_element_state_change_return_get_name):
10184           remove obsolete breaks
10185
10186         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10187           add FIXME 0.11 and remove cpp comment
10188
10189 2007-01-29  Edward Hervey  <edward@fluendo.com>
10190
10191         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10192         Fix print statement in an even more portable way.
10193
10194 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10195
10196         * docs/gst/gstreamer-sections.txt:
10197         * gst/gstutils.h:
10198           API: add GST_ROUND_DOWN_* macros (#401781).
10199
10200 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10201
10202         * docs/gst/gstreamer.types.in:
10203         * gst/gstregistry.c: (gst_registry_class_init):
10204           Document registry signals and make gtk-doc pick them up (#401381).
10205
10206 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10207
10208         * docs/pwg/building-testapp.xml:
10209           Add some audioconverts and audioresample to the pipeline, and some
10210           more comments and error handling.
10211
10212 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10213
10214         * docs/manual/manual.xml:
10215         * docs/pwg/pwg.xml:
10216           Fix typo (#400987).
10217
10218 2007-01-26  Wim Taymans  <wim@fluendo.com>
10219
10220         * gst/gstcaps.c: (gst_static_caps_get):
10221         Init caps flags too.
10222
10223 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10224
10225         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10226
10227         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10228         If not using mmap'ed files try to seek to the end instead of the
10229         start to determine whether we can seek at all. This fixes the case
10230         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10231         seeks for everything afterwards fail. Fixes #400656
10232
10233 2007-01-25  Wim Taymans  <wim@fluendo.com>
10234
10235         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10236         Add some refcount debugging.
10237         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10238         in multiple streaming threads.
10239
10240 2007-01-25  Wim Taymans  <wim@fluendo.com>
10241
10242         Patch by: David Schleef <ds at schleef dot org>
10243
10244         * docs/libs/gstreamer-libs-sections.txt:
10245         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10246         * libs/gst/base/gstadapter.h:
10247         API: gst_adapter_copy() that can reduce the amount of memcpy when
10248         getting data from the adapter. Fixes #388201.
10249
10250 2007-01-25  Edward Hervey  <edward@fluendo.com>
10251
10252         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10253         In print statements, "%x" is for guint. Fixes build on macosx.
10254
10255 2007-01-24  Edward Hervey  <edward@fluendo.com>
10256
10257         * plugins/elements/gstmultiqueue.c:
10258         (gst_multi_queue_loop):
10259         Small fix.
10260         (single_queue_overrun_cb), (single_queue_underrun_cb),
10261         (single_queue_check_full), (gst_single_queue_new):
10262         Implement single queue growth system.
10263         This uses the extra-size properties, and will grow single queues by
10264         that much if one goes full whereas there are others empty. This is
10265         called extra-mode in the code.
10266         When a single queue's levels go back below the initial max-size
10267         limits, it is no longer in extra-mode. This is to ensure we don't
10268         consume too much memory.
10269         Fixes #399875
10270
10271 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10272
10273         * gst/gst.c: (gst_init_get_option_group):
10274           Make warning about late g_thread_init() calls a bit more explicit,
10275           so that it's more obvious to application developers what they need
10276           to do if a user files a bug against their application.
10277
10278 2007-01-22  Edward Hervey  <edward@fluendo.com>
10279
10280         * plugins/elements/gstmultiqueue.c:
10281         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10282         Remove previous hack of unsetting the flushing flag for the source pad
10283         instead of activating it. Instead, fix the source pad activate function
10284         so that it no longer depends on having a parent set or not.
10285
10286 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10287
10288         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10289
10290         * docs/manual/basics-bus.xml:
10291           Fix example code, gst_element_unref() doesn't exist any longer.
10292
10293 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10294
10295         Patch by: Mark Nauwelaerts <manauw at skynet be>
10296
10297         * gst/gstpad.c:
10298           Fix two docs typoes (#399094).
10299
10300 2007-01-19  Edward Hervey  <edward@fluendo.com>
10301
10302         * docs/faq/gst-uninstalled:
10303         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10304         depending on libgstbaseutils can work in uninstalled environment.
10305
10306 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10307
10308         * gst/gsttaglist.h:
10309         * gst/gsttagsetter.c:
10310         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10311         statement for new tag.
10312
10313 2007-01-17  Edward Hervey  <edward@fluendo.com>
10314
10315         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10316         When dynamically creating single queues, activate sinkpad before adding
10317         it.
10318         We should be doing the same thing for the source pad, but we can't
10319         since it would call a method which needs the parent to be set in order
10320         to work propertly. Instead of activating the source pad, we just unset
10321         the flushing flag, which is the minimal requirement for adding a pad
10322         to an element in a state greater than READY.
10323
10324 2007-01-17  Edward Hervey  <edward@fluendo.com>
10325
10326         * docs/faq/gst-uninstalled:
10327         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10328         Mac OS X.
10329
10330 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10331
10332         * tests/check/gst/gstabi.c:
10333         * tests/check/gst/struct_hppa.h:
10334         * tests/check/libs/libsabi.c:
10335         * tests/check/libs/struct_hppa.h:
10336           Add ABI structs for HPPA (see #393796).
10337
10338 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10339
10340         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10341           Actually write ABI structs to the file specified in the GST_ABI
10342           environment variable, as the message we print claims we would.
10343
10344 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10345
10346         * tests/check/gst/gsttask.c:
10347           Fix header comment.
10348
10349 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10350
10351         * gst/gsttaglist.c: (_gst_tag_initialize):
10352           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10353           previous two entries.
10354
10355 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10356
10357         * docs/gst/gstreamer-sections.txt:
10358         * gst/gsttaglist.c: (_gst_tag_initialize):
10359         * gst/gsttaglist.h:
10360           Add tag support for beat-per-minute.
10361
10362 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10363
10364         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10365         (gst_registry_binary_initialize_magic),
10366         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10367         (gst_registry_binary_save_pad_template),
10368         (gst_registry_binary_save_feature),
10369         (gst_registry_binary_save_plugin),
10370         (gst_registry_binary_write_cache),
10371         (gst_registry_binary_check_magic),
10372         (gst_registry_binary_load_pad_template),
10373         (gst_registry_binary_load_feature),
10374         (gst_registry_binary_load_plugin),
10375         (gst_registry_binary_read_cache):
10376         * gst/gstregistrybinary.h:
10377           Use glib types, cleanup comments, impement interfaces and uri-types.
10378
10379 2007-01-13  Andy Wingo  <wingo@pobox.com>
10380
10381         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10382         getrange() to return buffers with other caps, while we fix
10383         demuxers and typefind, or otherwise change part-negotiation.txt.
10384
10385 2007-01-12  Andy Wingo  <wingo@pobox.com>
10386
10387         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10388         Factor start/stop into this private function instead of partially
10389         in activate functions and partially in the change_state function.
10390         Fixes setup before the element has changed from READY->PAUSED, as
10391         is the case in pull-mode pipelines.
10392         (gst_base_transform_sink_activate_push)
10393         (gst_base_transform_src_activate_pull): Refactor to use
10394         gst_base_transform_activate().
10395         (gst_base_transform_change_state): Removed, not needed any more.
10396
10397         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10398         Truncate before fixating.
10399         
10400         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10401         Don't set_caps() if the result of fixating is ANY, as it's not
10402         supported, and not necessary in the case of a link with no
10403         template caps on either side. Fixes tests/check/libs/basesrc in
10404         some pull-mode tests.
10405
10406         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10407         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10408         (gst_base_transform_src_activate_pull): 
10409         Track the activation mode.
10410         (gst_base_transform_setcaps): In pull mode, when activating the
10411         src pad, after activating the sink pad, activate the sink pad's
10412         peer, as discussed in part-negotiation.txt.
10413
10414         * libs/gst/base/gstbasesrc.h: 
10415         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10416         vmethod, as in basesink.
10417
10418         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10419
10420         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10421         mode, first proxy the setcaps to the peer pad.
10422         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10423         new fixate vmethod.
10424         (gst_base_sink_default_activate_pull): Rename from
10425         gst_base_sink_activate_pull.
10426         (gst_base_sink_negotiate_pull): New function, performs negotiation
10427         in pull mode before calling ::activate_pull().
10428         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10429         vmethod instead of the default implementation. I have no idea how
10430         this worked before. Negotiate before calling activate_pull.
10431
10432         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10433         sink pads in pull mode. In addition to being correct, fixes
10434         filesrc ! decodebin ! identity ! fakesink.
10435         (gst_pad_get_range, gst_pad_pull_range): Don't call
10436         gst_pad_set_caps() if the caps changes; instead error out with
10437         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10438
10439 2007-01-12  Andy Wingo  <wingo@pobox.com>
10440
10441         * docs/design/part-negotiation.txt: Update with more policy.
10442
10443 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10444
10445         * libs/gst/check/gstbufferstraw.h:
10446         * libs/gst/check/gstcheck.h:
10447           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10448           belongs.
10449
10450 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10451
10452         * tests/check/Makefile.am:
10453         * tests/check/gst/.cvsignore:
10454         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10455         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10456         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10457         (GST_START_TEST), (gst_tag_setter_suite):
10458           Add minimal unit test for beforementioned GstTagSetter bug.
10459
10460 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10461
10462         Patch by: René Stadler <mail at renestadler dot de>
10463
10464         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10465           gst_tag_list_merge() returns a new list, so it's not the best idea
10466           to ingore its return value. Effectively meant that tags could only
10467           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10468           Also add function guard to require a non-NULL taglist as input (has
10469           always been so due to gst_tag_list_copy(), just making it explicit).
10470
10471 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10472
10473         * docs/random/draft-missing-plugins.txt:
10474           Some additions: mention new API that is supposed to be used at the
10475           various stages; short blob about new gst-inspect introspection
10476           option; mention potential future problem with plugins that have
10477           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10478
10479 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10480
10481         * tools/gst-inspect.c:
10482         (print_plugin_automatic_install_info_codecs),
10483         (print_plugin_automatic_install_info_protocols),
10484         (print_plugin_automatic_install_info), (main):
10485         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10486         introspect plugin files and get machine-parsable output that corresponds
10487         to the last bit of the missing-plugin installer string (small gotcha:
10488         doesn't take into account ranks).
10489
10490 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10491
10492         * configure.ac:
10493         * docs/gst/gstreamer-sections.txt:
10494         * gst/Makefile.am:
10495         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10496         (gst_registry_lookup_locked):
10497         * gst/gstregistry.h:
10498         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10499         (gst_registry_binary_initialize_magic),
10500         (gst_registry_binary_save_string),
10501         (gst_registry_binary_save_pad_template),
10502         (gst_registry_binary_save_feature),
10503         (gst_registry_binary_save_plugin),
10504         (gst_registry_binary_write_cache),
10505         (gst_registry_binary_check_magic),
10506         (gst_registry_binary_load_pad_template),
10507         (gst_registry_binary_load_feature),
10508         (gst_registry_binary_load_plugin),
10509         (gst_registry_binary_read_cache):
10510         * gst/gstregistrybinary.h:
10511         * gst/gstregistryxml.c: (load_feature),
10512         (gst_registry_xml_read_cache):
10513           commit binary registry (disabled by default, see #359653)
10514
10515 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10516
10517         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10518           Fix 'make check' too.
10519
10520 2007-01-10  Andy Wingo  <wingo@pobox.com>
10521
10522         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10523         notes.
10524         
10525         * docs/design/part-negotiation.txt: Update with, um, one way that
10526         pull-mode negotiation might work?
10527
10528         * gst/gstpad.h: 
10529         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10530         that the pad must be a src pad; makes sense to call it the other
10531         way in pull mode, and the logic is symmetric anyway.
10532
10533 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10534
10535         * plugins/elements/gstfilesink.c:
10536           Include <stdio.h> for fseeko().
10537
10538 2007-01-10  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstevent.c:
10541         * gst/gstevent.h:
10542         Reserve LATENCY event.
10543
10544 2007-01-09  Wim Taymans  <wim@fluendo.com>
10545
10546         * docs/design/draft-latency.txt:
10547         Updates.
10548
10549 2007-01-09  Wim Taymans  <wim@fluendo.com>
10550
10551         * docs/design/draft-latency.txt:
10552         Updates.
10553
10554         * gst/gstelement.h:
10555         * gst/gststructure.c:
10556         * gst/gsttrace.c:
10557         Small typo fixes.
10558
10559 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10560
10561         * tests/check/.cvsignore:
10562           Ignore test-registry.xml as well.
10563
10564 2007-01-09  Wim Taymans  <wim@fluendo.com>
10565
10566         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10567         unref data at the end when we are done with the pad.
10568
10569 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10570
10571         * docs/gst/gstreamer-sections.txt:
10572         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10573         (init_post), (gst_deinit), (gst_update_registry):
10574         * gst/gst.h:
10575           API: add gst_update_registry() (#391296).
10576
10577         * tests/check/Makefile.am:
10578         * tests/check/gst/gstregistry.c:
10579         * tests/check/gst/.cvsignore:
10580           Simple unit test for the above.
10581
10582 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10583
10584         * gst/gstregistry.c: (gst_registry_scan_path_level):
10585           Plugin extension on HP-UX is .sl, add that to the list of approved
10586           plugin extensions (see #393796).
10587
10588         * tests/check/gst/gstpad.c: (GST_START_TEST):
10589           ulong => gulong. Fixes compilation with HP-UX compiler.
10590
10591         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10592           Fix compilation if valgrind headers are not available.
10593
10594 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10595
10596         * win32/common/libgstreamer.def: 
10597           Add new exported function.
10598         * win32/vs6/libgstbase.dsp: 
10599           Add gstdataqueue.c to the build.
10600         * win32/vs6/libgstcoreelements.dsp:
10601           Add gstmultiqueue.c to the build.
10602         
10603 2007-01-06  Andy Wingo  <wingo@pobox.com>
10604
10605         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10606         activate_pull(), providing for a way to specialize the process of
10607         spawning a thread to pull on the sink pad. There is a default
10608         implementation.
10609
10610         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10611         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10612         (gst_base_sink_init): Renamed pad activation functions (inserting
10613         "_pad" in their names). Refactor to use the new activate_pull
10614         vmethod, as appropriate.
10615         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10616         default activate_pull function to start a task pulling from the
10617         sink pad, as before.
10618
10619         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10620         on the pads if necessary, as in push()/chain(). Update docs.
10621         Shouldn't affect existing pull() usage as it is currently only
10622         being used on buffers without caps.
10623
10624 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10625
10626         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10627         (init_pre):
10628           Call g_thread_init() first thing in gst_init() / gst_check_init().
10629           When initialisation is done via gst_init_get_option_group() and
10630           GOption parsing, issue a warning if the GLib thread system has not
10631           been initialised yet by the time gst_init_get_option_group() is
10632           called, as it's quite likely other GLib functions such as
10633           g_option_context_new() have been called already then, and
10634           g_thread_init() must be called before any other GLib function. The
10635           application in question must be fixed in that case, since memory
10636           corruption might happen otherwise.
10637           We issue the warning because even if the GLib folks decide to work
10638           around the problem on their end in future, this is still an issue
10639           with all GLib versions >= 2.10.0, so we should warn until we depend
10640           on a GLib version we know to be safe.
10641           Update documentation as well.
10642           Closes bug #391278.
10643
10644 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * tools/gst-inspect.c: (main):
10647         * tools/gst-launch.c: (main):
10648         * tools/gst-typefind.c: (main):
10649         * tools/gst-xmlinspect.c: (main):
10650           Call g_thread_init() really really early, before any other GLib
10651           function (see #342564 and recent discussion on gtk-devel-list).
10652
10653 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10654
10655         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10656
10657         * gst/gst_private.h:
10658         * gst/gstconfig.h.in:
10659         * gst/gstinfo.h:
10660           On win32, all the __declspec stuff for symbol exporting is
10661           apparently only needed with MSVC, but doesn't work with MingW.
10662           Fixes compilation with MingW and #391909.
10663
10664 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10667           Change some GST_ERROR_OBJECT that aren't really errors to
10668           GST_WARNING_OBJECT in order to reduce terminal spam.
10669
10670 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10671
10672         * tests/check/Makefile.am:
10673           disable test again, as there seem to be still race problems
10674
10675 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10676
10677         * tests/check/Makefile.am:
10678         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10679         (GST_START_TEST), (queue_suite):
10680           enable queue test again, add tests for the leaky behaviour
10681
10682 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10683
10684         * configure.ac:
10685         * tests/examples/Makefile.am:
10686           Compile adapter test/example only if the required headers are
10687           available (fixes #391915).
10688
10689 2007-01-01  David Schleef  <ds@schleef.org>
10690
10691         * gst/gstplugin.c:
10692           Restore the previous signal handler for SIGSEGV instead of
10693           setting to default, since we may have stolen it away from
10694           someone.  (i.e., Mono)
10695
10696 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10697
10698         * docs/random/draft-missing-plugins.txt:
10699           Some small additions and clarifications.
10700
10701 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10704           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10705           since that can lead to random memory corruptions and crashes
10706           (may or may not be related to #383244, #386711, and #386711).
10707
10708 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10709
10710         * tests/check/.cvsignore:
10711         * tests/check/Makefile.am:
10712           sync .cvsignome and CLEANFILES
10713
10714 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10715
10716         * tests/check/Makefile.am:
10717           fix distcheck
10718
10719 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10720
10721         * docs/design/part-states.txt:
10722           two tiny additional comments
10723         
10724         * gst/gststructure.c:
10725           doc fixing
10726
10727         * tests/check/Makefile.am:
10728         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10729         (GST_START_TEST):
10730           disable test for now, unless it gets fixed
10731
10732 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10735         (GST_START_TEST):
10736           fix race in underrun test
10737
10738 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10739
10740         * tests/check/elements/.cvsignore:
10741           ignore more
10742
10743         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10744         (GST_START_TEST):
10745           try to narrow test failure
10746
10747 2006-12-21  David Schleef  <ds@schleef.org>
10748
10749         * plugins/elements/gstfakesrc.c:
10750           Use g_random_int_range(), since it produces better random
10751           numbers in a range than almost-correct floating point code.
10752
10753 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10754
10755         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10756         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10757         (gst_check_teardown_sink_pad):
10758           do not automatically (de)activate pads
10759
10760         * tests/check/Makefile.am:
10761         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10762         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10763           add new, yet simple tests for queue
10764
10765         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10766         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10767         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10768         (GST_START_TEST):
10769         * tests/check/elements/identity.c: (cleanup_identity):
10770           consistent pad (de)activation
10771
10772 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10773
10774         Patch by: Sebastian Dröge  <slomo ubuntu com>
10775
10776         * libs/gst/base/gstcollectpads.c:
10777           Fix two doc typos (#387866).
10778
10779 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10780
10781         * docs/manual/advanced-dparams.xml:
10782           Fix typo (g_object_control_properties() doesn't exist).
10783
10784 2006-12-19  Edward Hervey  <edward@fluendo.com>
10785
10786         * gst/gstsegment.c: (gst_segment_set_seek):
10787         Fine tune the cases where the segment start/stop values are really
10788         updated.
10789         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10790         Add tests for the return values of gst_segment_set_seek().
10791
10792 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10793
10794         * gst/gst.c:
10795           Docs typo fix.
10796
10797         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10798         (gst_queue_init):
10799           Fix incorrect documentation and flesh it out a bit more.
10800           Set default values for the max properties on the GParamSpec as well,
10801           so it shows up correctly in gst-inspect.
10802
10803 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10804
10805         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10806           Correct docs of queue, add more detail and crosslink it more.
10807
10808 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10811           Print additional debug info when the stream isn't perfectly
10812           timestamped; don't try to use invalid durations.
10813
10814 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10815
10816         * docs/design/Makefile.am:
10817           Dist new design docs.
10818
10819 2006-12-16  Wim Taymans  <wim@fluendo.com>
10820
10821         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10822
10823         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10824         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10825         (gst_collect_pads_stop), (gst_collect_pads_event),
10826         (gst_collect_pads_chain):
10827         * libs/gst/base/gstcollectpads.h:
10828         Add refcounting to the collectpads data so we can track when it's safe
10829         to free the data. Fixes #383382.
10830
10831 2006-12-15  Wim Taymans  <wim@fluendo.com>
10832
10833         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10834         (gst_collect_pads_remove_pad):
10835         Automatically activate/deactivate pads when they are added to a
10836         started/stoped collectpads.
10837
10838 2006-12-15  Wim Taymans  <wim@fluendo.com>
10839
10840         * gst/gstelement.c: (gst_element_add_pad):
10841         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10842         * gst/gstpad.c: (gst_pad_init):
10843         Set pads to FLUSHING when they are created. Check, warn and fix when a
10844         demuxer adds an inactive pad to itself when running. Fixes #339326.
10845
10846 2006-12-15  Wim Taymans  <wim@fluendo.com>
10847
10848         * gst/gstelement.c: (gst_element_class_init),
10849         (gst_element_default_send_event), (gst_element_send_event),
10850         (gst_element_default_query), (gst_element_query):
10851         Expose default element send_event and query handling as vmethods that
10852         subclasses can chain up to.
10853
10854 2006-12-15  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/gstelement.c: (gst_element_set_state_func):
10857         Small documentation fixes.
10858
10859 2006-12-15  Wim Taymans  <wim@fluendo.com>
10860
10861         * docs/design/draft-latency.txt:
10862         Checked in draft for handling latency in pipelines.
10863
10864 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10865
10866         * Makefile.am:
10867         * gstreamer.doap:
10868         * gstreamer.spec.in:
10869           adding .doap file
10870
10871 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * gst/gst.c: (init_pre), (init_post):
10874           init_pre() and init_post() might be called via our GOptionGroup or
10875           from gst_init(), and we should skip both of them if we've already
10876           been initialised, otherwise we will init some things twice or add
10877           two default log functions.
10878
10879 2006-12-13  Edward Hervey  <edward@fluendo.com>
10880
10881         * docs/manual/basics-bus.xml:
10882         No, gst_main_loop does not exist. Its g_main_loop.
10883         Discovered by somebody who abused the copy-paste technique of coding :)
10884
10885 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * gst/gstghostpad.c:
10888           Log ghostpad debug stuff to the GST_PADS category as well rather
10889           than just to the default category.
10890
10891 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10892
10893         * configure.ac:
10894         * gst/gst.c: (init_pre):
10895           Add some basic system details such as OS and architecture
10896           to the debug output if possible, courtesy of uname().
10897
10898 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10899
10900         * docs/gst/running.xml:
10901           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10902           environment variables.
10903
10904 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10905
10906         * tests/check/gst/gstbin.c: (GST_START_TEST):
10907         It is acceptable to have a refcount of 2 or 3 at this point in the
10908         test, because the pipeline might be just posting its state_change
10909         message. The next line then waits for that message to appear using
10910         bus_poll, so that should be fine too.
10911
10912 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10913
10914         * gst/gst.c: (ensure_current_registry_forking):
10915         Ignore EINTR when reading from the child registry pipe.
10916         Explicitly ignore the return value from close, since it makes no
10917         difference.
10918
10919         * gst/gstminiobject.c: (gst_mini_object_ref),
10920         (gst_mini_object_unref):
10921         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10922
10923         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10924         When removing cached plugins, remove their features too, so they're
10925         not visible after they've disappeared.
10926
10927         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10928         In the unlikely case that we are linking pads with no parents, don't
10929         crash trying to get the non-existent parent bin.
10930
10931         * gst/parse/grammar.y:
10932         Output debug in the PIPELINE category
10933
10934 2005-03-08  Wim Taymans  <wim@fluendo.com>
10935
10936         Patch by: René Stadler <mail at renestadler dot de>
10937
10938         * gst/gstclock.c: (gst_clock_new_periodic_id):
10939         Reject invalid clock times for interval of periodic ids.
10940         Fixes ##383506.
10941
10942 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10943
10944         * gst/gstelementfactory.c: (gst_element_factory_create):
10945         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10946         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10947         * tools/gst-inspect.c: (print_element_info):
10948         Fix refcounting of gst_plugin_feature_load to match the docs. 
10949         Fixes: #380129
10950
10951 2006-12-07  Wim Taymans  <wim@fluendo.com>
10952
10953         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10954         (gst_base_sink_get_position):
10955         Improve debugging of events.
10956
10957 2006-12-07  Wim Taymans  <wim@fluendo.com>
10958
10959         Patch by: René Stadler <mail at renestadler dot de>
10960
10961         * gst/gstclock.c: (gst_clock_id_wait):
10962         Make period ids add the interval to the origial requested time instead
10963         of the possibly updated time which can be wrong when there are multiple
10964         waiters for the same id. Fixes #382592.
10965
10966         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10967         (gst_system_clock_id_wait_jitter_unlocked),
10968         (gst_system_clock_id_wait_jitter):
10969         Fix restart in the async notify thread when an async entry is added to
10970         the front of the list. Fixes #381492. 
10971
10972         * tests/check/gst/gstsystemclock.c: (store_callback),
10973         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10974         Added test for multiple async waits.
10975         Added test for async wait order.
10976
10977 2006-12-07  Wim Taymans  <wim@fluendo.com>
10978
10979         * gst/gstbin.c: (gst_bin_query):
10980         Add some more docs about the POSITION query.
10981
10982 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10983
10984         * configure.ac:
10985         Bump version nano - back to CVS.
10986
10987 === release 0.10.11 ===
10988
10989 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10990
10991         * configure.ac:
10992           releasing 0.10.11, "Love never runs on time"
10993
10994 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10995
10996         * win32/common/libgstbase.def:
10997         * win32/common/libgstreamer.def:
10998         * win32/vs8/libgstbase.vcproj:
10999         * win32/vs8/libgstcoreelements.vcproj:
11000         * win32/vs8/libgstreamer.vcproj:
11001         Fix compilation on win32 under VS8
11002         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11003         Partially fixes #381175
11004
11005 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11006
11007         * gst/gstvalue.c: (gst_value_compare_fraction):
11008         If someone is foolish enough to compare 2 fractions with denominator =
11009         0, return UNORDERED rather than aborting.
11010
11011 2006-11-28  Edward Hervey  <edward@fluendo.com>
11012
11013         * libs/gst/base/Makefile.am:
11014         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11015         (gst_data_queue_base_init), (gst_data_queue_class_init),
11016         (gst_data_queue_init), (gst_data_queue_new),
11017         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11018         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11019         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11020         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11021         (gst_data_queue_set_flushing), (gst_data_queue_push),
11022         (gst_data_queue_pop), (gst_data_queue_drop_head),
11023         (gst_data_queue_set_property), (gst_data_queue_get_property):
11024         * libs/gst/base/gstdataqueue.h:
11025         New GstDataQueue object for threadsafe queueing. Most useful for
11026         elements that need some queueing functionnality.
11027         * docs/libs/gstreamer-libs-docs.sgml:
11028         * docs/libs/gstreamer-libs-sections.txt:
11029         Insert documentation for GstDataQueue
11030         * plugins/elements/Makefile.am:
11031         * plugins/elements/gstelements.c:
11032         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11033         (gst_multi_queue_class_init), (gst_multi_queue_init),
11034         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11035         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11036         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11037         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11038         (gst_multi_queue_loop), (gst_multi_queue_chain),
11039         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11040         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11041         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11042         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11043         (wake_up_next_non_linked), (compute_next_non_linked),
11044         (single_queue_overrun_cb), (single_queue_underrun_cb),
11045         (single_queue_check_full), (gst_single_queue_new):
11046         * plugins/elements/gstmultiqueue.h:
11047         New multiqueue element, using GstDataQueue. Used for queuing multiple
11048         streams.
11049         Closes #344639 and #347785
11050
11051 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11052
11053         * docs/pwg/advanced-types.xml:
11054           add more missing type details
11055
11056         * tools/gst-run.c: (main):
11057           remove unused variable
11058
11059 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11060
11061         * docs/libs/Makefile.am:
11062         * docs/libs/gstreamer-libs.types:
11063           add types of base classes to enable gobject specific stuff in the docs
11064
11065         * docs/random/ensonic/embedded.txt:
11066           more ideas about isolating platform specific things
11067
11068 2006-11-20  Wim Taymans  <wim@fluendo.com>
11069
11070         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11071
11072         * libs/gst/check/gstcheck.h:
11073         Fix compilation and running against 0.9.4. Fixes #377332.
11074
11075 2006-11-20  Wim Taymans  <wim@fluendo.com>
11076
11077         * gst/gstsegment.c: (gst_segment_set_seek),
11078         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11079         (gst_segment_to_running_time):
11080         Fix boundary checking in to_running_time() and to_stream_time().
11081         Fixes #377183.
11082
11083         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11084         stream and running time can now be calculated for the complete
11085         clipped segment.
11086
11087 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11088
11089         * gst/gstpad.c: (gst_pad_push_event):
11090           Can't access event structure after giving away ownership of
11091           the event.
11092
11093 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11094
11095         * docs/random/ensonic/embedded.txt:
11096         * docs/random/ensonic/profiling.txt:
11097         * docs/random/ensonic/receipies.txt:
11098           more thinking
11099
11100 2006-11-13  Wim Taymans  <wim@fluendo.com>
11101
11102         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11103
11104         * gst/gstpad.c:
11105         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11106
11107 2006-11-13  Wim Taymans  <wim@fluendo.com>
11108
11109         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11110
11111         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11112         Store new length in segment duration so we don't keep on calling the
11113         potentially expensize get_size() call. Fixes #370865.
11114
11115 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11118
11119         * win32/common/libgstreamer.def:
11120           Add two missing symbols (#366492).
11121
11122 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11123
11124         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11125         (gst_adapter_take_buffer):
11126         Fix format string to use all its arguments.
11127         Remove useless >= check on a guint
11128
11129 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11130
11131         * tests/examples/adapter/.cvsignore:
11132         Ignore build file as commanded by the build-bot
11133
11134 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11135
11136         * tests/examples/adapter/Makefile.am:
11137         * tests/examples/adapter/adapter_test.c: (run_test_take),
11138         (run_test_take_buffer), (run_tests), (main):
11139
11140         Add new files from the previous commit
11141
11142 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11143
11144         * Makefile.am:
11145         * configure.ac:
11146         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11147         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11148         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11149         * libs/gst/base/gstadapter.h:
11150         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11151         (GST_START_TEST), (gst_adapter_suite):
11152         * tests/examples/Makefile.am:
11153         Do some optimisation work in GstAdapter to avoid copies in more cases.
11154         It could still do slightly better by merging buffers when
11155         gst_buffer_is_span_fast is true, but is already faster. 
11156
11157         Also, avoid traversing a single-linked list to append each incoming 
11158         buffer inside the adapter.
11159
11160         Add simple test app that times the adapter behaviour in different
11161         situations, and extend the unit test to check that bytes enter and
11162         exit the adapter in their original order.
11163
11164 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11165
11166         * docs/random/draft-missing-plugins.txt:
11167           Update: use element message instead of adding a new message
11168           type to the core; don't provide GStreamer API to initiate the
11169           plugin download, just provide API to compose the strings needed
11170           and let an external libgimmestuff handle the rest.
11171
11172 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11173
11174         * tools/gst-inspect.c: (print_element_properties_info):
11175         Print a string instead of 'unknown type' for GValueArray properties
11176
11177 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11178
11179         * docs/random/draft-missing-plugins.txt:
11180         More small fixes.
11181
11182 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11183
11184         * tests/examples/typefind/typefind.c: (type_found), (main):
11185           Make typefind element example work again (#371894); add a
11186           license header.
11187
11188 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * docs/random/draft-missing-plugins.txt:
11191           Commit initial draft about how to deal with missing plugins,
11192           needs work (API too).
11193
11194 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11195
11196         * docs/pwg/advanced-types.xml:
11197           documents the new caps elements (see #363118)
11198
11199 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11200
11201         * gst/gstplugin.c: (gst_plugin_load_file):
11202         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11203         (gst_file_src_map_region), (gst_file_src_start):
11204         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11205         (gst_file_index_commit):
11206           Use g_strerror() instead of strerror() - we want UTF-8.
11207
11208 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11209
11210         Patch by: Peter Kjellerstedt <pkj at axis com>
11211
11212         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11213           Another printf fix (#371493).
11214
11215 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11216
11217         * tests/check/gst/gsttag.c:
11218           relicence (okay with author=company)
11219
11220 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11221
11222         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11223         (gst_pad_push_event):
11224           Enhance debug and improve docs
11225         
11226         * gst/gsturi.c:
11227           Fix docs
11228
11229 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * docs/random/ensonic/distributed.txt:
11232         * docs/random/ensonic/profiling.txt:
11233           more ideas
11234
11235 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11236
11237         * docs/gst/gstreamer-sections.txt:
11238           add new API and fix the build
11239           
11240         * gst/gstbin.c: (gst_bin_recalc_state):
11241         * gst/gstelement.c: (gst_element_message_full),
11242         (gst_element_get_state_func), (gst_element_set_state_func):
11243           use new API and improve logging
11244         
11245         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11246         * gst/gstutils.h:
11247           API: add function to get StateChangereturn names to improve logs 
11248
11249 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11250
11251         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11252           I'm considering shooting the next person to put strerror stuff
11253           in the translateable part of the message.
11254
11255 2006-11-03  Wim Taymans  <wim@fluendo.com>
11256
11257         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11258         Get the type and printf conversion specifiers right.
11259
11260 2006-11-03  Wim Taymans  <wim@fluendo.com>
11261
11262         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11263
11264         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11265         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11266         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11267         Some small cleanups. Improve debugging.
11268         * gst/gstpad.h:
11269         Signal all waiting threads with a broadcast instead of just one.
11270         Fixes #369942.
11271
11272 2006-11-03  Wim Taymans  <wim@fluendo.com>
11273
11274         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11275         (gst_fd_src_create):
11276         Add some debugging. 
11277         Only update fd when it's different from the old.
11278
11279 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11282           Printf fixes for PPC/OSX, take two (#369366).
11283
11284 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11285
11286         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11287
11288         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11289         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11290         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11291           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11292           don't cast to long long for portability reasons, but use
11293           GLib's types instead.
11294
11295 2006-10-30  Michael Smith  <msmith@fluendo.com>
11296
11297         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11298           Get the arguments to lseek() the right way around.
11299           Fixes 367677.
11300
11301 2006-10-30  Wim Taymans  <wim@fluendo.com>
11302
11303         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11304
11305         * gst/gstinfo.h:
11306         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11307
11308 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11309
11310         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11311
11312         * docs/design/part-MT-refcounting.txt:
11313         * docs/random/wtay/capsnego2-docs:
11314         * gst/gstclock.c:
11315         * gst/gstxml.c:
11316           Typo fixes (#366212).
11317
11318 2006-10-28  Wim Taymans  <wim@fluendo.com>
11319
11320         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11321
11322         * gst/gst.c:
11323         * win32/common/libgstbase.def:
11324         * win32/common/libgstreamer.def:
11325         * win32/vs8/libgstbase.vcproj:
11326         * win32/vs8/libgstcontroller.vcproj:
11327         Add needed entries in .def files.
11328         Use HAVE_UNISTD_H.
11329         Rearrange def files in vs8 solutions. Fixes #366286.
11330
11331 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11332
11333         * win32/common/gstconfig.h:
11334           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11335           hand-made win32 gstconfig.h. Fixes #366321.
11336
11337 2006-10-27  Wim Taymans  <wim@fluendo.com>
11338
11339         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11340         (gst_ghost_pad_new_full):
11341         Make acceptcaps return TRUE when we don't have a target, just like
11342         setcaps does.
11343
11344 2006-10-27  Wim Taymans  <wim@fluendo.com>
11345
11346         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11347         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11348
11349 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11350
11351         * gst/gststructure.c: (gst_structure_id_set_value):
11352           If someone tries to set a non-UTF8 string field on a structure,
11353           don't just print a warning, but also ignore the request and do
11354           not change/add that field to the structure.
11355
11356         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11357           Test for the above.
11358
11359 2006-10-25  David Schleef  <ds@schleef.org>
11360
11361         * gst/gstinfo.c:
11362           g_hash_table_insert() needs a cast to a non-const pointer duh.
11363
11364 2006-10-25  David Schleef  <ds@schleef.org>
11365
11366         * gst/gstinfo.c:
11367         * gst/gstinfo.h:
11368           Change name parameter of _gst_debug_register_funcptr to const
11369           to reflect the constness of its use in the function as well
11370           as to quiet a gcc warning.
11371
11372 2006-10-25  Edward Hervey  <edward@fluendo.com>
11373
11374         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11375         Don't push the buffer if it's empty.
11376         Closes #363095
11377
11378 2006-10-24  Wim Taymans  <wim@fluendo.com>
11379
11380         * gst/gstevent.h:
11381         Add small comment.
11382
11383         * libs/gst/base/gstbasetransform.c:
11384         (gst_base_transform_sink_eventfunc):
11385         Debug segment values *after* updating them as this is more
11386         interesting.
11387
11388 2006-10-23  Wim Taymans  <wim@fluendo.com>
11389
11390         * docs/design/part-events.txt:
11391         Update some docs.
11392
11393         * docs/design/part-block.txt:
11394         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11395         (gst_pad_push_event):
11396         Revert BLOCKING patch, it tries to be smart without really having a
11397         clear idea what or how. So, now we discard all FLUSHING events again on
11398         a blocking pad. Should fix gnonlin again.
11399
11400 2006-10-23  Wim Taymans  <wim@fluendo.com>
11401
11402         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11403
11404         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11405         (gst_base_src_start), (gst_base_src_activate_push):
11406         Make sure size is always initialized. Fixes #364388.
11407
11408 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11409
11410         * docs/random/ensonic/distributed.txt:
11411           add some ideas about doing distributed processing
11412
11413         * docs/random/ensonic/profiling.txt:
11414           get_rusage look promising
11415
11416 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11417
11418         * docs/manual/basics-helloworld.xml:
11419           Add a cast in example to fix compile warning
11420
11421 2006-10-18  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/gstsegment.c: (gst_segment_set_last_stop),
11424         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11425         Relax arg checking again, -1 is allowed.
11426
11427 2006-10-18  Wim Taymans  <wim@fluendo.com>
11428
11429         * gst/gstsegment.c: (gst_segment_set_last_stop),
11430         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11431         _set_last_stop() must be with a value != -1
11432         A _TYPE_SET to -1 means seek to 0.
11433         Calc last_stop correctly for negative rates.
11434         Make sure we work with positive durations when updating a segment.
11435
11436 2006-10-18  Wim Taymans  <wim@fluendo.com>
11437
11438         * docs/design/part-live-source.txt:
11439         * gst/gstclock.h:
11440         Small docs fixes.
11441
11442 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11443
11444         * gst/gstbuffer.h:
11445           Add an explicit cast to GstBuffer** to keep old code that added an
11446           explicit cast to GstMiniObject** for gst_mini_object_replace()
11447           compiling without warning.
11448
11449 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11450
11451         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11452           check for validity of dates
11453
11454 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * docs/gst/gstreamer-sections.txt:
11457           Forgot this one, makes gtk-doc shut up.
11458
11459 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11460
11461         Patch by: Peter Kjellerstedt <pkj at axis com>
11462
11463         * gst/gstobject.h:
11464           Don't define xmlNodePtr to gpointer if the core was built with
11465           --disable-loadsave and --disable-registry, this will break
11466           applications that want to use libxml2 but are buildling against a
11467           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11468           instead so we don't have to mess with the libxml2 namespace
11469           (#361675).
11470
11471 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11472
11473         * gst/gstbuffer.h:
11474           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11475           type-punned pointer warnings.
11476
11477 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11478
11479         * gst/gstelement.h:
11480           Add casts to the correct return type to state <=> state transition
11481           macros.
11482
11483 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11484
11485         * docs/design/part-live-source.txt:
11486           describe howto handle latency
11487         
11488         * docs/random/ensonic/profiling.txt:
11489           more ideas
11490
11491         * tools/gst-plot-timeline.py:
11492           fix log parsing for solaris, remove unused function
11493
11494 2006-10-16  Wim Taymans  <wim@fluendo.com>
11495
11496         * docs/design/part-trickmodes.txt:
11497         * gst/gstevent.c:
11498         Update some docs regarding reverse playback.
11499
11500 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11501
11502         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11503
11504         * win32/vs8/grammar.vcproj:
11505           Error out with a warning if glib-genmarshal.exe is not in path,
11506           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11507
11508 2006-10-13  Wim Taymans  <wim@fluendo.com>
11509
11510         * gst/gstsegment.c: (gst_segment_set_seek):
11511         When seeking to stop -1, set last_stop (current position) to the
11512         duration of the segment.
11513
11514 2006-10-13  Wim Taymans  <wim@fluendo.com>
11515
11516         * gst/gstelement.h:
11517         Clarify _NO_PREROLL a bit more.
11518
11519         * gst/gstevent.c:
11520         Fix docs.
11521
11522         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11523         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11524         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11525         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11526         due to wrong locking order. Fixes #361769.
11527         Remove some redundant/misplaced checks in pad_block.
11528
11529         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11530         For negative rates, count backwards from the duration.
11531
11532 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11533
11534         * gst/gsterror.c: (_gst_library_errors_init):
11535           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11536           up with something better).
11537
11538 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11539
11540         * win32/vs6/libgstreamer.dsp:
11541         * win32/vs7/libgstreamer.vcproj:
11542         * win32/vs8/libgstreamer.vcproj:
11543           Don't reference glib-compat.c which is currently not used and not
11544           disted; add gstquark.c which was recently added. Fixes #361730.
11545
11546 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11547
11548         * win32/common/libgstbase.def:
11549         * win32/common/libgstcontroller.def:
11550         * win32/common/libgstreamer.def:
11551           Add gst_caps_merge() and a bunch of other recently-added functions.
11552           Fixes #361732.
11553
11554 2006-10-11  Wim Taymans  <wim@fluendo.com>
11555
11556         * docs/plugins/gstreamer-plugins.args:
11557         * docs/plugins/inspect/plugin-coreelements.xml:
11558         * docs/plugins/inspect/plugin-coreindexers.xml:
11559         Update element args.
11560
11561         * gst/gstsystemclock.c:
11562         Small comment update.
11563
11564         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11565         (gst_tee_request_new_pad), (gst_tee_release_pad),
11566         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11567         (gst_tee_sink_activate_pull):
11568         * plugins/elements/gsttee.h:
11569         Some tee loving:
11570         Add default property defines.
11571         Implement release pad function.
11572         Give properties better blubs etc.
11573         Activate pads before adding them to a running tee.
11574         Do simple buffer_alloc on the first requested pad.
11575         Post error when activation fails.
11576
11577 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11578
11579         * gst/gst.c: (ensure_current_registry_forking):
11580           Check return value of write() to make compiler happy.
11581
11582 2006-10-11  Wim Taymans  <wim@fluendo.com>
11583
11584         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11585
11586         * plugins/elements/gstqueue.c: (gst_queue_chain):
11587         Recheck queue filledness after signalling the overrun when we're about
11588         to leak downstream because we released the lock when emitting the signal
11589         and the queue could be empty again. Fixes #352345.
11590
11591 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11592
11593         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11594           Fix refcounting here too, just like we did for _new_valist() a few
11595           days ago (#357180) (thanks to René Stadler). Also remove all those
11596           'Since: 0.9' from the gtk-doc blobs.
11597
11598         * tests/check/libs/controller.c: (controller_refcount_new_list),
11599         (gst_controller_suite):
11600           Unit test for the above.
11601
11602 2006-10-10  Wim Taymans  <wim@fluendo.com>
11603
11604         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11605
11606         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11607         (gst_pad_save_thyself):
11608         Update some docs.
11609         Write pad direction in XML output. Fixes #345496.
11610
11611 2006-10-10  Wim Taymans  <wim@fluendo.com>
11612
11613         Patch by: René Stadler <mail at renestadler dot de>
11614
11615         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11616         (gst_controller_new_list), (_gst_controller_dispose),
11617         (_gst_controller_finalize), (_gst_controller_class_init):
11618         Take ref to controlled object so that it cannot disappear. 
11619         Fixes #357432.
11620
11621 2006-10-10  Wim Taymans  <wim@fluendo.com>
11622
11623         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11624         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11625         (gst_check_teardown_sink_pad):
11626         Activate/deactivate pads in setup/teardown respectively.
11627
11628 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11629
11630         Patch by: Josep Torra Valles <josep@fluendo.com>
11631
11632         * gst/Makefile.am:
11633         Cast values when making gstenumtypes.h.  This pacifies Forte
11634         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11635         in the enumeration.
11636
11637 2006-10-09  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11640         Rename some more @cur to @start to fix docs. 
11641
11642         * gst/gstsegment.c: (gst_segment_set_seek):
11643         Fix typo.
11644         time and start must always stay in sync as defined in design doc.
11645
11646         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11647         Rename param to fix docs.
11648
11649         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11650         Check that start and time are in sync.
11651
11652         * tests/check/pipelines/parse-launch.c:
11653         (gst_parse_test_element_change_state):
11654         Activate pad before adding to the element.
11655
11656 2006-10-09  Wim Taymans  <wim@fluendo.com>
11657
11658         * docs/design/part-qos.txt:
11659         Fix typo.
11660
11661         * gst/gstevent.c:
11662         * gst/gstevent.h:
11663         Update seek event docs regarding negative rates.
11664         Rename @cur to @start. 
11665
11666         * gst/gstsegment.c: (gst_segment_set_seek):
11667         * gst/gstsegment.h:
11668         Update set_seek docs regarding negative rates.
11669         Correctly update last_stop to @stop when dealing with negative
11670         rates.
11671         Rename @cur to @start. 
11672
11673         * tests/check/gst/gstpad.c: (GST_START_TEST):
11674         Activate pads before trying to use them.
11675
11676         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11677         (gst_segment_suite):
11678         Add simple check for segments and negative rates.
11679
11680 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11681
11682         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11683         * gst/gsttaglist.h:
11684         * docs/gst/gstreamer-sections.txt:
11685           API: add gst_tag_list_is_empty() (#360467).
11686
11687         * tests/check/gst/gsttag.c: (GST_START_TEST):
11688           And a test case.
11689
11690 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11691
11692         * gst/gstmessage.h:
11693         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11694         a value that doesn't fit on enumeration.
11695
11696 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11697
11698         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11699         Remove local debugging system and use Gstreamer's instead.
11700
11701 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11702
11703         Patch by: Josep Torra Valles <josep@fluendo.com>
11704
11705         * common/m4/gst-error.m4:
11706         Disable warning of statement not reached on Forte.
11707         * gst/gstmessage.h:
11708         Fix warning on Forte (value doesn't fit on enumeration).
11709         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11710         Fix warning on Forte (value doesn't fit on enumeration).
11711         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11712         DEBUG macro says it takes minimum of 2 args and so Forte
11713         complains about the use with just 1 arg.
11714         * plugins/elements/gstfdsink.c:
11715         * plugins/elements/gstfdsrc.c:
11716         * plugins/elements/gstfilesink.c:
11717         * plugins/elements/gstfilesrc.c:
11718         Use correct return type for the uri handler implementations.
11719
11720         All these fix warnings in Forte.  Fixes bug #360860.
11721
11722 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * gst/gstelement.h:
11725           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11726           format string, so don't use G_GNUC_PRINTF for those versions.
11727
11728 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11729
11730         * gst/gsttaglist.c: (gst_is_tag_list):
11731         * gst/gsttaglist.h:
11732           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11733
11734         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11735           Small test for the above.
11736
11737 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11738
11739         * gst/gsttaglist.h:
11740           Less tabs, more spaces.
11741
11742 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11743
11744         * gst/gstinfo.h:
11745           Those two function declarations do actually belong there, revert
11746           commit from yesterday that turned them intro macros.
11747
11748 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11749
11750         Patch by: Josep Torra Valles <josep@fluendo.com>
11751
11752         * gst/gst.c: (gst_init_get_option_group):
11753         Fix empty declaration and type mismatch.
11754         * gst/gstbin.c: (gst_bin_change_state_func):
11755         Fix type mismatch.
11756         * gst/gstelement.c: (gst_element_continue_state),
11757         (gst_element_set_state_func), (gst_element_change_state),
11758         (gst_element_change_state_func):
11759         Fix type mismatches.
11760         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11761         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11762         Cast as appropriate.
11763         * gst/gstobject.c: (gst_class_signal_connect):
11764         Cast as appropriate.  The function pointer parameter really
11765         has the wrong type but would break API if we change it.
11766         * gst/gstquery.c:
11767         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11768         order of including string.h.
11769         * gst/gstutils.c: (gst_element_state_get_name):
11770         Remove unreachable line.
11771         * gst/gstxml.c: (gst_xml_parse_doc):
11772         Fix type mismatch.
11773         All these caught by Forte.
11774
11775 2006-10-06  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         Fixed bug #360151.
11781         We need to disable warnings on Forte for empty declarations
11782         due to gst-indent adding ;s to lines that just use macros
11783         where the macro actually doesn't need a ; at end to end
11784         statement.
11785
11786 2006-10-06  Wim Taymans  <wim@fluendo.com>
11787
11788         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11789         (gst_file_sink_close_file), (gst_file_sink_event),
11790         (gst_file_sink_render):
11791         Add some FIXME for the NEWSEGMENT handling.
11792
11793 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11794
11795         * gst/parse/grammar.y:
11796         Remove static function gst_parse_element_lock as all it does
11797         is return.  Looks like cruft from 0.8.
11798
11799 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11800
11801         Patch by: Josep Torra Valles <josep@fluendo.com>
11802
11803         * common/m4/gst-error.m4:
11804         * configure.ac:
11805         * libs/gst/net/Makefile.am:
11806         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11807         libresolv.
11808
11809 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11810
11811         * gst/gstpad.c: (pre_activate):
11812         * gst/gstregistry.c: (gst_registry_scan_path_level):
11813         * gst/gstregistryxml.c: (load_plugin):
11814         * libs/gst/controller/gstcontroller.c:
11815         (gst_controlled_property_set_interpolation_mode):
11816         * libs/gst/dataprotocol/dataprotocol.c:
11817         (gst_dp_packet_from_event_1_0):
11818         * libs/gst/net/gstnetclientclock.c:
11819         (gst_net_client_clock_observe_times):
11820         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11821           Printf fixes.
11822
11823 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11824
11825         * configure.ac:
11826         * docs/gst/gstreamer-sections.txt:
11827         * gst/gstconfig.h.in:
11828         * gst/gstelement.h:
11829         * gst/gstinfo.h:
11830           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11831           whether we can use G_GNUC_PRINTF in other header files and at
11832           least check the printf format/arguments of debug messages and
11833           GST_ELEMENT_ERROR messages when the printf extension is not
11834           being used.
11835           Replace more tabs with spaces in gstinfo.h and remove two spurious
11836           function declarations in GST_DISABLE_DEBUG part with macros.
11837
11838 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11839
11840         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11841           More docs for the sync-message signal (mention that it is not
11842           emitted by default); log message structures of messages posted on
11843           the bus as well.
11844
11845 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11846
11847         * gst/gst.c: (ensure_current_registry_forking):
11848         Use a pipe pair to receive status results from the forked child, and
11849         ignore the result from waitpid. Fixes #355499
11850
11851 2006-10-02  Wim Taymans  <wim@fluendo.com>
11852
11853         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11854         (gst_ghost_pad_suite):
11855         Fix leak in check.
11856
11857 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11858
11859         * gst/gstpad.c:
11860           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11861
11862 2006-10-02  Edward Hervey  <edward@fluendo.com>
11863
11864         * docs/design/part-block.txt:
11865         Further explain the use of flushing on blocked pads.
11866         * docs/gst/gstreamer-sections.txt:
11867         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11868         (gst_pad_push_event):
11869         * gst/gstpad.h:
11870         Added new GstPadFlag : GST_PAD_BLOCKING.
11871         Adds the notion of pads really blocking, which enables to properly
11872         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11873         Fixes #358999
11874         API: gst_pad_is_blocking()
11875         API: GST_PAD_IS_BLOCKING() macro
11876         API: GST_PAD_BLOCKING GstPadFlag
11877         
11878 2006-10-02  Wim Taymans  <wim@fluendo.com>
11879
11880         Patch by: mrcgran <mrc.gran at gmail dot com>
11881
11882         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11883         Filter the proxied caps against the padtemplate if we have one.
11884
11885         * gst/gstquery.c: (gst_query_new_segment):
11886         Add include for gstinfo.h so that compilation with
11887         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11888
11889 2006-10-02  Wim Taymans  <wim@fluendo.com>
11890
11891         Patch by: Alessandro Decina  <alessandro at nnva org>
11892
11893         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11894         (gst_file_sink_set_location), (gst_file_sink_open_file),
11895         (gst_file_sink_close_file), (gst_file_sink_event),
11896         (gst_file_sink_render):
11897         Set file to NULL when closing filesink so that we can set a new filename
11898         in READY. Fixes #358613.
11899
11900 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11901
11902         Patch by: Alessandro Decina  <alessandro at nnva org>
11903
11904         * gst/gstevent.c: (_gst_event_copy):
11905           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11906           with event structures by setting the parent refcount address of the
11907           copied structure to the address of the refcount member of the newly
11908           copied event rather than the address of the refcount member of the
11909           original event. Fixes #358737.
11910
11911         * tests/check/gst/gstevent.c: (GST_START_TEST):
11912           Unit test for the above.
11913
11914 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11915
11916         * docs/design/Makefile.am:
11917           Dist some more files.
11918
11919 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11920
11921         * tests/check/libs/controller.c: (GST_START_TEST),
11922         (gst_controller_suite):
11923           Add test for the previous fix; add some more tests
11924           for correct refcounting behaviour; fix a few leaks
11925           in test cases; call gst_controller_init() at start
11926           of all tests.
11927
11928 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11931         (gst_controller_set_from_list):
11932           Don't g_return_val_if_fail() on timed values with invalid timestamps
11933           inside a critical section without unlocking the mutex. Spotted by
11934           René Stadler. (#357617)
11935           Also, fix up refcounting properly: when returning an existing
11936           controller, we should increase the reference only once and not
11937           once per property and when trying to control a property again
11938           we should also increase the refcount.
11939
11940 2006-09-29  Wim Taymans  <wim@fluendo.com>
11941
11942         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11943         * libs/gst/net/gstnettimeprovider.c:
11944         (gst_net_time_provider_thread):
11945         Stop reading commands when EOF as well.
11946
11947         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11948         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11949         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11950         Unify description of the dump property.
11951
11952 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11953
11954         * tests/examples/manual/.cvsignore:
11955         OK, so it's actually cvsignore that needs changing. Stop laughing.
11956
11957 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11958
11959         * tests/examples/manual/Makefile.am:
11960         Gah, declare vars *before* using them
11961
11962 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11963
11964         * gst/gst.c: (init_pre), (scan_and_update_registry),
11965         (ensure_current_registry_nonforking),
11966         (ensure_current_registry_forking), (ensure_current_registry),
11967         (init_post), (gst_debug_help), (gst_deinit):
11968         * gst/gst_private.h:
11969         * gst/gstregistry.c: (gst_registry_finalize),
11970         (gst_registry_remove_features_for_plugin_unlocked),
11971         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11972         (gst_registry_scan_path),
11973         (_priv_gst_registry_remove_cache_plugins),
11974         (_priv_gst_registry_cleanup):
11975         * gst/gstregistry.h:
11976         Re-commit the registry changes, along with an extra fix:
11977           When a cached plugin is encountered at a different file path,
11978           update the stored path in the registry cache so that the parent
11979           process knows where it actually is now when it re-reads the registry
11980           cache. Fixes the thing that broke distcheck with the previous commit.
11981
11982         * tests/check/Makefile.am:
11983         Clean up files named 'core' too when running make clean.
11984
11985         * tests/examples/manual/Makefile.am:
11986         Set up a registry path for running these tests, and clean it properly
11987         for distcheck.
11988
11989 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11990
11991         * configure.ac:
11992         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11993         want gmodule-no-export-2.0.pc instead so that we don't drag in
11994         --export-dynamic on every project that links to GStreamer.
11995
11996         Also, make our export regex only match the start of symbols, rather 
11997         than any symbol that contains '_gst' somewhere.
11998
11999         * libs/gst/check/Makefile.am:
12000         The libgstcheck we build does however need export-dynamic, as it
12001         produces some symbols that don't match our _gst... style regex.
12002         Fixes: #318031
12003
12004 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12005
12006         * gst/gst.c: (init_pre), (scan_and_update_registry),
12007         (ensure_current_registry_nonforking),
12008         (ensure_current_registry_forking), (ensure_current_registry),
12009         (init_post), (gst_debug_help), (gst_deinit):
12010         * gst/gst_private.h:
12011         * gst/gstregistry.c: (gst_registry_finalize),
12012         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12013         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12014         (_gst_registry_cleanup):
12015         * gst/gstregistry.h:
12016           Revert previous change until I figure out why it breaks distcheck.
12017
12018 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12019
12020         * gst/gst.c: (init_pre), (scan_and_update_registry),
12021         (ensure_current_registry_nonforking),
12022         (ensure_current_registry_forking), (ensure_current_registry),
12023         (init_post), (gst_debug_help), (gst_deinit):
12024
12025           Make init_pre and init_post take the full complement of GOptionFunc
12026           args so they can return useful GErrors. Make the registry updating
12027           functions do so.
12028
12029           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12030           ensure that the registry we're about to write out doesn't contain
12031           stale information about old-deleted plugin files.
12032
12033           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12034           that deletion of plugin files is considered a registry change.
12035
12036         * gst/gst_private.h:
12037         * gst/gstregistry.c: (gst_registry_finalize),
12038         (gst_registry_remove_features_for_plugin_unlocked),
12039         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12040         (gst_registry_scan_path),
12041         (_priv_gst_registry_remove_cache_plugins),
12042         (_priv_gst_registry_cleanup):
12043         * gst/gstregistry.h:
12044         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12045         by adding _priv prefix, so that they won't appear in the global
12046         symbol table. They still do atm though because of #318031. Move the
12047         prototypes to gst_private.h
12048
12049         When removing a plugin, remove all features for that plugin too. 
12050         Fixes #340878.
12051
12052 2006-09-27  Wim Taymans  <wim@fluendo.com>
12053
12054         * docs/random/moving-plugins:
12055         Make it clear that the "compiled-in descriptions" really mean
12056         the element details.
12057
12058         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12059         (gst_base_sink_wait_preroll):
12060         Update docs.
12061
12062         * docs/libs/gstreamer-libs-sections.txt:
12063         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12064         (gst_base_src_get_range), (gst_base_src_activate_push):
12065         * libs/gst/base/gstbasesrc.h:
12066         Added function to block while waiting for PLAYING, this function
12067         is used by live sources that block on the clock.
12068         API: gst_base_src_wait_playing()
12069
12070 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12071
12072         Patch by: Peter Kjellerstedt <pkj at axis com>
12073
12074         * Makefile.am:
12075           gst-element-check.m4 is generated and should therefore be
12076           copied from the build dir rather than the source dir (#357593).
12077           'make distcheck' hasn't noticed this because we were disting
12078           the file as well, so stop doing that.
12079
12080 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12081
12082         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12083           Add some tests for gst_caps_intersect().
12084
12085         * tools/gst-launch.c: (event_loop):
12086           Print all buffering percentages we get, even the 100% one.
12087
12088 2006-09-26  Wim Taymans  <wim@fluendo.com>
12089
12090         * tools/gst-inspect.c: (print_element_properties_info),
12091         (print_signal_info):
12092         Fix printing of flags to match the look of enums.
12093
12094 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * gst/gstelementfactory.c:
12097           Fix typo in docs blurb.
12098
12099 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12100
12101         * gst/gsturi.c: (search_by_entry):
12102           Don't assert/crash here if a uri handler doesn't return any
12103           supported protocols. The list of protocols could be generated
12104           dynamically at runtime or at plugin registration, and an error
12105           in the underlying library shouldn't be fatal (#353301).
12106
12107 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12108
12109         * gst/gstinfo.c:
12110           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12111           (spotted by Peter Kjellerstedt).
12112
12113 2006-09-23  Wim Taymans  <wim@fluendo.com>
12114
12115         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12116
12117         * libs/gst/base/gstbasesrc.c:
12118         (gst_base_src_default_check_get_range), (gst_base_src_start),
12119         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12120         (gst_base_src_change_state):
12121         Match _start/_stop calls in the activate functions. Remove redundant
12122         _stop call from the state change function. Fixes #356910.
12123         Turn failure DEBUG into ERROR. 
12124
12125 2006-09-22  Wim Taymans  <wim@fluendo.com>
12126
12127         * docs/design/part-buffering.txt:
12128         * gst/gstmessage.c: (gst_message_new_buffering),
12129         (gst_message_parse_buffering):
12130         Update docs about buffering.
12131
12132         * docs/design/part-trickmodes.txt:
12133         Fix typo.
12134
12135 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12136
12137         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12138         (gst_controller_new_list):
12139           Ref instances when returning them again (fixes #357180)
12140
12141 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12142
12143         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12144           Don't forget to release proxy lock when there's an error.
12145
12146 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12147
12148         * gst/gstcaps.h:
12149           Add extra initialisers for Caps things, to fix some plugin warnings
12150           when using -Wextra
12151
12152 2006-09-18  Wim Taymans  <wim@fluendo.com>
12153
12154         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12155           Also set template on the internal pad so that a getcaps from the 
12156           target pad returns the template caps.
12157
12158 2006-09-18  Wim Taymans  <wim@fluendo.com>
12159
12160         * gst/gstelement.c: (gst_element_post_message),
12161         (gst_element_dispose):
12162         Use _DEBUG_OBJECT some more.
12163
12164         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12165         Avoid typechecks.
12166
12167         * tools/gst-launch.c: (main):
12168         If the toplevel element is not a GstPipeline, it must be put in a
12169         pipeline so that a bus and clock is selected.
12170
12171 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12172
12173         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12174           JITTER, RATE, and LATENCY query should be handled by the
12175           default case and not by the CONVERT query code.
12176
12177 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12178
12179         * gst/gstformat.c: (gst_format_register):
12180           Fix locking order (must take lock before using n_values).
12181
12182         * gst/gstvalue.c: (gst_value_serialize_enum),
12183         (gst_value_deserialize_enum_iter_cmp),
12184         (gst_value_deserialize_enum):
12185           Fix serialisation/deserialisation of custom registered GstFormats.
12186
12187         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12188           Unit test for custom format serialisation/deserialisation.
12189
12190 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12191
12192         * docs/pwg/building-boiler.xml:
12193         * plugins/elements/gstcapsfilter.c:
12194         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12195         section.
12196
12197 2006-09-16  Edward Hervey  <edward@fluendo.com>
12198
12199         * libs/gst/base/gstbasetransform.c:
12200         (gst_base_transform_buffer_alloc):
12201         Check if requested caps are the same as the sinks caps IF
12202         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12203         is FALSE.
12204         This fixes the renegotiation issues stated in #352827.
12205
12206 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12207
12208         * configure.ac:
12209         * docs/manual/advanced-autoplugging.xml:
12210         * tests/examples/Makefile.am:
12211         * tests/examples/manual/.cvsignore:
12212         * tests/examples/manual/Makefile.am:
12213         * tests/examples/manual/extract.pl:
12214           Extract the manual examples again like we used to do.
12215           Fix one of them.
12216
12217 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12218
12219         * win32/common/config.h:
12220           update for version
12221
12222 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12223
12224         * gst/gsterror.c:
12225           Documents how to receive errors.
12226
12227 2006-09-15  Wim Taymans  <wim@fluendo.com>
12228
12229         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12230         (event_loop), (main):
12231         Added some comments here and there.
12232         Post an application message when an interrupt is caught instead of doing
12233         an uncontrolled state change.
12234         Clean up the event loop.
12235         Handle buffering messages, pause/resume the pipeline.
12236         Make shutdown because of an interrupt more reliable.
12237
12238 2006-09-15  Wim Taymans  <wim@fluendo.com>
12239
12240         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12241         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12242         (gst_base_sink_preroll_object):
12243         Make sure that our internal state is correct when we commit our state
12244         asynchronously. This solves a race where a state change to PLAYING
12245         could cause the sink to remain blocked in preroll in some situations.
12246
12247 2006-09-15  Wim Taymans  <wim@fluendo.com>
12248
12249         * tools/gst-inspect.c: (print_element_properties_info),
12250         (print_signal_info):
12251         List flags as hex so it's easier to deal with.
12252
12253 2006-09-15  Wim Taymans  <wim@fluendo.com>
12254
12255         * docs/libs/gstreamer-libs-sections.txt:
12256         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12257         (gst_base_sink_do_sync):
12258         * libs/gst/base/gstbasesink.h:
12259         Expose logic to wait for preroll so that subclasses such as audiosink
12260         can also use this method.
12261         API: gst_base_sink_wait_preroll()
12262
12263 2006-09-15  Wim Taymans  <wim@fluendo.com>
12264
12265         * gst/gstobject.c: (gst_object_set_parent):
12266         * gst/gstpipeline.c: (do_pipeline_seek):
12267         Small cleanups in docs and code.
12268
12269         * gst/gstsegment.c: (gst_segment_clip):
12270         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12271         if stop == start and start is in the segment, no clipping should be
12272         done. Also add a test for this.
12273
12274 2006-09-15  Wim Taymans  <wim@fluendo.com>
12275
12276         * docs/design/part-buffering.txt:
12277         * docs/gst/gstreamer-sections.txt:
12278         * gst/gstmessage.c: (gst_message_new_buffering),
12279         (gst_message_parse_buffering):
12280         * gst/gstmessage.h:
12281         Added methods to create and parse BUFFERING messages.
12282         Added preliminary docs about buffering.
12283         API: gst_message_new_buffering
12284         API: gst_message_parse_buffering
12285
12286 2006-09-06  Wim Taymans  <wim@fluendo.com>
12287
12288         * gst/gstbin.c:
12289         Update documentation.
12290
12291         * gst/gstelement.c: (gst_element_class_init),
12292         (gst_element_release_request_pad), (gst_element_set_clock),
12293         (gst_element_get_index), (gst_element_add_pad),
12294         (gst_element_remove_pad), (gst_element_get_random_pad),
12295         (gst_element_send_event), (gst_element_get_query_types),
12296         (gst_element_query), (gst_element_post_message),
12297         (gst_element_message_full), (gst_element_continue_state),
12298         (gst_element_lost_state), (gst_element_save_thyself),
12299         (gst_element_restore_thyself):
12300         Documentation updates.
12301         Rename last bit of the new-pad -> pad-added signal rename.
12302         Fix the case where an element query would only work if the source
12303         pad was linked.
12304         Avoid some useless type checking in message handling.
12305
12306         * gst/gstevent.c:
12307         * gst/gstevent.h:
12308         * gst/gstutils.c:
12309         Documentation updates.
12310
12311 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12312
12313         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12314           add an INFO line for when we actually update the fd
12315
12316 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12317
12318         * configure.ac:
12319           back to TRUNK
12320
12321 === release 0.10.10 ===
12322
12323 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12324
12325         * configure.ac:
12326           releasing 0.10.10, "Pais"
12327
12328 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12329
12330         * docs/manual/advanced-position.xml:
12331           Fix typo in sample code.
12332
12333 2006-09-05  Wim Taymans  <wim@fluendo.com>
12334
12335         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12336         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12337         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12338         * libs/gst/net/gstnetclientclock.h:
12339         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12340         * libs/gst/net/gstnettimepacket.h:
12341         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12342         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12343         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12344         * libs/gst/net/gstnettimeprovider.h:
12345         Make stuff compile on windows. Fixes #345295.
12346
12347 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * gst/gst.c: (ensure_current_registry_forking):
12350           Print better details when child was terminated by signal.
12351
12352 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12353
12354         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12355           Print a warning rather than g_assert() if a plugin feature
12356           is a URI handler but returns no protocols (#353976).
12357
12358 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12359
12360         * docs/random/moving-plugins:
12361         Fix two typos.         
12362
12363 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12366           Fix locking order, handle NULL function values properly.
12367
12368         * gst/gstinfo.h:
12369           Fix docs.
12370
12371         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12372           Initialise variable before using it and fix debug statement to
12373           print the address of the function rather than the address of the
12374           variable on the stack holding the address of the function.
12375
12376 2006-09-01  Wim Taymans  <wim@fluendo.com>
12377
12378         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12379         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12380         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12381         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12382         (gst_ghost_pad_parent_unset),
12383         (gst_ghost_pad_internal_do_activate_push),
12384         (gst_ghost_pad_internal_do_activate_pull),
12385         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12386         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12387         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12388         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12389         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12390         (gst_ghost_pad_new_no_target_from_template),
12391         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12392         More cleanups.
12393         Avoid needless typechecking in macros.
12394         Since the internal pad is always present and never changes, there is
12395         no need to locking or ref when retrieving it.
12396         Improve debugging a bit.
12397         Handle link errors when setting the target. Fixes #341029.
12398
12399 2006-09-01  Wim Taymans  <wim@fluendo.com>
12400
12401         * docs/libs/gstreamer-libs-sections.txt:
12402         * docs/plugins/gstreamer-plugins-sections.txt:
12403         Fix docs some more.
12404
12405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12406         (gst_collect_pads_event):
12407         * libs/gst/base/gstcollectpads.h:
12408         Documentation updates.
12409         Free queued buffer when removing a pad.
12410
12411 2006-08-31  Michael Smith  <msmith@fluendo.com>
12412
12413         * gst/gstutils.c: (gst_element_link_pads),
12414         (gst_element_link_pads_filtered):
12415           Ensure that we set a capsfilter to NULL if we failed to link it
12416           when doing filtered linking, to avoid criticals.
12417
12418           No need to check for unreffing srcpad, which is explicly NULLed
12419           above (a trivial code cleanup).
12420
12421 2006-08-31  Wim Taymans  <wim@fluendo.com>
12422
12423         * docs/design/part-gstghostpad.txt:
12424         Update ascii art in documentation.
12425
12426         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12427         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12428         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12429         (gst_ghost_pad_internal_do_activate_push),
12430         (gst_ghost_pad_internal_do_activate_pull),
12431         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12432         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12433         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12434         (gst_ghost_pad_set_target):
12435         Small cleanups and leak fixes.
12436         Remove some checks now that the internal pad is never NULL.
12437         Fix the case where linking pads without a target would create nasty
12438         criticals. Fixes #341029.
12439         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12440         value of _set_target().
12441
12442         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12443         (gst_ghost_pad_suite):
12444         Some more tests for creating and linking untargeted ghostpads.
12445
12446 2006-08-31  Edward Hervey  <edward@fluendo.com>
12447
12448         * docs/gst/gstreamer-sections.txt:
12449         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12450         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12451         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12452         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12453         (gst_ghost_pad_new_from_template),
12454         (gst_ghost_pad_new_no_target_from_template):
12455         * gst/gstghostpad.h:
12456         Refactored *_new() functions.
12457         Templates are now used as a g_object_new() parameter.
12458         Use template in _do_getcaps() if we don't have a target.
12459         Small documentation cleanups.
12460         Added two new constructors:
12461         gst_ghost_pad_new_from_template()
12462         gst_ghost_pad_new_no_target_from_template()
12463         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12464         (gst_ghost_pad_suite):
12465         Added tests for new ghostpad instanciation functions.
12466
12467         API additions: gst_ghost_pad_new_from_template,
12468         gst_ghost_pad_new_no_target_from_template
12469
12470 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12471
12472         * docs/random/ensonic/profiling.txt:
12473           Ideas about qos profiling.
12474
12475 2006-08-29  Wim Taymans  <wim@fluendo.com>
12476
12477         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12478         Code cleanups.
12479         Fix memleak.
12480
12481 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12482
12483         * gst/gstxml.c:
12484           Improve and detypofy docs.
12485
12486         * tests/check/Makefile.am:
12487         * tests/check/gst/.cvsignore:
12488         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12489           Add a basic test suite for GstXML.
12490
12491 2006-08-29  Wim Taymans  <wim@fluendo.com>
12492
12493         * gst/gstelement.c: (activate_pads), (clear_caps),
12494         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12495         Clear the pad caps when the element shut down all of the pads and
12496         is not streaming data that could modify the caps. 
12497         Fixes #352958.
12498
12499 2006-08-28  Michael Smith  <msmith@fluendo.com>
12500
12501         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12502           Revert previous change; I misunderstood single-segment mode.
12503
12504 2006-08-28  Michael Smith  <msmith@fluendo.com>
12505
12506         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12507           Unset DISCONT on buffers when using single-segment mode.
12508
12509 2006-08-28  Wim Taymans  <wim@fluendo.com>
12510
12511         * gst/gstcaps.c: (gst_caps_merge_structure):
12512         * gst/gstcaps.h:
12513         Fix docs and indentation again.
12514
12515         * tests/check/gst/gstquery.c: (GST_START_TEST):
12516         Fix leak in tests and add some more tests.
12517
12518 2006-08-28  Edward Hervey  <edward@fluendo.com>
12519
12520         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12521         Inform GstSegment of the last stop position in order for the current
12522         segment to have a proper duration if it doesn't have a specific stop
12523         position from which a duration could be calculated.
12524         This bug was noticeable when a non-flushing, non-update new segment was
12525         followed by another segment (all buffers from the new segment were being
12526         dropped).
12527
12528 2006-08-28  Wim Taymans  <wim@fluendo.com>
12529
12530         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12531         Small comment update.
12532
12533         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12534         (gst_identity_transform_ip):
12535         Drop-probability is broken, mention this in the code with a 
12536         FIXME and also in the property description.
12537         Make silent also be silent about the drop messages.
12538
12539 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12540
12541         * docs/manual/appendix-win32.xml:
12542           Remove mention of popt, we don't depend on that any
12543           longer (#353136). Add some comments pointing out that
12544           this section is slightly outdated.
12545
12546 2006-08-28  Wim Taymans  <wim@fluendo.com>
12547
12548         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12549
12550         * gst/gstquery.c: (gst_query_new_segment):
12551         * tests/check/gst/gstquery.c: (GST_START_TEST):
12552         Initialize variables when creating a new segment query.
12553         Fixes #353121.
12554
12555 2006-08-28  Wim Taymans  <wim@fluendo.com>
12556
12557         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12558
12559         * gst/gstelement.c: (gst_element_get_bus):
12560         * tests/check/gst/gstelement.c: (GST_START_TEST):
12561         Check for NULL before _reffing the bus. Fixes #353122.
12562
12563 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12564
12565         * docs/manual/basics-bus.xml:
12566           Docs update: fix wrong callback return value explanation; add
12567           some lines about the implicit relationship between main loop
12568           and main context; remove duplicate main loop variable declaration.
12569
12570 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12571
12572         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12573           Don't leak caps in unit test; add a few more simple
12574           checks. 
12575
12576 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12577
12578         * docs/gst/gstreamer-sections.txt:
12579         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12580         (gst_caps_structure_is_subset), (gst_caps_merge),
12581         (gst_caps_merge_structure):
12582         * gst/gstcaps.h:
12583         * libs/gst/base/gstbasetransform.c:
12584         (gst_base_transform_transform_caps):
12585         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12586           implement caps merging (fixes #352580)
12587
12588 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12589
12590         * tools/Makefile.am:
12591         * tools/gst-plot-timeline.py:
12592           add debug-log plotting developer tool (#340674)
12593
12594 2006-08-23  Wim Taymans  <wim@fluendo.com>
12595
12596         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12597         (gst_pad_stop_task):
12598         Improve debugging for task functions.
12599
12600         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12601         (gst_task_start), (gst_task_pause), (gst_task_join):
12602         Make sure that the task function started and finished after a 
12603         join(). 
12604         Don't try to push the task function on the threadpool multiple
12605         times.
12606         Improve the g_warning message with some useful suggestions
12607         about how to fix the problem. 
12608
12609 2006-08-23  Wim Taymans  <wim@fluendo.com>
12610
12611         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12612         Handle RESYNC correctly in _proxy_getcaps.
12613
12614 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12615
12616         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12617         (gst_xml_parse_memory), (gst_xml_get_element):
12618           Chain up to parent class in dispose function and also
12619           unref the elements in the toplevel_elements GList.
12620           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12621           Always return a reference in gst_xml_get_element() rather
12622           than only sometimes.
12623
12624         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12625           Don't leak GstXml object.
12626
12627 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12628
12629         * docs/gst/gstreamer-sections.txt:
12630         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12631         (gst_caps_merge):
12632         * gst/gstcaps.h:
12633         * libs/gst/base/gstbasetransform.c:
12634         (gst_base_transform_transform_caps):
12635           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12636           in a better way
12637
12638 2006-08-21  Edward Hervey  <edward@fluendo.com>
12639
12640         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12641         Implement GObject::dispose virtual method in GstXML so we can free the
12642         top_elements GList.
12643
12644 2006-08-21  Wim Taymans  <wim@fluendo.com>
12645
12646         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12647         (gst_buffer_create_sub):
12648         Copy duration/offset_end/caps when creating a subbuffer of the
12649         complete parent.
12650         Make the subbuffer read-only when we make the metadata writable for
12651         now. Fixes #351768.
12652
12653         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12654         Added check for metadata copy when creating subbuffers.
12655
12656 2006-08-21  Edward Hervey  <edward@fluendo.com>
12657
12658         * libs/gst/base/gstbasetransform.c:
12659         (gst_base_transform_buffer_alloc):
12660         Only call downstream buffer_alloc if transform element is passthrough
12661         or always_in_place. Closes #350449.
12662
12663 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12664
12665         * ChangeLog:
12666           ChangeLog surgery to add comments to previous changes
12667
12668 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12669
12670         * gst/gst.c:
12671           Add comments
12672
12673         * gst/gstpad.c: (gst_pad_set_active):
12674           Be more verbose in the log
12675
12676         * libs/gst/base/gstbasetransform.c:
12677         (gst_base_transform_transform_caps):
12678           Simplify caps to get rid of duplicates, fixes #345444
12679
12680 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12681
12682         * gst/gstvalue.c:
12683         * gst/gstvalue.h:
12684           Use these optimizations only internally.
12685
12686 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12687
12688         * gst/gstvalue.c: (gst_value_compare_list),
12689         (gst_value_compare_fraction_range),
12690         (gst_value_intersect_fraction_fraction_range),
12691         (gst_value_intersect_fraction_range_fraction_range),
12692         (gst_value_subtract_fraction_fraction_range),
12693         (gst_value_subtract_fraction_range_fraction_range),
12694         (gst_value_get_compare_func), (gst_value_compare),
12695         (gst_value_compare_with_func):
12696         * gst/gstvalue.h:
12697           Saves the expensive lookup of the compare function in many cases
12698          (#345444)
12699
12700 2006-08-18  Edward Hervey  <edward@fluendo.com>
12701
12702         * tests/check/gst/gstinfo.c: (gst_info_suite):
12703         Disable test that require gstdebug if it wasn't built in core.
12704
12705 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12706
12707         * docs/random/ensonic/logging.txt:
12708           update ideas
12709           
12710         * gst/gstinfo.c: (gst_debug_log_default):
12711           reorder fields, save some columns, add optional color codes for log
12712           levels
12713
12714 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12715
12716         * docs/random/ensonic/logging.txt:
12717           add ideas about making the logs a bit more useful
12718
12719 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12720
12721         * docs/pwg/advanced-events.xml:
12722         * docs/pwg/titlepage.xml:
12723           Update for 0.10 API (#340627). Add myself
12724           to authors list.
12725
12726 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12727
12728         * docs/libs/gstreamer-libs-docs.sgml:
12729         * docs/libs/gstreamer-libs-sections.txt:
12730         * libs/gst/check/gstbufferstraw.c:
12731           Make gstcheck stuff show up in docs (still needs to
12732           be documented properly though).
12733
12734 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12735
12736         * docs/gst/gstreamer-sections.txt:
12737         * gst/Makefile.am:
12738         * gst/gst.c: (init_post):
12739         * gst/gst_private.h:
12740         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12741         * gst/gstquark.h:
12742         * gst/gstquery.c: (gst_query_new_position),
12743         (gst_query_set_position), (gst_query_parse_position),
12744         (gst_query_new_duration), (gst_query_set_duration),
12745         (gst_query_parse_duration), (gst_query_new_convert),
12746         (gst_query_set_convert), (gst_query_parse_convert),
12747         (gst_query_new_segment), (gst_query_set_segment),
12748         (gst_query_parse_segment), (gst_query_new_seeking),
12749         (gst_query_set_seeking), (gst_query_parse_seeking):
12750         Add internal helpers for pre-registering quarks from static strings
12751         and using the quark values directly instead of looking them up when
12752         creating and parsing queries. Can be used for event construction too.
12753         Closes #350432.
12754
12755 2006-08-16  Wim Taymans  <wim@fluendo.com>
12756
12757         * gst/gstbin.c:
12758         Fix bogus docs.
12759
12760 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12761
12762         * gst/gstutils.c: (gst_util_set_value_from_string):
12763           Fix memleak (#351502).
12764
12765         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12766           Add unit test for most of gst_util_set_value_from_string()
12767           (not that one would want to encourage use of this function).
12768
12769 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12770
12771         * libs/gst/check/gstcheck.h:
12772           Use const gchar * variables in fail_unless_equals_string
12773           macro to avoid compiler warnings (and don't use tabs for
12774           indenting).
12775
12776 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12777
12778         * tools/gst-launch.c: (print_tag):
12779           More space on the left for the tag names, to cater
12780           for the 'extended comment' tag (not touching the
12781           string for the first line since it's translated).
12782
12783 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12784
12785         * libs/gst/check/gstcheck.h:
12786           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12787           print something when they fail.
12788
12789 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12790
12791         * docs/gst/gstreamer-sections.txt:
12792         * gst/gsttaglist.c: (_gst_tag_initialize):
12793         * gst/gsttaglist.h:
12794           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12795           Also change merge function for GST_TAG_COMMENT to
12796           use_first.
12797
12798 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12799
12800         * gst/gstinfo.c: (gst_debug_print_object):
12801           Make GST_PTR_FORMAT print messages as well.
12802
12803         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12804         (GST_START_TEST), (gst_info_suite):
12805           More tests.
12806
12807 2006-08-14  Edward Hervey  <edward@fluendo.com>
12808
12809         * gst/gstelementfactory.c: (gst_element_register):
12810         If the GstElementClass doesn't have a GstElementDetails with all fields
12811         filled up correctly (longname, description AND author), then error out
12812         nicely instead of crashing.
12813
12814 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12815
12816         * gst/gststructure.c:
12817           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12818
12819         * gst/gstvalue.h:
12820           Expand on the difference between arrays and lists as we use them.
12821           
12822 2006-08-14  Wim Taymans  <wim@fluendo.com>
12823
12824         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12825         If the parent state change function failed, don't assume we can safely
12826         stop the source, this will be done when the pads are deactivated.
12827
12828 2006-08-14  Wim Taymans  <wim@fluendo.com>
12829
12830         * gst/gstbuffer.c:
12831         * gst/gsttask.c: (gst_task_join):
12832         Small doc updates.
12833
12834         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12835         (gst_pad_stop_task):
12836         When pad (de)activation failed for some reason, restore the old
12837         activation mode and set the pad to flushing instead of assuming the
12838         pad is deactivated.
12839         If the _task_join() failed, reinstall the task on the pad so that it can
12840         be stopped later and return an error.
12841
12842 2006-08-11  Andy Wingo  <wingo@pobox.com>
12843
12844         * configure.ac:
12845         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12846         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12847         is only for users of API that don't want to see deprecated
12848         functions in the headers; people that want to compile out
12849         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12850         CFLAGS. Fixes the build of multifdsink, or will soon..
12851
12852 2006-08-11  Wim Taymans  <wim@fluendo.com>
12853
12854         * docs/gst/gstreamer-sections.txt:
12855         Add GstClockClass vmethod docs.
12856
12857         * gst/gstcaps.h:
12858         Mark #endif with comment for associated #if
12859
12860         * gst/gstclock.c: (gst_clock_id_wait):
12861         * gst/gstclock.h:
12862         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12863         most clock implementations.
12864         Document vmethods.
12865         Flesh out docs about resolution methods.
12866         API: GstClockClass::wait_jitter
12867
12868         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12869         (gst_system_clock_async_thread),
12870         (gst_system_clock_id_wait_jitter_unlocked),
12871         (gst_system_clock_id_wait_jitter):
12872         Use base class wait_jitter variant for improved performance
12873         due to less clock polling.
12874
12875 2006-08-11  Edward Hervey  <edward@fluendo.com>
12876
12877         * gst/gst.c: (gst_init_check), (init_post):
12878         Set gst as being initialized before scanning/updating the registry,
12879         since there might be my python plugin loader that calls gst_init() and
12880         we don't want to loop back in.
12881         Closes #350879
12882
12883 2006-08-11  Wim Taymans  <wim@fluendo.com>
12884
12885         * docs/design/part-qos.txt:
12886         Bring docs in line with the code. Mostly the sign of the jitter was
12887         wrong in the docs. Fixes #349943.
12888
12889         * gst/gstclock.c:
12890         Fix the docs for the jitter.
12891
12892         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12893         (gst_event_parse_tag), (gst_event_new_buffer_size),
12894         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12895         (gst_event_new_seek), (gst_event_parse_seek),
12896         (gst_event_new_navigation):
12897         Make sure the GstStructure has no parent when creating custom
12898         events.
12899         Add some more argument checking so that we avoid 0.0 rates.
12900         Flesh out the docs for the QoS event some more.
12901
12902 2006-08-11  Wim Taymans  <wim@fluendo.com>
12903
12904         * docs/gst/gstreamer-sections.txt:
12905         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12906         (ensure_current_registry_forking), (ensure_current_registry),
12907         (parse_one_option), (parse_goption_arg), (gst_deinit),
12908         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12909         * gst/gst.h:
12910         Doc updates.
12911         Added API and command line option to disable registry forking in
12912         addition to the environment variable.
12913         Constify some static arrays.
12914         Added some more debug.
12915         Don't deinit twice.
12916         API: gst_registry_fork_is_enabled()
12917         API: gst_registry_fork_set_enabled()
12918         API: --gst-disable-registry-fork command line option
12919         Fixes #348918.
12920
12921 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12922
12923         * gst/gst.c: (gst_init):
12924           Fix typo in error message.
12925
12926 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12927
12928         * libs/gst/controller/gstcontroller.h:
12929           fix ABI size-correction
12930
12931         * tests/check/libs/gdp.c: (gst_dp_suite):
12932           make tests that use deprecated API conditional
12933
12934 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12935
12936         * docs/libs/gstreamer-libs-sections.txt:
12937         * libs/gst/controller/gstcontroller.c:
12938         (_gst_controller_get_property), (_gst_controller_set_property),
12939         (_gst_controller_init), (_gst_controller_class_init):
12940         * libs/gst/controller/gstcontroller.h:
12941         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12942         (gst_object_set_control_rate):
12943           API: add gst_object_{s,g}et_control_rate(), add private data section,
12944           fix docs
12945
12946         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12947         * libs/gst/dataprotocol/dataprotocol.h:
12948           add deprecation guards to make gtk-doc happy and allow disabling cruft
12949
12950 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12951
12952         * tests/check/Makefile.am:
12953         * tests/check/gst/.cvsignore:
12954           Let's enable the new unit test as well.
12955
12956 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12957
12958         * configure.ac:
12959         * docs/gst/gstreamer-sections.txt:
12960         * gst/gstconfig.h.in:
12961         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12962         (_gst_info_printf_extension_ptr),
12963         (_gst_info_printf_extension_segment):
12964           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12965           register that lets us easily dump GstSegments into debug
12966           logs (#350419).
12967
12968         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12969         (info_segment_format_printf_extension), (gst_info_suite):
12970           Add simple unit test that logs a bunch of different segments (not
12971           valgrinded at the moment because of leaks in
12972           gst_debug_add_log_function).
12973
12974 2006-08-09  Edward Hervey  <edward@fluendo.com>
12975
12976         * libs/gst/base/gstbasetransform.c:
12977         (gst_base_transform_buffer_alloc):
12978         Even if we can't figure out the proper format to request downstream,
12979         call buffer_alloc() downstream with the input parameters without setting
12980         the caps on the srcpad. This will force negotiation in the chain
12981         function.
12982         Closes #350449
12983
12984 2006-08-08  Edward Hervey  <edward@fluendo.com>
12985
12986         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12987         Unlinking from a pad without a target is now a perfectly valid case
12988         which should NOT raise an assertion.
12989         This case would happen if a linked ghostpad its target set to NULL after
12990         it was previously linked.
12991
12992 2006-08-08  Edward Hervey  <edward@fluendo.com>
12993
12994         * tests/check/libs/gdp.c:
12995         Also comment out the test (see below).
12996
12997 2006-08-08  Edward Hervey  <edward@fluendo.com>
12998
12999         * tests/check/libs/gdp.c: (gst_dp_suite):
13000         Use the architecture information from config.h and not gcc macros
13001         in order to properly disable a test that fails on PPC64.
13002
13003 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13004
13005         * gst/gstelement.c: (gst_element_remove_pad):
13006           Don't crash printing the warning if the pad has no parent.
13007
13008 2006-08-02  Wim Taymans  <wim@fluendo.com>
13009
13010         * libs/gst/dataprotocol/dataprotocol.c:
13011         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13012         (gst_dp_crc), (gst_dp_header_payload_length),
13013         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13014         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13015         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13016         (gst_dp_event_from_packet), (gst_dp_validate_header),
13017         (gst_dp_validate_payload):
13018         Make debug category static
13019         Constify the crc table.
13020         Do some more arg checking in public functions.
13021         Fix some docs and do some small cleanups.
13022
13023         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13024         Add some more checks to see if GDP deals with bogus input.
13025
13026 2006-07-31  Wim Taymans  <wim@fluendo.com>
13027
13028         * gst/gstvalue.c: (gst_value_compare_list):
13029         Fix GstValueList comparison code. Fixes #347293.
13030
13031         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13032         Check to test GstValueList comparison.
13033
13034 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13035
13036         * gst/gstelementfactory.c: (gst_element_factory_create):
13037         Remove unnecessary ref/unref pair
13038
13039         * gst/parse/grammar.y:
13040         Make sure to free the parse buffer on all code paths.
13041         Move a g_free up to the error handler where it's easier to see.
13042
13043         * tests/check/gst/gstevent.c: (test_event):
13044         Extending timeout for downstream travelling events to 10 seconds to
13045         hopefully avoid intermittent failure on the buildbots.
13046
13047         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13048         Don't manually set the state of the src element - it will happen as a
13049         natural consequence of the pipeline changing state, and that way it
13050         will do it in the right order too.
13051
13052 2006-07-31  Wim Taymans  <wim@fluendo.com>
13053
13054         * libs/gst/base/gstbasetransform.c:
13055         (gst_base_transform_buffer_alloc):
13056         Use OBJECT_LOCK and refcounting to get the pad caps in the
13057         buffer_alloc function because the caps could change while we are
13058         busy with them. Fixes #349105
13059
13060 2006-07-31  Wim Taymans  <wim@fluendo.com>
13061
13062         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13063         Protect _PAD_CAPS with OBJECT_LOCK.
13064
13065 2006-07-31  Wim Taymans  <wim@fluendo.com>
13066
13067         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13068         (gst_pad_get_property), (gst_pad_activate_pull),
13069         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13070         (gst_pad_set_activate_function),
13071         (gst_pad_set_activatepull_function),
13072         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13073         (gst_pad_set_getrange_function),
13074         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13075         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13076         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13077         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13078         (gst_pad_set_acceptcaps_function),
13079         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13080         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13081         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13082         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13083         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13084         (gst_pad_configure_sink), (gst_pad_configure_src),
13085         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13086         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13087         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13088         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13089         (gst_pad_send_event):
13090         Use _DEBUG_OBJECT when it makes sense.
13091         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13092         Small cleanups and code reflows.
13093         Avoid caps refcounting in _accept_caps.
13094         Refactor alloc_buffer so that the code performed on the peer is in a
13095         separate function. Also if the pad does not implement a buffer alloc
13096         function, we should still check if the pad is flushing before falling
13097         back to the default allocator.
13098
13099 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13100
13101         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13102         Make all uses of identity and fakesink have silent=true to avoid
13103         serialising every passing data structure, which is breaking tests
13104         on FC4 for some unknown reason.
13105
13106 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13107
13108         * gst/parse/Makefile.am:
13109         * gst/parse/grammar.y:
13110         * gst/parse/parse.l:
13111           Reverted previous patch as it required to bump the flex dependency to
13112           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13113
13114 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13115
13116         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13117
13118         * gst/parse/Makefile.am:
13119         * gst/parse/grammar.y:
13120         * gst/parse/parse.l:
13121           push & pop the state of the lexer for reentrant use case
13122           Fixes #349180
13123
13124 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13125
13126         * libs/gst/base/gstbasesrc.h:
13127           Note in the docs that the ::newsegment vfunc is not actually used by
13128           GstBaseSrc.
13129
13130 2006-07-28  Wim Taymans  <wim@fluendo.com>
13131
13132         * libs/gst/base/gstcollectpads.c:
13133         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13134         (gst_collect_pads_clear), (gst_collect_pads_flush),
13135         (gst_collect_pads_event), (gst_collect_pads_chain):
13136         When flushing a pad, also clear the queued buffer so that we don't
13137         accidentally use it when we shouldn't.
13138         Fix leaks by inreffing incomming buffer.
13139         Flush out queued buffers in case of errors.
13140         Fixes #347452.
13141
13142 2006-07-28  Wim Taymans  <wim@fluendo.com>
13143
13144         * docs/random/phonon-gst:
13145         Random notes about a Phonon backend.
13146
13147 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13148
13149         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13150         Extra debug output
13151         * tests/check/libs/gdp.c: (gst_dp_suite):
13152         Take a whack at fixing the ppc compile using a different define to
13153         disable the broken test.
13154
13155         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13156         Remove excess g_print()
13157
13158 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13159
13160         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13161         Oops, meant to uncomment this line too to dampen the noise a bit.
13162
13163 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13164
13165         * gst/parse/grammar.y:
13166         * gst/parse/parse.l:
13167         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13168         (GST_START_TEST), (parse_suite):
13169         Fix some of the leaks exposed by extending the parse-launch testsuite,
13170         and move the 3 I can't figure out into a separate test that won't run
13171         the pipelines unless the appropriate line is uncommented.
13172
13173 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13174
13175         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13176           Requesting 0 bytes before the end of the file should result in
13177           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13178           unit test.
13179
13180 2006-07-27  Wim Taymans  <wim@fluendo.com>
13181
13182         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13183         Fix useless assert, a uint is always positive.
13184
13185         * gst/gststructure.c: (gst_structure_nth_field_name),
13186         (gst_structure_foreach), (gst_structure_map_in_place):
13187         Check input arguments for public functions to avoid obvious crashes.
13188
13189         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13190         * plugins/elements/gstfakesink.h:
13191         Do less useless typechecking.
13192
13193 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13194
13195         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13196           Do not use mmap() by default since there are a number of error
13197           conditions that we would like to handle in a non-fatal way that
13198           will result in a SIGBUS if we use mmap(). Examples: external
13199           devices (USB harddrive, portable music player) being unplugged
13200           while in use; file on mounted CD/DVD that can't be read because
13201           the medium is partly damaged. Fixes #348455 and #348475.
13202
13203 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13204
13205         * gst/gstquery.h:
13206         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13207         rates are a gdouble
13208
13209 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13210
13211         * gst/gstregistry.c:
13212           Move big documentation comment into class section header, so that it
13213           appears in the API docs.
13214
13215 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13216
13217         * docs/gst/gstreamer-sections.txt:
13218         Oops. Commit the docs additions too for new API.
13219         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13220
13221 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13222
13223         * gst/gststructure.c: (gst_structure_id_set),
13224         (gst_structure_id_set_valist):
13225         * gst/gststructure.h:
13226         Add API for setting values into structures without performing
13227         a quark lookup, if the appropriate quark is already known.
13228
13229         API: gst_structure_id_set
13230         API: gst_structure_id_set_valist
13231
13232         * gst/parse/grammar.y:
13233         * gst/parse/parse.l:
13234         Remove some dead code shown by the coverage information.
13235         Don't throw a critical g_warning when encountering a syntax error,
13236         just warn and let the normal error path handle it.
13237
13238         * plugins/elements/gstelements.c:
13239         Bump the rank of filesink up to PRIMARY so that it is preferred over
13240         gnomevfssink for file:// sink uri's
13241
13242         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13243         (GST_START_TEST), (run_delayed_test),
13244         (gst_parse_test_element_base_init),
13245         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13246         (gst_parse_test_element_change_state),
13247         (gst_register_parse_element), (parse_suite):
13248         Beef up the tests for parse syntax to check that more error cases
13249         fail as they are supposed to. Increases the test coverage a bit.
13250
13251 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13252
13253         * docs/manual/basics-elements.xml:
13254           Fix gst_element_link() example.
13255
13256         * gst/gstutils.c:
13257           Mention in API docs that one should usually gst_bin_add()
13258           elements to a bin or pipeline before doing the linking.
13259           
13260 2006-07-26  Wim Taymans  <wim@fluendo.com>
13261
13262         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13263         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13264         Avoid function call for known types by keeping the buffer and
13265         subbuffer GType global.
13266
13267         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13268         Random silly optimisations in read() path.
13269
13270 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13271
13272         * tools/gst-launch.c: (main):
13273           If the top-level of the parse is a normal bin, it doesn't do the
13274           right logic to run as a top-level element, so place it inside a
13275           pipeline.
13276
13277 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13278
13279         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13280           Remove superfluous g_object_notify() calls, GObject does
13281           that for us automatically.
13282
13283 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13284
13285         * gst/gstinfo.h:
13286           on Win32, use dllspec to export the debug category symbols
13287
13288 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13289
13290         * gst/gsttaglist.c: (_gst_tag_initialize):
13291           Allow more than one GST_TAG_IMAGE per taglist.
13292
13293 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13294
13295         * gst/gstminiobject.c:
13296           update docs
13297         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13298         (gst_fd_src_create):
13299           log recurring events at LOG level
13300           add more debug for when the fd gets set
13301
13302 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13303
13304         * gst/gstparse.c: (gst_parse_launch):
13305           Also remove reentrance checks if flex is MT safe (#348179)
13306          Fix my empty ChangeLog entry below
13307
13308 2006-07-21  Andy Wingo  <wingo@pobox.com>
13309
13310         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13311
13312         * libs/gst/check/Makefile.am
13313         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13314         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13315         * libs/gst/check/gstbufferstraw.h:
13316         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13317         functions, thus proving I am still a GStreamer haxor. OK I wrote
13318         them a long time ago, but anyways.
13319
13320 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13321
13322         * configure.ac:
13323         * gst/gstparse.c: (gst_parse_launch):
13324           Check for flex version and omit mutex if we have a MT save flex
13325           (fixes #348179)
13326
13327 2006-07-21  Wim Taymans  <wim@fluendo.com>
13328
13329         * gst/gstparse.c: (gst_parse_launch):
13330         Protect recursive calls to _parse with a recursive mutex
13331         and busy flag.
13332
13333 2006-07-21  Wim Taymans  <wim@fluendo.com>
13334
13335         * tests/check/gst/gstpad.c: (GST_START_TEST):
13336         Fix leak in test.
13337
13338 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13339
13340         * gst/gstparse.c: (gst_parse_launch):
13341           Do not hang on recursive usage of gst_parse_launch()
13342
13343 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13344
13345         * gst/gsttaglist.c:
13346           Add some more docs, comments and FIXME 0.11s here and there
13347           and also fix some typos.
13348
13349 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/gstsegment.h:
13352           Convert tabs to spaces for better readability. 
13353
13354 2006-07-20  Edward Hervey  <edward@fluendo.com>
13355
13356         * tests/check/libs/gdp.c: (gst_dp_suite):
13357         the test_buffer test fails at line 140 on ppc64 at the following
13358         check:
13359         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13360                 GST_BUFFER_FLAG_IN_CAPS),
13361                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13362         See bug #348114 for more details.
13363
13364 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13365
13366         * docs/pwg/advanced-scheduling.xml:
13367         * gst/gstpad.c:
13368           Fix typos (#348000).
13369
13370 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13371
13372         * docs/pwg/intro-basics.xml:
13373           Fix wrong links (#347927).
13374
13375 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13376
13377         * gst/gstregistry.h:
13378         * gst/gstregistryxml.c: (load_feature),
13379         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13380         * win32/common/config.h:
13381           make --disable-index work (#342564)
13382
13383 2006-07-18  Wim Taymans  <wim@fluendo.com>
13384
13385         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13386
13387         * gst/Makefile.am:
13388         * gst/gsttrace.h:
13389         The attached patch adds two missing defines to gsttrace.h when tracing
13390         is disabled.  It also corrects one existing define.
13391         Fixes #347756.
13392
13393 2006-07-17  Wim Taymans  <wim@fluendo.com>
13394
13395         * docs/gst/gstreamer-sections.txt:
13396         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13397         * gst/gst.h:
13398         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13399         Add two functions to check and change the SIGSEGV behaviour
13400         when loading plugins.
13401         Don't mess with the SIGSEGV handler when we were told not to.
13402         Fixes #347794.
13403         API: gst_segtrap_is_enabled
13404         API: gst_segtrap_set_enabled
13405
13406 2006-07-14  Wim Taymans  <wim@fluendo.com>
13407
13408         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13409         * tests/check/elements/filesrc.c: (GST_START_TEST):
13410         Revert fix for regression in #347408 after release.
13411
13412 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13413
13414         Patch by: Antoine Tremblay <hexa00 at gmail com>
13415
13416         * gst/gstutils.c: (gst_element_unlink):
13417           Free iterator when done (#347311).
13418
13419         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13420           And add a test case for this.
13421
13422 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13423
13424         * configure.ac:
13425         Bump nano back to CVS
13426
13427 === release 0.10.9 ===
13428
13429 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13430
13431         * configure.ac:
13432           releasing 0.10.9, "On the road again"
13433
13434 2006-07-13  Wim Taymans  <wim@fluendo.com>
13435
13436         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13437         * tests/check/elements/filesrc.c: (GST_START_TEST):
13438         Revert pull-0 fix for release. Disable check. Fixes #347408.
13439
13440 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13441
13442         * libs/gst/dataprotocol/dataprotocol.c:
13443         (gst_dp_event_from_packet_1_0):
13444           Fixes #347337: failure to deserialize event packets with
13445           empty payload (only event type)
13446
13447 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13448
13449         * gst/Makefile.am:
13450           do not install a .c file in the header directory
13451
13452 2006-07-13  Edward Hervey  <edward@fluendo.com>
13453
13454         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13455         GhostPad no longer implicitely use the padtemplates of the targets.
13456         Fixes #347384
13457
13458 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13459
13460         * gst/gstvalue.c: (gst_value_compare_list),
13461         (gst_value_compare_array), (_gst_value_initialize):
13462         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13463         Make GstValueArray comparison be order dependent as designed.
13464         Add checks for value lists and value array comparisons.
13465         Fixes #347221
13466
13467 2006-07-11  Edward Hervey  <edward@fluendo.com>
13468
13469         * gst/gstbin.c: (activate_pads),
13470         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13471         (gst_bin_change_state_func):
13472         (de)activate src pads before calling state_change on the childs.
13473         This is to avoid the case where a src ghostpad is blocked (holding the
13474         stream lock), which would block the deactivation of the ghostpad's
13475         target pad.
13476         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13477         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13478         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13479         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13480         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13481         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13482         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13483         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13484         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13485         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13486         (gst_ghost_pad_class_init),
13487         (gst_ghost_pad_internal_do_activate_push),
13488         (gst_ghost_pad_internal_do_activate_pull),
13489         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13490         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13491         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13492         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13493         GhostPads now create their internal GstProxyPad at creation (and not
13494         when they're linked, as it was being done previously).
13495         The internal and target pads are linked straight away.
13496         The data will also travel through the other pad in order to make
13497         pad blocking and probes non-hackish (the probe/block now really happens
13498         on the GhostPad and not on the target).
13499         * gst/gstpad.c: (gst_pad_set_blocked_async),
13500         (gst_pad_link_prepare), (gst_pad_push_event):
13501         Remove previous ghostpad cruft.
13502         * gst/gstutils.c: (gst_pad_add_data_probe),
13503         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13504         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13505         (gst_pad_remove_buffer_probe):
13506         Remove previous ghost pad cruft.
13507         Added more detailed debug statements.
13508         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13509         Fix the testsuite for refcounting changes.
13510         The comments about who has references were correct, but the refcount
13511         being checked wasn't the same (!?!).
13512
13513         Fixes #341029
13514
13515 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13516
13517         * docs/gst/gstreamer-sections.txt:
13518         * gst/gstconfig.h.in:
13519         More docs for configuration options, add docs to gtk-doc.
13520
13521 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13522
13523         * gst/Makefile.am:
13524         * gst/gstconfig.h.in:
13525         * win32/common/config.h:
13526         Fix build when disabling tracing (fixes #344016). Also start to document
13527         the defines that disable the sub-systems.
13528
13529 2006-07-10  Edward Hervey  <edward@fluendo.com>
13530
13531         * gst/gst.c: (ensure_current_registry_forking):
13532         let's make valgrind happy...
13533
13534 2006-07-09  Wim Taymans  <wim@fluendo.com>
13535
13536         * gst/gstelement.c: (activate_pads),
13537         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13538         Better pad activation code: Reset the collect value too on resync.
13539         Add some comments.
13540
13541 2006-07-09  Wim Taymans  <wim@fluendo.com>
13542
13543         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13544         (gst_pad_activate_push):
13545         Use some more macros where it makes sense.
13546         Allow pad mode switching instead of asserting. When a pad
13547         is activated in one mode and we activate it in another, 
13548         deactivate it first before activating it in a different mode.
13549         Fixes #329198.
13550
13551 2006-07-08  Andy Wingo  <wingo@pobox.com>
13552
13553         * tools/gst-launch.c (main): Handle err == NULL.
13554
13555         * gst/gst.c (init_post, ensure_current_registry)
13556         (ensure_current_registry_forking)
13557         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13558         factoring out the registry scanning into separate functions. Don't
13559         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13560         Better environment var name/interface suggestions accepted.
13561
13562 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13563
13564         * gst/gstobject.c: (gst_object_set_name_default),
13565         (gst_object_set_name):
13566           Random micro-optimisation: don't use a hash table
13567           with strings as keys and the usual strdup/strcmp
13568           involved, but rather just use the GQuark of the
13569           type name as key, since it needs to be looked up
13570           anyway to get the type name string.
13571
13572         * tests/check/gst/gstobject.c: (GST_START_TEST):
13573           Fix various leaks.
13574
13575 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13576
13577         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13578         (gst_bin_iterate_all_by_interface):
13579           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13580           GTypes are gulongs and thus the top 4 bytes might be cut
13581           off on some platforms when doing GPOINTER_TO_INT, leading
13582           to invalid GTypes and bad things happening (see RH bug #179654).
13583           Also add a check to make sure the type passed in is really
13584           an interface type.
13585
13586 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13587
13588         * .cvsignore:
13589           Ignore more.
13590
13591 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13592
13593         * Makefile.am:
13594         * configure.ac:
13595         * gst-element-check.m4:
13596         * gst-element-check.m4.in:
13597           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13598           instead of the unversioned gst-inspect (#324176, #168659).
13599
13600 2006-07-06  Wim Taymans  <wim@fluendo.com>
13601
13602         * gst/gstmessage.h:
13603         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13604         warnings.
13605
13606 2006-07-06  Wim Taymans  <wim@fluendo.com>
13607
13608         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13609         (gst_base_src_wait), (gst_base_src_update_length),
13610         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13611         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13612         (gst_base_src_loop), (gst_base_src_start),
13613         (gst_base_src_activate_pull):
13614         Update docs.
13615         blocksize == 0 now means the default blocksize when working in push
13616         based mode.
13617         Remove some pointless asserts in _wait function.
13618         Fix offset/length calculations and EOS handling. We can now pull 0
13619         bytes as well, which is allowed.
13620         use _check_get_range() to decide if we can operate in _pull based
13621         mode.
13622         Fix refcounting leak when check_get_range function was not 
13623         implemented.
13624         API GstBaseSrc::blocksize range can be 0 too now (default)
13625
13626         * tests/check/elements/filesrc.c: (GST_START_TEST),
13627         (filesrc_suite):
13628         Added check to test _get_range() behaviour.
13629
13630 2006-07-06  Wim Taymans  <wim@fluendo.com>
13631
13632         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13633         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13634         (gst_pad_pull_range):
13635         * gst/gstpad.h:
13636         Lots of comments and docs added to the pad functions.
13637         Flesh out the expected behaviour of the get_range() functions.
13638
13639 2006-07-06  Wim Taymans  <wim@fluendo.com>
13640
13641         * gst/gstbus.h:
13642         * gst/gstclock.h:
13643         * gst/gstevent.h:
13644         * gst/gstiterator.h:
13645         * gst/gstpad.h:
13646         * gst/gstplugin.h:
13647         * gst/gsttask.h:
13648         Remove comma at end of enumerator list. 
13649
13650 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13651
13652         * win32/common/libgstbase.def:
13653         * win32/common/libgstdataprotocol.def:
13654         * win32/common/libsgtreamer.def:
13655         Add new exported functions.
13656
13657 2006-07-05  Wim Taymans  <wim@fluendo.com>
13658
13659         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13660         Add some more docs here and there.
13661
13662 2006-07-05  Wim Taymans  <wim@fluendo.com>
13663
13664         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13665         (gst_base_sink_loop), (gst_base_sink_get_position):
13666         When operating in pull mode update the offset so that we
13667         read sequentially.
13668
13669 2006-07-05  Wim Taymans  <wim@fluendo.com>
13670
13671         * gst/gstregistryxml.c: (read_string):
13672         Avoid strdup. (will happen in libxml, but hey!)
13673
13674         * gst/gsturi.c:
13675         Add some more docs.
13676
13677 2006-07-05  Wim Taymans  <wim@fluendo.com>
13678
13679         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13680         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13681         (gst_buffer_suite):
13682         No point in checking if the size of the subbuffer > 0, the
13683         code handles it correclty as demonstrated by unit test.
13684         Also add a unit test for the zero sized _new_and_alloc and
13685         _copy. Fixes #346663.
13686
13687 2006-07-05  Wim Taymans  <wim@fluendo.com>
13688
13689         * libs/gst/base/gstbasetransform.c:
13690         (gst_base_transform_prepare_output_buffer),
13691         (gst_base_transform_buffer_alloc),
13692         (gst_base_transform_handle_buffer):
13693         Make sure the buffer we pass to transform_ip has a refcount of
13694         1 and thus is writable. Fixes #343196
13695
13696 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13697
13698         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13699         (gst_file_src_init), (gst_file_src_set_property),
13700         (gst_file_src_get_property), (gst_file_src_map_region):
13701         * plugins/elements/gstfilesrc.h:
13702         Add "sequential" property, off by default, to use madvise and hint
13703         to the kernel that sequential access is desired.
13704         Touch all retrieved pages by default to ensure they are pulled
13705         into memory. (Closes #345720)
13706
13707 2006-07-03  Wim Taymans  <wim@fluendo.com>
13708
13709         * docs/design/part-block.txt:
13710         * docs/design/part-dynamic.txt:
13711         Small docs updates.
13712
13713 2006-07-03  Wim Taymans  <wim@fluendo.com>
13714
13715         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13716         (gst_caps_unref), (gst_static_caps_get),
13717         (gst_caps_append_structure):
13718         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13719         Use GSlice when the glib we build against is >= 2.10
13720
13721 2006-07-03  Wim Taymans  <wim@fluendo.com>
13722
13723         * gst/gstelement.c: (gst_element_pads_activate):
13724         Small cleanup in pad activation code.
13725
13726 2006-07-03  Wim Taymans  <wim@fluendo.com>
13727
13728         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13729
13730         * gst/gst-i18n-app.h:
13731         * gst/gst-i18n-lib.h:
13732         * tools/gst-inspect.c: (print_signal_info):
13733         The attached patch will make the inclusion of gettext.h unconditional in
13734         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13735         libintl.h in tools/gst-inspect.c.
13736         This allows use of --disable-nls again and fixes #344642.
13737
13738 2006-07-03  Edward Hervey  <edward@fluendo.com>
13739
13740         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13741         Implement pad blocking on events according to part-block.txt.
13742         More comments on behaviour.
13743         * tests/check/gst/gstevent.c: (test_event):
13744         Send event to peer pad of blocked pad (else it will block).
13745
13746 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13747
13748         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13749         (gst_check_run_suite):
13750           if we get the wrong message, give us the types as string
13751         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13752           Fix a translatable
13753         * tests/check/elements/filesrc.c: (GST_START_TEST):
13754           add a test for trying to open a non-existing file
13755
13756 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13757
13758         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13759           add a test for adding self
13760
13761 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13762
13763         * libs/gst/check/gstcheck.h:
13764           add some assert_ as alias for fail_unless_*
13765         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13766           increase test coverage
13767
13768 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13769
13770         * Makefile.am:
13771           include lcov.mak for lcov coverage generation
13772         * tools/Makefile.am:
13773           add to CLEANFILES
13774
13775 2006-07-02  Edward Hervey  <edward@fluendo.com>
13776
13777         * tests/check/elements/.cvsignore:
13778         moaping
13779
13780 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13781
13782         * configure.ac:
13783           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13784         * tests/check/Makefile.am:
13785           clean up gcov files
13786
13787 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13788
13789         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13790           remove gst_caps_simplify; it was not declared and not used
13791           and deprecated in 0.8
13792
13793 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13794
13795         * docs/faq/gst-uninstalled:
13796           don't put empty paths on PYTHONPATH
13797         * docs/gst/gstreamer-sections.txt:
13798           remove some symbols that are not there
13799
13800 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13801
13802         * gst/gstcaps.c: (gst_caps_compare_structures):
13803           whitespace fixes
13804         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13805         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13806           add more tests
13807
13808 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13809
13810         * libs/gst/dataprotocol/Makefile.am:
13811           build dataprotocol test by linking to the lib, instead of
13812           compiling the source, so we get coverage
13813         * tests/check/Makefile.am:
13814         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13815         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13816           add a test for filesrc
13817
13818 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13819
13820         * tests/check/gst/gststructure.c: (GST_START_TEST),
13821         (gst_structure_suite):
13822           Push coverage from 59.04% to 70.00%
13823
13824 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13825
13826         * tests/check/Makefile.am:
13827           gst-inspect every element; this makes sure that we also get
13828           coverage on element's get/set functions
13829
13830 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13831
13832         * configure.ac:
13833           set CFLAGS and friends to -O0 if gcov is being used
13834           add GCOV LIBS
13835         * gst/Makefile.am:
13836         * libs/gst/base/Makefile.am:
13837         * libs/gst/check/Makefile.am:
13838         * libs/gst/controller/Makefile.am:
13839         * libs/gst/dataprotocol/Makefile.am:
13840         * libs/gst/net/Makefile.am:
13841         * plugins/elements/Makefile.am:
13842         * plugins/indexers/Makefile.am:
13843           add makefile rules to generate gcov data and clean up
13844         * tests/check/Makefile.am:
13845           add a coverage target that generates an html overview
13846           of coverage data
13847
13848 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13849
13850         * tests/check/elements/fakesink.c:
13851         * tests/check/elements/fakesrc.c:
13852         * tests/check/elements/fdsrc.c:
13853         * tests/check/elements/identity.c:
13854         * tests/check/generic/sinks.c: (gst_sinks_suite):
13855         * tests/check/generic/states.c:
13856         * tests/check/gst/gst.c:
13857         * tests/check/gst/gstabi.c:
13858         * tests/check/gst/gstbin.c:
13859         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13860         * tests/check/gst/gstbus.c: (gst_bus_suite):
13861         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13862         * tests/check/gst/gstelement.c:
13863         * tests/check/gst/gstevent.c: (gst_event_suite):
13864         * tests/check/gst/gstghostpad.c:
13865         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13866         * tests/check/gst/gstmessage.c: (gst_message_suite):
13867         * tests/check/gst/gstminiobject.c:
13868         * tests/check/gst/gstobject.c:
13869         * tests/check/gst/gstpad.c:
13870         * tests/check/gst/gstpipeline.c:
13871         * tests/check/gst/gstplugin.c:
13872         * tests/check/gst/gstquery.c: (gst_query_suite):
13873         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13874         * tests/check/gst/gststructure.c:
13875         * tests/check/gst/gstsystemclock.c:
13876         * tests/check/gst/gsttag.c:
13877         * tests/check/gst/gsttask.c: (gst_task_suite):
13878         * tests/check/gst/gstutils.c:
13879         * tests/check/gst/gstvalue.c:
13880         * tests/check/libs/adapter.c:
13881         * tests/check/libs/basesrc.c:
13882         * tests/check/libs/collectpads.c:
13883         * tests/check/libs/controller.c:
13884         * tests/check/libs/gdp.c: (gst_dp_suite):
13885         * tests/check/libs/gstnetclientclock.c:
13886         * tests/check/libs/gstnettimeprovider.c:
13887         * tests/check/libs/libsabi.c: (libsabi_suite):
13888         * tests/check/libs/typefindhelper.c:
13889         * tests/check/pipelines/cleanup.c:
13890         * tests/check/pipelines/parse-launch.c:
13891         * tests/check/pipelines/simple-launch-lines.c:
13892         * tests/check/pipelines/stress.c: (stress_suite):
13893           use the new macro
13894
13895 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13896
13897         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13898         * libs/gst/check/gstcheck.h:
13899           create a macro and function so that the simple unit test
13900           case can be just one macro to create main()
13901
13902 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13903
13904         * gst/gstbin.c: (gst_bin_restore_thyself):
13905         * gst/gstxml.c: (gst_xml_make_element):
13906           Fix deserialisation from XML. Set parent manually
13907           instead of using gst_bin_add(), since gst_bin_add()
13908           will unlink all pads of the element being added.
13909           Fixes #341667.
13910
13911 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13912
13913         Patch by: Peter Kjellerstedt <pkj at axis com>
13914
13915         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13916           Fix missing g_strdup() and double free when using the
13917           --gst-plugin-load command line option (#346097).
13918
13919 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13920
13921         * gst/gstinfo.c:
13922           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13923
13924         * libs/gst/net/gstnetclientclock.c:
13925         * libs/gst/net/gstnettimeprovider.c:
13926           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13927
13928 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13929
13930         * docs/manual/advanced-dataaccess.xml:
13931           Fix buffer probe example compilation in
13932           ADM (#345708).
13933         
13934 2006-06-22  Edward Hervey  <edward@fluendo.com>
13935
13936         * gst/gstelement.c: (gst_element_pads_activate):
13937         We need to deactivate src pads first and then sink pads.
13938         The reason is the src pads might be blocking while holding the streaming
13939         lock, so we need to deactivate them first so that deactivating the sink
13940         pads doesn't block (since it will require the streaming lock).
13941
13942 2006-06-22  Wim Taymans  <wim@fluendo.com>
13943
13944         * libs/gst/base/gstbasetransform.c:
13945         (gst_base_transform_buffer_alloc):
13946         Forgot to remove two unneeded unrefs.
13947         Simplify a check _is_equal allready checks the obvious case.
13948
13949 2006-06-22  Wim Taymans  <wim@fluendo.com>
13950
13951         * docs/design/part-block.txt:
13952         Some docs about what pad_block should do.
13953
13954 2006-06-22  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstcaps.c: (gst_caps_replace):
13957         Fix crasher when passed NULL. Doc clarification.
13958         Optimize for the trivial case.
13959
13960         * gst/gstpipeline.c: (gst_pipeline_change_state):
13961         Small cleanups.
13962
13963         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13964         Small documentation cleanup.
13965
13966         * libs/gst/base/gstbasetransform.c:
13967         (gst_base_transform_buffer_alloc):
13968         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13969         is what we need and it avoids a whole lot of redundant 
13970         refcount operations.
13971
13972 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13973
13974         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13975
13976         * docs/manual/advanced-dataaccess.xml:
13977           Fix 'Embedding static elements' section to use
13978           GST_PLUGIN_DEFINE_STATIC (#345607).
13979
13980 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13981
13982         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13983           Attempt to 'fix' spuriously failing test case: it seems like the
13984           timeout of half a second is simply too small when the system is under
13985           load otherwise, and the timeout doesn't really seem to serve any
13986           particular purpose here. Give the pipeline a few seconds to preroll
13987           first, and then give it another half a second to go from PAUSED to
13988           PLAYING and marshal the message into the main thread.
13989
13990 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13991
13992         * tools/gst-feedback-m.m:
13993           Don't only use unversioned tools, try versioned tools as well
13994           (#345086).
13995
13996 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13997
13998         * gst/gstbus.c: (gst_bus_class_init):
13999           Fix some typos, make docs more explicit.
14000
14001 2006-06-20  Wim Taymans  <wim@fluendo.com>
14002
14003         * tests/check/gst/gstghostpad.c: (block_callback),
14004         (GST_START_TEST), (gst_ghost_pad_suite):
14005         Added some more ghostpad tests, mainly blocking
14006         and probes.
14007
14008 2006-06-16  Wim Taymans  <wim@fluendo.com>
14009
14010         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14011         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14012         (gst_file_sink_event), (gst_file_sink_render):
14013         * plugins/elements/gstfilesink.h:
14014         Check if we can seek in the file instead of assuming
14015         we always can. Post an error when we are asked to seek in a
14016         non-seekable file (like a fifo). Fixes #343312.
14017         Some cleanups.
14018
14019 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14020
14021         * tools/gst-launch.1.in:
14022           Un-garble (fourcc) bit in filtered caps section.
14023
14024 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14025
14026         * docs/manual/advanced-autoplugging.xml:
14027         * docs/manual/basics-helloworld.xml:
14028         * docs/manual/highlevel-components.xml:
14029           Don't leak bus reference in sample code.
14030
14031 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14032
14033         * autogen.sh:
14034           Add default for new --enable-plugin-docs switch.
14035
14036         * configure.ac:
14037           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14038           Fixes #344039.
14039
14040         * docs/Makefile.am:
14041           Use new ENABLE_PLUGIN_DOCS conditional.
14042
14043 2006-06-14  Wim Taymans  <wim@fluendo.com>
14044
14045         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14046         Make it clear with a FIXME and a real define what the #if 0
14047         previously disabled.
14048
14049 2006-06-14  Wim Taymans  <wim@fluendo.com>
14050
14051         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14052         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14053         * libs/gst/base/gstbasetransform.c:
14054         (gst_base_transform_sink_eventfunc):
14055         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14056         Don't randomly and silently reset a segment when the format 
14057         changes as this is a bug somewhere upstream. Fixes #330379.
14058
14059 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14060
14061         Patch by: Wouter Paesen  <wouter at kangaroot net>
14062
14063         * libs/gst/controller/gstcontroller.c:
14064         (gst_controlled_property_new):
14065           Fix controlling of float properties (#344849).
14066
14067         * tests/check/libs/controller.c:
14068         (gst_test_mono_source_get_property),
14069         (gst_test_mono_source_set_property),
14070         (gst_test_mono_source_class_init), (GST_START_TEST):
14071           While we're at it, add some float stuff to unit test.
14072
14073 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14074
14075         * docs/README:
14076         * docs/images/gdp-header.svg:
14077           add a gdp image
14078         * docs/libs/Makefile.am:
14079         * docs/libs/gdp-header.png:
14080         * libs/gst/dataprotocol/dataprotocol.c:
14081           add it to the API docs
14082         * docs/manual/intro-motivation.xml:
14083           fix typo
14084
14085 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14086
14087         * gst/gst.c: (scan_and_update_registry), (init_post):
14088           If the fork()'ed child process can't write the updated registry cache
14089           file to disk for some reason, make it exit with a failure exit code,
14090           so that the parent can then re-scan the plugins itself and update the
14091           registry structures in memory and work with that (rather than failing
14092           when creating elements because seemingly no plugins are available).
14093           Refactor registry scanning code into separate function for this and
14094           also separate fork() and non-fork() code paths. Fixes #344748.
14095
14096 2006-06-13  Wim Taymans  <wim@fluendo.com>
14097
14098         * docs/manual/advanced-dataaccess.xml:
14099         Fix wrong PluginDesc. Fixes #344755.
14100
14101 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14102
14103         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14104           Fix silly bug that prevented us from creating
14105           ~/.gstreamer-0.10 and writing the registry in one
14106           go (the first call to g_mkstemp() would overwrite the
14107           placeholder in the template string, so the second call
14108           to g_mkstemp() after creating the missing directory
14109           would then error out with 'invalid argument').
14110
14111 2006-06-13  Edward Hervey  <edward@fluendo.com>
14112
14113         * gst/gst.c: (init_post):
14114         Free string.
14115
14116 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14117
14118         * gst/glib-compat-private.h:
14119         * gst/glib-compat.c:
14120         * gst/glib-compat.h:
14121         * gst/gstvalue.c: (gst_value_serialize_flags):
14122           remove GLib 2.6 compatibility code
14123
14124 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14125
14126         * gst/parse/Makefile.am:
14127           Fix build with 'make -j N' even more (#340016).
14128
14129 2006-06-12  Wim Taymans  <wim@fluendo.com>
14130
14131         * docs/gst/gstreamer-sections.txt:
14132         Fix docs.
14133
14134 2006-06-12  Wim Taymans  <wim@fluendo.com>
14135
14136         * gst/gstsegment.c: (gst_segment_set_duration),
14137         (gst_segment_set_last_stop), (gst_segment_set_seek),
14138         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14139         (gst_segment_to_running_time), (gst_segment_clip):
14140         Use G_UNLIKELY to help the compiler a bit.
14141
14142 2006-06-12  Wim Taymans  <wim@fluendo.com>
14143
14144         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14145
14146         * gst/gstevent.c: (gst_event_get_type):
14147         * gst/gstmessage.c:
14148         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14149         (gst_pad_push):
14150         constify quark registration strings. Fixes #344115
14151         Avoid unneeded type checking is _pad_push() by internally
14152         calling gst_pad_chain_unchecked().
14153
14154 2006-06-12  Wim Taymans  <wim@fluendo.com>
14155
14156         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14157         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14158         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14159         (gst_buffer_is_span_fast), (gst_buffer_span):
14160         Init _type for consistency.
14161         Use _FLAGS macro to avoid type check.
14162         Avoid unneeded type checks in subbufer code.
14163
14164 2006-06-12  Wim Taymans  <wim@fluendo.com>
14165
14166         * gst/gst.c: (gst_debug_help):
14167         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14168         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14169         (gst_plugin_feature_list_free):
14170         * gst/gstregistry.c: (gst_registry_add_plugin),
14171         (gst_registry_add_feature), (gst_registry_plugin_filter),
14172         (gst_registry_feature_filter), (gst_registry_find_plugin),
14173         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14174         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14175         * gst/gstregistryxml.c: (load_feature),
14176         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14177         * gst/gstminiobject.c: (gst_mini_object_unref),
14178         (gst_mini_object_replace), (gst_value_mini_object_free),
14179         (gst_value_mini_object_copy):
14180         Use _CAST macros to avoid unneeded type checking.
14181         Added some more G_UNLIKELY.
14182
14183 2006-06-12  Wim Taymans  <wim@fluendo.com>
14184
14185         * gst/gstbuffer.h:
14186         Avoid unneeded type checking.
14187         API: GST_BUFFER_IS_DISCONT
14188
14189         * gst/gstminiobject.h:
14190         Avoid type check in flag accessor.
14191
14192         * gst/gstelementfactory.h:
14193         * gst/gstplugin.h:
14194         * gst/gstpluginfeature.h:
14195         Add _CAST macros.
14196         API: GST_ELEMENT_FACTORY_CAST
14197         API: GST_PLUGIN_CAST
14198         API: GST_PLUGIN_FEATURE_CAST
14199
14200 2006-06-12  Wim Taymans  <wim@fluendo.com>
14201
14202         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14203         (gst_object_unref):
14204         Add G_UNLIKELY in type registration.
14205         Avoid type check in _ref/_unref since that is also
14206         done in glib.
14207
14208 2006-06-12  Wim Taymans  <wim@fluendo.com>
14209
14210         * gst/gsterror.c: (gst_g_error_get_type):
14211         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14212         (gst_static_pad_template_get_type):
14213         * gst/gsttaglist.c: (gst_tag_list_get_type):
14214         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14215         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14216         * gst/gsturi.c: (gst_uri_handler_get_type):
14217         * gst/gstvalue.c: (gst_date_get_type):
14218         * gst/gstxml.c: (gst_xml_get_type):
14219         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14220         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14221         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14222         Add G_UNLIKELY in type registration.
14223
14224 2006-06-12  Wim Taymans  <wim@fluendo.com>
14225
14226         * tools/gst-inspect.c: (print_signal_info):
14227         Properly print enum values.
14228
14229 2006-06-12  Wim Taymans  <wim@fluendo.com>
14230
14231         * gst/gstinfo.c: (gst_debug_set_active),
14232         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14233         * gst/gstinfo.h:
14234         Add some G_[UN]LIKELY.
14235         Maintain __gst_debug_min to avoid formatting the arguments of
14236         debug messages that will be dropped anyway to avoid a lot of 
14237         overhead from the debugging system.
14238
14239 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14240
14241         * po/POTFILES.in:
14242         * po/POTFILES.skip:
14243           add missing files containing translatable strings, tell intltool about
14244           one exception
14245
14246 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14247
14248         * tests/check/libs/.cvsignore:
14249         add test-binary to ignore list
14250
14251 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14252
14253         * docs/libs/gstreamer-libs-docs.sgml:
14254         reorder (put dp into a chapter) and indent
14255
14256 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * configure.ac:
14259           back to HEAD
14260
14261 === release 0.10.8 ===
14262
14263 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14264
14265         * configure.ac:
14266           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14267
14268 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14269
14270         * gst/gst.c: (init_post):
14271           move pid declaration to declaration block
14272
14273 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14274
14275         * gst/gst.c: (init_post):
14276           use _exit() instead of exit() in our forked child; this ensures
14277           that none of the registered exit handlers from whatever is using
14278           GStreamer get executed.  This fixes gnome-mixer-applet failing
14279           to load, because ORBit would shut down.
14280           Spotted by: Edward Hervey  <edward@fluendo.com>
14281           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14282           Fixes #344474
14283
14284 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14285
14286         * configure.ac:
14287           back to TRUNK
14288
14289 === release 0.10.7 ===
14290
14291 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14292
14293         * configure.ac:
14294           releasing 0.10.7, "Soepeke, ik zie ou"
14295
14296 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14297
14298         * configure.ac:
14299         * po/af.po:
14300         * po/az.po:
14301         * po/bg.po:
14302         * po/ca.po:
14303         * po/cs.po:
14304         * po/de.po:
14305         * po/en_GB.po:
14306         * po/fr.po:
14307         * po/it.po:
14308         * po/nb.po:
14309         * po/nl.po:
14310         * po/ru.po:
14311         * po/sq.po:
14312         * po/sr.po:
14313         * po/sv.po:
14314         * po/tr.po:
14315         * po/uk.po:
14316         * po/vi.po:
14317         * po/zh_CN.po:
14318         * po/zh_TW.po:
14319         * win32/common/config.h:
14320           0.10.6.2 prerelease
14321
14322 2006-06-07  Wim Taymans  <wim@fluendo.com>
14323
14324         * gst/gstindex.c: (gst_index_gtype_resolver):
14325         * tools/gst-xmlinspect.c: (print_plugin_info):
14326         Fix leak spotted by coverity checker. Fixes #343827
14327         Fix another other leak found by paolo borelli.
14328
14329 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14330
14331         * libs/gst/dataprotocol/dataprotocol.c:
14332         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14333         (gst_dp_version_get_type), (gst_dp_init),
14334         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14335         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14336         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14337         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14338         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14339         (gst_dp_packetizer_free):
14340         * libs/gst/dataprotocol/dataprotocol.h:
14341           API: add a GstDPPacketizer object, and create/free functions
14342           API: add GstDPVersion enum
14343           Add 1.0 event function that uses the string serialization
14344           Serialize more useful buffer flags
14345           Fixes #343988
14346
14347 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * tests/check/Makefile.am:
14350         * tests/check/gst/gstabi.c:
14351         * tests/check/gst/struct_ppc64.h:
14352         * tests/check/libs/libsabi.c:
14353         * tests/check/libs/struct_ppc64.h:
14354           add ppc64 structure sizes
14355
14356 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14357
14358         * tests/check/Makefile.am:
14359         * tests/check/gst/gstabi.c:
14360         * tests/check/gst/struct_x86_64.h:
14361         * tests/check/libs/libsabi.c:
14362         * tests/check/libs/struct_x86_64.h:
14363           generate and add structure size lists for x86_64
14364
14365 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14366
14367         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14368         * libs/gst/check/gstcheck.h:
14369           factor out the method from tests that checks size of structures,
14370           and add code to generate the header containing these sizes
14371         * tests/check/gst/gstabi.c: (GST_START_TEST):
14372         * tests/check/gst/struct_i386.h:
14373         * tests/check/libs/libsabi.c: (GST_START_TEST):
14374         * tests/check/libs/struct_i386.h:
14375           use it
14376
14377 2006-06-06  Michael Smith  <msmith@fluendo.com>
14378
14379         * gst/gstsegment.h:
14380           Don't use c++-style comments, fixes #343929
14381
14382 2006-06-05  Edward Hervey  <edward@fluendo.com>
14383
14384         * gst/gst.c:
14385         plugin_paths is not used if we build without registry support.
14386
14387         * gst/gstsegment.c: (gst_segment_copy): 
14388         _copy() was always returning NULL...
14389
14390 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14391
14392         * libs/gst/dataprotocol/dataprotocol.c:
14393         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14394         (gst_dp_packet_from_event):
14395           factor out CRC code
14396
14397 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14398
14399         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14400           make sure we unset caps
14401
14402 2006-06-02  Michael Smith  <msmith@fluendo.com>
14403
14404         * libs/gst/check/gstcheck.c: (gst_check_init),
14405         (gst_check_chain_func):
14406         * libs/gst/check/gstcheck.h:
14407           Add a cond/mutex to the check support lib, signal this whenever we
14408           add to the buffers list. This will allow tests to not busy-wait on
14409           the buffer-list.
14410
14411 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14412
14413         * libs/gst/dataprotocol/dataprotocol.c:
14414         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14415         (gst_dp_packet_from_event):
14416           factor out some common header init code
14417
14418 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14419
14420         * docs/libs/gstreamer-libs-sections.txt:
14421         * docs/libs/tmpl/gstdataprotocol.sgml:
14422         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14423         * libs/gst/dataprotocol/dataprotocol.h:
14424           API: make gst_dp_crc() public
14425
14426 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14427
14428         * plugins/indexers/gstindexers.c: (plugin_init):
14429         conditionally register fileindexer (fixes #343598)
14430
14431 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14432
14433         * gst/gsttagsetter.h:
14434         Can't cast ifaces to a class
14435
14436         * libs/gst/net/gstnetclientclock.h:
14437         * libs/gst/net/gstnettimeprovider.h:
14438         * plugins/elements/gstfakesink.h:
14439         * plugins/elements/gstfakesrc.h:
14440         * plugins/elements/gstfdsink.h:
14441         * plugins/elements/gstfdsrc.h:
14442         * plugins/elements/gstfilesink.h:
14443         * plugins/elements/gstfilesrc.h:
14444         * plugins/elements/gstidentity.h:
14445         * plugins/elements/gstqueue.h:
14446         * plugins/elements/gsttee.h:
14447         * plugins/indexers/gstfileindex.c:
14448         * plugins/indexers/gstmemindex.c:
14449         * tests/old/examples/plugins/example.h:
14450         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14451
14452 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14453
14454         * libs/gst/dataprotocol/dataprotocol.c:
14455         (gst_dp_header_from_buffer):
14456           make sure we zero the whole ABI-compatible area
14457
14458 2006-06-01  Wim Taymans  <wim@fluendo.com>
14459
14460         Patch by: Alessandro Decina <alessandro at nnva dot org>
14461
14462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14463         Make sure the EOS flag is cleared from pads after a flush
14464         or stop. Fixes #343538.
14465
14466         * tests/check/libs/collectpads.c: (GST_START_TEST),
14467         (gst_collect_pads_suite):
14468         Added test for collectpads reusage after EOS.
14469
14470 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14471
14472         * gst/gst.c:
14473          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14474         * win32/common/libgstbase.def:
14475          export gst_collect_pads_set_flushing
14476         * win32/common/libgstreamer.def:
14477          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14478          gst_value_fraction_multiply
14479         * win32/vs6/gst_inspect.dsp:
14480          add a link to intl.lib
14481
14482 2006-05-30  Wim Taymans  <wim@fluendo.com>
14483
14484         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14485         (gst_collect_pads_chain):
14486         Handle the case where a pad is removed from the collection
14487         that could cause the other pads to become collectable.
14488
14489 2006-05-30  Wim Taymans  <wim@fluendo.com>
14490
14491         * gst/gstelement.c:
14492         Clarify the use of _release_request_pad() and
14493         _get_request_pad() a bit better.
14494
14495         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14496         (gst_adapter_take_buffer):
14497         Fix some doc and comment typos.
14498
14499 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14500
14501         * docs/gst/gstreamer-sections.txt:
14502         * docs/libs/gstreamer-libs-sections.txt:
14503           add declared symbols
14504
14505 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14506
14507         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14508         Add debug that can be enabled using a #define at the top of the file,
14509         for dumping stats about how late/early we were when waking up from
14510         waiting on the clock.
14511
14512 2006-05-30  Wim Taymans  <wim@fluendo.com>
14513
14514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14515         When rebuilding the pad list, don't leak the previous list.
14516
14517 2006-05-30  Wim Taymans  <wim@fluendo.com>
14518
14519         Patch by: Lutz Mueller <lutz at topfrose dot de>
14520
14521         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14522         (gst_base_src_get_query_types), (gst_base_src_update_length):
14523         Publish supported query types.
14524         Update last_stop field in get_range mode so the position
14525         query works. Fixes #342321.
14526
14527 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14528
14529         * docs/gst/gstreamer-sections.txt:
14530         * gst/gsttaglist.c: (_gst_tag_initialize):
14531         * gst/gsttaglist.h:
14532           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14533
14534 2006-05-30  Wim Taymans  <wim@fluendo.com>
14535
14536         Patch by: Alessandro Decina <alessandro at nnva dot org>
14537
14538         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14539         Unlock mutex when removing an unknown pad.
14540         Fixes #343334.
14541
14542         * tests/check/Makefile.am:
14543         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14544         (push_event), (setup), (teardown), (GST_START_TEST),
14545         (gst_collect_pads_suite), (main):
14546         Added collecpads check, disabled for now as check crashes for
14547         some reason.
14548
14549 2006-05-29  Wim Taymans  <wim@fluendo.com>
14550
14551         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14552         Don't leak pads lists.
14553
14554 2006-05-29  Wim Taymans  <wim@fluendo.com>
14555
14556         * docs/libs/gstreamer-libs-sections.txt:
14557         * libs/gst/base/gstcollectpads.c:
14558         (gst_collect_pads_set_flushing_unlocked),
14559         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14560         (gst_collect_pads_stop):
14561         * libs/gst/base/gstcollectpads.h:
14562         API: gst_collect_pads_set_flushing()
14563         Added api to set the pads to flushing, useful for seeking
14564         code in elements using collectpads.
14565         Clear segment when receiving a flush.
14566
14567 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14568
14569         * gst/gst.c: (add_path_func), (init_post):
14570           Don't scan registry paths passed via --gst-plugin-path immediately
14571           (will crash, because absolutely nothing is set up and no types are
14572           registered etc.); do this later in init_post(). Fixes #343057.
14573
14574 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14575
14576         * gst/gst.c: (init_post):
14577           if we have fork, fork while reading/rebuilding the registry
14578           so the parent doesn't take the hit of having all plugins loaded
14579           in memory.  Fixes #342777.
14580         * configure.ac:
14581           Check if we have fork()
14582         * win32/common/config.h.in:
14583           no fork() on win32
14584
14585 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14586
14587         * plugins/elements/gstelements.c:
14588         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14589         (gst_file_src_init), (gst_file_src_set_property),
14590         (gst_file_src_get_property), (gst_file_src_start):
14591         * plugins/elements/gstfilesrc.h:
14592           API: GstFileSrc::use-mmap
14593
14594         Add a use-mmap property to enable easier testing of all code paths.
14595         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14596         in the absence of gnomevfssrc. (Closes #340501)
14597
14598 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14599
14600         * tools/gst-inspect.c:
14601         Add missing include, removes warning of ngettext not being defined on
14602         some arches.
14603
14604 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14605
14606         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14607         Handle NULL input and output pointers silently as a failed conversion,
14608         rather than g_warnings.
14609
14610 2006-05-25  Wim Taymans  <wim@fluendo.com>
14611
14612         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14613         Initialize variable before using. Fixes #342820.
14614
14615 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14616
14617         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14618           Fix off-by-one bug that would only allow peeks of N-1 bytes
14619           from the start even if the buffer to typefind on contains
14620           in fact N bytes of data (makes vorbis typefinding from a
14621           vorbis identification header buffer work).
14622
14623         * tests/check/Makefile.am:
14624         * tests/check/libs/.cvsignore:
14625         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14626         (gst_typefindhelper_suite), (main), (foobar_typefind),
14627         (plugin_init):
14628           Add very basic unit test for gst_type_find_helper_for_buffer()
14629           that checks for the problem fixed above.
14630
14631 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14632
14633         * tools/gst-inspect.c: (print_interfaces),
14634         (print_element_properties_info), (print_element_list), (main):
14635           add more translatable strings
14636
14637 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14638
14639         Patch by: Julien Moutte  <julien at moutte net>
14640
14641         * docs/gst/gstreamer-sections.txt:
14642           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14643           
14644         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14645         (gst_fake_sink_preroll):
14646         * plugins/elements/gstfakesink.h:
14647           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14648
14649 2006-05-23  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14652         * gst/gstpad.h:
14653         Added _CUSTOM error and success GstFlowReturn that can be
14654         used be elements internally. 
14655         Added macro to check for SUCCESS flowreturns.
14656         API: GST_FLOW_CUSTOM_SUCCESS
14657         API: GST_FLOW_CUSTOM_ERROR
14658         API: GST_FLOW_IS_SUCCESS
14659
14660         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14661         Added check for GstFlowReturn sanity.
14662
14663 2006-05-23  Wim Taymans  <wim@fluendo.com>
14664
14665         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14666
14667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14668         (gst_collect_pads_event):
14669         clear/reset segment info in FLUSH_STOP.
14670         Fixes #336929.
14671
14672 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14673
14674         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14675         (gst_collect_pads_check_collected):
14676         Flush queued buffer on _stop(), fixes playing again (#342454)
14677
14678 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14679
14680         * tests/check/gst/gststructure.c: (GST_START_TEST),
14681         (gst_structure_suite):
14682           add a test for a complete structure
14683
14684 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14685
14686         * docs/faq/developing.xml:
14687         * docs/faq/faq.xml:
14688         * docs/faq/troubleshooting.xml:
14689         * docs/faq/using.xml:
14690           Some minor FAQ updates that won't change the fact that
14691           our FAQ is badly structured, full of information hardly
14692           anyone new to GStreamer needs to know and lacking lots
14693           of information people constantly ask for.
14694           
14695 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14696
14697         * gst/gstpad.c: (gst_pad_set_caps):
14698           Short-circuit gst_pad_set_caps if setting the existing
14699           caps pointer again, and avoid printing debug and 
14700           reffing/unreffing the caps.
14701
14702         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14703           There's actually no need to set the caps before pushing -
14704           the acceptcaps method will handle it anyway.
14705
14706 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14707
14708         * docs/gst/gstreamer-sections.txt:
14709         * win32/common/libgstreamer.def:
14710         * gst/gstutils.c: (gst_element_seek_simple):
14711         * gst/gstutils.h:
14712           API: add gst_element_seek_simple() (#342238).
14713
14714 2006-05-18  Edward Hervey  <edward@fluendo.com>
14715
14716         * gst/gsttypefind.c: (gst_type_find_get_type):
14717         * gst/gsttypefind.h:
14718         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14719         registered for GstTypeFind pointers. This allows wrapping the structure
14720         in bindings (i.e. gst-python).
14721
14722 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14723
14724         * gst/gsttagsetter.c:
14725           Docs additions and fixes (see #339918).
14726
14727 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14728
14729         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14730         The caps intersection algorithm can produce multiple copies of the
14731         caps. Until that is fixed, we need to simplify the result to be
14732         sure whether the allowed caps are fixed or not.
14733
14734         * plugins/elements/gstqueue.c: (gst_queue_init),
14735         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14736         (gst_queue_push_one):
14737         Proxied buffer alloc should not set the caps on the source pad.
14738         When pushing buffers, we always accept the caps change that triggers.
14739         This prevents negotiation errors caused by caps changing mid-stream 
14740         and then being refused on our source pad (because upstream is now
14741         refusing those caps).
14742
14743 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14744
14745         * tests/examples/helloworld/helloworld.c: (main):
14746           Must plug audioconvert and audioresample between decoder
14747           and audio sink.
14748
14749 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14750
14751         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14752         (load_feature), (load_plugin):
14753         Allow empty strings for some of the plugin fields so we don't 
14754         drop valid plugin entries that were written out correctly
14755         (Fixes #341479)
14756
14757 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14758         
14759         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14760           Use g_remove and g_rename instead of remove and rename that don't 
14761           handle utf8 characters. rename was failing for users who had specific
14762           characters in their name then the registry was built at each 
14763           gstreamer init.
14764         * win32/vs6/gst_inspect.dsp:
14765         * win32/vs6/gst_launch.dsp:
14766         * win32/vs6/libgstbase.dsp:
14767         * win32/vs6/libgstcoreelements.dsp:
14768         * win32/vs6/libgstreamer.dsp:
14769           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14770           build of libgstreamer and clean unused libraries in projects link 
14771           settings.
14772
14773 2006-05-17  Edward Hervey  <edward@fluendo.com>
14774
14775         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14776         The queue is not responsible for pushing an EOS when receiving a fatal
14777         flow error. It's up to the real element driving the pipeline to do that.
14778
14779 2006-05-16  Edward Hervey  <edward@fluendo.com>
14780
14781         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14782         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14783         buffer returned a fatal error. It should just send an EOS and stop
14784         its task.
14785         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14786         when pushing buffers on the queue and will be able to handle the event.
14787
14788 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14789
14790         * docs/manual/basics-bins.xml:
14791         * docs/manual/basics-init.xml:
14792           Fix typos and minor errors in sample code (#341856).
14793
14794 2006-05-16  Wim Taymans  <wim@fluendo.com>
14795
14796         * docs/design/part-qos.txt:
14797         Fix indexes in formulas to make more sense.
14798
14799 2006-05-15  Wim Taymans  <wim@fluendo.com>
14800
14801         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14802         Don't report POSITION based on clock time if sync is
14803         disabled in a sink.
14804
14805 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14806
14807         * gst/gstobject.h:
14808           Add cast to make compiler happy - refcount variable was a gint
14809           in GstObject but is a guint in GObject and g_atomic_int_get()
14810           wants a gint *.
14811
14812 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14813
14814         * gst/parse/Makefile.am:
14815           chain commands using &&, which also makes parallel make work
14816
14817 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * docs/gst/gstreamer-sections.txt:
14820         * gst/gstevent.c:
14821         * gst/gstevent.h:
14822         * gst/gstmessage.h:
14823           Minor docs fixes.
14824
14825 === release 0.10.6 ===
14826
14827 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14828
14829         * configure.ac:
14830           releasing 0.10.6, "Take the cannoli"
14831
14832 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14833
14834         * tools/gst-launch.c: (print_tag):
14835           Fix use of uninitialized variable in the hypothetical
14836           case that some broken plugin creates a GST_TAG_IMAGE
14837           tag containing a NULL buffer (#341667).
14838
14839 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14840
14841         * tools/gst-launch.c: (print_tag):
14842           Print something more intelligible for image tags when
14843           using the -t switch (#341556).
14844
14845 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14846
14847         * Makefile.am:
14848           updates for win32
14849         * configure.ac:
14850           define GST_MAJORMINOR so we have it available in win32/common/config.h
14851           Possibly remove it from our Makefile.am files later
14852         * win32/common/config.h:
14853         * win32/common/config.h.in:
14854           added GST_MAJORMINOR
14855         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14856         * win32/common/gstversion.h:
14857           updated
14858
14859 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14860
14861         * win32/MANIFEST:
14862           Update win32 files listing.
14863         * win32/common/gstversion.h:
14864           Add GST_MAJORMINOR definition.
14865         * win32/common/libgstreamer.def:
14866           Add new exported functions.
14867           
14868 2006-05-12  Michael Smith  <msmith@fluendo.com>
14869
14870         * gst/gstplugin.c: (gst_plugin_load_file):
14871           If an so file has no plugin entry point, unload the module.
14872
14873 2006-05-11  Wim Taymans  <wim@fluendo.com>
14874
14875         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14876         (gst_queue_set_property):
14877         Don't forget to signal the _chain or _loop function 
14878         when the queue size or thresholds change since that might
14879         cause them to make progres again.
14880
14881 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14882
14883         * gst/gstclock.c: (gst_clock_class_init):
14884         * gst/gstindex.c: (gst_index_class_init):
14885         * gst/gstobject.c: (gst_object_class_init):
14886         * gst/gstpad.c: (gst_pad_class_init):
14887         * gst/gstpipeline.c: (gst_pipeline_class_init):
14888         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14889         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14890         * libs/gst/base/gstbasetransform.c:
14891         (gst_base_transform_class_init):
14892         * libs/gst/net/gstnetclientclock.c:
14893         (gst_net_client_clock_class_init):
14894         * libs/gst/net/gstnettimeprovider.c:
14895         (gst_net_time_provider_class_init):
14896         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14897         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14898         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14899         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14900         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14901         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14902         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14903         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14904         * plugins/elements/gsttee.c: (gst_tee_class_init):
14905         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14906         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14907           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14908
14909 2006-05-11  Wim Taymans  <wim@fluendo.com>
14910
14911         * gst/gstbuffer.c: (_gst_buffer_initialize):
14912         Register subbufer along with the buffer type so that
14913         it does not accidentally gets registered from N
14914         different streaming threads in a non threadsafe way.
14915
14916 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14917
14918         * gst/gstbuffer.h:
14919         * gst/gstevent.h:
14920         * gst/gstmessage.h:
14921           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14922           gst_event_ref() and gst_message_ref() functions again
14923           (ugly hack, please do fix if there's a better way besides
14924           overrides.txt, which doesn't seem to work).
14925
14926 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14927
14928         * libs/gst/check/gstcheck.h:
14929           add an assert for setting state to avoid lots of repetitive code
14930           in the future
14931
14932 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14933
14934         * gst/gstvalue.c: (gst_value_serialize_flags):
14935           fix a leak if no flags are set
14936         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14937           fix leak in tests
14938
14939 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14940
14941         * docs/manual/basics-pads.xml:
14942           Expand a bit on caps and filtered links and update
14943           examples that were still using the no longer existing
14944           gst_pad_link_filtered() (#338206).
14945
14946 2006-05-10  Wim Taymans  <wim@fluendo.com>
14947
14948         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14949         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14950         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14951         (gst_collect_pads_stop):
14952         * libs/gst/base/gstcollectpads.h:
14953         No need to call _stop in _finalize.
14954         Iterate the main pad list in _finalize.
14955         Added some more debug.
14956         Free lists and data in the right order.
14957         Also free data whem doing _remove_pad when stopped for
14958         backward compatibility protect ::started with PAD_LOCK as
14959         well.
14960
14961 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14962
14963         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14964         (gst_structure_parse_value):
14965           add some comments
14966           rename a method so that it actually says what it does better
14967
14968 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14969
14970         * gst/gstevent.c: (_gst_event_initialize):
14971         * gst/gstformat.c: (_gst_format_initialize):
14972           make sure some essential types used by events are registered
14973           as part of gst_init()
14974         * gst/gstvalue.c: (gst_value_serialize_flags):
14975           if no flags are set, serialize them to a value that represents NONE
14976           so that deserializing them works
14977         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14978           add tests for serialization and deserialization of flags
14979
14980 2006-05-10  Wim Taymans  <wim@fluendo.com>
14981
14982         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14983         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14984         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14985         (gst_collect_pads_event), (gst_collect_pads_chain):
14986         Update docs.
14987         Better debug info.
14988         Catch and return errors from the collect function
14989         Refuse data on eos pads.
14990
14991 2006-05-10  Edward Hervey  <edward@fluendo.com>
14992
14993         * gst/gstinterface.h:
14994         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14995         GInterface type checking.
14996         They were previously using non-defined macros.
14997
14998 2006-05-09  Wim Taymans  <wim@fluendo.com>
14999
15000         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15001         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15002         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15003         (gst_collect_pads_start), (gst_collect_pads_stop),
15004         (gst_collect_pads_peek), (gst_collect_pads_pop),
15005         (gst_collect_pads_available), (gst_collect_pads_read),
15006         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15007         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15008         (gst_collect_pads_chain):
15009         * libs/gst/base/gstcollectpads.h:
15010         Clean up the mess that is collectpads, add comments and
15011         FIXMEs where needed.
15012         Maintain a separate pad list so we can add pads while
15013         collecting the other ones. For this we need a new separate 
15014         lock (see comics).
15015         Fix memory leak in finalize.
15016         Refactor some weird code to set/unset pad flushing flags, mark
15017         with comments.
15018         Don't crash in _available, _read, _flush when we're EOS.
15019
15020         * tests/check/libs/.cvsignore:
15021         Ignore adapter check binary.
15022
15023 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15024
15025         * gst/gstindex.c: (gst_index_resolver_get_type):
15026         * plugins/elements/gstfakesink.c:
15027         (gst_fake_sink_state_error_get_type):
15028         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15029         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15030         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15031           Const-ify GEnumValue arrays.
15032
15033 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15034
15035         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15036           Add test case for flags + gst_buffer_make_metadata_writable().
15037
15038 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15039
15040         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15041           gst_buffer_make_metadata_writable() should maintain the
15042           buffer flags (those that make sense at least) (see #340859).
15043
15044 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15045
15046         * tools/gst-inspect.c:
15047         * tools/gst-launch.c:
15048         * tools/gst-typefind.c:
15049         * tools/gst-xmlinspect.c:
15050         * tools/tools.h:
15051           Fix up includes: need to include stdlib.h in tools.h for exit().
15052
15053 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * gst/gsttaglist.c: (_gst_tag_initialize):
15056         * gst/gsttaglist.h:
15057           API: add GST_TAG_IMAGE tag (#340721).
15058
15059 2006-05-08  Wim Taymans  <wim@fluendo.com>
15060
15061         * gst/gstquery.c:
15062         Added some docs for the segment query.
15063
15064 2006-05-08  Wim Taymans  <wim@fluendo.com>
15065
15066         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15067         (gst_base_src_loop), (gst_base_src_change_state):
15068         Always push non-flushing serialized events in the streaming 
15069         thread.
15070
15071 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15072
15073         * gst/gsterror.c: (_gst_stream_errors_init):
15074           Add a missing error string.
15075
15076 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15077
15078         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15079         Add applied_rate to the debug
15080
15081         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15082         Copy applied_rate into the outgoing NEWSEGMENT event
15083
15084 2006-05-08  Wim Taymans  <wim@fluendo.com>
15085
15086         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15087
15088         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15089         (gst_base_sink_change_state):
15090         call ::unlock before taking the PREROLL_LOCK so we can safely
15091         handle elements that lock in ::render.
15092         Fixes #340174.
15093
15094 2006-05-08  Edward Hervey  <edward@fluendo.com>
15095
15096         * autogen.sh: (CONFIGURE_DEF_OPT): 
15097         Darwin's libtoolize is in fact called glibtoolize.
15098         Adding glibtoolize to the list of accepted names for libtoolize.
15099
15100 2006-05-08  Wim Taymans  <wim@fluendo.com>
15101
15102         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15103         Unify error handling, don't post an error message
15104         when a push() returns EOS but perform our normal EOS
15105         handling code. Fixes #340772.
15106
15107 2006-05-08  Wim Taymans  <wim@fluendo.com>
15108
15109         * docs/design/part-overview.txt:
15110         Make upsteam/downstream concepts more clear.
15111         Give an example of serialized/non-serialized events.
15112
15113         * docs/design/part-events.txt:
15114         * docs/design/part-streams.txt:
15115         Mention applied_rate.
15116
15117         * docs/design/part-trickmodes.txt:
15118         Mention applied rate, flesh out some more use cases.
15119
15120         * gst/gstevent.c: (gst_event_new_new_segment),
15121         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15122         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15123         (gst_event_parse_tag), (gst_event_new_buffer_size),
15124         (gst_event_parse_buffer_size), (gst_event_new_qos),
15125         (gst_event_parse_qos), (gst_event_parse_seek),
15126         (gst_event_new_navigation):
15127         * gst/gstevent.h:
15128         Add applied_rate field to NEWSEGMENT event.
15129         API: gst_event_new_new_segment_full()
15130         API: gst_event_parse_new_segment_full()
15131
15132         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15133         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15134         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15135         * gst/gstsegment.h:
15136         Add applied_rate to GstSegment structure.
15137         Make calculation of stream_time and running_time more correct
15138         wrt rate/applied_rate.
15139         Add some more docs.
15140         API: GstSegment::applied_rate field
15141         API: gst_segment_set_newsegment_full();
15142
15143         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15144         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15145         * libs/gst/base/gstbasetransform.c:
15146         (gst_base_transform_sink_eventfunc),
15147         (gst_base_transform_handle_buffer):
15148         Parse and use applied_rate in the GstSegment field.
15149
15150         * tests/check/gst/gstevent.c: (GST_START_TEST):
15151         Add check for applied_rate field.
15152
15153         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15154         (gstsegments_suite):
15155         Add more checks for various GstSegment operations.
15156
15157 2006-05-08  Wim Taymans  <wim@fluendo.com>
15158
15159         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15160         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15161         (gst_base_sink_get_position), (gst_base_sink_change_state):
15162         Store the sync time of the buffer end position separatly in a
15163         new variable eos_rtime so we can properly sync the EOS event.
15164         Fixes #340697.
15165         Fix the docs for gst_base_sink_set_qos_enabled().
15166         Don't set segment start to invalid value when we receive a 
15167         non TIME newsegment.
15168         get closer to handling position reporting for negative rates 
15169         correctly.
15170
15171 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15172
15173         * gst/gstcaps.c:
15174         Docs about how to print caps for debug purposes.
15175
15176         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15177         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15178
15179 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15180
15181         * gst/gstelement.c:
15182           use full enum names and preprend a '%' in docs strings to make recent 
15183           gtk-doc turn that into a link
15184
15185 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15186
15187         * docs/manual/basics-bins.xml:
15188         * docs/manual/basics-bus.xml:
15189         * docs/manual/basics-pads.xml:
15190           Some typo fixes, some additions, some clarifications. 
15191
15192 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15193
15194         * tools/gst-inspect.c: (main):
15195         * tools/gst-launch.c: (main):
15196         * tools/gst-run.c: (main):
15197         * tools/gst-typefind.c: (main):
15198         * tools/gst-xmlinspect.c: (main):
15199           Use the string passed to g_option_context_new() for
15200           what it's intended for - the program name is already
15201           printed elsewhere.
15202
15203 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15204
15205         * tools/Makefile.am:
15206         * tools/gst-inspect.c: (main):
15207         * tools/gst-launch.c: (main):
15208         * tools/gst-xmlinspect.c: (main):
15209         * tools/tools.h:
15210           Add back --version command line option (#340460).
15211
15212         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15213           Add --version option and use GOption for argument parsing; refactor a
15214           bit; accept directories as arguments and recurse into them; lastly,
15215           print a decent error message when things go wrong.
15216
15217 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15218
15219         * docs/manual/basics-bins.xml:
15220         Don't mention GstThread (#340611)
15221         * docs/manual/basics-elements.xml:
15222         Update link to GObject tutorial (#340607)
15223         
15224 2006-05-05  Wim Taymans  <wim@fluendo.com>
15225
15226         * gst/gstbuffer.h:
15227         * gst/gstminiobject.c:
15228         Add note about refcounting and miniobject/buffer writeability
15229         to docs. Fixes #340604
15230
15231         * gst/gstelementfactory.h:
15232         Added some explanation about @klass.
15233
15234 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15235
15236         * docs/manual/intro-motivation.xml:
15237         * docs/manual/manual.xml:
15238         Avoid CORBA & Bonobo references (#340598)
15239
15240 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15241
15242         * docs/manual/basics-bus.xml:
15243         * docs/manual/basics-pads.xml:
15244         Fix up some inaccuracies and omissions (#340609)
15245         
15246 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15247
15248         * gst/gstghostpad.c:
15249           Small typo in docs (#340625)
15250
15251 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15252
15253         * gst/parse/Makefile.am:
15254           Make 'make -j' proof (see #340698).
15255
15256 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15257
15258         * configure.ac:
15259           Require GLib-2.8 here as well.
15260
15261 2006-05-05  Wim Taymans  <wim@fluendo.com>
15262
15263         * gst/glib-compat.c:
15264         * gst/gst.c: (init_pre):
15265         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15266         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15267         (gst_object_dispatch_properties_changed):
15268         * gst/gstobject.h:
15269         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15270         * gst/gststructure.c: (gst_structure_set_valist):
15271         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15272         Remove pre glib2.8 compatibility, fixes #340508
15273
15274 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * gst/gsttaglist.h:
15277           Mention type of tags in doc blurbs.
15278
15279 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15280
15281         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15282         (gst_pad_configure_src), (gst_pad_push):
15283         Restore acceptcaps checking behaviour now that good plugins have
15284         been released.
15285
15286 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15287
15288         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15289
15290         * gst/gst.c:
15291         * gst/gstbus.c:
15292         * gst/gstclock.c:
15293         * gst/gstevent.c:
15294         * gst/gstformat.c:
15295         * gst/gstmessage.c:
15296         * gst/gstparse.c:
15297         * gst/gstquery.c:
15298         * gst/gstutils.c:
15299         * gst/parse/Makefile.am:
15300         * libs/gst/base/gstadapter.c:
15301         * libs/gst/base/gstbasesrc.c:
15302         * libs/gst/base/gstpushsrc.c:
15303         * libs/gst/base/gsttypefindhelper.c:
15304         * plugins/elements/gstfakesrc.c:
15305         * plugins/elements/gstidentity.c:
15306           Make sure gstprivate.h and/or config.h are
15307           always included first, otherwise some of our
15308           defines (like _FILE_OFFSET_BITS) might be
15309           redefined in the system headers. Fixes build
15310           on opensolaris (#340016).
15311
15312 2006-05-04  Wim Taymans  <wim@fluendo.com>
15313
15314         * docs/libs/gstreamer-libs-sections.txt:
15315         API: addition: gst_adapter_take_buffer()
15316         
15317         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15318         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15319         (gst_adapter_available_fast):
15320         * libs/gst/base/gstadapter.h:
15321         Prepare for optimizing the hell out of this hugely inefficient
15322         piece of code. 
15323         Added gst_adapter_take_buffer() so we can at least start thinking
15324         about subbuffering and merging.
15325         Added some comments.
15326
15327         * tests/check/Makefile.am:
15328         * tests/check/libs/adapter.c: (GST_START_TEST),
15329         (gst_adapter_suite), (main):
15330         Added GstAdapter check.
15331
15332 2006-05-04  Wim Taymans  <wim@fluendo.com>
15333
15334         * docs/design/part-overview.txt:
15335         Fix some typos, add blurb about buffer flags.
15336
15337 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15338
15339         * docs/libs/gstreamer-libs-sections.txt:
15340           make sure GstBaseTransformClass shows up in the docs
15341         * libs/gst/base/gstbasetransform.c:
15342         * libs/gst/base/gstbasetransform.h:
15343           move docs so gtk-doc picks it up now
15344
15345 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15346
15347         * docs/libs/gstreamer-libs-sections.txt:
15348           add missing symbols to docs
15349
15350 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15351
15352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15353           back out the newsegment handling change, see #340060 for ongoing
15354           discussion
15355
15356 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15357
15358         * tools/gst-run.c: (get_candidates), (main):
15359           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15360           work); fix typo in error message. Fixes #340079.
15361
15362 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15363
15364         * common/Makefile.am:
15365         * docs/Makefile.am:
15366         * docs/faq/Makefile.am:
15367         * docs/gst/Makefile.am:
15368         * docs/libs/Makefile.am:
15369         * docs/manual/Makefile.am:
15370         * docs/plugins/Makefile.am:
15371         * docs/pwg/Makefile.am:
15372         * docs/slides/Makefile.am:
15373         * docs/upload.mak:
15374         * common/upload.mak:
15375           move upload.mak to common
15376
15377 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15378
15379         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15380           add more asserts on refcounts
15381           do more cleanup at end of tests
15382           fix test leaks showing in FC5
15383
15384 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15385
15386         * plugins/elements/gsttypefindelement.c:
15387         (gst_type_find_element_handle_event):
15388         reverted wrong change and reflowed code to avoid others falling into
15389         this trap
15390
15391 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15392
15393         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15394           fix changelog entry about last collectpads change,
15395           add notes about proper fix
15396
15397 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15398
15399         * gst/gst.c:
15400         * gst/gstregistry.c: (gst_registry_scan_path_level),
15401         (gst_registry_scan_path):
15402         * gst/gstregistry.h:
15403           only write out registry if it has changed, fixes #338339
15404
15405 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15406
15407         * gst/gstbin.c:
15408         * gst/gstpipeline.c:
15409         * plugins/elements/gstcapsfilter.c:
15410         * plugins/elements/gstfakesink.c:
15411         * plugins/elements/gstfakesrc.c:
15412         * plugins/elements/gstfdsink.c:
15413         * plugins/elements/gstfdsrc.c:
15414         * plugins/elements/gstfilesink.c:
15415         * plugins/elements/gstfilesrc.c:
15416         * plugins/elements/gstidentity.c:
15417         * plugins/elements/gstqueue.c:
15418         * plugins/elements/gsttee.c:
15419         * plugins/elements/gsttypefindelement.c:
15420         (gst_type_find_element_handle_event):
15421           make GstElementDetails const
15422
15423 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15424
15425         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15426         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15427         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15428           more detailed debug and formatting cleanup,
15429           forward newsegments to src-pad (so that e.g. adder not eats them)
15430
15431 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15432
15433         * gst/gstutils.c: (gst_element_link_pads):
15434           cleanup double code
15435
15436 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15437
15438         * libs/gst/controller/gstcontroller.c:
15439         (gst_controller_sync_values):
15440           some little tuning
15441         * tests/check/libs/controller.c: (GST_START_TEST),
15442         (gst_controller_suite):
15443           a new test for live value handling
15444
15445 2006-04-28  Wim Taymans  <wim@fluendo.com>
15446
15447         * gst/gstutils.c: (push_and_ref):
15448         Added some more docs.
15449         Fix refcount issue whith gst_element_found_tags() helper 
15450         function. Fixes #338335
15451
15452         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15453         Added testsuite for gst_element_found_tags().
15454
15455 2006-04-28  Michael Smith  <msmith@fluendo.com>
15456
15457         * gst/gstvalue.c: (gst_value_serialize_flags):
15458           Avoid NULL dereference when trying to serialize flags containing
15459           invalid values.
15460
15461 2006-04-28  Michael Smith  <msmith@fluendo.com>
15462
15463         * plugins/elements/gsttypefindelement.c:
15464         (gst_type_find_element_handle_event):
15465           If we get EOS before any data is accumulated, don't use
15466           uninitialised local variables.
15467
15468 2006-04-28  Michael Smith  <msmith@fluendo.com>
15469
15470         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15471         (gst_dp_event_from_packet):
15472           Fixes in reading/writing events over GDP (not currently used?) - 
15473           dereferencing NULL events for unknown/invalid event types, memory
15474           leak, and change g_warning to GST_WARNING.
15475
15476 2006-04-28  Wim Taymans  <wim@fluendo.com>
15477
15478         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15479         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15480         (gst_base_sink_get_position), (gst_base_sink_change_state):
15481         When frame dropping is enabled, we should not ignore frames
15482         without a duration.
15483         Update some documentation.
15484
15485 2006-04-28  Wim Taymans  <wim@fluendo.com>
15486
15487         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15488         (gst_base_src_send_event), (gst_base_src_change_state):
15489         Documentation updates.
15490
15491 2006-04-28  Wim Taymans  <wim@fluendo.com>
15492
15493         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15494         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15495         handle EAGAIN, EINTR and short writes correctly. Also clean
15496         up some error cases, avoid a deadlock on bad file descriptors and
15497         use GST_DEBUG_OBJECT.
15498         Fixes #339843
15499
15500 2006-04-28  Wim Taymans  <wim@fluendo.com>
15501
15502         * gst/gstvalue.c: (gst_value_serialize_buffer),
15503         (gst_value_deserialize_buffer):
15504         Don't try to serialize a GValue with a NULL buffer. 
15505         Fixes #339821.
15506
15507         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15508         Added check for serialisation of NULL buffers.
15509
15510 2006-04-28  Wim Taymans  <wim@fluendo.com>
15511
15512         * gst/gstminiobject.c: (gst_value_take_mini_object):
15513         Taking a NULL miniobject is valid, fix the case where
15514         we try to unref the NULL miniobject.
15515
15516 2006-04-28  Wim Taymans  <wim@fluendo.com>
15517
15518         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15519
15520         * gst/gstbin.c: (gst_bin_handle_message_func):
15521         Update docs.
15522         Don't leak bin refcount when a state recalc is
15523         in progress and we delay another one #339808.
15524
15525 2006-04-28  Wim Taymans  <wim@fluendo.com>
15526
15527         * docs/design/part-TODO.txt:
15528         Mention QoS as an ongoing work item.
15529
15530         * docs/design/part-buffering.txt:
15531         New doc about buffering that needs to be fleshed out
15532         at some point.
15533
15534         * docs/design/part-qos.txt:
15535         More QoS policy for decoders/demuxers/transforms
15536
15537         * docs/design/part-trickmodes.txt:
15538         Small update.
15539
15540 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15541
15542         * configure.ac:
15543           back to HEAD
15544
15545 === release 0.10.5 ===
15546
15547 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15548
15549         * configure.ac:
15550           releasing 0.10.5, "Fogo"
15551
15552 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15553
15554         patch by: Wim Taymans
15555
15556         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15557         (gst_pad_configure_src), (gst_pad_push):
15558         * gst/gstpipeline.c: (gst_pipeline_init):
15559           Fix internal data flow errors.  Fixes #338711.
15560
15561 2006-04-12  Wim Taymans  <wim@fluendo.com>
15562
15563         * tests/check/gst/gstelement.c: (GST_START_TEST):
15564         Don't leak the factory.
15565
15566 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15567
15568         * configure.ac:
15569         * win32/common/config.h:
15570           prerelease
15571
15572 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15573
15574         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15575         (gst_controller_unset_all):
15576           Free allocated GstTimedValues when freeing list nodes.
15577           Should fix leaks 'make check-valgrind' complains about.
15578
15579         * win32/common/libgstcontroller.def:
15580           Add gst_controller_unset_all.
15581
15582 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15583
15584         * docs/libs/gstreamer-libs-sections.txt:
15585         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15586         (gst_controller_unset_all):
15587         * libs/gst/controller/gstcontroller.h:
15588         API: Added new method gst_controller_unset_all()
15589         fixed gst_controller_unset()
15590         * tests/check/libs/controller.c: (GST_START_TEST),
15591         (gst_controller_suite):
15592         Added two testcases for new and fixed method
15593
15594 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15595
15596         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15597           MSG_DONTWAIT is not defined on Cygwin, so work
15598           around that (fixes #317048).
15599           
15600 2006-04-11  Wim Taymans  <wim@fluendo.com>
15601
15602         * gst/gstelementfactory.c: (gst_element_register),
15603         (gst_element_factory_create), (gst_element_factory_make):
15604         Some cleanups.
15605         Fixed a FIXME.
15606         Updated docs (Fixes #131079)
15607
15608         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15609         Small cleanups.
15610
15611         * tests/check/gst/gstelement.c: (GST_START_TEST),
15612         (gst_element_suite):
15613         Added testcase for elementfactory class field.
15614
15615 2006-04-10  Wim Taymans  <wim@fluendo.com>
15616
15617         * gst/gstsegment.c:
15618         Added some more docs.
15619
15620         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15621         (gst_base_sink_reset_qos):
15622         Calculate more accurate rate values.
15623
15624 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15625
15626         * gst/gst_private.h:
15627           add a new #ifdef to use __declspec(dllimport) only for
15628           other modules and not for gstreamer core
15629         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15630           use gst_guint64_to_gdouble for conversion
15631         * win32/common/libgstreamer.def:
15632           add new exported functions
15633         * win32/vs6/gst_inspect.dsp:
15634         * win32/vs6/gst_launch.dsp:
15635         * win32/vs6/libgstbase.dsp:
15636         * win32/vs6/libgstcontroller.dsp:
15637         * win32/vs6/libgstcoreelements.dsp:
15638         * win32/vs6/libgstdataprotocol.dsp:
15639         * win32/vs6/libgstnet.dsp:
15640           update project files
15641
15642 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15643
15644         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15645         * gst/gstclock.c: (gst_clock_class_init):
15646         * gst/gstelement.c: (gst_element_class_init):
15647         * gst/gstindex.c: (gst_index_class_init):
15648         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15649         * gst/gstobject.c: (gst_object_class_init),
15650         (gst_signal_object_class_init):
15651         * gst/gstpad.c: (gst_pad_class_init):
15652         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15653         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15654         * gst/gstregistry.c: (gst_registry_class_init):
15655         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15656         * gst/gsttask.c: (gst_task_class_init):
15657         * gst/gstxml.c: (gst_xml_class_init):
15658         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15659         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15660         (gst_base_src_loop):
15661         * libs/gst/controller/gstcontroller.c:/
15662         (_gst_controller_class_init):
15663         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15664         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15665         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15666         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15667         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15668         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15669
15670 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15671
15672         * gst/gstpad.c: (gst_pad_link):
15673           Must set peer pads before calling the link function, otherwise
15674           a task started from a link function might get a flow-not-linked
15675           result when trying to push because the other thread where the
15676           linking happens hasn't had a chance to set the peers yet. This
15677           might happen for example when a queue gets linked to a downstream
15678           element, as queue starts a streaming task when its source pad
15679           gets linked. Happens in real life when playing back flac/musepack
15680           files in playbin (#332390).
15681           
15682 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15683
15684         * gst/gstindex.h:
15685         * gst/gstxml.h:
15686         * libs/gst/base/gstadapter.h:
15687         * libs/gst/base/gstbasesink.h:
15688         * libs/gst/base/gstbasesrc.h:
15689         * libs/gst/base/gstbasetransform.h:
15690         * libs/gst/base/gstcollectpads.h:
15691         * libs/gst/base/gstpushsrc.h:
15692         Fix broken GObject macros
15693
15694 2006-04-07  Wim Taymans  <wim@fluendo.com>
15695
15696         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15697         Initialize start and stop times, thanks valgrind.
15698
15699 2006-04-07  Wim Taymans  <wim@fluendo.com>
15700
15701         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15702         Be a bit nicer to badly behaving upstream elements that expect
15703         us to deal with non TIME segments and timestamps (such as fakesrc
15704         in the testsuite).
15705
15706 2006-04-07  Wim Taymans  <wim@fluendo.com>
15707
15708         * gst/gstbus.c:
15709         Small documentation clarification about the signal watch.
15710
15711         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15712         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15713         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15714         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15715         (gst_base_sink_get_position_last),
15716         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15717         Convert and store timestamps in stream time and running time, the
15718         raw timestamps are not useful, also document this better.
15719         Use different window sizes for good and bad QoS observations so
15720         we react to badness a little quicker.
15721         Keep track of the amount of rendered and dropped buffers.
15722         Send QoS timestamps in running time.
15723
15724         * libs/gst/base/gstbasetransform.c:
15725         (gst_base_transform_sink_eventfunc),
15726         (gst_base_transform_handle_buffer):
15727         Compare QoS timestamps against running time.
15728
15729 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15730
15731         * gst/gstpad.c:
15732           Typo fixes in docs.
15733
15734 2006-04-06  Michael Smith  <msmith@fluendo.com>
15735
15736         * gst/gstpad.c: (gst_pad_set_property):
15737           Use g_value_get_object() instead of g_value_dup_gst_object(),
15738           to avoid double-reffing the pad template (which we then sink,
15739           so this worked previously if (and only if) the pad template
15740           was floating.
15741
15742         * gst/gstpadtemplate.c: (gst_pad_template_init),
15743         (gst_pad_template_pad_created):
15744           Never return floating references to pad templates, create
15745           them as initially-sunken.
15746
15747           Document an extra function (and make this stop sinking our
15748           pad template, since that is now guaranteed to do nothing,
15749           since we created it sunken).
15750
15751         * gst/gstghostpad.c:
15752           Fix docs typo.
15753
15754 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15755
15756         * gst/gstinfo.c: (__gst_in_valgrind):
15757           Add some newlines.
15758
15759         * plugins/elements/gsttypefindelement.c:
15760         (gst_type_find_element_chain):
15761           Don't leak buffer caps.
15762
15763 2006-04-06  Michael Smith  <msmith@fluendo.com>
15764
15765         * gst/parse/grammar.y:
15766           Fix a leak in parse-launch for any source-or-sink named element 
15767           references used.
15768
15769         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15770           Unref the pipeline if it exists after we've failed parsing.
15771
15772 2006-04-05  Michael Smith  <msmith@fluendo.com>
15773
15774         * gst/gstpipeline.c: (gst_pipeline_init):
15775           When we create a pipeline bus, initially create it in flushing mode.
15776           Fixes leaks in at least one test, and makes a new pipeline work the
15777           same as one that has gone to READY and then back to NULL.
15778
15779         * gst/gstelement.c:
15780           Typo fix in docs.
15781
15782 2006-04-05  Michael Smith  <msmith@fluendo.com>
15783
15784         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15785           Unref a pad we reffed.
15786         * tests/check/gst/gstutils.c: (GST_START_TEST):
15787           Unref bins
15788
15789 2006-04-05  Michael Smith  <msmith@fluendo.com>
15790
15791         * gst/gstquery.c: (gst_query_set_formats),
15792         (gst_query_set_formatsv):
15793           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15794
15795 2006-04-05  Michael Smith  <msmith@fluendo.com>
15796
15797         * tests/check/generic/sinks.c: (GST_START_TEST):
15798           Fix a variety of memleaks in sinks check, which are only sometimes 
15799           shown by running the tests under valgrind (weird?).
15800
15801 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15802
15803         * docs/version.entities.in:
15804           Fix the substituted entity name after thomas' changes on the
15805           weekend.
15806
15807 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15808
15809         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15810         VALGRIND_PRINTF
15811         
15812 2006-04-05  Andy Wingo  <wingo@pobox.com>
15813
15814         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15815
15816         * libs/gst/base/gstbasetransform.c
15817         (gst_base_transform_sink_eventfunc): When resetting our segment on
15818         FLUSH_STOP, also update the flag saying we haven't seen a
15819         newsegment.
15820
15821 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15822
15823         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15824
15825         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15826         (gst_plugin_check_license):
15827           minor clean-ups: G_DEFINE_TYPE already takes care of the
15828           parent_class stuff, no need to do it twice. Mark array of
15829           license strings as constant. (#337103)
15830           
15831 2006-04-04  Michael Smith  <msmith@fluendo.com>
15832
15833         * tools/gst-inspect.c: (print_element_list):
15834           Free the right plugin list; fixes a memory leak.
15835
15836 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15837
15838         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15839
15840         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15841           Don't error out on empty buffers (#336945).
15842           
15843 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15844
15845         * docs/libs/gstreamer-libs-sections.txt:
15846         * gst/gsttaglist.c:
15847         * libs/gst/base/gstbasesink.c:
15848         * libs/gst/base/gstbasesink.h:
15849         * libs/gst/base/gstbasesrc.c:
15850         * libs/gst/base/gstbasesrc.h:
15851           Documentation updates. Make BaseSink and BaseSrc docs contain the
15852           class structure so that people can actually see the prototypes for
15853           virtual functions they're supposed to be overriding.
15854
15855 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15856
15857         * plugins/elements/gsttypefindelement.c:
15858         (gst_type_find_element_chain):
15859           More debug info; when skipping typefinding, send cached
15860           events in all cases.
15861
15862 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15863
15864         * configure.ac:
15865           use new AS_VERSION and AS_NANO macros
15866         * gst/gst-i18n-lib.h:
15867         * gst/gst.c:
15868         * gst/gsterror.c:
15869         * gst/gstversion.h.in:
15870         * win32/common/config.h:
15871         * win32/common/config.h.in:
15872           update accordingly
15873
15874 2006-03-31  Michael Smith  <msmith@fluendo.com>
15875
15876         * plugins/elements/gsttypefindelement.c:
15877         (gst_type_find_element_chain):
15878           Do not typefind content if the buffers already have caps.
15879           Neccesary for icydemux (#333657), and the right thing to do anyway.
15880
15881 2006-03-30  Wim Taymans  <wim@fluendo.com>
15882
15883         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15884         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15885         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15886         (gst_base_sink_record_qos_observation),
15887         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15888         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15889         (gst_base_sink_change_state):
15890         More QoS measurements as described in the design doc.
15891         Get rid of ringbuffer with observations, running average is
15892         more simple and equally good.
15893         Calculates valid proportion now.
15894         Added beginning of flood measurement.
15895
15896 2006-03-29  Wim Taymans  <wim@fluendo.com>
15897
15898         * docs/design/part-qos.txt:
15899         * gst/gstclock.c:
15900         Small documentation updates and additions.
15901
15902 2006-03-29  Wim Taymans  <wim@fluendo.com>
15903
15904         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15905         (gst_base_src_send_event), (gst_base_src_loop),
15906         (gst_base_src_change_state):
15907         Perform the EOS logic when we reach the segment stop position.
15908         Fix compilation on gcc4.1
15909
15910 2006-03-29  Wim Taymans  <wim@fluendo.com>
15911
15912         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15913
15914         * plugins/elements/gstqueue.c: (gst_queue_init),
15915         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15916         (gst_queue_set_property):
15917         * plugins/elements/gstqueue.h:
15918         In queue, when EOS is received, if minimum threshold > max_size -
15919         current_level, there is chance that queue blocks forever in conditional
15920         item del wait. This is because the queue is not emptied completely due
15921         to minimum threshold.  Here is another approach. Instead of setting
15922         cur_levels to max in EOS, just zero all minimum threshold levels. This
15923         should make sure that queue gives out all data. When going to READY
15924         (stop) state, just reset the original minimum threshold levels.
15925         Fixes #336336.
15926
15927 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15928
15929         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15930         (gst_type_find_element_handle_event),
15931         (gst_type_find_element_send_cached_events),
15932         (gst_type_find_element_change_state):
15933         * plugins/elements/gsttypefindelement.h:
15934           When typefinding is done in push mode, we should cache
15935           events we receive during typefinding instead of just
15936           dropping them (e.g. newsegment, custom events from
15937           dvdreadsrc etc.) and then send them out once we've
15938           determined the type of the stream (and decodebin
15939           has had a chance to plug in a decoder/demuxer).
15940           
15941 2006-03-27  Wim Taymans  <wim@fluendo.com>
15942
15943         * docs/design/part-qos.txt:
15944         First QoS ideas.
15945
15946 2006-03-27  Wim Taymans  <wim@fluendo.com>
15947
15948         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15949
15950         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15951         (gst_base_src_send_event), (gst_base_src_change_state):
15952         Handle element seek correctly when we are streaming.
15953         Fixes #326998.
15954
15955 2006-03-24  Michael Smith  <msmith@fluendo.com>
15956
15957         * docs/faq/gst-uninstalled:
15958           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15959           allow you to correctly run intalled applications built against old 
15960           core, using plugins that require updated core (e.g. running
15961           installed totem against a full uninstalled gstreamer stack)
15962
15963 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15964
15965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15966         more debug details
15967
15968 2006-03-24  Wim Taymans  <wim@fluendo.com>
15969
15970         * docs/gst/gstreamer-sections.txt:
15971         Rearrange the order of the methods so that related methods
15972         are grouped together in sections.
15973
15974 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15975
15976         * gst/gstelement.c:
15977           Little clarification in the docs
15978
15979 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15980
15981         * docs/README:
15982         formatting fix
15983         * plugins/elements/gstidentity.c:
15984         * plugins/elements/gstqueue.c:
15985         * plugins/elements/gsttee.c:
15986         * plugins/elements/gsttypefindelement.c:
15987         GST_ELEMENT_DETAILS formatting
15988
15989 2006-03-24  Wim Taymans  <wim@fluendo.com>
15990
15991         * libs/gst/base/gstbasesink.h:
15992         Only add fields, not insert or we break ABI.
15993
15994 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15995
15996         * win32/common/libgstbase.def:
15997         * win32/common/libgstreamer.def:
15998           Update, add recently added functions.
15999
16000 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16001
16002         * docs/gst/gstreamer-sections.txt:
16003         * gst/gstutils.c: (gst_pad_query_peer_position),
16004         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16005         * gst/gstutils.h:
16006           API: add some new utility functions:
16007            - gst_pad_query_peer_position()
16008            - gst_pad_query_peer_duration()
16009            - gst_pad_query_peer_convert()
16010           
16011 2006-03-23  Wim Taymans  <wim@fluendo.com>
16012
16013         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16014         (gst_base_sink_init), (gst_base_sink_finalize),
16015         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16016         (gst_base_sink_set_property), (gst_base_sink_get_property),
16017         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16018         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16019         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16020         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16021         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16022         (gst_base_sink_preroll_object), (gst_base_sink_event),
16023         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16024         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16025         (gst_base_sink_query), (gst_base_sink_change_state):
16026         Decouple max-lateness and the fact that QoS messages are generated
16027         with a new property (qos).
16028         added API: GstBaseSink::async_play()
16029         Add vmethod so subclasses can be notified of ASYNC playing
16030         state changes.
16031         Collect timestamp start and stop to report better current
16032         position in EOS/PLAYING/PAUSED/READY/NULL.
16033         Refactor QoS/frame dropping and other measurements.
16034         API: GstBaseSrc::qos
16035         Fixes #326311
16036
16037         * libs/gst/base/gstbasesink.h:
16038         Added Private struct.
16039         API: gst_base_sink_set_qos_enabled()
16040         API: gst_base_sink_is_qos_enabled()
16041
16042 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16043
16044         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16045           If compiling against GLib-2.8 or newer, try to read the
16046           registry file using GMappedFile first before falling back
16047           to fopen() + fread() (#332151).
16048
16049 2006-03-22  Wim Taymans  <wim@fluendo.com>
16050
16051         * gst/gstinfo.c: (gst_debug_set_active),
16052         (gst_debug_category_set_threshold):
16053         Disable debugging unless explicitly activated.
16054         Fixes #335480.
16055
16056 2006-03-22  Wim Taymans  <wim@fluendo.com>
16057
16058         * gst/gstelement.c: (gst_element_set_locked_state),
16059         (gst_element_dispose):
16060         Cleanup the error case.
16061
16062         * gst/gstobject.c: (gst_object_dispose):
16063         print a critical when some object was disposed with
16064         a parent, also revive the object since it might
16065         crash the parent.
16066
16067 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16068
16069         * tools/gst-launch.1.in:
16070           Fix another typo.
16071
16072 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16073
16074         * configure.ac:
16075         * tests/check/Makefile.am:
16076           disable some tests when we don't have a registry
16077         * tests/check/gst/gstutils.c: (gst_utils_suite):
16078           don't build the part that needs parsing
16079
16080 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16081
16082         * gst/Makefile.am
16083         * tests/examples/Makefile.am:
16084           fix --disable-parse build
16085
16086 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16087
16088         * tools/gst-feedback.1.in:
16089           Fix typo: s/feeback/feedback/ (#133494).
16090
16091 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16092
16093         * tools/Makefile.am:
16094         * tools/gst-launch.1.in:
16095           Add FILES section and correct entry about GST_REGISTRY_PATH
16096           environment variable (#133495; #133494).
16097
16098 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16099
16100         * tools/Makefile.am:
16101         * tools/gst-md5sum.1.in:
16102         * tools/gst-md5sum.c:
16103           Remove gst-md5sum and man page (the md5sink element
16104           required was removed ages ago)
16105
16106 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16107
16108         * gst/gststructure.c: (gst_structure_id_set_value):
16109           Make sure that string fields in structures/taglists
16110           contain valid UTF-8 - we don't want to pass rubbish to
16111           applications because of a buggy plugin (cp. #334167).
16112
16113 2006-03-21  Edward Hervey  <edward@fluendo.com>
16114
16115         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16116         (gst_bin_handle_message_func):
16117         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16118         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16119         (gst_element_set_bus_func):
16120         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16121         * gst/gstminiobject.c: (gst_value_set_mini_object),
16122         (gst_value_take_mini_object):
16123         * gst/gstpad.c: (gst_pad_set_pad_template):
16124         * gst/gstpipeline.c: (gst_pipeline_dispose),
16125         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16126         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16127         (gst_collect_pads_chain):
16128         * libs/gst/net/gstnettimeprovider.c:
16129         (gst_net_time_provider_set_property):
16130         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16131         It's in fact all issues with gst_*object_replace().
16132
16133 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16134
16135         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16136         
16137         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16138         * pkgconfig/gstreamer-check.pc.in:
16139           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16140
16141 2006-03-21  Edward Hervey  <edward@fluendo.com>
16142
16143         * gst/gstbuffer.h:
16144         * gst/gstevent.h:
16145         * gst/gstmessage.h:
16146         gst_[buffer|event|message]_ref() macros are replaced by a static
16147         inline functions because gcc-4.1 will about if the return value
16148         isn't used.
16149         * tests/check/gst/gstevent.c: (event_probe):
16150         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16151
16152 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16153
16154         * gst/gstutils.h:
16155         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16156         the type' case. (Closes: #335195 for now). In the future, when we
16157         depend on GLib 2.10, we could also intern the type name using
16158         g_intern_static_string()
16159
16160 2006-03-20  Wim Taymans  <wim@fluendo.com>
16161
16162         * gst/gstbin.c: (gst_bin_handle_message_func),
16163         (bin_query_max_init), (bin_query_position_fold),
16164         (bin_query_position_done), (gst_bin_query):
16165         Position query should also take max of all streams.
16166
16167 2006-03-20  Wim Taymans  <wim@fluendo.com>
16168
16169         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16170         (gst_fake_src_finalize):
16171         Fix leaks in fakesrc.
16172
16173         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16174         Fix leaks in the testcase.
16175
16176 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16177
16178         * gst/gst_private.h:
16179           add win32 specific import decoration(__declspec(dllimport)) 
16180           for all extern GstDebugCategory * variables
16181         * win32/common/libgstbase.def:
16182         * win32/common/libgstcontroller.def:
16183         * win32/common/libgstreamer.def:
16184           Add some exports, remove empty lines
16185         * win32/common/libgstdataprotocol.def:
16186         * win32/common/libgstdataprotocol.dsp:
16187         * win32/common/libgstnet.def:
16188         * win32/common/libgstnet.dsp:
16189           new project files and exportation files added
16190         
16191 2006-03-19  Wim Taymans  <wim@fluendo.com>
16192
16193         * tests/check/libs/basesrc.c: (eos_event_counter):
16194         Use proper return value for probe.
16195
16196 2006-03-17  Wim Taymans  <wim@fluendo.com>
16197
16198         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16199         (gst_pad_push):
16200         Don't leak buffers, caps and pads on negotiation errors.
16201
16202 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16203
16204         * docs/faq/cvs.xml:
16205         * docs/faq/dependencies.xml:
16206         * docs/faq/developing.xml:
16207         * docs/faq/faq.xml:
16208         * docs/faq/general.xml:
16209         * docs/faq/getting.xml:
16210         * docs/faq/legal.xml:
16211         * docs/faq/troubleshooting.xml:
16212         * docs/faq/using.xml:
16213         Faq review and update.
16214
16215 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16216
16217         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16218         (gst_pad_push):
16219         Don't pound the cpu to pieces by checking get_caps when accept_caps
16220         is called with the same caps as the pad already has.
16221         Use GST_DEBUG_OBJECT when outputting caps change information.
16222
16223 2006-03-15  Wim Taymans  <wim@fluendo.com>
16224
16225         * gst/gstclock.c: (gst_clock_class_init):
16226         Fix docs.
16227
16228 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16229
16230         * gst/gstbuffer.h:
16231         Documentation fix.
16232
16233         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16234         (gst_pad_accept_caps), (gst_pad_configure_sink),
16235         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16236         Make the default acceptcaps behaviour be to check the requested 
16237         caps against the gst_pad_get_caps output. 
16238
16239         Ensure that gst_pad_accept_caps is used to check caps when a pad
16240         doesn't have a setcaps function, so that pads automatically refuse 
16241         caps that they don't allow in their pad template. (Fixes #332986)
16242
16243         When a buffer with attached caps is pushed, ensure that the source 
16244         pad receives those caps even if the element didn't call
16245         gst_pad_set_caps first.
16246
16247 2006-03-15  Wim Taymans  <wim@fluendo.com>
16248
16249         * libs/gst/base/gstadapter.c:
16250         Add some docs.
16251
16252 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16253
16254         * win32/common/libgstbase.def:
16255         * win32/common/libgstcontroller.def:
16256         * win32/common/libgstreamer.def:
16257           Add a whole bunch of missing functions (#334434).
16258
16259 2006-03-14  Wim Taymans  <wim@fluendo.com>
16260
16261         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16262         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16263         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16264         Better debug info when we receive a segment event.
16265         Reorganize a bit so we can pass the get_times() results around.
16266         Use the segment format when calculating the running time.
16267         Don't do QoS is sync is disabled or we have no clock or the
16268         element does not want us to sync to the clock.
16269         Don't drop buffers if QoS is disabled for now.
16270
16271 2006-03-14  Wim Taymans  <wim@fluendo.com>
16272
16273         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16274         Marked the stats property as unimplemented so people don't get
16275         wild ideas.
16276         Add debug message when regression goes wrong.
16277         Added some more docs.
16278
16279 2006-03-14  Wim Taymans  <wim@fluendo.com>
16280
16281         * gst/gstsegment.c: (gst_segment_to_stream_time):
16282         Return correct return type in case of errors.
16283
16284 2006-03-14  Wim Taymans  <wim@fluendo.com>
16285
16286         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16287           Don't segfault on invalid formats.
16288
16289 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16290
16291         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16292           Can't use gst_segment_to_running_time() when the segment
16293           is not in GST_TIME_FORMAT (like with filesink, for example).
16294           Stops flac encoding pipelines from spewing critical warnings
16295           at EOS (#331248).
16296           
16297 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16298
16299         * gst/gstpipeline.c: (gst_pipeline_class_init):
16300           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16301
16302         * plugins/elements/gsttypefindelement.c:
16303         (gst_type_find_element_handle_event):
16304           Don't try to typefind empty streams.
16305
16306 2006-03-14  Wim Taymans  <wim@fluendo.com>
16307
16308         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16309         (gst_base_sink_do_qos):
16310         Separate QoS calculation.
16311         Only drop buffers when lateness is bigger than the 
16312         duration of the buffer.
16313
16314 2006-03-13  Wim Taymans  <wim@fluendo.com>
16315
16316         * gst/gstpipeline.c: (gst_pipeline_set_property),
16317         (gst_pipeline_get_property), (do_pipeline_seek),
16318         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16319         (gst_pipeline_get_delay):
16320         Don't deadlock when reading properties.
16321
16322 2006-03-13  Wim Taymans  <wim@fluendo.com>
16323
16324         * libs/gst/base/gstbasetransform.c:
16325         (gst_base_transform_class_init), (gst_base_transform_init),
16326         (gst_base_transform_sink_event),
16327         (gst_base_transform_sink_eventfunc),
16328         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16329         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16330         (gst_base_transform_set_property),
16331         (gst_base_transform_get_property),
16332         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16333         (gst_base_transform_set_qos_enabled),
16334         (gst_base_transform_is_qos_enabled):
16335         * libs/gst/base/gstbasetransform.h:
16336         Make basetransform virtual method for src events too.
16337         Handle QOS in basetransform.
16338         API: gst_base_transform_update_qos()
16339         API: gst_base_transform_set_qos_enabled()
16340         API: gst_base_transform_is_qos_enabled()
16341
16342 2006-03-13  Wim Taymans  <wim@fluendo.com>
16343
16344         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16345         (gst_base_sink_do_sync):
16346         Small cleanups.
16347         Use QOS debug category.
16348
16349 2006-03-13  Wim Taymans  <wim@fluendo.com>
16350
16351         * plugins/elements/gstqueue.c:
16352         Very small doc update.
16353
16354 2006-03-13  Wim Taymans  <wim@fluendo.com>
16355
16356         * gst/gst_private.h:
16357         * gst/gstinfo.c: (_gst_debug_init):
16358         Added QOS debug category
16359
16360 2006-03-13  Wim Taymans  <wim@fluendo.com>
16361
16362         * docs/gst/gstreamer-sections.txt:
16363         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16364         * gst/gstbin.h:
16365         * gst/gstbus.c: (gst_bus_class_init):
16366         * gst/gstbus.h:
16367         * gst/gstclock.c:
16368         * gst/gstelement.c: (gst_element_set_locked_state):
16369         * gst/gstsegment.c:
16370         Documentation updates.
16371
16372         * gst/gstpipeline.c: (gst_pipeline_get_type),
16373         (gst_pipeline_class_init), (gst_pipeline_init),
16374         (gst_pipeline_dispose), (gst_pipeline_set_property),
16375         (gst_pipeline_get_property), (do_pipeline_seek),
16376         (gst_pipeline_send_event), (gst_pipeline_change_state),
16377         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16378         (gst_pipeline_get_delay):
16379         * gst/gstpipeline.h:
16380         Added methods for setting the delay.
16381         API: gst_pipeline_set_delay()
16382         API: gst_pipeline_get_delay()
16383         Add pipeline debug category
16384         Various cleanups.
16385         Updated docs.
16386         Don't reset stream time when seek failed.
16387
16388 2006-03-13  Wim Taymans  <wim@fluendo.com>
16389
16390         * docs/design/draft-klass.txt:
16391         * docs/design/part-clocks.txt:
16392         * docs/design/part-events.txt:
16393         * docs/design/part-gstbin.txt:
16394         * docs/design/part-gstpipeline.txt:
16395         * docs/design/part-messages.txt:
16396         * docs/design/part-negotiation.txt:
16397         * docs/design/part-overview.txt:
16398         * docs/design/part-preroll.txt:
16399         * docs/design/part-seeking.txt:
16400         * docs/design/part-states.txt:
16401         * docs/design/part-streams.txt:
16402         Documentation updates.
16403
16404 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16405
16406         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16407         us to leak strings...
16408
16409 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16410
16411         * libs/gst/net/gstnettimeprovider.c:
16412           fix docs
16413         * win32/common/config.h:
16414           update
16415
16416 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16417
16418         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16419
16420         * configure.ac:
16421           Don't check for libgnomeui (leftover from old examples
16422           that aren't built or disted any longer) (#334303).
16423           
16424 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16425
16426         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16427         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16428           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16429           there's no space left on the device.
16430
16431 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16432
16433         * gst/gstclock.h:
16434           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16435           to cast the input to GstClockTime before comparing with
16436           another GstClockTime value.
16437
16438 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16439
16440         * configure.ac:
16441           back to trunk
16442
16443 === release 0.10.4 ===
16444
16445 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16446
16447         * configure.ac:
16448           releasing 0.10.4, "Light"
16449
16450 2006-03-10  Michael Smith  <msmith@fluendo.com>
16451
16452         * libs/gst/dataprotocol/dataprotocol.c:
16453           Fix docs for dataprocotol to not get the return types completely
16454           wrong for a few functions.
16455
16456 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16457
16458         * docs/gst/gstreamer-sections.txt:
16459         * gst/gstpipeline.c: (gst_pipeline_class_init),
16460         (gst_pipeline_init), (gst_pipeline_set_property),
16461         (gst_pipeline_get_property), (gst_pipeline_change_state),
16462         (gst_pipeline_set_auto_flush_bus),
16463         (gst_pipeline_get_auto_flush_bus):
16464         * gst/gstpipeline.h:
16465           Add new API: gst_pipeline_set_auto_flush_bus() and
16466           gst_pipeline_get_auto_flush_bus() to disable automatic
16467           flushing of the pipeline's GstBus when going from READY
16468           to NULL state (#332045).
16469
16470 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16471
16472         * docs/gst/gstreamer-sections.txt:
16473         * gst/gsturi.c: (gst_uri_has_protocol):
16474         * gst/gsturi.h:
16475            Add new API: gst_uri_has_protocol() (#333779).
16476
16477 2006-03-09  Wim Taymans  <wim@fluendo.com>
16478
16479         * gst/gstclock.c: (gst_clock_entry_new),
16480         (gst_clock_id_compare_func), (gst_clock_id_wait),
16481         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16482         (gst_clock_init), (gst_clock_get_internal_time),
16483         (gst_clock_set_master), (do_linear_regression),
16484         (gst_clock_add_observation), (gst_clock_set_property):
16485         * gst/gstclock.h:
16486         Review docs.
16487         Small cleanups.
16488         Fix a possible segfault when the window-size is made smaller.
16489         Calculate jitter before performing the clock wait. Ideally
16490         the clock implementation should calculate jitter but we need
16491         API breakage for that.
16492
16493         * gst/gstsystemclock.c: (gst_system_clock_init):
16494         Docs review.
16495         
16496         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16497         Remove leftover else
16498
16499         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16500         (gst_systemclock_suite):
16501         Added check to test GST_CLOCK_DIFF.
16502
16503 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16504
16505         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16506         (gst_type_find_helper_get_range):
16507           If we are provided with the size, we should implement
16508           GstTypeFind::get_length, so that typefind functions who
16509           want to can actually peek at the middle of a file.
16510
16511 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16512
16513         * docs/manual/advanced-dataaccess.xml:
16514           Add some very very basic error checking.
16515
16516         * docs/pwg/appendix-checklist.xml:
16517           Some updates to the list of things to check when writing an element.
16518
16519 2006-03-08  Wim Taymans  <wim@fluendo.com>
16520
16521         * docs/design/part-element-transform.txt:
16522         Added some docs about the design of tranform elements.
16523
16524         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16525         (gst_base_src_loop), (gst_base_src_change_state):
16526         Mark buffers with the DISCONT flag.
16527
16528 2006-03-08  Michael Smith  <msmith@fluendo.com>
16529
16530         * gst/gstregistry.h:
16531         * gst/gstregistryxml.c: (gst_registry_save),
16532         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16533         (gst_registry_xml_save_pad_template),
16534         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16535         (gst_registry_xml_write_cache):
16536           Rewrite registry-saving to avoid race conditions and check for
16537           failed writes.
16538
16539 2006-03-08  Wim Taymans  <wim@fluendo.com>
16540
16541         * libs/gst/base/gstbasetransform.c:
16542         (gst_base_transform_transform_caps),
16543         (gst_base_transform_transform_size),
16544         (gst_base_transform_prepare_output_buffer),
16545         (gst_base_transform_get_unit_size),
16546         (gst_base_transform_buffer_alloc),
16547         (gst_base_transform_handle_buffer),
16548         (gst_base_transform_change_state):
16549         Cleanups, separate normal flow from errors, add sensible
16550         DEBUG lines.
16551         Don't try to renegotiate when allocating an output buffer.
16552         Also copy DISCONT buffer flag when copying a buffer.
16553         Reset the transform after we finish streaming, not during.
16554
16555 2006-03-08  Wim Taymans  <wim@fluendo.com>
16556
16557         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16558         Use last buffer timestamp in qos message.
16559
16560 2006-03-07  Wim Taymans  <wim@fluendo.com>
16561
16562         Patch by: Christophe Fergeau
16563
16564         * docs/pwg/advanced-tagging.xml:
16565         * docs/pwg/building-pads.xml:
16566           fixes #333416
16567
16568 2006-03-07  Wim Taymans  <wim@fluendo.com>
16569
16570         * docs/libs/gstreamer-libs-sections.txt:
16571         Added basesink new methods.
16572
16573         * gst/gstevent.c:
16574         * gst/gstevent.h:
16575         Docs updates. Flesh out the QoS docs.
16576
16577         * libs/gst/base/gstadapter.c:
16578         Small doc clarification about ownership and flushing.
16579
16580         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16581         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16582         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16583         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16584         * libs/gst/base/gstbasesink.h:
16585         API additions: 
16586         Added new methods to allow subclass to control max-lateness 
16587         and sync.
16588         Generate very basic QoS events based on last sync observation.
16589         Updated docs, fix typo, added some QoS blurb.
16590
16591         * libs/gst/base/gstbasesrc.c:
16592         Remove obsolete _get_state() calls from docs.
16593
16594 2006-03-07  Wim Taymans  <wim@fluendo.com>
16595
16596         * docs/libs/gstreamer-libs-sections.txt:
16597         * libs/gst/base/gstbasetransform.h:
16598         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16599         Fix docs for GstBaseSrc.
16600
16601 2006-03-07  Wim Taymans  <wim@fluendo.com>
16602
16603         * docs/gst/gstreamer-sections.txt:
16604         * gst/gstbuffer.h:
16605         * gst/gstvalue.c:
16606         * libs/gst/base/gstbasetransform.h:
16607         Small documentation fixes.
16608
16609 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16610
16611         * gst/gstvalue.c:
16612           Document thread-unsafety of gst_value_register_foo_func()
16613           when used at the same time as gst_value_foo() (#322628).
16614
16615 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16616
16617         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16618         (gst_push_src_check_get_range):
16619           Push sources don't support pull mode by default.
16620
16621 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16622
16623         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16624         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16625         (gst_base_src_default_check_get_range):
16626         * libs/gst/base/gstbasesrc.h:
16627           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16628           provide default implementation, and rename
16629           gst_base_src_check_get_range() to
16630           gst_base_src_pad_check_get_range() for clarity.
16631
16632 2006-03-06  Wim Taymans  <wim@fluendo.com>
16633
16634         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16635         Make property overridable.
16636
16637 2006-03-06  Wim Taymans  <wim@fluendo.com>
16638
16639         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16640         (gst_base_sink_init), (gst_base_sink_set_property),
16641         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16642         * libs/gst/base/gstbasesink.h:
16643         API addition: Make max-lateness a property.
16644
16645 2006-03-06  Wim Taymans  <wim@fluendo.com>
16646
16647         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16648         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16649         Don't ever draw a frame that is >10ms late.
16650
16651 2006-03-06  Michael Smith  <msmith@fluendo.com>
16652
16653         * gst/gstmessage.c: (_gst_message_copy):
16654           When copying a message, set the parent_refcount of the enclosed
16655           structure to point at the copy, not the original message.
16656
16657 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16658
16659         Patch by: Christophe Fergeau
16660
16661         * gst/gstutils.h:
16662           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16663           usable in c++ code (#333417)
16664
16665 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16666
16667         * gst/gstclock.h:
16668           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16669
16670 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16671
16672         * libs/gst/base/gstbasetransform.c:
16673         (gst_base_transform_transform_caps):
16674           Make sure caps are writable before passing them to
16675           gst_caps_append().
16676
16677 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16678
16679         * gst/gsterror.h:
16680           Fix some minor docs errors.
16681
16682 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16683
16684           Patch by: Ross Burton <ross at burtonini dot com>
16685
16686         * gst/gsterror.c: (_gst_resource_errors_init):
16687         * gst/gsterror.h:
16688           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16689
16690 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16691
16692         * gst/gst.c:
16693         Add a check and output a g_warning when GStreamer is built
16694         against GLib 2.6 but running against 2.8 or higher, and vice 
16695         versa. (Closes: #323542)
16696
16697 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16698
16699         * gst/parse/parse.l:
16700           Commit patch for parse_launch syntax from #331255. Removes 
16701           support for quoted strings and mimetypes when writing filtered 
16702           caps. See the bug report for more details - I'm pretty sure this
16703           obscure feature is not in use by _anyone_ anywhere.
16704
16705           With this simple change, the size of the gstreamer.so here 
16706           drops from 2193KB to 1565KB.
16707
16708 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16709
16710         * plugins/elements/gsttypefindelement.h:
16711         * plugins/elements/gsttypefindelement.c:
16712         (gst_type_find_element_src_event), (start_typefinding),
16713         (stop_typefinding), (gst_type_find_element_handle_event),
16714         (gst_type_find_element_chain),
16715         (gst_type_find_element_chain_do_typefinding):
16716           Use gst_type_find_helper_for_buffer() for chain-based
16717           typefinding.
16718
16719 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16720
16721         * plugins/elements/gsttypefindelement.c:
16722         (gst_type_find_element_class_init),
16723         (gst_type_find_element_set_property),
16724         (gst_type_find_element_get_property):
16725           Deprecate "maximum" property (not only was it only taken into
16726           account for typefinding in push-mode anyway, it also was never
16727           actually possible to set it in the first place because the
16728           property was registered with the numeric property ID for the
16729           "minimum" property). Register "maximum" property correctly,
16730           for the sake of future copy'n'pasters. Remove some cruft
16731           from property get/set functions.
16732
16733 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16734
16735         * plugins/elements/gsttypefindelement.c:
16736         (gst_type_find_element_activate):
16737           Use gst_type_find_helper_get_range() here, so we
16738           can honour the "minimum" property and also emit
16739           the signal with the correct probability of the found caps.
16740
16741 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * docs/libs/gstreamer-libs-sections.txt:
16744         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16745         (helper_find_suggest), (gst_type_find_helper_get_range),
16746         (gst_type_find_helper):
16747         * libs/gst/base/gsttypefindhelper.h:
16748           New API: gst_type_find_helper_get_range() (#333042).
16749
16750 2006-03-02  Michael Smith  <msmith@fluendo.com>
16751
16752         * gst/gstregistryxml.c: (load_feature):
16753           Asserting on a failure to read part of the registry is Not Cool.
16754           Just log a warning and return NULL (which is already handled)
16755
16756 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16757
16758         * win32/common/libgstbase.def:
16759           added export of gst_type_find_helper_for_buffer
16760         * win32/common/libgstbase.def:
16761           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16762           gst_ghost_pad_get_target
16763
16764 2006-02-28  Wim Taymans  <wim@fluendo.com>
16765
16766         * docs/design/draft-klass.txt:
16767         We use Filter now.
16768         Added Connector to mark elements that are only used to
16769         allow pipeline connections.
16770         Moved Debug to extra feature since most of them are 
16771         functionally something else.
16772
16773 2006-02-28  Wim Taymans  <wim@fluendo.com>
16774
16775         * docs/design/draft-klass.txt:
16776         Some updates and clarifications.
16777
16778 2006-02-28  Wim Taymans  <wim@fluendo.com>
16779
16780         * docs/design/draft-klass.txt:
16781         Proposal for klass field values.
16782
16783         * docs/design/part-streams.txt:
16784         Start of a doc describing stream anatomy.
16785
16786 2006-02-28  Wim Taymans  <wim@fluendo.com>
16787
16788         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16789         Help the compiler a bit with type registration.
16790         Use existing forward cod path instead of duplicating it when 
16791         handling a message.
16792         
16793         * gst/gstbus.c: (gst_bus_get_type):
16794         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16795         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16796         * gst/gstclock.c: (gst_clock_get_type):
16797         * gst/gstelement.c: (gst_element_get_type),
16798         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16799         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16800         * gst/gstminiobject.c: (gst_mini_object_get_type):
16801         * gst/gstpad.c: (gst_pad_get_type):
16802         * gst/gstsegment.c: (gst_segment_get_type):
16803         * gst/gststructure.c: (gst_structure_get_type):
16804         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16805         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16806         * gst/gstvalue.c:
16807         Help compiler with type registration.
16808
16809         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16810         Small doc update.
16811
16812 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16813
16814         * plugins/elements/gsttypefindelement.c:
16815         (gst_type_find_element_handle_event):
16816           When we get an EOS event and have not found a type yet
16817           (most likely because we had not yet accumulated
16818           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16819           type given the data we have so far. Fixes typefinding
16820           for very short streams again, most notably quicktime
16821           redirections as used on Apple's trailer site (#331701).
16822
16823 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16824
16825         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16826         (gst_type_find_helper):
16827           Try typefinding factories with the highest rank first.
16828
16829 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16830
16831         * docs/libs/gstreamer-libs-docs.sgml:
16832         * docs/libs/gstreamer-libs-sections.txt:
16833         * libs/gst/base/gsttypefindhelper.c:
16834           Add section for typefind helper and add documentation
16835           for the old and the new function.
16836
16837 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16838
16839         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16840         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16841         (gst_type_find_helper_for_buffer):
16842         * libs/gst/base/gsttypefindhelper.h:
16843           New API: gst_type_find_helper_for_buffer() (#332723).
16844           
16845 2006-02-27  Michael Smith  <msmith@fluendo.com>
16846
16847         Patch by: Loïc Minier
16848
16849         * configure.ac:
16850         * docs/Makefile.am:
16851         * docs/slides/Makefile.am:
16852           prevent CVS directories getting disted.
16853
16854 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16855
16856         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16857           Use the REFCOUNTING category for caps refcounting.
16858           
16859 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16860
16861         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16862           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16863
16864 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16865
16866         * plugins/elements/gsttypefindelement.c:
16867         (gst_type_find_element_activate):
16868           Use gst_pad_check_pull_range() before _activate_pull()
16869           to avoid unnecessary open/close (see #331690).
16870
16871 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16872
16873         * gst/gstutils.c:
16874           Docs enhancement: make it crystal clear what the
16875           gst_pad_add_*_probe() callbacks should look like.
16876
16877 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16878
16879         * libs/gst/base/gstbasesrc.c:
16880           Document how applications can stop recording from
16881           live sources (see #330996).
16882
16883 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16884
16885         * tests/check/Makefile.am:
16886         * tests/check/libs/basesrc.c: (eos_event_counter),
16887         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16888         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16889         (gst_basesrc_suite), (main):
16890           ... and add some tests for the base source EOS stuff.
16891
16892 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16893
16894         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16895           Test case originally showed the problem fixed below,
16896           but was then amended. Add checks back at the place
16897           where they used to be.
16898
16899 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16902         (gst_base_src_init), (gst_base_src_loop),
16903         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16904         (gst_base_src_change_state):
16905         * libs/gst/base/gstbasesrc.h:
16906           Don't unconditionally send EOS when going from PAUSED to
16907           READY state, esp. make sure we don't send two EOS events
16908           in some cases (e.g. one when reaching EOS and one when
16909           going from PAUSED to READY). Also, we don't want to send
16910           EOS events when operating in pull mode. However, we do
16911           want to send an EOS event when shutting down a live
16912           source explicitly, for example (fixes #330996).
16913           
16914 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16915
16916         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16917           Update src->read_position after a seek when not using mmap.
16918           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16919
16920 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16921
16922         * gst/Makefile.am:
16923         * gst/gstparse.h:
16924         * gst/gstutils.c:
16925         * gst/gstutils.h:
16926         Make things work with --disable-parse as they do with 
16927         --disable-load-save - the symbols involved disappear, but the
16928         header is still installed and GST_DISABLE_PARSE is included via
16929         gstconfig.h
16930
16931 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16932
16933         * libs/gst/base/gstbasetransform.c:
16934         (gst_base_transform_change_state): Fix a stupid bug. I was 
16935         sure I compiled that.
16936
16937 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16938
16939         * gst/gstpad.c: (gst_pad_set_blocked_async):
16940         * gst/gstutils.c: (gst_pad_add_data_probe),
16941         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16942         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16943         (gst_pad_remove_buffer_probe): Make those function act on the
16944         ghostpad target when it's a ghostpad. (Closes #331727)
16945
16946 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16947
16948         * libs/gst/base/gstbasetransform.c:
16949         (gst_base_transform_change_state): Make basetransform reusable.
16950         (Closes #331898)
16951
16952 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16953
16954         * docs/random/release:
16955         Move the current documentation of how to do a release to the top
16956         of the file.
16957
16958         * gst/gstbin.c: (gst_bin_class_init),
16959         (gst_bin_handle_message_func):
16960         Allow multiple state-recalculation threads. (Closes #328873)
16961
16962 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16963
16964         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16965         * gst/gstpad.c: (gst_pad_set_event_function),
16966         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16967         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16968         2 strings. You can't use the STR_NULL macro on that.
16969
16970 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16971
16972         * gst/gstpad.c: (gst_pad_set_event_function),
16973         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16974         (gst_pad_set_getcaps_function)
16975         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16976           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16977           So now, we can use --gst-debug-level=5 on Windows
16978         * win32/common/libgstcontroller.def:
16979           Added export of gst_controller_init
16980         * win32/vs6/libgstcontroller.dsp:
16981           Fixed Release post build configuration
16982
16983 2006-02-17  Wim Taymans  <wim@fluendo.com>
16984
16985         * tests/check/gst/gstquery.c: (GST_START_TEST):
16986         Added another check.
16987
16988 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         * plugins/elements/gsttypefindelement.c: (find_peek):
16991           We can do peeks at non-zero offsets, as long as they
16992           fall within the buffer we have.
16993
16994 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16995
16996         * tests/check/Makefile.am:
16997         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16998         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16999         (parse_suite), (main):
17000           Add testsuite for parse launch syntax
17001
17002 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17003
17004         * plugins/elements/gsttypefindelement.c:
17005         (gst_type_find_element_chain):
17006           When typefinding is unsuccessful in the chain function, don't
17007           error out immediately. Only error out with NO_CAPS_FOUND if
17008           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17009           otherwise simply wait for more data so we can try typefinding
17010           again with more data later. Also, don't attempt to typefind
17011           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17012           this should improve typefinding from network sources where the
17013           size of the first buffer can be somewhat random.
17014
17015 2006-02-14  Wim Taymans  <wim@fluendo.com>
17016
17017         * docs/gst/gstreamer-sections.txt:
17018         * gst/gstpadtemplate.c:
17019         * gst/gstpadtemplate.h:
17020         Fix padtemplate docs, fixes #328805.
17021
17022 2006-02-14  Wim Taymans  <wim@fluendo.com>
17023
17024         * tools/gst-launch.c: (main):
17025         NO_PREROLL is not an ERROR so don't send confusing messages
17026         to the user.
17027
17028 2006-02-14  Wim Taymans  <wim@fluendo.com>
17029
17030         Patch by: Torsten Schoenfeld
17031
17032         * gst/gstregistry.c: (gst_registry_get_default),
17033         (_gst_registry_cleanup):
17034         Protect default registry with lock and ref/sink it.
17035         Fixes #324818
17036
17037 2006-02-14  Wim Taymans  <wim@fluendo.com>
17038
17039         * gst/gstbuffer.c:
17040         * gst/gstquery.c: (gst_query_list_add_format),
17041         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17042         (gst_query_parse_formats_nth):
17043         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17044         Docs fixes.
17045
17046 2006-02-14  Wim Taymans  <wim@fluendo.com>
17047
17048         * docs/gst/gstreamer-sections.txt:
17049         Reworked query docs.
17050
17051         * gst/gstquery.c: (gst_query_new_formats),
17052         (gst_query_list_add_format), (gst_query_set_formats),
17053         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17054         (gst_query_parse_formats_nth):
17055         * gst/gstquery.h:
17056         Flesh out formats query, added some new methods.
17057         Fix part of #324398.
17058
17059         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17060         Added query creation tests.
17061
17062 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17063
17064         * gst/gstpad.c: (fixate_value):
17065         Add a default fixation for fraction lists.
17066
17067 2006-02-13  Wim Taymans  <wim@fluendo.com>
17068
17069         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17070         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17071         (gst_task_join):
17072         * gst/gsttask.h:
17073         Detect and warn for obvious deadlocks. fixes #320340
17074         Fix error case where lock was not released.
17075
17076         * tests/check/Makefile.am:
17077         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17078         (task_func), (gst_element_suite), (main):
17079         Add task check.
17080
17081 2006-02-13  Wim Taymans  <wim@fluendo.com>
17082
17083         * docs/gst/gstreamer-sections.txt:
17084         * gst/gstbus.c:
17085         Add new functions to docs.
17086
17087 2006-02-13  Wim Taymans  <wim@fluendo.com>
17088
17089         * docs/design/part-TODO.txt:
17090         Updated TODO list, basesrc supports seeking to non-bytes
17091         formats.
17092
17093         * docs/design/part-element-sink.txt:
17094         Update docs.
17095
17096         * gst/gstbin.c: (bin_replace_message),
17097         (gst_bin_handle_message_func):
17098         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17099         * gst/gstevent.c: (gst_event_finalize):
17100         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17101         (gst_pad_send_event):
17102         Use shiny new _TYPE_NAME macros.
17103
17104         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17105         Move debug statement up.
17106
17107         * gst/gstelement.c: (gst_element_set_locked_state):
17108         Add some debugging.
17109
17110 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17111
17112         * docs/gst/gstreamer-sections.txt:
17113         * gst/gstmessage.h:
17114         * gst/gstquery.h:
17115           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17116           macros (#330906). Also, document the already existing
17117           GST_QUERY_TYPE macro.
17118
17119 2006-02-13  Wim Taymans  <wim@fluendo.com>
17120
17121         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17122         (event_probe), (GST_START_TEST):
17123         Only events up to the pipeline EOS are counted, there are
17124         some more when going to NULL currently which we don't care
17125         about for now.
17126
17127 2006-02-13  Wim Taymans  <wim@fluendo.com>
17128
17129         * gst/gstpad.c: (gst_pad_send_event):
17130         Correctly check flushing and emit probes. fixes #330125
17131
17132 2006-02-10  Andy Wingo  <wingo@pobox.com>
17133
17134         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17135         structure.
17136         (gst_bus_init): Cache the location of the private data in the
17137         instance structure.
17138         (gst_bus_enable_sync_message_emission) 
17139         (gst_bus_disable_sync_message_emission): Implement new public
17140         functions.
17141         (gst_bus_post): Emit the sync-message signal if the user asked for
17142         it. Fixes #330684.
17143
17144         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17145         location of the bus-private structure.
17146         (gst_bus_enable_sync_message_emission)
17147         (gst_bus_disable_sync_message_emission): API addition
17148
17149 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17150
17151         Patch by: Vincent Torri
17152
17153         * docs/pwg/building-boiler.xml:
17154         PWG patch from #326800
17155
17156 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * configure.ac:
17159         * docs/Makefile.am:
17160         * docs/design/Makefile.am:
17161           Dist design docs.
17162
17163 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17164
17165         * configure.ac:
17166           back to CVS
17167
17168 === release 0.10.3 ===
17169
17170 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17171
17172         * configure.ac:
17173           releasing 0.10.3, "Like a virgin"
17174
17175 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17176
17177         * configure.ac:
17178           2nd prerelease of 0.10.3
17179           Bump libtool versioning.
17180
17181 2006-02-07  Andy Wingo  <wingo@pobox.com>
17182
17183         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17184         update last_stop if we're in TIME format and the timestamp is
17185         valid.
17186
17187         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17188         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17189         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17190         If we get a new newsegment with a different format, adapt
17191         accordingly.
17192
17193         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17194         of 0. Not a problem, really.
17195
17196         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17197         warn if sync=true.
17198
17199 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17200
17201         * configure.ac:
17202           Prelease of 0.10.3
17203
17204 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17205
17206         * win32/vs7:
17207           project files updated to the default vs7 configuration
17208         * win32/common/libgstbase.def:
17209         * win32/common/libgstreamer.def:
17210           added new symbols,
17211           removed empty lines,
17212           sorted all exported symbols alphabetically
17213         * win32/common/dirent.c:
17214         * win32/common/dirent.h:
17215         * win32/common/gchar.h:
17216           use windows line end.
17217           
17218 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17219
17220         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17221           Send EOS event when stopping.
17222
17223 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17224
17225         * docs/README:
17226           Tell folks what to do if the plugin-foobar.xml file
17227           hasn't been generated for a newly-added plugin.
17228
17229 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17230
17231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17232         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17233         (gst_collect_pads_start), (gst_collect_pads_stop),
17234         (gst_collect_pads_event): Collectpads now holds a reference
17235         to the GstPad that was added. Indeed we don't want to look
17236         at pads that might just go away with no warning...
17237
17238 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17239
17240         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17241         (gst_collect_pads_start), (gst_collect_pads_stop),
17242         (gst_collect_pads_event), (gst_collect_pads_chain):
17243         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17244         Mark Nauwelaerts's patch on bug #328491.
17245
17246 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17247
17248         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17249         (gst_utils_suite):
17250           Add some simple tests for gst_parse_bin_from_description() and
17251           gst_bin_find_unconnected_pad() (#329069).
17252
17253 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17254
17255         * tools/gst-launch.c: (event_loop), (main):
17256           Catch errors during preroll (#320084).
17257
17258 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17259
17260         * plugins/elements/gsttypefindelement.c:
17261         (gst_type_find_element_activate):
17262           Post TYPE_NOT_FOUND error message when typefinding
17263           is unsuccessful in the activate function as well.
17264
17265 2006-02-02  Wim Taymans  <wim@fluendo.com>
17266
17267         * docs/design/part-element-sink.txt:
17268         Updated doc.
17269
17270 2006-02-02  Wim Taymans  <wim@fluendo.com>
17271
17272         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17273         (gst_base_sink_render_object),
17274         (gst_base_sink_queue_object_unlocked):
17275         Only keep track of prerollable items when we are 
17276         prerolling.
17277         Before rendering after preroll, always check if we
17278         have queued items.
17279         Added some more debugging.
17280
17281 2006-02-02  Wim Taymans  <wim@fluendo.com>
17282
17283         * gst/gstelement.c: (gst_element_continue_state),
17284         (gst_element_set_state_func), (gst_element_change_state):
17285         Fixed #326576, been running this for quite some time with
17286         no regressions at all.
17287
17288 2006-02-02  Wim Taymans  <wim@fluendo.com>
17289
17290         * common/gst.supp:
17291         Added more suppressions
17292
17293 2006-02-02  Wim Taymans  <wim@fluendo.com>
17294
17295         * docs/design/part-element-sink.txt:
17296         Updated document.
17297
17298         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17299         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17300         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17301         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17302         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17303         (gst_base_sink_preroll_object),
17304         (gst_base_sink_queue_object_unlocked),
17305         (gst_base_sink_queue_object), (gst_base_sink_event),
17306         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17307         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17308         (gst_base_sink_get_position), (gst_base_sink_change_state):
17309         * libs/gst/base/gstbasesink.h:
17310         Totally refactored matching the design doc.
17311         Use two segments, one to clip incomming buffers and another to
17312         perform sync.
17313         Handle queueing correctly, bypass the queue when playing.
17314         Make EOS cancelable.
17315         Handle errors correctly when operating in pull based mode.
17316
17317         * tests/check/elements/fakesink.c: (GST_START_TEST),
17318         (fakesink_suite):
17319         Added new check for sinks.
17320
17321 2006-02-02  Wim Taymans  <wim@fluendo.com>
17322
17323         * gst/gstsegment.c: (gst_segment_clip):
17324         No reason to refuse to clip when start == -1
17325
17326 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17327
17328         * docs/README:
17329         * docs/manual/intro-basics.xml:
17330         * docs/manual/intro-preface.xml:
17331         * docs/manual/manual.xml:
17332         * docs/pwg/advanced-dparams.xml:
17333         * docs/pwg/intro-basics.xml:
17334         * docs/pwg/intro-preface.xml:
17335         * docs/pwg/pwg.xml:
17336           describe dparams (controller) for plugins
17337           unify docs a little more
17338
17339 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17340
17341         * docs/gst/gstreamer-sections.txt:
17342         * gst/gstutils.c: (element_find_unconnected_pad),
17343         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17344         * gst/gstutils.h:
17345           Add new API: gst_parse_bin_from_description() and
17346           gst_bin_find_unconnected_pad() (#329069).
17347
17348 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17349
17350         * docs/manual/README:
17351           uncover a nasty detail of the docs build
17352
17353 2006-01-31  Wim Taymans  <wim@fluendo.com>
17354
17355         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17356         Don't cache duration messages if we're not going to use or
17357         free them.
17358
17359 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17360
17361         * docs/manual/advanced-dparams.xml:
17362         * docs/pwg/advanced-dparams.xml:
17363           more dparam docs
17364         * gst/gstindex.c:
17365           fix docs
17366         * libs/gst/controller/lib.c: (gst_controller_init):
17367           init just once
17368
17369 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17370
17371         * gst/gstelement.c: (gst_element_message_full):
17372           also show file/line/func if no additional debug was given
17373
17374 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17375         
17376         * win32/vs7/grammar.vcproj:
17377           activate copy of autogenerated files for Release mode
17378
17379 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17380         
17381         * win32/common/libgstreamer.def:
17382           export gst_value_compare
17383
17384 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17385
17386         * plugins/elements/Makefile.am:
17387         * plugins/elements/gstelements.c:
17388         * plugins/elements/gstfdsink.c: (_do_init),
17389         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17390         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17391         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17392         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17393         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17394         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17395         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17396         * plugins/elements/gstfdsink.h:
17397         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17398
17399 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17400
17401         * docs/manual/advanced-dparams.xml:
17402           describe controller
17403         * docs/manual/advanced-position.xml:
17404         * docs/manual/basics-init.xml:
17405         * docs/manual/manual.xml:
17406         * docs/manual/titlepage.xml:
17407         * docs/pwg/pwg.xml:
17408         * docs/pwg/titlepage.xml:
17409           cleanup xml (more to come)
17410         * libs/gst/controller/gstcontroller.c:
17411           fix typo
17412
17413 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17414         
17415         * win32/vs6/grammar.dsp:
17416           add autogen of gstmarshal.c,h for Release mode
17417                 
17418 2006-01-30  Wim Taymans  <wim@fluendo.com>
17419
17420         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17421         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17422         (gst_base_sink_handle_object), (gst_base_sink_event),
17423         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17424         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17425         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17426         (gst_base_sink_deactivate), (gst_base_sink_activate),
17427         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17428         (gst_base_sink_query), (gst_base_sink_change_state):
17429         Basesink cleanups, remove some old code.
17430         Handle the case where a subclass can preroll in the render
17431         method (mostly audiosinks).
17432         Handle more events.
17433         Remove some locks around variables that are now protected
17434         with the PREROLL_LOCK (clock_id, flushing, ..).
17435         Optimize position query some more, do correct locking.
17436         Remove old code to push queue in state change, this is not
17437         needed anymore since preroll blocks on all prerollable items 
17438         now.
17439         Almost implemented as described in design doc.
17440
17441 2006-01-30  Wim Taymans  <wim@fluendo.com>
17442
17443         * tests/check/gst/gstbin.c: (GST_START_TEST):
17444         Wait for refcount to settle down before checking.
17445
17446 2006-01-30  Wim Taymans  <wim@fluendo.com>
17447
17448         * docs/design/part-element-sink.txt:
17449         Pseudo code overview of desired sink behaviour regarding
17450         preroll.
17451
17452 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17453         * win32/vs6/grammar.dsp:
17454           fix some bugs in Release mode for autogenerated files
17455                 
17456 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17457         * win32/common/libgstbase.def:
17458         * win32/common/libgstreamer.def:
17459           export some new symbols: gst_base_src_set_format,
17460           gst_iterator_next, gst_structure_set_valist
17461
17462 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17463
17464         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17465         Set pad functions unconditionally. Fixes #329105.
17466
17467 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17468         * win32/vs8:
17469           add vs8 project files created by Sergey Scobich
17470
17471 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17472
17473         * gst/gstutils.c: (gst_element_unlink_pads):
17474         Don't leak pad references.
17475
17476         * tests/check/elements/fakesink.c: (GST_START_TEST):
17477         * tests/check/generic/sinks.c: (GST_START_TEST):
17478         * tests/check/generic/states.c: (GST_START_TEST):
17479         * tests/check/gst/gstbin.c: (GST_START_TEST):
17480         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17481         * tests/check/gst/gstelement.c: (GST_START_TEST):
17482         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17483         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17484         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17485         Fix a bunch of leaks. Make generic/sinks.c
17486         use a bit less cpu by slowing the buffer rate
17487         between fakesrc and fakesink.
17488         
17489 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17490         * gst/gstcaps.c:
17491         * gst/gstelement.c: (gst_element_send_event):
17492         * gst/gstevent.c:
17493         * gst/gstinfo.c:
17494         * gst/gstiterator.c:
17495         * gst/gstiterator.h:
17496         * gst/gstpad.c: (gst_pad_send_event):
17497         * gst/gststructure.c:
17498         * gst/gsturi.c:
17499         * gst/gstutils.c:
17500         * gst/gstvalue.c:
17501         * libs/gst/base/gstadapter.c:
17502           doc fixes, to link to function, just write gst_cool_function(), don't
17503           prefix with '#'
17504
17505 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17506
17507         * plugins/elements/gsttee.c: (gst_tee_do_push),
17508         (gst_tee_handle_buffer):
17509         Always prefer an actual return value from a src
17510         pad in place of NOT_LINKED. This means we return
17511         WRONG_STATE when all src pads are WRONG_STATE
17512         instead of NOT_LINKED.
17513
17514         Lock when replacing the last message to prevent
17515         racing with the get_property method.
17516
17517         Add debug output
17518
17519 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17520
17521         * tests/check/Makefile.am:
17522         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17523         (main):
17524         Add a very simple check that should have caught the memleak I fixed
17525         last night (if not for the slice allocator hiding it)
17526
17527 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17528
17529         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17530         (gst_bin_remove_func), (gst_bin_handle_message_func),
17531         (bin_query_duration_fold), (bin_query_generic_fold):
17532         Clean up references to the clock provider when disposed or when
17533         handling a clock-lost message from it.
17534
17535         Unref sinks when performing a query via gst_iterator_fold, as the
17536         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17537
17538         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17539         (gst_clock_set_master):
17540         Drop our reference to the master clock, if any, when we are disposed.
17541
17542         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17543         Chain up in dispose. 
17544
17545 2006-01-26  Wim Taymans  <wim@fluendo.com>
17546
17547         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17548         Add some debugging.
17549
17550 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17551
17552         * plugins/elements/gsttee.c: (gst_tee_do_push),
17553         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17554         handles pad being NOT_LINKED or in WRONG_STATE.
17555
17556 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17557
17558         * win32/MANIFEST:
17559           more updating
17560
17561 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17562
17563         * win32/MANIFEST:
17564           remove obsolete entry
17565
17566 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17567
17568         * docs/gst/gstreamer-sections.txt:
17569         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17570         (gst_bin_iterate_sources), (gst_bin_send_event):
17571         * gst/gstbin.h:
17572         * gst/gstelement.c: (gst_element_send_event):
17573         * gst/gstevent.c:
17574         * gst/gstpad.c: (gst_pad_send_event):
17575           added code for downstream events, reviewed docs in gstevent.c
17576
17577 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17578
17579         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17580         We only query position using the clock in the playing state.
17581         Query peer in the other cases.
17582         * win32/common/config.h: Updates.
17583
17584 2006-01-24  Wim Taymans  <wim@fluendo.com>
17585
17586         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17587         A clock entry that is scheduled for the exact time of the
17588         clock is still in time.
17589
17590         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17591         (gst_base_sink_do_sync):
17592         Add some more debug info.
17593
17594 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17595
17596         * win32/vs7:
17597           Add new vs7 project files and solution.
17598
17599 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17600
17601         * win32/vs7:
17602           all files removed as they were out-dated.
17603
17604 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17605
17606         * docs/random/release:
17607           update notes
17608         * gst/gstbin.c: (gst_bin_init):
17609         * gst/gstbus.c: (gst_bus_new):
17610         * gst/gstbus.h:
17611         * gst/gstpipeline.c: (gst_pipeline_init):
17612           use gst_bus_new(), improve logging, fix docs
17613         * win32/common/config.h:
17614           update for cvs build
17615
17616 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17617
17618         * autogen.sh:
17619           up required version of automake to 1.7
17620
17621 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17622
17623         * win32/common/libgstreamer.def:
17624           export gst_buffer_is_metadata_writable
17625
17626 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17627
17628         * docs/gst/gstreamer-sections.txt:
17629         * gst/gstevent.h:
17630           Add gst_event_replace() (#327001)
17631
17632 2006-01-20  Wim Taymans  <wim@fluendo.com>
17633
17634         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17635         Make it actually compile too..
17636
17637 2006-01-20  Wim Taymans  <wim@fluendo.com>
17638
17639         * gst/gstcaps.c:
17640         Clarify behaviour of _is_equal() when passing NULL parameters.
17641
17642         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17643         (gst_pad_set_caps):
17644         Cleanups. Don't unref NULL caps.
17645         When setting the same caps, protect caps of the pad with
17646         proper lock.
17647         Use full functionality of _is_equal() when comparing caps.
17648
17649 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17650
17651         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17652         Don't loop infinitely if there are no buffers to present. Partially
17653         fixes #327197, but collectpads is just broken for reusing elements
17654         to do multiple encodes atm.
17655
17656 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17657
17658         * tools/gst-inspect.c: (print_element_features):
17659         * tools/gst-xmlinspect.c: (main):
17660         URL_HANDLER is not a plugin feature we can search for in
17661         the registry.
17662
17663 2006-01-19  Edward Hervey  <edward@fluendo.com>
17664
17665         * gst/gstelement.c: (gst_element_pads_activate): 
17666         When activating, do src pads first, then sink pads.
17667         When de-activating, do sink pads first, then src pads.
17668
17669 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17670
17671         * docs/gst/gstreamer-sections.txt:
17672         Add gst_index_add_associationv to the docs
17673
17674 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17675
17676         * gst/gstevent.c:
17677           Fix docs typo
17678
17679         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17680         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17681           Do some refactoring. Doesn't actually change functionality,
17682           but makes landing the DRAIN event easier later.
17683
17684 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17685
17686         * docs/pwg/advanced-scheduling.xml:
17687           Update from 0.9.x to 0.10 API and make example a bit
17688           clearer.
17689
17690 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17691
17692         * docs/gst/gstreamer-sections.txt:
17693         Add gst_buffer_(is|make)_metadata_writable methods.
17694
17695 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17696
17697         * docs/design/part-sparsestreams.txt:
17698         Update sparse streams doc, hopefully for greater clarity
17699
17700 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17701
17702         * docs/design/part-events.txt:
17703         Remove mention of FILLER events.
17704         Add DRAIN event.
17705
17706         * docs/design/part-sparsestreams.txt:
17707         Write some things about using NEWSEGMENT to keep sparse streams
17708         flowing.
17709
17710 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17711
17712         * gst/gstbin.c: (gst_bin_dispose):
17713           Guard gst_object_unref call against a NULL object (dispose
17714           can theoretically be called multiple times).
17715           
17716 2006-01-18  Wim Taymans  <wim@fluendo.com>
17717
17718         * gst/gstbin.c: (gst_bin_element_set_state):
17719         * gst/gstclock.c: (gst_clock_id_wait):
17720         Added some more debug info.
17721
17722         * libs/gst/base/gstadapter.c:
17723         Added more docs.
17724
17725         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17726         (gst_base_sink_do_sync), (gst_base_sink_chain):
17727         Added some comments.
17728
17729 2006-01-18  Wim Taymans  <wim@fluendo.com>
17730
17731         * tests/check/Makefile.am:
17732         * tests/check/elements/fakesink.c: (chain_async_buffer),
17733         (chain_async), (chain_async_return), (GST_START_TEST),
17734         (fakesink_suite), (main):
17735         Added fakesink test that checks prerolling and clipping
17736         behaviour.
17737
17738         * tests/check/gst/gstutils.c: (GST_START_TEST):
17739         Make check run faster so that buildbots don't timeout.
17740
17741 2006-01-18  Wim Taymans  <wim@fluendo.com>
17742
17743         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17744         (gst_base_sink_do_sync):
17745         Some cleanups.
17746         When the sink finishes blocking on the preroll buffer, it can
17747         immediatly render it instead of rendering when the next buffer
17748         arrives.
17749
17750 2006-01-18  Wim Taymans  <wim@fluendo.com>
17751
17752         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17753         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17754         (gst_base_sink_chain):
17755         Small cleanups.
17756         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17757         Don't store _last_stop if the buffer is dropped.
17758
17759 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17760
17761         * plugins/elements/gsttypefindelement.c:
17762         (gst_type_find_element_class_init):
17763           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17764           object method handler that sets the caps on the pad and we want
17765           that to happen before we emit the signal (fixes e.g. feeding a
17766           plain text file to decodebin).
17767
17768 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17769
17770         * gst/gstplugin.c: Add MPL and Proprietary as license options
17771
17772 2006-01-18  Andy Wingo  <wingo@pobox.com>
17773
17774         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17775         symbol was exported before, it appears this was just an oversight.
17776         Fixes #168703.
17777         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17778
17779         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17780         prototype to gint. OK since this prototype was not in the header.
17781
17782 2006-01-17  Andy Wingo  <wingo@pobox.com>
17783
17784         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17785         registry while we remove plugins.
17786
17787         * tools/gst-inspect.c (print_element_info): Don't unref the
17788         factory arg, that should be the responsibility of whatever code
17789         received the ref. Fixes a double-free when called from
17790         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17791         (main): Unref the factory if we have one.
17792         (print_element_list): No change -- relies on the
17793         plugin_feature_list_free to free the list of features.
17794
17795 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17796
17797         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17798         (gst_buffer_make_metadata_writable):
17799         * gst/gstbuffer.h:
17800         * libs/gst/base/gstbasetransform.c:
17801         (gst_base_transform_prepare_output_buf):
17802         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17803         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17804           Replace gst_buffer_(make|is)_metadata_writable patch now
17805           that the release is out.
17806
17807 2006-01-17  Andy Wingo  <wingo@pobox.com>
17808
17809         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17810         in the present tense without reference to versions.
17811
17812         * gst/gstregistry.c (gst_registry_add_plugin)
17813         (gst_registry_remove_plugin, gst_registry_remove_feature)
17814         (gst_registry_find_feature, gst_registry_get_feature_list)
17815         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17816         (gst_registry_lookup, gst_registry_scan_path)
17817         (_gst_registry_remove_cache_plugins)
17818         (gst_registry_get_feature_list_by_plugin): Add argument
17819         validation.
17820
17821 === release 0.10.2 ===
17822
17823 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17824
17825         * configure.ac:
17826           releasing 0.10.2, "If man is five"
17827
17828 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17829
17830         * gst/gstbuffer.c:
17831         * gst/gstbuffer.h:
17832         * libs/gst/base/gstbasetransform.c:
17833         (gst_base_transform_prepare_output_buf):
17834         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17835         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17836           Back out patch until after the release.
17837
17838 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17839
17840         * gst/gstminiobject.c:
17841           Spelling fix in docs.
17842         * ChangeLog - remove conflict indicator
17843
17844 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17845
17846         Reviewed By: Andy Wingo
17847
17848         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17849         (gst_buffer_make_metadata_writable):
17850         * gst/gstbuffer.h:
17851           Add gst_buffer_(is|make)_metadata_writable as analogues of
17852           gst_buffer_(is|make)_writable.
17853
17854         * libs/gst/base/gstbasetransform.c:
17855         (gst_base_transform_prepare_output_buf):
17856         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17857           Use name gst_buffer_(is|make)_metadata_writable functions.
17858
17859         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17860           Test gst_buffer_(is|make)_metadata_writable
17861         
17862           (Closes: #324162)
17863
17864 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17865
17866         * docs/manual/Makefile.am:
17867           don't do parallel make
17868         * configure.ac:
17869           AC_SUBST HOST_CPU
17870         * win32/common/config.h.in:
17871           add generations for HOST_CPU and GST_MAJORMINOR
17872         * win32/common/config.h:
17873           commit generated result
17874
17875 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17876
17877         * docs/manual/appendix-integration.xml:
17878           Update GNOME integration section to use gst_init_get_option_group()
17879           instead of the old popt stuff (#322911). Also, GNOME applications
17880           should  now use gconf*sink and gconf*src instead of the old gconf
17881           helper lib we had.
17882
17883 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17884
17885
17886         * docs/gst/gstreamer-docs.sgml:
17887         * docs/gst/gstreamer-sections.txt:
17888         * docs/libs/gstreamer-libs-sections.txt:
17889           add new API entries to the docs
17890         * libs/gst/controller/Makefile.am:
17891         * libs/gst/controller/gstcontroller.c:
17892         * libs/gst/controller/gstcontroller.h:
17893         * libs/gst/controller/gstcontrollerprivate.h:
17894         * libs/gst/controller/gsthelper.c:
17895         * libs/gst/controller/gstinterpolation.c:
17896           move private structs to private header
17897         * po/README:
17898           gstreamer-0.7 -> gstreamer-0.10
17899         * tests/check/libs/struct_i386.h:
17900           remove private structs
17901
17902 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17903
17904         * plugins/indexers/Makefile.am:
17905           Fixes as part of #317048
17906
17907 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17908
17909         * plugins/indexers/Makefile.am:
17910           fix #316086 - compilation when mmap is missing
17911
17912 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17913
17914         * libs/gst/base/gstbasesink.c:
17915           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17916           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17917         * win32/common/config.h:
17918           added some defines GST_MAJORMINOR and HOST_CPU
17919         * win32/common/libgstbase.def:
17920         * win32/common/libgstreamer.def:
17921           added some exported functions.
17922
17923 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17924
17925         * libs/gst/controller/gstcontroller.c:
17926         (gst_controlled_property_set_interpolation_mode),
17927         (gst_controlled_property_new):
17928         * libs/gst/controller/gstcontroller.h:
17929         * libs/gst/controller/gstinterpolation.c:
17930         (interpolate_none_get_string_value_array):
17931           make G_TYPE_STRING controlable
17932
17933 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17934
17935         * tools/README:
17936         * tools/gst-feedback.1.in:
17937         * tools/gst-inspect.1.in:
17938         * tools/gst-launch.1.in:
17939         * tools/gst-md5sum.1.in:
17940         * tools/gst-typefind.1.in:
17941         * tools/gst-xmlinspect.1.in:
17942         * tools/gst-xmllaunch.1.in:
17943           cleanup man-pages, remove reference to gst-register, document env-vars
17944
17945 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17946
17947         * gst/gstbuffer.c: (gst_buffer_span):
17948           gst_buffer_span should copy the timestamp of the first buffer
17949           if they were both originally overlapping subbuffers of the 
17950           same parent, using the same logic as the 'slow copy' case.
17951
17952 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17953
17954         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17955           Need to awaken ALL the pads when we pop a buffer, otherwise
17956           collectpads only works when there is 2 input streams.
17957
17958 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17959
17960         * docs/random/ensonic/media-device-daemon.txt:
17961           more ideas (dbus)
17962         * gst/gstbuffer.c:
17963           fix doc example, add clarification
17964         * tools/gst-launch.1.in:
17965           add initial info about GST_PLUGIN_PATH, needs more work
17966
17967 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17968
17969         * docs/manual/basics-bins.xml:
17970         * docs/manual/basics-elements.xml:
17971         * docs/manual/intro-basics.xml:
17972           Some more minor docs additions and updates.
17973
17974 2006-01-11  Wim Taymans  <wim@fluendo.com>
17975
17976         * docs/manual/basics-bins.xml:
17977         * docs/manual/basics-elements.xml:
17978         Some small fixes as pointed out by Ser-ver on IRC.
17979
17980 2006-01-10  Edward Hervey  <edward@fluendo.com>
17981
17982         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17983         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17984         the single-segment mode.
17985
17986 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17987
17988         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17989
17990         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17991         (gst_base_src_perform_seek), (gst_base_src_send_event),
17992         (gst_base_src_set_property), (gst_base_src_get_property),
17993         (gst_base_src_loop), (gst_base_src_start),
17994         (gst_base_src_activate_push):
17995         * libs/gst/base/gstbasesrc.h:
17996           Name (private) union; makes Sun's Forte compiler happy (#324900).
17997
17998 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17999
18000         * README:
18001           gst-register is gone.
18002
18003 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18004
18005         * gst/gstvalue.c: (_gst_value_initialize):
18006           make the G_TYPE_DATE instantiation work if debug is disabled
18007
18008 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18009
18010         * gst/gstmessage.c: (gst_message_parse_tag),
18011         (gst_message_parse_error), (gst_message_parse_warning):
18012           Don't crash when return location for error/warning debug
18013           string is NULL; add fact that return locations can be
18014           NULL to docs where appropriate.
18015
18016 2006-01-05  Wim Taymans  <wim@fluendo.com>
18017
18018         * gst/gstplugin.c: (gst_plugin_load_file):
18019         Replace strdup by g_strdup.
18020
18021 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18022
18023         * docs/pwg/advanced-types.xml:
18024           fix doc borkage
18025
18026 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18027
18028         submitted by: Abel Cheung
18029
18030         * po/LINGUAS:
18031         * po/zh_TW.po:
18032           Added Chinese (traditional) translation
18033
18034 2006-01-04  Wim Taymans  <wim@fluendo.com>
18035
18036         * docs/manual/basics-pads.xml:
18037         * docs/plugins/Makefile.am:
18038         * docs/plugins/gstreamer-plugins-docs.sgml:
18039         * docs/plugins/gstreamer-plugins-sections.txt:
18040         * docs/pwg/advanced-clock.xml:
18041         * docs/pwg/advanced-scheduling.xml:
18042         * docs/pwg/advanced-types.xml:
18043         * plugins/elements/gstfdsink.c:
18044         * plugins/elements/gstfdsrc.c:
18045         * plugins/elements/gstfdsrc.h:
18046         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18047         * plugins/elements/gstidentity.h:
18048         * plugins/elements/gstqueue.h:
18049         * plugins/elements/gsttee.c:
18050         * plugins/elements/gsttee.h:
18051         * plugins/elements/gsttypefindelement.c:
18052         (gst_type_find_element_class_init):
18053         * plugins/elements/gsttypefindelement.h:
18054         Small updates to various docs.
18055         Added core plugins to docs.
18056
18057 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18058
18059         * common/gst.supp:
18060           add a suppression for liboil's uninitialized variable
18061
18062 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18063
18064         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18065
18066         * gst/gstutils.h:
18067           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18068           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18069           compiler switch is being used (#325429).
18070
18071 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18072
18073         * gst/gstbin.c: (gst_bin_query):
18074           Disable duration query caching in bins until it gets
18075           fixed (see #324807).
18076
18077 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18078
18079         * tools/gst-inspect.c: (print_element_properties_info):
18080           Handle properties of POINTER and BOXED type.
18081
18082 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18083
18084         * gst/gst.c: (init_post):
18085           Init tags stuff and some other things before loading
18086           any static plugins (there may be other static plugins
18087           than just the GStreamer ones, and they may want to
18088           register their own tags or formats or whatever, and
18089           preferably without segfaulting).
18090
18091         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18092           Print at least a warning in the debug logs if we drop a
18093           query just because we don't know how to adjust the value
18094           in the particular format.
18095
18096 2005-12-24  David Schleef  <ds@schleef.org>
18097
18098         * tools/gstreamer-completion:
18099           Replacement for gst-complete written in sh and sed.  Only
18100           completes names of features, but that's 90% of what I want
18101           it for.  Properties are not available in registry.xml.  (Maybe
18102           they should be...)
18103
18104 === release 0.10.1 ===
18105
18106 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18107
18108         * configure.ac:
18109           releasing 0.10.1, "Nollaig chridheil"
18110
18111 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18112
18113         * docs/faq/cvs.xml:
18114           Add missing quote, should be make ERROR_CFLAGS="".
18115
18116 2005-12-20  Wim Taymans  <wim@fluendo.com>
18117
18118         * docs/design/part-trickmodes.txt:
18119         More documentation on trickmodes.
18120
18121 2005-12-20  Edward Hervey  <edward@fluendo.com>
18122
18123         * gst/gstcaps.c: (gst_static_caps_get_type):
18124         * gst/gstcaps.h:
18125           API addition: GST_TYPE_STATIC_CAPS
18126         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18127         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18128         * gst/gstpadtemplate.h:
18129           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18130         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18131         bindings.
18132
18133 2005-12-18  Wim Taymans  <wim@fluendo.com>
18134
18135         * libs/gst/base/gstadapter.c:
18136         * libs/gst/base/gstadapter.h:
18137         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18138         (gst_base_sink_get_position):
18139         * libs/gst/base/gstbasesink.h:
18140         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18141         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18142         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18143         (gst_base_src_send_event), (gst_base_src_update_length),
18144         (gst_base_src_get_range), (gst_base_src_loop),
18145         (gst_base_src_start):
18146         * libs/gst/base/gstbasesrc.h:
18147         * libs/gst/base/gstbasetransform.h:
18148         * libs/gst/base/gstcollectpads.h:
18149         * libs/gst/base/gstpushsrc.c:
18150         * libs/gst/base/gstpushsrc.h:
18151         * libs/gst/dataprotocol/dataprotocol.c:
18152         * libs/gst/dataprotocol/dataprotocol.h:
18153         * libs/gst/net/gstnetclientclock.h:
18154         * libs/gst/net/gstnettimeprovider.h:
18155         Documentation updates.
18156
18157 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18158
18159         * docs/manual/basics-helloworld.xml:
18160           Remove superfluous closing bracket in helloworld example.
18161
18162 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18163
18164         * tools/gst-launch.1.in:
18165           Update gst-launch man page; add a section with useful
18166           environment variables. Fixes #323882.
18167
18168 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18169
18170         * gst/gst.c:
18171         * gst/gst_private.h:
18172           change some char* into char[]
18173
18174 2005-12-16  Wim Taymans  <wim@fluendo.com>
18175
18176         * gst/gstregistryxml.c: (load_feature):
18177         Cleanups.
18178         Don't use g_object_unref on GstObjects so that we avoid
18179         leaks on unsafe glibs.
18180
18181 2005-12-16  Wim Taymans  <wim@fluendo.com>
18182
18183         * gst/gstbin.c: (gst_bin_recalc_state):
18184         Small doc updates.
18185
18186 2005-12-16  Wim Taymans  <wim@fluendo.com>
18187
18188         * common/check.mak:
18189         Added make forever target for check.
18190
18191 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18192
18193         * gst/gst.c: (init_post):
18194           make the registry cache file HOST_CPU-dependent
18195
18196 2005-12-16  Andy Wingo  <wingo@pobox.com>
18197
18198         * plugins/elements/gstbufferstore.c
18199         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18200         return value.
18201
18202         * tests/check/gst/gstobject.c
18203         (test_fake_object_name_threaded_unique): Pay attention to
18204         g_list_sort return value.
18205
18206 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18207
18208         * tools/gst-feedback-m.m:
18209           Update for 0.9/0.10 (fixes #323870).
18210
18211 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18212
18213         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18214           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18215           
18216         * tests/check/gst/gstminiobject.c: (my_foo_init),
18217         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18218         (test_value_collection), (gst_mini_object_suite):
18219           Add test to ensure refcounts end up as expected when passing
18220           GstMiniObjects through g_object_get() and g_object_set().
18221
18222 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18223
18224         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18225         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18226         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18227         of collectpads. This version removes a lot of races without
18228         touching API/ABI. Yay !
18229
18230 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18231
18232         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18233           Don't allow activation of a srcpad in pull_range if it has no
18234           getrange function.
18235           Change some debug statements to be a little clearer
18236
18237         * plugins/elements/gsttypefindelement.c:
18238         (gst_type_find_handle_src_query):
18239           Check that we have a peer before executing queries thereupon.
18240
18241         * tests/examples/metadata/read-metadata.c: (message_loop):
18242           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18243           immediately return us any available message with 0 timeout.
18244
18245 2005-12-12  Michael Smith  <msmith@fluendo.com>
18246
18247         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18248           Don't unref factories after calling them.
18249         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18250         * plugins/elements/gsttypefindelement.c:
18251         (gst_type_find_element_chain):
18252           Free lists of factories after using them. Fixing typefinding memory
18253           leaks.
18254
18255 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18256
18257         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18258         (gst_plugin_feature_load):
18259           more meaningful debug output
18260         * configure.ac:
18261         * tests/Makefile.am:
18262         * tests/old/examples/Makefile.am:
18263           make make distcheck happy again
18264
18265 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18266
18267         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18268           Catch the special case where we are operating chain-based,
18269           but the downstream peer pad has no chain function. Emit a
18270           custom error message in this case instead of letting the
18271           core generate one implying that this is some sort of core
18272           bug. It's not, it just means that whatever got plugged
18273           into the pipeline downstream when we announced the type
18274           can only operate pull-based, while our source can only
18275           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18276           Error string has not been marked for translation yet, as
18277           it probably needs some more work first.
18278
18279         (gst_type_find_element_get_best_possibility):
18280           Add helper function to find the best of all available
18281           found possibilities that qualify given the min. threshold.
18282
18283         (gst_type_find_element_handle_event):
18284           Fix the case where we get an EOS while still in TYPEFIND
18285           mode (we want to chose the best of all possible types,
18286           not just the first type that happens to be in our unsorted
18287           list of possible types).
18288
18289         (gst_type_find_element_chain):
18290           Make sure we return GST_FLOW_ERROR when we errored out
18291           in stop_typefinding(); also, don't just find the best of
18292           all found type entries and then use the last examined
18293           type entry, but actually use the best entry.
18294
18295 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18296
18297         * tests/examples/typefind/typefind.c: (type_found):
18298         * tests/examples/xml/runxml.c: (xml_loaded):
18299           More gcc4 fixes and a mem leak fix.
18300
18301 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18302
18303         * tests/examples/xml/createxml.c: (object_saved):
18304           gcc 4 fixes
18305
18306 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18307
18308         * tests/Makefile.am:
18309           enable the examples even more
18310
18311 2005-12-12  Andy Wingo  <wingo@pobox.com>
18312
18313         * libs/gst/net/gstnettimeprovider.c
18314         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18315         (gst_net_time_provider_set_property)
18316         (gst_net_time_provider_get_property):
18317         API addition: Export "active" as a GObject property.
18318         (gst_net_time_provider_thread): Only respond to time queries if
18319         the time provider is active.
18320
18321         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18322         NetTimeProvider, preserving binary compat.
18323
18324 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18325
18326         * tests/examples/controller/audio-example.c: (main):
18327         * tests/examples/launch/Makefile.am:
18328           convert comments again
18329
18330 2005-12-12  Wim Taymans  <wim@fluendo.com>
18331
18332         * libs/gst/base/gstpushsrc.c:
18333         Fix typo.
18334
18335 2005-12-12  Wim Taymans  <wim@fluendo.com>
18336
18337         * docs/libs/gstreamer-libs-sections.txt:
18338         Added new symbol to docs.
18339
18340         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18341         (gst_base_src_init), (gst_base_src_set_format),
18342         (gst_base_src_default_query), (gst_base_src_query),
18343         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18344         (gst_base_src_perform_seek), (gst_base_src_send_event),
18345         (gst_base_src_default_event), (gst_base_src_event_handler),
18346         (gst_base_src_set_property), (gst_base_src_get_property),
18347         (gst_base_src_wait), (gst_base_src_do_sync),
18348         (gst_base_src_update_length), (gst_base_src_get_range),
18349         (gst_base_src_check_get_range), (gst_base_src_loop),
18350         (gst_base_src_default_negotiate), (gst_base_src_start),
18351         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18352         (gst_base_src_change_state):
18353         * libs/gst/base/gstbasesrc.h:
18354         Implement seeking to other formats than _BYTES.
18355         Implement more seeking methods correctly.
18356         Doc updates.
18357         Added query vmethod.
18358         Added do_seek vmethod to make life easier for subclasses
18359         when seeking.
18360         API addition: gst_base_src_set_format()
18361
18362 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18363
18364         * tests/examples/Makefile.am:
18365           added that too
18366
18367 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18368
18369         * configure.ac:
18370         * docs/random/ensonic/media-device-daemon.txt:
18371         * tests/examples/controller/.cvsignore:
18372         * tests/examples/controller/Makefile.am:
18373         * tests/examples/controller/audio-example.c: (main):
18374         * tests/examples/helloworld/.cvsignore:
18375         * tests/examples/helloworld/Makefile.am:
18376         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18377         * tests/examples/launch/.cvsignore:
18378         * tests/examples/launch/Makefile.am:
18379         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18380         * tests/examples/metadata/.cvsignore:
18381         * tests/examples/metadata/Makefile.am:
18382         * tests/examples/metadata/read-metadata.c: (message_loop),
18383         (make_pipeline), (print_tag), (main):
18384         * tests/examples/queue/.cvsignore:
18385         * tests/examples/queue/Makefile.am:
18386         * tests/examples/queue/queue.c: (event_loop), (main):
18387         * tests/examples/typefind/.cvsignore:
18388         * tests/examples/typefind/Makefile.am:
18389         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18390         (main):
18391         * tests/examples/xml/.cvsignore:
18392         * tests/examples/xml/Makefile.am:
18393         * tests/examples/xml/createxml.c: (object_saved), (main):
18394         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18395         * tests/old/examples/Makefile.am:
18396         * tests/old/examples/TODO:
18397         * tests/old/examples/controller/.cvsignore:
18398         * tests/old/examples/controller/Makefile.am:
18399         * tests/old/examples/controller/audio-example.c:
18400         * tests/old/examples/helloworld/.cvsignore:
18401         * tests/old/examples/helloworld/Makefile.am:
18402         * tests/old/examples/helloworld/helloworld.c:
18403         * tests/old/examples/launch/.cvsignore:
18404         * tests/old/examples/launch/Makefile.am:
18405         * tests/old/examples/launch/mp3parselaunch.c:
18406         * tests/old/examples/launch/mp3play:
18407         * tests/old/examples/manual/Makefile.am:
18408         * tests/old/examples/metadata/Makefile.am:
18409         * tests/old/examples/metadata/read-metadata.c:
18410         * tests/old/examples/queue/.cvsignore:
18411         * tests/old/examples/queue/Makefile.am:
18412         * tests/old/examples/queue/queue.c:
18413         * tests/old/examples/typefind/.cvsignore:
18414         * tests/old/examples/typefind/Makefile.am:
18415         * tests/old/examples/typefind/typefind.c:
18416         * tests/old/examples/xml/.cvsignore:
18417         * tests/old/examples/xml/Makefile.am:
18418         * tests/old/examples/xml/createxml.c:
18419         * tests/old/examples/xml/runxml.c:
18420           applied some simple fixing to some examples
18421           re-enabled the working examples
18422
18423 2005-12-12  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/gstsegment.c: (gst_segment_init),
18426         (gst_segment_set_last_stop), (gst_segment_set_seek),
18427         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18428         (gst_segment_to_running_time):
18429         Added more documentation.
18430         Make sure the last_pos value is updated properly.
18431         Make sure to_stream_time and to_running_time don't
18432         operate on wrong values.
18433
18434         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18435         Update check.
18436
18437 2005-12-12  Michael Smith  <msmith@fluendo.com>
18438
18439         * plugins/elements/gsttypefindelement.c: (free_entry),
18440         (gst_type_find_element_chain):
18441           Now that we're not leaking factories, make sure we keep references
18442           to them while we need them.
18443
18444 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18445
18446         * tests/check/gst/struct_i386.h:
18447           ifdef out the XML structs
18448
18449 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18452           floor is not needed, F is always positive; this obviates the
18453           need for adding -lm when building without libxml
18454
18455 2005-12-12  Wim Taymans  <wim@fluendo.com>
18456
18457         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18458         Take current playback rate into account when reporting
18459         the position.
18460
18461 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18462
18463         * docs/manual/mime-world.fig:
18464           Let's try this again, this time with a file that is
18465           actually in XFig format.
18466
18467 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18468
18469         * docs/manual/mime-world.fig:
18470           Add audioconvert element to diagram so that it
18471           matches the text and the code (fixes #319526).
18472
18473 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18474
18475         * docs/pwg/building-chainfn.xml:
18476         * docs/pwg/building-pads.xml:
18477         * docs/pwg/building-state.xml:
18478         * docs/pwg/other-source.xml:
18479           Update state change stuff for 0.10 (fixes #322969).
18480
18481 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18482
18483         * docs/manual/advanced-dataaccess.xml:
18484         * docs/manual/appendix-checklist.xml:
18485         * docs/manual/appendix-programs.xml:
18486         * docs/manual/basics-pads.xml:
18487         * docs/manual/highlevel-components.xml:
18488         * docs/manual/manual.xml:
18489           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18490           add converters in front of pipelines; remove curly
18491           brackets for threads stuff, they no longer exist; use
18492           GST_TYPE_FRACTION for framerates; update some pieces of
18493           code to 0.10, but there's plenty more to do.
18494
18495         * docs/manual/appendix-porting.xml:
18496           Expand on asynchroneous state changes; s/0.9/0.10/;
18497           mention disappearance of gst_init_get_popt_table()
18498           (fixes #322916).
18499
18500 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * docs/faq/using.xml:
18503           Spider no longer exists, and neither does gst-launch-ext.
18504           Update examples to use decodebin and playbin and put
18505           converters in front of sinks (fixes #323726).
18506
18507 2005-12-09  Michael Smith  <msmith@fluendo.com>
18508
18509         * plugins/elements/gsttypefindelement.c: (find_peek),
18510         (gst_type_find_element_chain):
18511           Fix leaking element factories in typefinding.
18512           Fix problem where we forgot about a probable type on non-seekable
18513           files, and thus later mis-typefound it.
18514
18515 2005-12-09  Michael Smith  <msmith@fluendo.com>
18516
18517         * common/m4/gst-makecontext.m4:
18518         * common/m4/gst-mcsc.m4:
18519         * configure.ac:
18520         * win32/common/config.h:
18521         * win32/common/config.h.in:
18522           Remove makecontext stuff; not used in 0.10 and causes problems on
18523           HPUX according to bug #322441
18524
18525 2005-12-07  Wim Taymans  <wim@fluendo.com>
18526
18527         * tests/check/Makefile.am:
18528         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18529         (main):
18530         * tests/check/libs/struct_i386.h:
18531         Added ABI check for libs
18532
18533 2005-12-07  Wim Taymans  <wim@fluendo.com>
18534
18535         * tests/check/Makefile.am:
18536         And add the struct_i386.h to dist.
18537
18538 2005-12-07  Wim Taymans  <wim@fluendo.com>
18539
18540         * tests/check/Makefile.am:
18541         * tests/check/gst/.cvsignore:
18542         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18543         (main):
18544         * tests/check/gst/struct_i386.h:
18545         Added check for ABI compatibility.
18546
18547 2005-12-07  Wim Taymans  <wim@fluendo.com>
18548
18549         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18550         (gst_fake_src_get_times), (gst_fake_src_create):
18551         Fix broken sync option, fixes #323259
18552
18553 2005-12-07  Wim Taymans  <wim@fluendo.com>
18554
18555         * gst/gstbuffer.c:
18556         Small docs update.
18557
18558         * gst/gstcaps.c: (gst_caps_is_equal):
18559         Don't assert on NULL <--> X. Fixes #323260
18560
18561         * gst/gstminiobject.c: (gst_mini_object_replace):
18562         If we're doing atomic operations, we might just as well use
18563         the proper way to get an atomic pointer.
18564
18565         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18566         Clean up debugging.
18567
18568 2005-12-07  Michael Smith  <msmith@fluendo.com>
18569
18570         * gst/parse/grammar.y:
18571           Remove handling of { } for threads.
18572
18573 2005-12-06  David Schleef  <ds@schleef.org>
18574
18575         * libs/gst/base/gstbasetransform.c: speling fix.
18576
18577 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18578
18579         * docs/libs/tmpl/gstdataprotocol.sgml:
18580         * docs/random/omega/testing/gstobject.c:
18581         * gst/gst.c:
18582         * gst/gstclock.c:
18583         * gst/gstelement.c:
18584         * gst/gstelementfactory.c:
18585         * gst/gsterror.c:
18586         * gst/gstevent.c:
18587         * gst/gstghostpad.c:
18588         * gst/gstinfo.c:
18589         * gst/gstpadtemplate.c:
18590         * gst/gstregistryxml.c:
18591         * gst/gsttaglist.c:
18592         * gst/gsttagsetter.c:
18593         * gst/gsttypefind.c:
18594         * gst/gstvalue.c:
18595         * libs/gst/base/gstbasesrc.c:
18596         * libs/gst/net/gstnetclientclock.c:
18597         * libs/gst/net/gstnettimeprovider.c:
18598         * plugins/elements/gstfakesrc.c:
18599         * plugins/elements/gstfdsrc.c:
18600         * plugins/elements/gstfilesrc.c:
18601         * plugins/elements/gstidentity.c:
18602         * plugins/elements/gstqueue.c:
18603         * plugins/elements/gsttypefindelement.c:
18604         * plugins/indexers/gstfileindex.c:
18605         * plugins/indexers/gstmemindex.c:
18606         * tests/check/gst/gsttag.c:
18607         * tests/old/examples/cutter/cutter.c:
18608         * tests/old/examples/mixer/mixer.c:
18609         * tests/old/examples/xml/runxml.c: (main):
18610         * tests/old/testsuite/caps/normalisation.c:
18611         * tests/old/testsuite/debug/global.c:
18612         * tests/old/testsuite/parse/parse1.c:
18613         * tools/gst-xmlinspect.c:
18614         * win32/common/dirent.c:
18615           expand tabs
18616
18617 === release 0.10.0 ===
18618
18619 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18620
18621         * configure.ac:
18622           releasing 0.10.0, "Maroilles"
18623
18624 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18625
18626         submitted by: Funda Wang <fundawang@linux.net.cn>
18627
18628         * po/LINGUAS:
18629         * po/zh_CN.po:
18630           added Chinese (Traditional) translation
18631
18632 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18633
18634         * docs/gst/gstreamer-sections.txt:
18635         * docs/libs/tmpl/gstdataprotocol.sgml:
18636         * docs/random/thomasvs/TODO:
18637         * gst/gstutils.c:
18638         * gst/gstutils.h:
18639           fix docs
18640
18641 2005-12-05  Andy Wingo  <wingo@pobox.com>
18642
18643         patch by: Wim Taymans <wim@fluendo.com>
18644
18645         * libs/gst/base/gstbasetransform.c
18646         (gst_base_transform_prepare_output_buf)
18647         (gst_base_transform_buffer_alloc):
18648         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18649         alloc_buffer_and_set_caps.
18650
18651         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18652         set_caps on the source pad.
18653         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18654         alloc_buffer used to do. Fixes #322874.
18655
18656         * docs/gst/gstreamer-sections.txt: 
18657         * docs/design/part-negotiation.txt: 
18658         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18659         changes.
18660
18661 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18662
18663         patch by: Sebastien Moutte
18664
18665         * win32/MANIFEST:
18666         * win32/common/config.h.in:
18667         * win32/vs6/libgstcontroller.dsp:
18668           win32 build fixes
18669
18670 2005-12-05  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/gstcaps.c: (gst_caps_is_equal):
18673         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18674         (gst_fake_src_create):
18675         Back out previous code changes, leave doc updates, file bugs 
18676         instead. 
18677
18678 2005-12-05  Wim Taymans  <wim@fluendo.com>
18679
18680         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18681         (gst_fake_src_get_times), (gst_fake_src_create):
18682         * plugins/elements/gstfakesrc.h:
18683         Fix broken sync code.
18684
18685 2005-12-05  Wim Taymans  <wim@fluendo.com>
18686
18687         * gst/gstcaps.c: (gst_caps_is_equal):
18688         Comparing NULL against !NULL yields different caps, not a
18689         failure.
18690
18691 2005-12-05  Wim Taymans  <wim@fluendo.com>
18692
18693         * gst/gstpipeline.c:
18694         Fix small typo in docs.
18695
18696 2005-12-05  Andy Wingo  <wingo@pobox.com>
18697
18698         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18699
18700         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18701         registries/plugins with a MAJORMINOR one.
18702         (plugin_desc): Rename library from gstcoreleements to
18703         staticelements. Fixes #323222.
18704
18705 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18706
18707         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18708           Change debug category to 'collectpads' from 'collect_pads'
18709           (fixes #323250).
18710
18711 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18712
18713         patch by: Sebastien Moutte
18714
18715         * libs/gst/controller/gstinterpolation.c:
18716           use convert function for uint64/double
18717         * win32/vs6/libgstcontroller.dsp:
18718           link to GLib
18719
18720 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18721
18722         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18723         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18724         * gst/gstutils.h:
18725         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18726           add tests that seem to show that the guint64/gdouble conversions
18727           are correct.
18728
18729 2005-12-02  Wim Taymans  <wim@fluendo.com>
18730
18731         * gst/gstregistry.c: (gst_registry_add_path):
18732         * gst/gstregistry.h:
18733         * gst/gstregistryxml.c:
18734         Fix docs again.
18735
18736 2005-12-02  Wim Taymans  <wim@fluendo.com>
18737
18738         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18739         (gst_util_uint64_scale_int):
18740         Small cleanup.
18741
18742         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18743         Add debug log line.
18744
18745         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18746         Add FIXME.
18747
18748 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18749
18750         * win32/MANIFEST:
18751         * win32/common/config.h:
18752         * win32/vs6/gstreamer.dsw:
18753         * win32/vs6/libgstcoreelements.dsp:
18754         * win32/vs6/libgstelements.dsp:
18755           renamed core elements plugin
18756
18757 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18758
18759         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18760         (get_candidates):
18761           do piece-wise major/minor comparison so 0.9 < 0.10
18762           also allow .exe extensions for tools
18763
18764 2005-12-02  Michael Smith  <msmith@fluendo.com>
18765
18766         * gst/gst.c:
18767           Escape a % to make gtkdoc happier; bug 322958.
18768
18769 === release 0.9.7 ===
18770
18771 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18772
18773         * configure.ac:
18774           releasing 0.9.7, "My Dog Has No Nose"
18775
18776 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18777
18778         * common/gst-xmlinspect.py:
18779         * configure.ac:
18780         * docs/libs/tmpl/gstdataprotocol.sgml:
18781         * docs/random/release:
18782         * po/af.po:
18783         * po/az.po:
18784         * po/bg.po:
18785         * po/ca.po:
18786         * po/cs.po:
18787         * po/de.po:
18788         * po/en_GB.po:
18789         * po/fr.po:
18790         * po/it.po:
18791         * po/nb.po:
18792         * po/nl.po:
18793         * po/ru.po:
18794         * po/sq.po:
18795         * po/sr.po:
18796         * po/sv.po:
18797         * po/tr.po:
18798         * po/uk.po:
18799         * po/vi.po:
18800         * win32/common/config.h:
18801         * win32/common/config.h.in:
18802         * win32/vs6/gst_inspect.dsp:
18803         * win32/vs6/gst_launch.dsp:
18804         * win32/vs6/libgstbase.dsp:
18805         * win32/vs6/libgstelements.dsp:
18806         * win32/vs6/libgstreamer.dsp:
18807         * win32/vs7/GStreamer.vcproj:
18808         * win32/vs7/gst-inspect.vcproj:
18809         * win32/vs7/gst-launch.vcproj:
18810         * win32/vs7/libgstbase.vcproj:
18811           bump GST_MAJORMINOR to 0.10
18812           reset libtool version
18813
18814 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18815
18816         * po/LINGUAS:
18817         * po/bg.po:
18818           Added Bulgarian translation by (Alexander Shopov)
18819
18820 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18821
18822         * tests/check/gst/gstplugin.c:
18823           fix test
18824
18825 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18826
18827         * common/gst-xmlinspect.py:
18828         * common/gtk-doc-plugins.mak:
18829         * configure.ac:
18830         * docs/Makefile.am:
18831         * docs/gst/Makefile.am:
18832         * docs/gst/gstreamer-docs.sgml:
18833         * docs/gst/gstreamer-sections.txt:
18834         * docs/gst/gstreamer.types:
18835         * docs/gst/gstreamer.types.in:
18836         * docs/plugins/Makefile.am:
18837         * docs/plugins/gstreamer-plugins-docs.sgml:
18838         * docs/plugins/gstreamer-plugins-sections.txt:
18839         * docs/plugins/gstreamer-plugins.types:
18840         * docs/plugins/inspect.stamp:
18841         * docs/plugins/inspect/plugin-coreelements.xml:
18842         * docs/plugins/inspect/plugin-coreindexers.xml:
18843         * docs/plugins/scanobj-build.stamp:
18844         * gstreamer.spec.in:
18845         * plugins/elements/Makefile.am:
18846         * plugins/elements/gstelements.c:
18847         * plugins/elements/gstfakesink.c:
18848         * plugins/elements/gstfakesrc.c:
18849         * plugins/elements/gstfilesink.c:
18850         * plugins/elements/gstfilesrc.c:
18851         * plugins/elements/gstqueue.c:
18852         * plugins/indexers/Makefile.am:
18853         * plugins/indexers/gstindexers.c:
18854           document core plugins in a separate document just like all the
18855           others
18856           rename these plugins to something starting with core
18857
18858 2005-12-01  Andy Wingo  <wingo@pobox.com>
18859
18860         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18861         padding here before, but it missed the commit.
18862
18863 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18864
18865         * libs/gst/controller/gstinterpolation.c:
18866           whitespace prices have crashed, we should feel free to use some now
18867           use gst_guint64_to_gdouble
18868
18869 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18870
18871         * libs/gst/controller/gstcontroller.c:
18872         * libs/gst/controller/gsthelper.c:
18873         * libs/gst/controller/gstinterpolation.c:
18874         * libs/gst/controller/lib.c:
18875           wrap config.h include
18876
18877 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18878
18879         * docs/gst/gstreamer-sections.txt:
18880           update docs
18881
18882 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18883
18884         * plugins/elements/gstelements.c:
18885         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18886         (gst_fd_sink__class_init), (gst_fd_sink__init),
18887         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18888         (gst_fd_sink__get_property):
18889         * plugins/elements/gstfdsink.h:
18890         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18891         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18892         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18893         (gst_fd_src_unlock), (gst_fd_src_set_property),
18894         (gst_fd_src_get_property), (gst_fd_src_create),
18895         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18896         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18897         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18898         (gst_fd_src_uri_handler_init):
18899         * plugins/elements/gstfdsrc.h:
18900         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18901           more anal cleanup
18902
18903 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18904
18905         * docs/gst/Makefile.am:
18906         * docs/gst/gstreamer.types.in:
18907         * gst/Makefile.am:
18908           fix the docs build
18909
18910 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18911
18912         * configure.ac:
18913         * gst/Makefile.am:
18914         * gst/gst.c:
18915         * gst/gstplugin.h:
18916         * gst/gstregistry.h:
18917         * tests/benchmarks/complexity.c:
18918         * tests/benchmarks/mass-elements.c:
18919         * tests/check/Makefile.am:
18920         * tools/Makefile.am:
18921         * tools/gst-inspect.c:
18922         * tools/gst-xmlinspect.c:
18923           various fixes to make
18924           --disable-nls --disable-registry --disable-loadsave
18925           --disable-parse --disable-gst-debug
18926           work and get the core .so down to 360444 bytes after stripping
18927
18928 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18929
18930         * Makefile.am:
18931         * configure.ac:
18932           descend into tests
18933         * docs/random/thomasvs/TODO:
18934         * tests/Makefile.am:
18935         * tests/README:
18936           add a README
18937
18938 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18939
18940         * win32/GStreamer.vcproj:
18941         * win32/MANIFEST:
18942         * win32/Makefile:
18943         * win32/Makefile.inspect:
18944         * win32/Makefile.launch:
18945         * win32/Makefile.register:
18946         * win32/README.txt:
18947         * win32/gst-inspect.vcproj:
18948         * win32/gst-launch.vcproj:
18949         * win32/gst-register.vcproj:
18950         * win32/gstelements.vcproj:
18951         * win32/gstgetbits.def:
18952         * win32/gstgetbits.vcproj:
18953         * win32/gstreamer-dbg.def:
18954         * win32/gstreamer.def:
18955         * win32/libgstbase.def:
18956         * win32/libgstbase.vcproj:
18957         * win32/link_oldruntime.c:
18958         * win32/mman.c:
18959         * win32/mman.h:
18960         * win32/mman.inl:
18961         * win32/msvc71.sln:
18962           move even more stuff, win32/ is nice and clean now
18963
18964 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18965
18966         * libs/gst/control/.cvsignore:
18967         * win32/MANIFEST:
18968         * win32/config.h:
18969         * win32/dirent.c:
18970         * win32/dirent.h:
18971         * win32/gstbytestream.def:
18972         * win32/gstbytestream.vcproj:
18973         * win32/gstconfig.h:
18974         * win32/gstenumtypes.c:
18975         * win32/gstenumtypes.h:
18976         * win32/gstoptimalscheduler.vcproj:
18977         * win32/gstversion.h:
18978         * win32/gtchar.h:
18979         * win32/testsuite/bins.vcproj:
18980         * win32/testsuite/bytestream.vcproj:
18981         * win32/testsuite/caps.vcproj:
18982         * win32/testsuite/cleanup.vcproj:
18983         * win32/testsuite/clock.vcproj:
18984         * win32/testsuite/debug.vcproj:
18985         * win32/testsuite/dlopen.vcproj:
18986         * win32/testsuite/dynparams.vcproj:
18987         * win32/testsuite/elements.vcproj:
18988         * win32/testsuite/ghostpads.vcproj:
18989         * win32/testsuite/indexers.vcproj:
18990         * win32/testsuite/negotiation.vcproj:
18991         * win32/testsuite/parse.vcproj:
18992         * win32/testsuite/plugin.vcproj:
18993         * win32/testsuite/refcounting.vcproj:
18994         * win32/testsuite/schedulers.vcproj:
18995         * win32/testsuite/states.vcproj:
18996         * win32/testsuite/tags.vcproj:
18997         * win32/testsuite/threads.vcproj:
18998           remove old win32 stuff that isn't maintained and should be
18999           reorganized
19000
19001 2005-11-30  Andy Wingo  <wingo@pobox.com>
19002
19003         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19004         loading the gst.interfaces python module bork.
19005
19006         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19007         available since GLib 2.2. Fixes #318031.
19008
19009 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19010
19011         * Makefile.am:
19012         * check/.cvsignore:
19013         * check/Makefile.am:
19014         * check/elements/.cvsignore:
19015         * check/elements/fakesrc.c:
19016         * check/elements/fdsrc.c:
19017         * check/elements/identity.c:
19018         * check/generic/.cvsignore:
19019         * check/generic/states.c:
19020         * check/gst-libs/.cvsignore:
19021         * check/gst-libs/controller.c:
19022         * check/gst-libs/gdp.c:
19023         * check/gst/.cvsignore:
19024         * check/gst/capslist.h:
19025         * check/gst/gst.c:
19026         * check/gst/gstbin.c:
19027         * check/gst/gstbuffer.c:
19028         * check/gst/gstbus.c:
19029         * check/gst/gstcaps.c:
19030         * check/gst/gstelement.c:
19031         * check/gst/gstevent.c:
19032         * check/gst/gstghostpad.c:
19033         * check/gst/gstiterator.c:
19034         * check/gst/gstmessage.c:
19035         * check/gst/gstminiobject.c:
19036         * check/gst/gstobject.c:
19037         * check/gst/gstpad.c:
19038         * check/gst/gstpipeline.c:
19039         * check/gst/gstplugin.c:
19040         * check/gst/gstsegment.c:
19041         * check/gst/gststructure.c:
19042         * check/gst/gstsystemclock.c:
19043         * check/gst/gsttag.c:
19044         * check/gst/gstutils.c:
19045         * check/gst/gstvalue.c:
19046         * check/net/.cvsignore:
19047         * check/net/gstnetclientclock.c:
19048         * check/net/gstnettimeprovider.c:
19049         * check/pipelines/.cvsignore:
19050         * check/pipelines/cleanup.c:
19051         * check/pipelines/simple_launch_lines.c:
19052         * check/pipelines/stress.c:
19053         * check/states/.cvsignore:
19054         * check/states/sinks.c:
19055         * configure.ac:
19056         * examples/Makefile.am:
19057         * examples/appreader/.cvsignore:
19058         * examples/appreader/Makefile.am:
19059         * examples/appreader/appreader.c:
19060         * examples/controller/.cvsignore:
19061         * examples/controller/Makefile.am:
19062         * examples/controller/audio-example.c:
19063         * examples/cutter/.cvsignore:
19064         * examples/cutter/Makefile.am:
19065         * examples/cutter/cutter.c:
19066         * examples/cutter/cutter.h:
19067         * examples/events/Makefile.am:
19068         * examples/events/seek.c:
19069         * examples/helloworld/.cvsignore:
19070         * examples/helloworld/Makefile.am:
19071         * examples/helloworld/helloworld.c:
19072         * examples/helloworld2/.cvsignore:
19073         * examples/helloworld2/Makefile.am:
19074         * examples/helloworld2/helloworld2.c:
19075         * examples/launch/.cvsignore:
19076         * examples/launch/Makefile.am:
19077         * examples/launch/mp3parselaunch.c:
19078         * examples/launch/mp3play:
19079         * examples/manual/.cvsignore:
19080         * examples/manual/Makefile.am:
19081         * examples/manual/extract.pl:
19082         * examples/metadata/Makefile.am:
19083         * examples/metadata/read-metadata.c:
19084         * examples/mixer/.cvsignore:
19085         * examples/mixer/Makefile.am:
19086         * examples/mixer/mixer.c:
19087         * examples/mixer/mixer.h:
19088         * examples/pingpong/.cvsignore:
19089         * examples/pingpong/Makefile.am:
19090         * examples/pingpong/pingpong.c:
19091         * examples/plugins/.cvsignore:
19092         * examples/plugins/Makefile.am:
19093         * examples/plugins/example.c:
19094         * examples/plugins/example.h:
19095         * examples/pwg/.cvsignore:
19096         * examples/pwg/Makefile.am:
19097         * examples/pwg/extract.pl:
19098         * examples/queue/.cvsignore:
19099         * examples/queue/Makefile.am:
19100         * examples/queue/queue.c:
19101         * examples/queue2/.cvsignore:
19102         * examples/queue2/Makefile.am:
19103         * examples/queue2/queue2.c:
19104         * examples/queue3/.cvsignore:
19105         * examples/queue3/Makefile.am:
19106         * examples/queue3/queue3.c:
19107         * examples/queue4/.cvsignore:
19108         * examples/queue4/Makefile.am:
19109         * examples/queue4/queue4.c:
19110         * examples/retag/.cvsignore:
19111         * examples/retag/Makefile.am:
19112         * examples/retag/retag.c:
19113         * examples/retag/transcode.c:
19114         * examples/thread/.cvsignore:
19115         * examples/thread/Makefile.am:
19116         * examples/thread/thread.c:
19117         * examples/typefind/.cvsignore:
19118         * examples/typefind/Makefile.am:
19119         * examples/typefind/typefind.c:
19120         * examples/xml/.cvsignore:
19121         * examples/xml/Makefile.am:
19122         * examples/xml/createxml.c:
19123         * examples/xml/runxml.c:
19124         * tests/Makefile.am:
19125         * tests/check/Makefile.am:
19126         * testsuite/.cvsignore:
19127         * testsuite/Makefile.am:
19128         * testsuite/Rules:
19129         * testsuite/caps/.cvsignore:
19130         * testsuite/caps/Makefile.am:
19131         * testsuite/caps/app_fixate.c:
19132         * testsuite/caps/audioscale.c:
19133         * testsuite/caps/caps.c:
19134         * testsuite/caps/caps.h:
19135         * testsuite/caps/caps_strings:
19136         * testsuite/caps/compatibility.c:
19137         * testsuite/caps/deserialize.c:
19138         * testsuite/caps/enumcaps.c:
19139         * testsuite/caps/eratosthenes.c:
19140         * testsuite/caps/filtercaps.c:
19141         * testsuite/caps/fixed.c:
19142         * testsuite/caps/fraction-convert.c:
19143         * testsuite/caps/fraction-multiply-and-zero.c:
19144         * testsuite/caps/intersect2.c:
19145         * testsuite/caps/intersection.c:
19146         * testsuite/caps/normalisation.c:
19147         * testsuite/caps/random.c:
19148         * testsuite/caps/renegotiate.c:
19149         * testsuite/caps/sets.c:
19150         * testsuite/caps/simplify.c:
19151         * testsuite/caps/string-conversions.c:
19152         * testsuite/caps/structure.c:
19153         * testsuite/caps/subtract.c:
19154         * testsuite/caps/union.c:
19155         * testsuite/debug/.cvsignore:
19156         * testsuite/debug/Makefile.am:
19157         * testsuite/debug/category.c:
19158         * testsuite/debug/commandline.c:
19159         * testsuite/debug/global.c:
19160         * testsuite/debug/output.c:
19161         * testsuite/debug/printf_extension.c:
19162         * testsuite/dlopen/.cvsignore:
19163         * testsuite/dlopen/Makefile.am:
19164         * testsuite/dlopen/dlopen_gst.c:
19165         * testsuite/dlopen/loadgst.c:
19166         * testsuite/elements/.cvsignore:
19167         * testsuite/elements/Makefile.am:
19168         * testsuite/elements/gst-inspect-check.in:
19169         * testsuite/elements/struct_i386.h:
19170         * testsuite/elements/struct_size.c:
19171         * testsuite/indexers/.cvsignore:
19172         * testsuite/indexers/Makefile.am:
19173         * testsuite/indexers/cache1.c:
19174         * testsuite/indexers/indexdump.c:
19175         * testsuite/parse/.cvsignore:
19176         * testsuite/parse/Makefile.am:
19177         * testsuite/parse/parse1.c:
19178         * testsuite/parse/parse2.c:
19179         * testsuite/plugin/.cvsignore:
19180         * testsuite/plugin/Makefile.am:
19181         * testsuite/plugin/README:
19182         * testsuite/plugin/dynamic.c:
19183         * testsuite/plugin/linked.c:
19184         * testsuite/plugin/loading.c:
19185         * testsuite/plugin/registry.c:
19186         * testsuite/plugin/static.c:
19187         * testsuite/plugin/static2.c:
19188         * testsuite/plugin/testplugin.c:
19189         * testsuite/plugin/testplugin2.c:
19190         * testsuite/plugin/testplugin2_s.c:
19191         * testsuite/plugin/testplugin_s.c:
19192         * testsuite/refcounting/.cvsignore:
19193         * testsuite/refcounting/Makefile.am:
19194         * testsuite/refcounting/bin.c:
19195         * testsuite/refcounting/element.c:
19196         * testsuite/refcounting/element_pad.c:
19197         * testsuite/refcounting/mainloop.c:
19198         * testsuite/refcounting/mem.c:
19199         * testsuite/refcounting/mem.h:
19200         * testsuite/refcounting/object.c:
19201         * testsuite/refcounting/pad.c:
19202         * testsuite/refcounting/sched.c:
19203         * testsuite/refcounting/thread.c:
19204         * testsuite/states/.cvsignore:
19205         * testsuite/states/Makefile.am:
19206         * testsuite/states/bin.c:
19207         * testsuite/states/locked.c:
19208         * testsuite/states/parent.c:
19209         * testsuite/threads/.cvsignore:
19210         * testsuite/threads/159566.c:
19211         * testsuite/threads/159852.c:
19212         * testsuite/threads/Makefile.am:
19213         * testsuite/threads/queue.c:
19214         * testsuite/threads/signals.c:
19215         * testsuite/threads/staticrec.c:
19216         * testsuite/threads/thread.c:
19217         * testsuite/threads/threadb.c:
19218         * testsuite/threads/threadc.c:
19219         * testsuite/threads/threadd.c:
19220         * testsuite/threads/threade.c:
19221         * testsuite/threads/threadf.c:
19222         * testsuite/threads/threadg.c:
19223         * testsuite/threads/threadh.c:
19224         * testsuite/threads/threadi.c:
19225           move all of these under tests
19226
19227 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19228
19229         * configure.ac:
19230         * tests/Makefile.am:
19231           fix distcheck
19232
19233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19234
19235         * docs/gst/gstreamer-sections.txt:
19236         * tests/sched/.cvsignore:
19237         * tests/sched/Makefile.am:
19238         * tests/sched/cases/(fs-fs).xml:
19239         * tests/sched/cases/(fs-i-fs).xml:
19240         * tests/sched/cases/(fs-i-i-fs).xml:
19241         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19242         * tests/sched/dynamic-pipeline.c:
19243         * tests/sched/interrupt1.c:
19244         * tests/sched/interrupt2.c:
19245         * tests/sched/interrupt3.c:
19246         * tests/sched/runtestcases:
19247         * tests/sched/runxml.c:
19248         * tests/sched/sched-stress.c:
19249         * tests/sched/sort.c:
19250         * tests/sched/testcases:
19251         * tests/sched/testcases1.tc:
19252         * tests/seeking/.cvsignore:
19253         * tests/seeking/Makefile.am:
19254         * tests/seeking/seeking1.c:
19255         * tests/threadstate/.cvsignore:
19256         * tests/threadstate/Makefile.am:
19257         * tests/threadstate/test1.c:
19258         * tests/threadstate/test2.c:
19259         * tests/threadstate/threadstate1.c:
19260         * tests/threadstate/threadstate2.c:
19261         * tests/threadstate/threadstate3.c:
19262         * tests/threadstate/threadstate4.c:
19263         * tests/threadstate/threadstate5.c:
19264           remove obsolete tests
19265         * configure.ac:
19266         * tests/bench-complexity.scm:
19267         * tests/bench-mass_elements.scm:
19268         * tests/complexity.c:
19269         * tests/complexity.gnuplot:
19270         * tests/instantiate/.cvsignore:
19271         * tests/instantiate/Makefile.am:
19272         * tests/instantiate/caps.c:
19273         * tests/mass_elements.c:
19274         * tests/network-clock-utils.scm:
19275         * tests/network-clock.scm:
19276         * tests/plot-data:
19277         First pass at cleaning up tests/ dir before moving the rest
19278         Combined with CVS surgery
19279
19280 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19281
19282         * po/POTFILES.in:
19283           queue has moved, update
19284
19285 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19286
19287         * docs/gst/gstreamer-sections.txt:
19288           remove double entries from the docs
19289         * gst/gst_private.h:
19290         * gst/gstinfo.c: (_gst_debug_init):
19291           remove the THREAD debug category
19292         * gst/Makefile.am:
19293         * gst/gstqueue.c:
19294         * gst/gstqueue.h:
19295         * docs/gst/gstreamer.types:
19296         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19297         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19298           completely move queue and fix up debugging categories
19299
19300 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19301
19302         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19303           make initialization portable, using LL is not
19304
19305 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19306
19307         * win32/common/gstconfig.h:
19308           add large padding
19309
19310 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * win32/common/libgstreamer.def:
19313           rename symbols; sort base section
19314
19315 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19316
19317         * gst/gstclock.c: (do_linear_regression):
19318           remove crack non-portable handrolled DEBUG macro
19319
19320 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19321
19322         * docs/random/release:
19323           update notes
19324         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19325         (gst_object_flags_get_type), (register_gst_bin_flags),
19326         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19327         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19328         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19329         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19330         (gst_caps_flags_get_type), (register_gst_clock_return),
19331         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19332         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19333         (gst_clock_flags_get_type), (register_gst_state),
19334         (gst_state_get_type), (register_gst_state_change_return),
19335         (gst_state_change_return_get_type), (register_gst_state_change),
19336         (gst_state_change_get_type), (register_gst_element_flags),
19337         (gst_element_flags_get_type), (register_gst_core_error),
19338         (gst_core_error_get_type), (register_gst_library_error),
19339         (gst_library_error_get_type), (register_gst_resource_error),
19340         (gst_resource_error_get_type), (register_gst_stream_error),
19341         (gst_stream_error_get_type), (register_gst_event_type_flags),
19342         (gst_event_type_flags_get_type), (register_gst_event_type),
19343         (gst_event_type_get_type), (register_gst_seek_type),
19344         (gst_seek_type_get_type), (register_gst_seek_flags),
19345         (gst_seek_flags_get_type), (register_gst_format),
19346         (gst_format_get_type), (register_gst_index_certainty),
19347         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19348         (gst_index_entry_type_get_type),
19349         (register_gst_index_lookup_method),
19350         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19351         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19352         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19353         (gst_index_flags_get_type), (register_gst_debug_level),
19354         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19355         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19356         (gst_iterator_result_get_type), (register_gst_iterator_item),
19357         (gst_iterator_item_get_type), (register_gst_message_type),
19358         (gst_message_type_get_type), (register_gst_mini_object_flags),
19359         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19360         (gst_pad_link_return_get_type), (register_gst_flow_return),
19361         (gst_flow_return_get_type), (register_gst_activate_mode),
19362         (gst_activate_mode_get_type), (register_gst_pad_direction),
19363         (gst_pad_direction_get_type), (register_gst_pad_flags),
19364         (gst_pad_flags_get_type), (register_gst_pad_presence),
19365         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19366         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19367         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19368         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19369         (gst_plugin_flags_get_type), (register_gst_rank),
19370         (gst_rank_get_type), (register_gst_query_type),
19371         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19372         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19373         (gst_tag_flag_get_type), (register_gst_task_state),
19374         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19375         (gst_alloc_trace_flags_get_type),
19376         (register_gst_type_find_probability),
19377         (gst_type_find_probability_get_type), (register_gst_uri_type),
19378         (gst_uri_type_get_type), (register_gst_parse_error),
19379         (gst_parse_error_get_type):
19380         * win32/common/gstenumtypes.h:
19381         * win32/common/gstversion.h:
19382           update visual studio generated files
19383
19384 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * win32/vs6/libgstbase.dsp:
19387         * win32/vs6/libgstelements.dsp:
19388           update project files for new locations
19389
19390 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19391
19392         * Makefile.am:
19393           remove some files
19394         * README:
19395           reinstate and update
19396         * DEVEL:
19397         * REQUIREMENTS:
19398           removed
19399         * LICENSE:
19400         * docs/random/LICENSE:
19401           moved to random
19402
19403 2005-11-30  Edward Hervey  <edward@fluendo.com>
19404
19405         * gst/gsttypefind.c: (gst_type_find_register):
19406         * gst/gsttypefind.h:
19407         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19408         (gst_type_find_factory_dispose):
19409         * gst/gsttypefindfactory.h:
19410         Fix memory leak in GstTypeFindFactory.
19411
19412 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19413
19414         * gst/gst.c:
19415         * plugins/elements/Makefile.am:
19416         * plugins/elements/gstelements.c:
19417         * plugins/elements/gstqueue.c:
19418           move queue from core to the elements plugin
19419
19420 2005-11-29  Andy Wingo  <wingo@pobox.com>
19421
19422         * libs/gst/base/gstbasetransform.h: 
19423         * libs/gst/base/gstbasesrc.h: 
19424         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19425
19426         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19427         of pointers by which to pad very extensible base classes (like the
19428         ones in libs/gst/base).
19429
19430 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19431
19432         * docs/gst/gstreamer-docs.sgml:
19433         * docs/gst/gstreamer-sections.txt:
19434         * docs/libs/gstreamer-libs-docs.sgml:
19435         * docs/libs/gstreamer-libs-sections.txt:
19436           moving documentation from core to lib
19437
19438 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19439
19440         * check/Makefile.am:
19441         * configure.ac:
19442         * docs/gst/Makefile.am:
19443         * gst/Makefile.am:
19444         * gst/base/.cvsignore:
19445         * gst/base/Makefile.am:
19446         * gst/base/README:
19447         * gst/base/gstadapter.c:
19448         * gst/base/gstadapter.h:
19449         * gst/base/gstbasesink.c:
19450         * gst/base/gstbasesink.h:
19451         * gst/base/gstbasesrc.c:
19452         * gst/base/gstbasesrc.h:
19453         * gst/base/gstbasetransform.c:
19454         * gst/base/gstbasetransform.h:
19455         * gst/base/gstcollectpads.c:
19456         * gst/base/gstcollectpads.h:
19457         * gst/base/gstpushsrc.c:
19458         * gst/base/gstpushsrc.h:
19459         * gst/base/gsttypefindhelper.c:
19460         * gst/base/gsttypefindhelper.h:
19461         * gst/check/Makefile.am:
19462         * gst/check/gstcheck.c:
19463         * gst/check/gstcheck.h:
19464         * gst/net/Makefile.am:
19465         * gst/net/gstnet.h:
19466         * gst/net/gstnetclientclock.c:
19467         * gst/net/gstnetclientclock.h:
19468         * gst/net/gstnettimepacket.c:
19469         * gst/net/gstnettimepacket.h:
19470         * gst/net/gstnettimeprovider.c:
19471         * gst/net/gstnettimeprovider.h:
19472         * libs/gst/Makefile.am:
19473         * libs/gst/base/Makefile.am:
19474         * libs/gst/base/gstbasetransform.c:
19475         * libs/gst/check/Makefile.am:
19476         * plugins/elements/Makefile.am:
19477         * po/POTFILES.in:
19478           CVS surgery + support to move base, check, and net out of gst
19479           and into libs/gst
19480
19481 2005-11-29  Andy Wingo  <wingo@pobox.com>
19482
19483         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19484
19485         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19486         padding.
19487
19488         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19489
19490         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19491
19492         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19493
19494         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19495         padding; reduces object size by about 30%. We don't expect
19496         anything else to go into gstobject.
19497
19498         * gst/gstminiobject.h (struct _GstMiniObject)
19499         (struct _GstMiniObjectClass): Only one pointer of padding; the
19500         payload is only a pointer and two ints anyway. For the class there
19501         are only two methods as well.
19502         
19503         * gst/gstelement.h (struct _GstElementClass): Removed
19504         the state_changed signal callback, it is not used.
19505
19506 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19507
19508         * docs/gst/gstreamer.types:
19509           fix includes, though they are a little dinky
19510
19511 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19512
19513         * check/Makefile.am:
19514           look in the right place for elements, a lot more chance of
19515           success
19516         * gst/Makefile.am:
19517           remove indexers and elements subdirs
19518         * plugins/Makefile.am:
19519           make indexers conditional
19520
19521 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19522
19523         * Makefile.am:
19524         * configure.ac:
19525         * plugins/elements/Makefile.am:
19526         * plugins/elements/gstcapsfilter.c:
19527         * plugins/elements/gstfilesink.c:
19528         * plugins/elements/gstfilesrc.c:
19529         * plugins/elements/gstidentity.c:
19530         * plugins/indexers/Makefile.am:
19531           do CVS surgery and related build fixery to move elements
19532           and indexers in a new gstreamer/plugins directory, out of the
19533           gst/ directory
19534
19535 2005-11-29  Andy Wingo  <wingo@pobox.com>
19536
19537         * check/Makefile.am:
19538         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19539         * pkgconfig/gstreamer-net.pc.in:
19540         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19541         #322257.
19542
19543 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19544
19545         * tools/Makefile.am:
19546         * tools/gst-complete.1.in:
19547         * tools/gst-complete.c:
19548         * tools/gst-compprep.1.in:
19549         * tools/gst-compprep.c:
19550           removing -compprep and -complete
19551
19552 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19553
19554         * gst/gstevent.c: (gst_event_new_new_segment),
19555         (gst_event_parse_new_segment):
19556         * gst/gstevent.h:
19557           fix #320529 - clean up new_segment API and structure.
19558           Let's hope everyone was using the methods, and not the structure.
19559
19560 2005-11-29  Edward Hervey  <edward@fluendo.com>
19561
19562         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19563         (gst_base_sink_event), (gst_base_sink_do_sync),
19564         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19565         Properly handle non GST_FORMAT_TIME segment
19566         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19567         Properly handle non GST_FORMAT_TIME segment
19568         * gst/gstsegment.c:
19569         This function is valid if the accumulator is 0 and the format
19570         is different from the requested format.
19571         
19572 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19573
19574         * docs/gst/gstreamer-sections.txt:
19575         Add gst_query_new_seeking and gst_query_parse_seeking to the
19576         docs.
19577
19578 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19579
19580         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19581           Treat a pad alloc with new caps the same as if we were not
19582           negotiated, in order to allow a changing upstream output
19583           to produce a new format of data.
19584
19585 2005-11-29  Edward Hervey  <edward@fluendo.com>
19586
19587         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19588         (gst_base_transform_event), (gst_base_transform_eventfunc):
19589         The event virtual method is now properly implemented, with a default
19590         handler
19591         Sub classes should call the parent_class event method. They should
19592         return FALSE if they had a problem handling the given event, or don't
19593         want GstBaseTransform to send that even downstream
19594         * gst/elements/gstidentity.c: (gst_identity_class_init),
19595         (gst_identity_init), (gst_identity_event),
19596         (gst_identity_transform_ip), (gst_identity_set_property),
19597         (gst_identity_get_property):
19598         * gst/elements/gstidentity.h:
19599         Added the single-segment boolean property.
19600         If set to TRUE, it will output a single segment of data, starting from
19601         0, will eat up all incoming newsegment, and modify the timestamp of the
19602         buffers accordingly
19603
19604 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19605
19606         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19607           Don't ref NULL target pad (#322751). Improve docs.
19608
19609 2005-11-29  Michael Smith  <msmith@fluendo.com>
19610
19611         * gst/gstregistryxml.c: (load_plugin):
19612           Don't crash if we failed to load a feature from a plugin. 
19613
19614 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19615
19616         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19617         (GST_START_TEST):
19618           use more check API and less GLib API
19619
19620 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * Makefile.am:
19623           don't run checks if we don't have check
19624         * common/check.mak:
19625           remove the registry when running make torture
19626         * docs/gst/gstreamer-sections.txt:
19627           remove second multiply
19628         * gst/gstqueue.c: (gst_queue_loop):
19629           fix a compile warning when disabling debug
19630
19631 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19632
19633         * gst/gstinfo.h:
19634         Hey! Let's print the pad name if the pointer != NULL instead
19635         of when it == NULL :-)
19636
19637 2005-11-28  Wim Taymans  <wim@fluendo.com>
19638
19639         * check/gst/gstutils.c: (GST_START_TEST):
19640         Updated check, add some scaling accuracy checking code.
19641
19642         * gst/gstutils.c: (gst_util_div128_64),
19643         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19644         (gst_util_uint64_scale_int):
19645         Fix 6 times faster division code. Optimize for common 
19646         1/1 and less common X/1 cases.
19647
19648 2005-11-28  Wim Taymans  <wim@fluendo.com>
19649
19650         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19651         More checks.
19652
19653         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19654         (do_linear_regression), (gst_clock_add_observation):
19655         Cleanups.
19656         Release lock when the clock cannot be slaved.
19657         Catch the case where the regression returned an invalid denominator.
19658
19659         * gst/gstutils.c: (gst_util_div128_64_iterate),
19660         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19661         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19662         Add protentially more performant non-iterative 128/64 divide function
19663         that unfortunatly does not work yet.
19664         Shortcut the trivial 0/X = 0 case.
19665         Remove the warnings on overflow.
19666
19667 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19668
19669         * gst/gstplugin.c: (gst_plugin_register_func):
19670           everything causing a plugin not to load should be at least a WARNING
19671
19672 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19673
19674         * docs/random/ensonic/dparams.txt:
19675           some TODOs for the next dev cycle
19676         * libs/gst/controller/gstcontroller.c:
19677         (gst_controlled_property_set_interpolation_mode),
19678         (gst_controlled_property_new):
19679         * libs/gst/controller/gstcontroller.h:
19680           use base type to assign acccessor functions
19681
19682 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19683
19684         * check/Makefile.am:
19685         Oops, that should have been top_srcdir
19686
19687 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19688
19689         * check/Makefile.am:
19690         * check/elements/fdsrc.c: (GST_START_TEST):
19691         Use a cmdline define to specify the location of a file to use for
19692         testing, to avoid breaking distcheck.
19693
19694 2005-11-28  Andy Wingo  <wingo@pobox.com>
19695
19696         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19697
19698 2005-11-28  Edward Hervey  <edward@fluendo.com>
19699
19700         * tools/gst-launch.c: (main):
19701         Clarify the output strings, makes it easier to translate.
19702         Fixes #322626
19703
19704 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19705
19706         * gst/Makefile.am:
19707           don't try and build net if we don't even have <sys/socket.h>
19708
19709 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19710
19711         * check/Makefile.am:
19712         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19713         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19714           Add tests for fdsrc seekability
19715
19716         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19717         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19718         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19719         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19720         * gst/elements/gstfdsrc.h:
19721           fdsrc should not be a 'live' source.
19722           Implement seeking on seekable fd's.
19723
19724         * gst/gstquery.c: (gst_query_new_seeking),
19725         (gst_query_parse_seeking):
19726         * gst/gstquery.h:
19727           Implement SEEKING query functions: 
19728             *_new_seeking and *_parse_seeking
19729
19730 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19731
19732         * gst/gstelement.c: (gst_element_dispose):
19733           don't loop forever
19734
19735         * gst/gstiterator.c:
19736         * gst/gststructure.c:
19737           doc fixes
19738
19739         * libs/gst/controller/gstcontroller.c:
19740         (gst_controlled_property_set_interpolation_mode):
19741         * libs/gst/controller/gstcontroller.h:
19742         * libs/gst/controller/gstinterpolation.c:
19743         (interpolate_none_get_enum_value_array):
19744           support controlling enums
19745
19746 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19747
19748         * gst/gstvalue.c:
19749           Improve documentation for gst_value_union().
19750
19751         * gst/gstvalue.h:
19752           Change return value for union, intersect and subtract functions
19753           from gint to gboolean.
19754
19755 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19756
19757         * gst/gstvalue.c: (gst_value_serialize_any_list),
19758         (gst_value_transform_any_list_string),
19759         (gst_value_deserialize_list), (gst_value_deserialize_array),
19760         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19761         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19762         (gst_value_set_fraction_range_full),
19763         (gst_value_deserialize_fraction_range),
19764         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19765         (gst_value_deserialize_boolean),
19766         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19767         (gst_value_serialize_float), (gst_value_deserialize_float),
19768         (gst_string_wrap), (gst_value_deserialize_string),
19769         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19770         (gst_value_union_int_range_int_range),
19771         (gst_value_intersect_int_range_int_range),
19772         (gst_value_intersect_double_range_double_range),
19773         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19774         (gst_value_subtract_int_range_int_range),
19775         (gst_value_subtract_double_double_range),
19776         (gst_value_subtract_double_range_double_range),
19777         (gst_value_deserialize_fraction):
19778         * gst/gstvalue.h:
19779           Use gint, gdouble and gchar in our API instead of int, double and
19780           char (and make usage in gstvalue.c more consistent).
19781
19782 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19783
19784         * check/Makefile.am:
19785         * libs/gst/controller/Makefile.am:
19786         * libs/gst/dataprotocol/Makefile.am:
19787           fix up Makefile.am and remove GST_ENABLE_NEW
19788
19789 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19790
19791         * configure.ac:
19792         * gst/Makefile.am:
19793         * gst/base/Makefile.am:
19794         * gst/check/Makefile.am:
19795         * gst/elements/Makefile.am:
19796         * gst/net/Makefile.am:
19797           update LDFLAGS use some more
19798
19799 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19800
19801         * common/m4/gst-doc.m4:
19802           Fixes #312589
19803
19804 2005-11-26  Edward Hervey  <edward@fluendo.com>
19805
19806         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19807         This shouldn't issue a g_warning since it returns NULL if it
19808         couldn't find the plugin, and all functions using this behave
19809         properly on a NULL return. Switching to a GST_WARNING.
19810
19811 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19812
19813         * gst/gstbin.c: (gst_bin_handle_message_func):
19814         Don't leak clock messages.
19815
19816 2005-11-25  Wim Taymans  <wim@fluendo.com>
19817
19818         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19819         (gst_util_uint64_scale_int):
19820         Optimisations, remove unneeded vars.
19821
19822 2005-11-25  Wim Taymans  <wim@fluendo.com>
19823
19824         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19825         Added more checks for the high precision uint64 cases.
19826
19827         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19828         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19829         Implement high precision (guint64 * guint64) / guint64.
19830
19831 2005-11-24  Wim Taymans  <wim@fluendo.com>
19832
19833         * gst/base/gstbasesrc.c: (gst_base_src_query):
19834         Fix wrong percentage query.
19835
19836         * gst/gstutils.c: (gst_util_uint64_scale),
19837         (gst_util_uint64_scale_int):
19838         Add some more common cases that can be handled 
19839         efficiently to _scale.
19840
19841 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19842
19843         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19844         (gst_mini_object_suite):
19845           don't use check calls from threads; check probably isn't
19846           threadsafe and using a lock to make it threadsafe would
19847           defeat the purpose of this check
19848         * gst/check/gstcheck.c:
19849         * gst/check/gstcheck.h:
19850           use GST_DEBUG some more
19851
19852 2005-11-24  Wim Taymans  <wim@fluendo.com>
19853
19854         * gst/gstutils.c: (gst_util_uint64_scale),
19855         (gst_util_uint64_scale_int):
19856         Chain trivial case to _scale_int.
19857
19858 2005-11-24  Wim Taymans  <wim@fluendo.com>
19859
19860         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19861         Added test for scaling.
19862
19863         * gst/gstclock.h:
19864         Small doc fix.
19865
19866         * gst/gstutils.c: (gst_util_uint64_scale_int):
19867         Implemented high precision scaling code.
19868
19869 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19870
19871         * gst/gstinfo.h:
19872           do not crash on pad==NULL
19873
19874 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19875
19876         Patch by: Stefan Kost
19877
19878         * common/gtk-doc.mak:
19879         * docs/gst/Makefile.am:
19880         * docs/libs/Makefile.am:
19881           Fix distcheck issues for the libraries docs build
19882           Closes #319599.
19883
19884 2005-11-24  Michael Smith <msmith@fluendo.com>
19885
19886         * docs/manual/basics-helloworld.xml:
19887           Fix bug #315027: memory leak in example code in docs.
19888
19889 2005-11-24  Michael Smith <msmith@fluendo.com>
19890
19891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19892           Unlock the PREROLL_LOCK in a failure case.
19893
19894 2005-11-24  Wim Taymans  <wim@fluendo.com>
19895
19896         * docs/gst/gstreamer-sections.txt:
19897         * gst/base/gstadapter.h:
19898         * gst/base/gstbasesink.h:
19899         * gst/base/gstbasesrc.h:
19900         * gst/base/gstbasetransform.h:
19901         * gst/base/gstpushsrc.h:
19902         * gst/elements/gstfakesink.h:
19903         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19904         * gst/elements/gstfakesrc.h:
19905         * gst/elements/gstfilesink.h:
19906         * gst/elements/gstfilesrc.h:
19907         * gst/gst.c:
19908         * gst/gstbin.c:
19909         * gst/gstbuffer.c: (_gst_buffer_copy):
19910         * gst/gstbus.h:
19911         * gst/gstcaps.c:
19912         * gst/gstchildproxy.c:
19913         * gst/gstclock.c:
19914         * gst/gstelement.c:
19915         * gst/gstelementfactory.c:
19916         * gst/gstelementfactory.h:
19917         * gst/gstevent.c:
19918         * gst/gstghostpad.h:
19919         * gst/gstindex.h:
19920         * gst/gstinterface.h:
19921         * gst/gstminiobject.c:
19922         * gst/gstminiobject.h:
19923         * gst/gstpad.c:
19924         * gst/gstpad.h:
19925         * gst/gstpadtemplate.h:
19926         * gst/gstpipeline.h:
19927         * gst/gstpluginfeature.h:
19928         * gst/gstquery.h:
19929         * gst/gstqueue.h:
19930         * gst/gsttaglist.c:
19931         * gst/gsttaglist.h:
19932         * gst/gsttagsetter.c:
19933         * gst/gsttagsetter.h:
19934         * gst/gsttrace.c:
19935         * gst/gsttrace.h:
19936         * gst/gsttypefind.h:
19937         * gst/gsturi.h:
19938         * gst/gstvalue.c:
19939         * gst/net/gstnetclientclock.c:
19940         * gst/net/gstnetclientclock.h:
19941         * gst/net/gstnettimepacket.c:
19942         * gst/net/gstnettimeprovider.c:
19943         * gst/net/gstnettimeprovider.h:
19944         Doc fixes.
19945
19946 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19947
19948         * configure.ac: back to HEAD
19949
19950 === release 0.9.6 ===
19951
19952 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19953
19954         * configure.ac:
19955           releasing 0.9.6, "Always On Time"
19956
19957 2005-11-23  Wim Taymans  <wim@fluendo.com>
19958
19959         * docs/gst/gstreamer-sections.txt:
19960         * gst/glib-compat.c:
19961         * gst/gsttagsetter.c:
19962         * gst/gstvalue.c:
19963         * gst/net/gstnetclientclock.c:
19964         * gst/net/gstnettimepacket.h:
19965         Doc updates.
19966
19967 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19968
19969         * docs/faq/using.xml:
19970         * docs/libs/tmpl/gstcontrol.sgml:
19971         * docs/manual/advanced-dparams.xml:
19972         * docs/manual/appendix-checklist.xml:
19973         * docs/manual/basics-elements.xml:
19974         * docs/pwg/other-source.xml:
19975         * docs/random/moving-plugins:
19976         * gst/gstpad.c:
19977         * tools/gst-launch.1.in:
19978           remove mentions of sinesrc
19979
19980 2005-11-23  Michael Smith <msmith@fluendo.com>
19981
19982         * docs/gst/gstreamer-sections.txt:
19983           Update for new API and API changes.
19984         * gst/gstobject.h:
19985           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19986         * gst/gstvalue.c:
19987           Documentation typo fix.
19988         * gst/net/gstnettimepacket.c:
19989           Documentation fixes for arguments.
19990
19991 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19992
19993         * gst/gststructure.c: (gst_structure_get_fraction),
19994         (gst_structure_parse_value),
19995         (gst_structure_fixate_field_nearest_fraction):
19996         * gst/gststructure.h:
19997         * gst/gstutils.c: (gst_util_uint64_scale_int):
19998         * gst/gstutils.h:
19999         * scripts/update-funcnames:
20000         API Changes. 
20001         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20002         Make gst_structure_fixate_field_nearest_fraction take a numerator
20003         and denominator argument instead of a GValue
20004         add gst_structure_get_fraction helper function.
20005
20006 2005-11-23  Wim Taymans  <wim@fluendo.com>
20007
20008         * docs/design/part-TODO.txt:
20009         Update TODO.
20010
20011         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20012         * gst/net/gstnetclientclock.h:
20013         Use parent fields for timeout and window_size.
20014
20015 2005-11-23  Andy Wingo  <wingo@pobox.com>
20016
20017         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20018         rate_num/rate_denom change.
20019
20020         * gst/net/gstnetclientclock.c
20021         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20022         OBJECT_LOCK. Don't call add_observation with the lock.
20023
20024         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20025         fraction.
20026         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20027         rate fraction.
20028         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20029         deal with rate as a fraction whose numerator and denominator are
20030         GstClockTime values.
20031         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20032         master; the other fields are protected by the SLAVE_LOCK.
20033         (do_linear_regression): Note that this must be called with the
20034         SLAVE_LOCK.
20035         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20036         OBJECT_LOCK. Call set_calibration instead of touching the
20037         variables directly.
20038         (gst_clock_set_property, gst_clock_get_property): Protect
20039         master/slave parameters with the SLAVE_LOCK.
20040
20041         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20042         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20043         note that all of the instance variables that add_observation and
20044         the set_master functions use are protected by that lock and not
20045         the OBJECT_LOCK.
20046         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20047
20048         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20049         the caller to take the object lock.
20050
20051 2005-11-23  Wim Taymans  <wim@fluendo.com>
20052
20053         * gst/gsterror.c: (_gst_core_errors_init):
20054         * gst/gsterror.h:
20055         Add error for clock stuff.
20056
20057         * gst/gstpipeline.c: (gst_pipeline_change_state),
20058         (gst_pipeline_set_clock):
20059         Post clock error when clock cannot be used in a pipeline.
20060
20061 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20062
20063         * docs/gst/gstreamer-sections.txt:
20064           make two symbols from gstinfo private for the docs
20065         * gst/base/gstcollectpads.h:
20066         * gst/gstutils.c:
20067           fix doc typos, update docs
20068
20069 2005-11-22  Wim Taymans  <wim@fluendo.com>
20070
20071         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20072         (gst_base_sink_wait), (gst_base_sink_do_sync),
20073         (gst_base_sink_handle_event):
20074         * gst/base/gstbasesink.h:
20075         No need to store the clock, the parent element class already
20076         has it.
20077
20078         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20079         Updates for clock_set returning a gboolean
20080
20081         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20082         (gst_clock_id_wait_async), (gst_clock_class_init),
20083         (gst_clock_init), (gst_clock_finalize),
20084         (gst_clock_get_internal_time), (gst_clock_get_time),
20085         (gst_clock_slave_callback), (gst_clock_set_master),
20086         (gst_clock_get_master), (do_linear_regression),
20087         (gst_clock_add_observation), (gst_clock_set_property),
20088         (gst_clock_get_property):
20089         * gst/gstclock.h:
20090         Implement master/slave. When setting a clock as a slave, a
20091         periodic timeout is scheduled to sample master and slave times.
20092         Then the slave clock is recalibrated to match offset and rate
20093         of the master clock.
20094         Update logging a bit.
20095         Add flag so that a clock can state that is cannot be slaved to
20096         another clock.
20097
20098         * gst/gstelement.c: (gst_element_set_clock):
20099         * gst/gstelement.h:
20100         The set clock returns a gboolean for when an element cannot
20101         deal with the selected clock in the pipeline. 
20102
20103         * gst/gstpipeline.c: (gst_pipeline_change_state),
20104         (gst_pipeline_set_clock):
20105         * gst/gstpipeline.h:
20106         Handle the case where the selected clock cannot be set on
20107         the pipeline.
20108
20109         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20110         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20111         (gst_net_client_clock_set_property),
20112         (gst_net_client_clock_get_property),
20113         (gst_net_client_clock_observe_times):
20114         * gst/net/gstnetclientclock.h:
20115         Use regression code in GstClock parent, remove duplicated
20116         functionality.
20117
20118 2005-11-22  Michael Smith <msmith@fluendo.com>
20119
20120         * gst/gstutils.c: (gst_util_clock_time_scale):
20121         * gst/gstutils.h:
20122         * docs/gst/gstreamer-sections.txt:
20123           Rename method to have extra underscore.
20124
20125 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20126
20127         * gst/elements/Makefile.am:
20128         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20129         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20130         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20131         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20132         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20133         * gst/elements/gstfakesrc.h:
20134         * gst/gstqueue.c: (queue_leaky_get_type):
20135           correctly fix GEnumValues so that nick is the short lowercase
20136           dashed tag
20137         * tools/gst-inspect.c: (print_element_properties_info):
20138           also show the nick, since it's useful to use from parse_launch
20139           syntax
20140           Fixes #322139
20141
20142 2005-11-22  Michael Smith <msmith@fluendo.com>
20143
20144         * gst/gstutils.c: (gst_util_clocktime_scale):
20145         * gst/gstutils.h:
20146         * docs/gst/gstreamer-sections.txt:
20147           Add util method for scaling a clocktime by a fraction. Useful 
20148           implementation is left as an exercise for the reader.
20149
20150 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20151
20152         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20153         If needed, allocate storage in the destination value during
20154         collection.
20155
20156 2005-11-22  Edward Hervey  <edward@fluendo.com>
20157
20158         * docs/gst/gstreamer-sections.txt:
20159         * gst/Makefile.am:
20160         * gst/gst.h:
20161         * gst/gsturitype.c:
20162         * gst/gsturitype.h:
20163         * gst/gstutils.c: (gst_util_set_object_arg):
20164         * tools/gst-compprep.c: (main):
20165         * tools/gst-inspect.c: (print_element_properties_info):
20166         Removed GstURI, closes bug #321061
20167
20168 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20169
20170         * check/gst/gststructure.c: (GST_START_TEST):
20171         * gst/gststructure.c: (gst_structure_parse_value):
20172           Oops, broke automatic string type parsing.
20173           Add a test to catch it in future.
20174
20175 2005-11-22  Andy Wingo  <wingo@pobox.com>
20176
20177         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20178         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20179         Actually rename the function implementations. Grr.
20180
20181 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20182
20183         * check/gst/capslist.h:
20184           Comment test cases
20185         * check/gst/gststructure.c: (GST_START_TEST),
20186         (gst_structure_suite):
20187           Test automatic value type detection in gst_structure_from_string.
20188         * gst/gststructure.c: (gst_structure_parse_value):
20189           Add fraction as a type we try and guess automatically in
20190           caps/structure strings.
20191
20192 2005-11-22  Andy Wingo  <wingo@pobox.com>
20193
20194         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20195
20196         * gst/gsttagsetter.h:
20197         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20198         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20199         (gst_tag_setter_add_tag_valist)
20200         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20201         _add_values, _add_valist, and _add_valist_values. Since this is an
20202         interface the function suffixes should be more explicit so
20203         language binding don't end up with element.add_valist ->
20204         gst_tag_setter_add_valist, for example. Fixes #322069.
20205
20206 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20207
20208         * check/gst/gstcaps.c: (GST_START_TEST):
20209           Extend caps string tests to check that a caps to string
20210           conversion is reversible and produces the same caps.
20211
20212         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20213           Output "fraction" as the generic type fraction range, so caps
20214           serialisation and deserialisation works.
20215         * check/gst/capslist.h:
20216         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20217           Support 'MIN' and 'MAX' for deserialising fractions.
20218
20219 2005-11-22  Andy Wingo  <wingo@pobox.com>
20220
20221         * gst/gstevent.h (gst_event_new_new_segment)
20222         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20223         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20224         Renamed from *_newsegment, *_buffersize, *_notarget.
20225
20226         * scripts/update-funcnames: New script, performs the changes
20227         listed above.
20228
20229 2005-11-22  Wim Taymans  <wim@fluendo.com>
20230
20231         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20232         Make sure the GstFlowReturn is returned.
20233
20234         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20235         (gst_bus_add_signal_watch):
20236         * gst/gstbus.h:
20237         add gst_bus_add_signal_watch_full.
20238
20239         * gst/gstplugin.c: (gst_plugin_load_file):
20240         Small style cleanup.
20241
20242 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20243
20244         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20245           Block the fakesrc srcpad when we send an event, to avoid
20246           contention on the stream_lock causing random test failures.
20247
20248 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20249
20250         * check/gst/gstvalue.c: (GST_START_TEST):
20251         * gst/gstvalue.c: (gst_value_fraction_subtract):
20252           Fix subtraction.
20253
20254 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20255
20256         * gst/gst.h:
20257           include "gstchildproxy.h"
20258         * gst/gstchildproxy.h:
20259         * libs/gst/controller/gstcontroller.h:
20260           use G_GNUC_NULL_TERMINATED
20261
20262 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20263
20264         * check/gst/capslist.h:
20265         * check/gst/gstcaps.c: (GST_START_TEST):
20266         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20267         * gst/gststructure.c: (gst_structure_parse_range),
20268         (gst_structure_fixate_field_nearest_fraction):
20269         * gst/gststructure.h:
20270         * gst/gstvalue.c: (gst_value_init_fraction_range),
20271         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20272         (gst_value_collect_fraction_range),
20273         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20274         (gst_value_set_fraction_range_full),
20275         (gst_value_get_fraction_range_min),
20276         (gst_value_get_fraction_range_max),
20277         (gst_value_serialize_fraction_range),
20278         (gst_value_transform_fraction_range_string),
20279         (gst_value_compare_fraction_range),
20280         (gst_value_deserialize_fraction_range),
20281         (gst_value_intersect_fraction_fraction_range),
20282         (gst_value_intersect_fraction_range_fraction_range),
20283         (gst_value_subtract_fraction_fraction_range),
20284         (gst_value_subtract_fraction_range_fraction),
20285         (gst_value_subtract_fraction_range_fraction_range),
20286         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20287         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20288         (gst_value_transform_string_fraction), (_gst_value_initialize):
20289         * gst/gstvalue.h:
20290           Implement fraction ranges and extend GstFraction to support
20291           arithmetic subtraction, as well as deserialization from integer
20292           strings such as "100"
20293           Add a testsuite as for int and double range set operations
20294
20295 2005-11-21  Andy Wingo  <wingo@pobox.com>
20296
20297         * gst/gsttaglist.h: 
20298         * gst/gstcaps.h: 
20299         * gst/gststructure.h: Add glib-compat.h.
20300
20301 2005-11-21  Wim Taymans  <wim@fluendo.com>
20302
20303         * gst/gstbin.c: (gst_bin_change_state_func):
20304         Fix for #321595
20305
20306 2005-11-21  Wim Taymans  <wim@fluendo.com>
20307
20308         * gst/gstsegment.h:
20309         And add a nice define too.
20310
20311 2005-11-21  Wim Taymans  <wim@fluendo.com>
20312
20313         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20314         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20315         (gst_segment_set_duration), (gst_segment_set_last_stop),
20316         (gst_segment_set_seek), (gst_segment_set_newsegment),
20317         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20318         (gst_segment_clip):
20319         * gst/gstsegment.h:
20320         Make binding friendly.
20321
20322 2005-11-21  Andy Wingo  <wingo@pobox.com>
20323
20324         * gst/gsttagsetter.h: 
20325         * gst/gsttaglist.h: 
20326         * gst/gststructure.h: 
20327         * gst/gstcaps.h: 
20328         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20329         #319940.
20330
20331         * gst/gsterror.c (_gst_core_errors_init):
20332         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20333         category.
20334
20335         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20336         (noinst_HEADERS): noinst the -private.
20337
20338 2005-11-21  Michael Smith <msmith@fluendo.com>
20339
20340         * gst/gstplugin.h:
20341         * gst/gstregistry.h:
20342           Remove unimplemented declarations for which we can see no sensible
20343           use.
20344
20345 2005-11-21  Andy Wingo  <wingo@pobox.com>
20346
20347         * gst/gst.h: Include glib-compat.h.
20348
20349         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20350
20351         * gst/glib-compat.c: Include the public and the private header.
20352
20353         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20354
20355         * gst/gstvalue.c: 
20356         * gst/gstpad.c: 
20357         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20358
20359         * check/gst/gstevent.c (create_custom_events): Check that
20360         FLUSH_STOP is serialized.
20361
20362         * check/elements/identity.c (event_func): 
20363         * check/elements/fakesrc.c (event_func): No stream lock, the core
20364         takes it.
20365
20366         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20367         stream lock taking, yay.
20368
20369         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20370         ensure that core takes the stream lock.
20371
20372         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20373         lock name change.
20374
20375         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20376         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20377         it already. For the flush start we do take it though so we get the
20378         right preroll state change messages.
20379
20380         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20381         the stream lock here, the core does it for us.
20382
20383         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20384         GST_STREAM_GET_LOCK.
20385         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20386         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20387         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20388         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20389         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20390         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20391
20392         * gst/gstpad.c: Update for stream lock name change.
20393
20394         * gst/base/gstbasesink.c: Update for preroll lock name change.
20395
20396 2005-11-21  Wim Taymans  <wim@fluendo.com>
20397
20398         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20399         (gst_clock_get_master):
20400         * gst/gstclock.h:
20401         * gst/gstsystemclock.c: (gst_system_clock_init):
20402         Convert Clock flags to object flags.
20403         Added methods to manage master/slave clocks.
20404
20405 2005-11-21  Wim Taymans  <wim@fluendo.com>
20406
20407         * check/gst/gstsegment.c: (GST_START_TEST):
20408         * docs/design/part-TODO.txt:
20409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20410         (gst_base_sink_event), (gst_base_sink_do_sync),
20411         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20412         (gst_base_sink_query), (gst_base_sink_change_state):
20413         * gst/base/gstbasesink.h:
20414         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20415         (gst_base_src_default_newsegment),
20416         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20417         (gst_base_src_get_range), (gst_base_src_loop),
20418         (gst_base_src_change_state):
20419         * gst/base/gstbasesrc.h:
20420         * gst/base/gstbasetransform.c:
20421         (gst_base_transform_prepare_output_buf),
20422         (gst_base_transform_event), (gst_base_transform_change_state):
20423         * gst/base/gstbasetransform.h:
20424         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20425         (gst_collect_pads_event):
20426         * gst/base/gstcollectpads.h:
20427         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20428         (gst_fake_src_create):
20429         * gst/elements/gstfakesrc.h:
20430         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20431         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20432         (gst_segment_set_last_stop), (gst_segment_set_seek),
20433         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20434         (gst_segment_to_running_time), (gst_segment_clip):
20435         * gst/gstsegment.h:
20436         More segment updates, replace code in plugins with segment
20437         helper functions.
20438
20439 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20440
20441         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20442         Don't ignore sscanf results
20443
20444 2005-11-21  Andy Wingo  <wingo@pobox.com>
20445
20446         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20447
20448         * *.h:
20449         * *.c: Ran scripts/update-macros. Oh yes.
20450
20451         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20452         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20453         GST_GET_LOCK, etc.
20454
20455         * scripts/update-macros: New script. Run it on your files to
20456         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20457         well.
20458
20459 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20460
20461         * docs/gst/Makefile.am:
20462         * docs/gst/gstreamer-docs.sgml:
20463         * docs/gst/gstreamer-sections.txt:
20464         * docs/gst/gstreamer.types:
20465         * gst/gstinfo.h:
20466           more docs fixes, add new api to the docs
20467
20468 2005-11-21  Andy Wingo  <wingo@pobox.com>
20469
20470         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20471         state_broadcast call.
20472
20473         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20474
20475 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20476
20477         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20478         function calls for arrays.
20479
20480 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20481
20482         * docs/random/ensonic/media-device-daemon.txt:
20483           wild idea, can this be done?
20484         * docs/gst/gstreamer-sections.txt:
20485         * gst/gsterror.h:
20486         * gst/gstfilter.c:
20487         * gst/gstfilter.h:
20488         * gst/gstplugin.h:
20489         * gst/gstpluginfeature.c:
20490         * gst/gsttrace.c:
20491         * gst/gstvalue.c:
20492         * gst/gstvalue.h:
20493           doc fixes and additions
20494
20495 2005-11-21  Andy Wingo  <wingo@pobox.com>
20496
20497         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20498         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20499         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20500         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20501         private to the basesrc implementation.
20502
20503         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20504         behalf of event function if necessary. It should no longer be
20505         necessary to take the stream lock in pad's event functions. Fixes
20506         #320299.
20507
20508 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20509         * docs/gst/gstreamer-sections.txt:
20510         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20511         (gst_structure_fixate_field_nearest_double),
20512         (gst_structure_fixate_field_boolean):
20513         * gst/gststructure.h:
20514         * win32/common/libgstreamer.def:
20515         * win32/gstreamer.def:
20516
20517         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20518         (#322027)
20519
20520 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20521
20522         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20523         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20524         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20525         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20526         (gst_fdsrc_uri_handler_init):
20527         * gst/elements/gstfdsrc.h:
20528           Port fd:// URI handler from 0.8 to fdsrc
20529
20530 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20531
20532         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20533         (gst_value_serialize_fourcc):
20534         * gst/gstvalue.h:
20535           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20536           consistent with our other format defines (#320324).
20537
20538 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20539
20540         * gst/gstvalue.c: (gst_value_is_fixed):
20541           Revert previous commit. Value lists are by definition
20542           not fixed, as they are a list of possible values.
20543
20544 2005-11-21  Andy Wingo  <wingo@pobox.com>
20545
20546         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20547         during the stable series if we need it. Fixes #319178.
20548
20549         * gst/gstevent.c (gst_event_new_filler): Removed.
20550
20551         * check/gst/gstevent.c: Update comment about filler events.
20552
20553 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20554
20555         * gst/gstvalue.c: (gst_value_is_fixed):
20556           Should handle both value arrays and value lists.
20557
20558 2005-11-21  Andy Wingo  <wingo@pobox.com>
20559
20560         patch by: Alessandro Dessina <alessandro nnva org>
20561
20562         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20563         functions to access arrays. Fixes #321962.
20564
20565 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20566
20567         * docs/gst/gstreamer.types:
20568           gst_collectpads_get_type => gst_collect_pads_get_type.
20569           
20570         * gst/base/gstbasetransform.c:
20571           Remove unused SIGNAL_HANDOFF enum.
20572
20573 2005-11-21  Andy Wingo  <wingo@pobox.com>
20574
20575         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20576         the event type (upstream, downstream, serialized). Renamed
20577         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20578         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20579         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20580
20581         * gst/gstevent.c: Update for new CUSTOM event names.
20582
20583         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20584
20585         * gst/gstevent.h:
20586         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20587         bug #319392.
20588
20589 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20590
20591         * docs/gst/gstreamer-sections.txt:
20592         * win32/common/libgstbase.def:
20593         * win32/libgstbase.def:
20594         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20595         (gst_collect_pads_class_init), (gst_collect_pads_init),
20596         (gst_collect_pads_finalize), (gst_collect_pads_new),
20597         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20598         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20599         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20600         (gst_collect_pads_start), (gst_collect_pads_stop),
20601         (gst_collect_pads_peek), (gst_collect_pads_pop),
20602         (gst_collect_pads_available), (gst_collect_pads_read),
20603         (gst_collect_pads_flush), (gst_collect_pads_event),
20604         (gst_collect_pads_chain):
20605         * gst/base/gstcollectpads.h:
20606           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20607           unimplemented functions as unimplemented. Add padding to
20608           GstCollectData. (#320766, #320423)
20609
20610 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20611
20612         * gst/gstmessage.c:
20613           Improve docs for DURATION message (usage of duration parameter)
20614           (#320113)
20615
20616 2005-11-20  Wim Taymans  <wim@fluendo.com>
20617
20618         * check/Makefile.am:
20619         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20620         (main):
20621         * gst/Makefile.am:
20622         * gst/gst.h:
20623         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20624         (gst_segment_set_seek), (gst_segment_set_newsegment),
20625         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20626         (gst_segment_clip):
20627         * gst/gstsegment.h:
20628         Added segment helper structure and methods. Not fully implemented
20629         yet.
20630         Added segment check.
20631
20632 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20633
20634         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20635           Add a deserialisation test for fractions
20636         * examples/metadata/read-metadata.c: (message_loop),
20637         (make_pipeline), (main):
20638           Fix up metadata reading sample.
20639         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20640           Debug format fix
20641         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20642           Don't try and fixate empty caps
20643         * gst/gst_private.h:
20644           Wrap in G_BEGIN_DECLS/G_END_DECLS
20645         * gst/gstvalue.c: (gst_value_collect_fraction),
20646         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20647         (gst_value_transform_string_fraction),
20648         (gst_value_compare_fraction):
20649           Add some extra guards to ensure that we don't end up 
20650           with an invalid denominator of 0 in a gstfraction and
20651           that fractions always get reduced.
20652
20653 2005-11-20  Wim Taymans  <wim@fluendo.com>
20654
20655         * docs/gst/gstreamer-sections.txt:
20656         * gst/gstbuffer.h:
20657         * gst/gstelement.c:
20658         * gst/gstformat.c:
20659         * gst/gstformat.h:
20660         * gst/gstindex.h:
20661         * gst/gstquery.c:
20662         * gst/gstquery.h:
20663         * gst/gstvalue.c:
20664         Doc fixes.
20665
20666 2005-11-20  Wim Taymans  <wim@fluendo.com>
20667
20668         * docs/design/part-TODO.txt:
20669         * gst/gstcaps.h:
20670         Make a proper enum of the flag.
20671
20672 2005-11-19  Wim Taymans  <wim@fluendo.com>
20673
20674         * docs/design/part-TODO.txt:
20675         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20676         (gst_format_to_quark), (gst_format_register):
20677         * gst/gstformat.h:
20678         * gst/gstquery.c: (_gst_query_initialize),
20679         (gst_query_type_get_name), (gst_query_type_to_quark),
20680         (gst_query_type_register):
20681         * gst/gstquery.h:
20682         Add type to quark and type to string conversions.
20683
20684 2005-11-19  Andy Wingo  <wingo@pobox.com>
20685
20686         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20687         #320097.
20688
20689 2005-11-19  Wim Taymans  <wim@fluendo.com>
20690
20691         * docs/design/part-TODO.txt:
20692         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20693         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20694         (gst_bin_handle_message_func):
20695         * gst/gstbin.h:
20696         Make message handling overridable.
20697
20698 2005-11-19  Andy Wingo  <wingo@pobox.com>
20699
20700         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20701
20702         * gst/gstclock.h:
20703         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20704         be a GstClockTime.
20705         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20706         is a GstClockTime. Fixes #321710.
20707
20708         * gst/gstclock.h (GstClock): Remove offset property. Add
20709         internal_calibration and external_calibration. Fix padding. Pad
20710         also by GstClockTime so we don't run into problems.
20711
20712         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20713         (gst_clock_get_rate_offset): Remove.
20714         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20715
20716         * gst/gstutils.h:
20717         * gst/gstutils.c (g_static_rec_cond_wait)
20718         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20719
20720         * gst/gstbin.c: Remove terrible continue_state prototype.
20721
20722         * gst/gstelement.h (gst_element_continue_state): Make public.
20723
20724         * gst/gstelement.h:
20725         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20726         by continue_state. Fixes #319389.
20727
20728         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20729         Really fixes #168438. However I don't see anywhere where the
20730         filter function is called... stupid GStreamer...
20731         
20732         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20733         don't have a dispose function, so it won't get called when the
20734         object is unreffed, but oh well!
20735
20736         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20737         allows a destroy function to be set so user_data can be freed.
20738         Fixes #168438.
20739         (gst_index_set_filter): Call gst_index_set_filter_full.
20740
20741         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20742
20743         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20744         string should produce an error, given the lack of a way to
20745         represent NULL strings. Fixes #165650.
20746         
20747         * gst/gstvalue.h: 
20748         * gst/gstvalue.c (gst_value_array_append_value) 
20749         (gst_value_array_prepend_value, gst_value_array_get_size) 
20750         (gst_value_array_get_value): New API, copied from
20751         gst_value_list_*, only operates on arrays.
20752         (gst_value_list_append_value, gst_value_list_prepend_value) 
20753         (gst_value_list_concat, gst_value_list_get_size) 
20754         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20755
20756         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20757         init_list, because it works on both.
20758         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20759         (gst_value_copy_list_or_array): Renamed from copy_list.
20760         (gst_value_free_list_or_array): Renamed from free_list.
20761         (gst_value_collect_list_or_array): Renamed from collect_list.
20762         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20763         (gst_value_list_or_array_peek_pointer): Renamed from
20764         list_peek_pointer.
20765         (_gst_value_array_value_table, _gst_value_list_value_table):
20766         Update value table functions.
20767         (gst_value_compare_list_or_array): Renamed from compare_list.
20768
20769         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20770         some constness.
20771
20772         * gst/gsttaglist.c:
20773         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20774         GstTagList*. Fixes #143472.
20775
20776         * gst/gststructure.h: Clarify what the foreach/map functions can
20777         or can't do to their arguments.
20778
20779 2005-11-18  Wim Taymans  <wim@fluendo.com>
20780
20781         * gst/gstclock.c: (gst_clock_set_calibration),
20782         (gst_clock_get_calibration):
20783         Doc and API fixes.
20784         Calibration can be set with internal time equal to current
20785         internal time too.
20786
20787 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20788
20789         * gst/gsterror.c:
20790         * gst/gsterror.h:
20791           document
20792
20793 2005-11-18  Andy Wingo  <wingo@pobox.com>
20794
20795         * configure.ac: 
20796         * pkgconfig/gstreamer-net.pc.in:
20797         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20798         * pkgconfig/Makefile.am: Add net pkgconfig files.
20799
20800 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20801
20802         * gst/gstcaps.c:
20803         * gst/gstghostpad.c:
20804         * gst/gsttrace.c:
20805         * gst/gstvalue.c:
20806         * gst/gstvalue.h:
20807           docs fixes
20808
20809 2005-11-18  Andy Wingo  <wingo@pobox.com>
20810
20811         * gst/net/gstnetclientclock.c: Turn off debugging.
20812
20813         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20814         times connverge somewhat. Can't make a real test.
20815
20816         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20817         integer arithmetic. Return the minimum of the domain, which can be
20818         set as "internal" for gst_clock_set_calibration.
20819         (gst_net_client_clock_observe_times): Call _set_calibration.
20820         (gst_net_client_clock_new): Call _set_calibration instead of
20821         rate_offset.
20822
20823         * check/net/gstnetclientclock.c (test_functioning): Use the right
20824         adjustment api.
20825
20826         * gst/gstclock.h:
20827         * gst/gstclock.c (gst_clock_get_calibration) 
20828         (gst_clock_set_calibration): New functions, obsolete the ones I
20829         added yesterday. Doh. Precision issues mean we have to extrapolate
20830         from a point in the more recent past than 1970.
20831         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20832         obsolete.
20833         (gst_clock_adjust_unlocked): Use the right calibration data.
20834
20835 2005-11-18  Edward Hervey  <edward@fluendo.com>
20836
20837         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20838         Also reset the ->current_* values in READY->PAUSED
20839
20840 2005-11-18  Andy Wingo  <wingo@pobox.com>
20841
20842         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20843         Whoops, check the right fd. Also add some debugging.
20844         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20845         (do_linear_regression): Add a crapload of debugging. Subtract off
20846         the minimum values from the input series to discard unneeded bits.
20847         Use only int arithmetic. There is still double arithmetic when
20848         calculating the intercept that needs fixing. Return boolean to
20849         indicate success; FALSE would mean the domain or range is too
20850         great. Still needs fixes.
20851
20852 2005-11-18  Wim Taymans  <wim@fluendo.com>
20853
20854         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20855         For the current position in stream time, we need to subtract
20856         accumulated time.
20857         
20858         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20859         Release lock before calling the callback function of async
20860         entries.
20861
20862 2005-11-18  Andy Wingo  <wingo@pobox.com>
20863
20864         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20865         Port goes all the way to MAXUINT16.
20866
20867         * gst/net/gstnettimeprovider.c: Make the port range the same as
20868         for the kernel: 0 assigns, otherwise ports are less than
20869         MAXUINT16.
20870
20871         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20872         port change.
20873
20874         * check/net/gstnetclientclock.c (test_functioning): Add the start
20875         of another test. 
20876
20877 2005-11-18  Wim Taymans  <wim@fluendo.com>
20878
20879         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20880         (gst_bin_remove_func), (bin_bus_handler):
20881         * gst/gstbin.h:
20882         Removing a clock provider from a bin, triggers a clock lost message
20883         so that a new clock will be selected.
20884         Adding a clock to a bin triggers a clock provider message.
20885         Make sure we reselect a clock when we received a clock lost message.
20886         Keep a reference to the element that provided the clock.
20887
20888 2005-11-18  Andy Wingo  <wingo@pobox.com>
20889
20890         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20891         the clock initially so it produces values around the base time.
20892         (gst_net_client_clock_class_init): Typo fix.
20893         (gst_net_client_clock_thread): Add note on when the socket gets
20894         closed.
20895
20896 2005-11-17  Wim Taymans  <wim@fluendo.com>
20897
20898         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20899         Free remote and local time arrays.
20900
20901 2005-11-17  Wim Taymans  <wim@fluendo.com>
20902
20903         * gst/net/gstnetclientclock.c: (do_linear_regression),
20904         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20905         Fix compilation, uninitialized vars and a forgotten continue.
20906
20907 2005-11-17  Andy Wingo  <wingo@pobox.com>
20908
20909         * check/Makefile.am (check_PROGRAMS): 
20910         * check/net/gstnetclientclock.c: Add a most minimal test for the
20911         net client clock. More to come later.
20912
20913         * gst/net/gstnet.h: 
20914         * gst/net/Makefile.am: Add netclientclock.
20915
20916         * gst/net/gstnetclientclock.h:
20917         * gst/net/gstnetclientclock.c: New files, implement an untested
20918         GstClock that takes its time from a network time provider.
20919         Implements the algorithm in network-clock.scm.
20920
20921         * tests/network-clock.scm (*window-size*): Rename from
20922         *queue-length*.
20923         * tests/network-clock.scm (network-time): 
20924         * tests/network-clock-utils.scm (q-push): Update callers.
20925
20926 2005-11-17  Wim Taymans  <wim@fluendo.com>
20927
20928         * gst/gstbin.c: (gst_bin_provide_clock_func),
20929         (gst_bin_sort_iterator_new):
20930         And unref the child too..
20931
20932 2005-11-17  Wim Taymans  <wim@fluendo.com>
20933
20934         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20935         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20936         Refactor the sort iterator so it can be used while holding the
20937         LOCK too.
20938         Make clock selection select a clock closest to the source.
20939
20940 2005-11-17  Michael Smith <msmith@fluendo.com>
20941
20942         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20943         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20944         * gst/gstclock.h:
20945           Anonymous structs are a gcc (and some other compilers) extension, so
20946           don't use them. Since this is only for ABI-compatibility, and our
20947           API/ABI freeze is over in a few days, this whole thing will only
20948           last a few days, so don't bother trying to think up a meaningful
20949           name for the struct.
20950
20951 2005-11-17  Andy Wingo  <wingo@pobox.com>
20952
20953         * gst/gstclock.h (GstClock): Add rate and offset properties,
20954         preserving ABI stability. Add rate/offset accessors. Will file bug
20955         for the freeze break.
20956
20957         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20958         and offset, trying to keep precision and avoiding
20959         underflow/overflow.
20960         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20961         functions. Make gst_clock_set_time_adjust obsolete.
20962         (gst_clock_set_time_adjust): Note that this function is obsolete.
20963         Will file bug soon.
20964
20965         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20966         greppable by using GST_PADDING-1+1.
20967
20968 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20969
20970         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20971
20972         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20973           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20974
20975         * gst/gstpadtemplate.h:
20976         * gst/gstpluginfeature.h:
20977           Don't use c++ style comments in headers (#321638).
20978
20979 2005-11-16  Andy Wingo  <wingo@pobox.com>
20980
20981         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20982         buffer.
20983
20984         * check/net/gstnettimeprovider.c: Check to see that the time
20985         provider actually provides times. Works, yo!
20986
20987 2005-11-16  Wim Taymans  <wim@fluendo.com>
20988
20989         * check/Makefile.am:
20990         Enable more tests.
20991
20992         * check/elements/fakesrc.c: (GST_START_TEST):
20993         Set element to NULL before disposing it.
20994
20995 2005-11-16  Andy Wingo  <wingo@pobox.com>
20996
20997         * gst/net/Makefile.am:
20998         * gst/net/gstnet.h:
20999         * gst/net/gstnettimeprovider.c: 
21000         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21001         provider, include it from gstnet.h, and add it to the build.
21002
21003         * gst/net/gstnettimepacket.h: 
21004         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21005         sending and receiving.
21006
21007 2005-11-16  Wim Taymans  <wim@fluendo.com>
21008
21009         * check/Makefile.am:
21010         Enable valgrind check.
21011
21012         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21013         (gst_fake_src_alloc_buffer):
21014         Fix memleak.
21015
21016 2005-11-16  Wim Taymans  <wim@fluendo.com>
21017
21018         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21019         Call parent finalize too.
21020
21021 2005-11-16  Wim Taymans  <wim@fluendo.com>
21022
21023         * check/Makefile.am:
21024         Enable valgrind check that should work fine now.
21025
21026         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21027         * gst/gstqueue.c: (gst_queue_init):
21028         Fix memleaks in pad allocation.
21029
21030 2005-11-16  Andy Wingo  <wingo@pobox.com>
21031
21032         * gst/net/Makefile.am:
21033         * gst/net/gstnet.h: New part of core to hold network elements and
21034         objects. Put in core because it exposes API that applications want
21035         to use. The library is named libgstnet-tempname right now because
21036         of the existing libgstnet in gst-plugins-base. Solution is
21037         probably to rename the one in plugins-base; will file a bug for
21038         the freeze break.
21039
21040         * gst/net/gstnettimeprovider.c: 
21041         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21042         get_time call over the network.
21043
21044         * configure.ac: 
21045         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21046
21047         * check/Makefile.am:
21048         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21049         get additions shortly.
21050
21051 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21052
21053         * gst/gstpad.c: (gst_pad_new_from_static_template):
21054         * gst/gstpad.h:
21055           add gst_pad_new_from_static_template functions
21056         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21057         (gst_check_setup_sink_pad):
21058         * gst/elements/gsttee.c: (gst_tee_init):
21059           and use them
21060
21061 2005-11-16  Wim Taymans  <wim@fluendo.com>
21062
21063         * gst/gstpad.c: (gst_pad_pause_task):
21064         Removed warning, it's not really an error either.
21065
21066 2005-11-16  Wim Taymans  <wim@fluendo.com>
21067
21068         * gst/base/gstbasetransform.c:
21069         (gst_base_transform_prepare_output_buf),
21070         (gst_base_transform_event):
21071         Check if the caps are NULL, this can happen if the element
21072         is shutting down and the pad caps are set to NULL.
21073
21074 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21075
21076         * gst/elements/gsttee.c: (gst_tee_init):
21077           fix pad template leak in tee
21078
21079 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21080
21081         * gst/glib-compat.c: (g_value_dup_gst_object):
21082         * gst/glib-compat.h:
21083         * gst/gstpad.c: (gst_pad_set_property):
21084           use gst_object_ref when setting the pad template; this will
21085           trigger the pad template leaks on GLib 2.6 and the slaves
21086
21087 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21088
21089         * gst/glib-compat.c: (gst_flags_get_first_value):
21090         * gst/glib-compat.h:
21091         * gst/gstregistryxml.c:
21092           remove functions copied from GLib 2.6
21093
21094 2005-11-16  Michael Smith <msmith@fluendo.com>
21095
21096         * gst/Makefile.am:
21097           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21098           do, but only breaks with newer valgrind versions. We're not a
21099           valgrind tool, we have no link-time dependencies on libcoregrind.
21100
21101 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21102
21103         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21104           some debug changes
21105         * gst/gstmessage.h:
21106           typo fixes
21107
21108 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21109
21110         * gst/base/gstbasesrc.c: (gst_base_src_init):
21111         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21112         * gst/gstqueue.c: (gst_queue_init):
21113         * gst/gstregistryxml.c: (load_feature):
21114           Revert all these unrefs, they don't even pass make check !
21115
21116 2005-11-15  Johan Dahlin  <johan@gnome.org>
21117
21118         * gst/base/gstbasesrc.c: (gst_base_src_init):
21119         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21120         * gst/gstqueue.c: (gst_queue_init): 
21121         Free pad templates, fixes a couple of leaks.
21122
21123 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21124
21125         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21126
21127         * gst/gstpad.c: (gst_pad_get_property):
21128           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21129           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21130           (#321452)
21131
21132 2005-11-15  Wim Taymans  <wim@fluendo.com>
21133
21134         * gst/gstevent.c:
21135         Small doc update.
21136
21137 2005-11-15  Andy Wingo  <wingo@pobox.com>
21138
21139         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21140
21141         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21142         using GST_CLOCK_TIME_NONE to disable base time management.
21143         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21144         time if it was NONE before.
21145         (gst_pipeline_change_state): Only munge the base time if
21146         stream_time != GST_CLOCK_TIME_NONE.
21147
21148         * check/gst/gstpipeline.c (test_base_time): Punt around the
21149         problem of the probe not being called, because that's not the
21150         issue I'm looking at. Add a check that setting stream_time to NONE
21151         disables base time management.
21152         
21153 2005-11-15  Wim Taymans  <wim@fluendo.com>
21154
21155         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21156         segment_stop == -1 at startup.
21157
21158         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21159         (gst_base_transform_change_state):
21160         Init segment values at start.
21161
21162 2005-11-15  Wim Taymans  <wim@fluendo.com>
21163
21164         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21165         0 segment values are 0 in any format.
21166
21167         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21168         * gst/base/gstbasetransform.h:
21169         Parse newsegment correctly in basetransform
21170
21171         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21172         Sync to clock using updated segment values.
21173
21174 2005-11-15  Andy Wingo  <wingo@pobox.com>
21175
21176         * check/gst/gstpipeline.c (test_base_time): Add check that the
21177         base time and stream time are reset correctly.
21178
21179 2005-11-15  Wim Taymans  <wim@fluendo.com>
21180
21181         * docs/design/part-TODO.txt:
21182         Some more TODO items.
21183
21184 2005-11-15  Andy Wingo  <wingo@pobox.com>
21185
21186         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21187         error if the user selected "no clock" as the clocking method.
21188
21189         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21190         timestamps with live capture.
21191
21192         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21193         is 0 but we are a live source, timestamp the buffers using the
21194         element's clock.
21195
21196 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21197
21198         * docs/gst/gstreamer-sections.txt:
21199         * gst/gsterror.c:
21200         * gst/gstghostpad.c:
21201         * gst/gstobject.h:
21202         * gst/gstxml.c:
21203           more section docs
21204
21205 2005-11-14  Wim Taymans  <wim@fluendo.com>
21206
21207         * common/gst.supp:
21208           add suppressions from Wim's Debian machine
21209
21210 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21211
21212         * common/gst.supp:
21213           add suppressions from Andy's AMD64 Ubuntu machine
21214
21215 2005-11-14  Andy Wingo  <wingo@pobox.com>
21216
21217         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21218         STATE_LOCK not necessary. Fixes #311489.
21219
21220         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21221         #305291.
21222
21223         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21224         this function is not implemented.
21225
21226 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21227
21228         * gst/base/gstbasetransform.c:
21229         (gst_base_transform_prepare_output_buf):
21230         Ref the source pad caps while we need them.
21231         Fixes (#321386)
21232
21233 2005-11-11  Wim Taymans  <wim@fluendo.com>
21234
21235         * docs/gst/gstreamer-sections.txt:
21236         Added some docs for GstCollectData.
21237
21238         * gst/base/gstadapter.c:
21239         Some small code example fix.
21240
21241         * gst/base/gstcollectpads.c:
21242         * gst/base/gstcollectpads.h:
21243         Document some more.
21244
21245 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21246
21247         * configure.ac: back to HEAD
21248
21249 === release 0.9.5 ===
21250
21251 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21252
21253         * configure.ac:
21254           releasing 0.9.5, "Bike Lunch Day"
21255
21256 2005-11-11  Wim Taymans  <wim@fluendo.com>
21257
21258         * gst/gstbuffer.c: (_gst_buffer_copy):
21259         Copy more flags.
21260
21261         * gst/gstcaps.c: (gst_caps_is_equal):
21262         Fix some docs.
21263         Make _is_equal fast in the trivial cases.
21264
21265         * gst/gstminiobject.c:
21266         * gst/gstminiobject.h:
21267         More docs. Spifify .h file.
21268
21269         * gst/gstutils.c:
21270         Small doc update.
21271
21272 2005-11-11  Wim Taymans  <wim@fluendo.com>
21273
21274         * gst/base/gstbasetransform.c:
21275         (gst_base_transform_prepare_output_buf),
21276         (gst_base_transform_handle_buffer):
21277         Small cleanups.
21278         If we're processing a buffer and need to allocate an output
21279         buffer, we cannot accept a format change. If we did get a 
21280         format change, we have to alloc a buffer ourselves of the 
21281         right size.
21282
21283 2005-11-11  Wim Taymans  <wim@fluendo.com>
21284
21285         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21286         While checking the flag for reentrancy in the gstcaps function
21287         is nice to detect recursive invocations, it also makes it 
21288         impossible to call getcaps from multiple threads, which must be
21289         possible. So, checking for recursive calls has to go.
21290
21291 2005-11-11  Michael Smith <msmith@fluendo.com>
21292
21293         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21294           Don't sync on buffers that fall partially outside our current
21295           segment. Prevents an assertion failure/abort playing some files.
21296
21297 2005-11-10  Andy Wingo  <wingo@pobox.com>
21298
21299         * check/gst/gstbin.c (test_message_state_changed_children): Style
21300         fix..
21301
21302         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21303         gst_bus_poll with the signal watch. Ensures that poll and a signal
21304         watch see the same messages.
21305
21306         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21307         a poll and a watch at the same time get the same messages.
21308
21309 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21312         * gst/gstcaps.c: (gst_caps_intersect):
21313           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21314           and it's not needed.
21315
21316 2005-11-10  Wim Taymans  <wim@fluendo.com>
21317
21318         * docs/design/part-TODO.txt:
21319         Updated todo.
21320
21321 2005-11-10  Wim Taymans  <wim@fluendo.com>
21322
21323         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21324         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21325         (gst_base_src_do_sync), (gst_base_src_get_range):
21326         Implement clock sync in base class.
21327
21328 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21329
21330         patch by: Tim-Philipp Müller <tim at centricular dot net>
21331
21332         * gst/gststructure.c: (gst_structure_parse_field),
21333         (gst_structure_from_string):
21334           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21335           so that gst_parse_launch() can deal with spaces in filtered link
21336           caps (fixes #164479)
21337         * check/gst/capslist.h:
21338         * check/gst/gststructure.c: (GST_START_TEST):
21339           add unit tests for this change
21340
21341 2005-11-10  Wim Taymans  <wim@fluendo.com>
21342
21343         * docs/gst/gstreamer-sections.txt:
21344         * gst/gstelement.c:
21345         * gst/gstelement.h:
21346         Fix docs, move some STATE macros to private.
21347
21348 2005-11-10  Wim Taymans  <wim@fluendo.com>
21349
21350         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21351         Added check for bug #317341
21352
21353         * gst/gstbuffer.c:
21354         * gst/gstbuffer.h:
21355         Some more spiffifying.
21356
21357         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21358         Call peer linkfunction if we are a source pad. Totally fixes
21359         #317341
21360
21361         * gst/gstpad.c:
21362         Update docs, source pads should call the peer linkfunction
21363         so they can atomically perform the pad link.
21364
21365 2005-11-09  Wim Taymans  <wim@fluendo.com>
21366
21367         * gst/gstbuffer.c:
21368         * gst/gstbuffer.h:
21369         Uber-spiffy-spiffify some more.
21370
21371 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21372
21373         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21374         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21375         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21376         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21377         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21378         * gst/gstpad.c: (gst_pad_init):
21379           Use GST_DEBUG_FUNCPTR() more extensively.
21380
21381 2005-11-09  Wim Taymans  <wim@fluendo.com>
21382
21383         * gst/gstobject.c: (gst_object_class_init):
21384         * gst/gstobject.h:
21385         Documentation fixes.
21386
21387 2005-11-09  Edward Hervey  <edward@fluendo.com>
21388
21389         * gst/gsttypefindfactory.c:
21390         Fix docs.
21391         
21392 2005-11-09  Edward Hervey  <edward@fluendo.com>
21393
21394         * gst/base/gsttypefindhelper.c:
21395         * gst/gsttypefind.c:
21396         * gst/gsttypefind.h:
21397         Fix docs.
21398
21399 2005-11-09  Wim Taymans  <wim@fluendo.com>
21400
21401         * gst/gstiterator.c:
21402         Fix revision data.
21403
21404         * gst/gsttask.c:
21405         * gst/gsttask.h:
21406         Fix docs.
21407
21408 2005-11-09  Wim Taymans  <wim@fluendo.com>
21409
21410         * gst/gstevent.h:
21411         * gst/gsturi.h:
21412         Fix docs.
21413
21414 2005-11-09  Wim Taymans  <wim@fluendo.com>
21415
21416         * docs/gst/gstreamer-sections.txt:
21417         Moved the message async delivery private lock and cond
21418         to the private section.
21419
21420         * gst/gstmessage.c:
21421         * gst/gstmessage.h:
21422         Fixed docs.
21423
21424 2005-11-09  Edward Hervey  <edward@fluendo.com>
21425
21426         * docs/gst/gstreamer-sections.txt:
21427         * gst/gsturi.c:
21428         * gst/gsturi.h:
21429         Document GstURIHandler
21430
21431 2005-11-09  Wim Taymans  <wim@fluendo.com>
21432
21433         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21434         (gst_iterator_find_custom):
21435         * gst/gstiterator.h:
21436         Fix iterator docs.
21437
21438 2005-11-09  Wim Taymans  <wim@fluendo.com>
21439
21440         * gst/gstbin.h:
21441         Document another field.
21442
21443         * gst/gststructure.c:
21444         * gst/gststructure.h:
21445         Document.
21446
21447 2005-11-09  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/gstbin.h:
21450         Documented structs.
21451
21452 2005-11-09  Wim Taymans  <wim@fluendo.com>
21453
21454         * docs/gst/gstreamer-sections.txt:
21455         Added some new macros.
21456
21457         * gst/gstclock.c:
21458         * gst/gstclock.h:
21459         * gst/gstobject.h:
21460         Docs updates.
21461
21462 2005-11-09  Wim Taymans  <wim@fluendo.com>
21463
21464         * docs/design/part-TODO.txt:
21465         Some more items for the TODO
21466
21467         * gst/gstcaps.c:
21468         * gst/gstcaps.h:
21469         Document GstCaps.
21470
21471 2005-11-09  Andy Wingo  <wingo@pobox.com>
21472
21473         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21474         to work on something else now tho...
21475
21476         * gst/base/gstadapter.c: More adapter docs.
21477
21478         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21479         (gst_file_sink_stop): New functions, replace the state change
21480         handler.
21481         (gst_file_sink_class_init): Hook up the start and stop functions.
21482         (gst_file_sink_base_init): Don't set the state change handler any
21483         more. It was a bit ugly too, being set from here...
21484         (gst_file_sink_get_property, gst_file_sink_set_property):
21485         Cleanups...
21486         (gst_file_sink_set_location): More robust check that doesn't call
21487         GST_STATE. Ugggggg.
21488
21489 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21490
21491         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21492           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21493
21494 2005-11-08  Wim Taymans  <wim@fluendo.com>
21495
21496         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21497         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21498         (gst_base_sink_chain), (gst_base_sink_change_state):
21499         * gst/base/gstbasesink.h:
21500         * gst/base/gstbasesrc.h:
21501         * gst/gstelement.h:
21502         * gst/gstevent.h:
21503         Avoid excessive typechecking in macros.
21504
21505         * gst/gstminiobject.c: (gst_mini_object_get_type),
21506         (gst_mini_object_init), (gst_mini_object_new),
21507         (gst_mini_object_free):
21508         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21509         (gst_object_finalize):
21510         Remove cruft code, optimize alloc_trace.
21511
21512 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21513
21514         * docs/faq/gst-uninstalled:
21515           fix up PS1 for systems that try to reset it
21516
21517 2005-11-07  Wim Taymans  <wim@fluendo.com>
21518
21519         * gst/base/gstbasesrc.c: (gst_base_src_init),
21520         (gst_base_src_get_range):
21521         Set the segment_end to -1 initially. Fixed typefind.
21522
21523 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21524
21525         * gst/base/gstadapter.c:
21526           Debug category should be 'adapter', not 'GstAdapter'.
21527           
21528         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21529         (gst_collectpads_class_init), (gst_collectpads_init),
21530         (gst_collectpads_peek), (gst_collectpads_pop),
21531         (gst_collectpads_event), (gst_collectpads_chain):
21532           Add debug category and some debugging output. Use boilerplate
21533           macros. Remove some extraneous words from docs.
21534
21535 2005-11-05  Andy Wingo  <wingo@pobox.com>
21536
21537         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21538         macro.
21539
21540 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21541
21542         * docs/gst/gstreamer-sections.txt:
21543         * gst/gstcaps.h:
21544         * gst/gstinfo.c:
21545         * gst/gstminiobject.h:
21546         * gst/gstobject.h:
21547         * gst/gstutils.h:
21548           more docs added
21549
21550 2005-11-04  Wim Taymans  <wim@fluendo.com>
21551
21552         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21553         Small update to stop at the configured segment_end
21554         position.
21555
21556 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21557
21558         * gst/gstregistry.c:
21559         * gst/gstregistry.h:
21560           added missing docs
21561
21562 2005-11-04  Edward Hervey  <edward@fluendo.com>
21563
21564         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21565         Check if we are doing a segment seek and have arrived at the
21566         end of that segment.
21567
21568 2005-11-04  Wim Taymans  <wim@fluendo.com>
21569
21570         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21571         Don't leak a mutex unlock in case of an error.
21572
21573         * gst/gstbus.h:
21574         Doc fixes.
21575
21576 2005-11-04  Wim Taymans  <wim@fluendo.com>
21577
21578         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21579         (gst_bus_post):
21580         Get the context to wake up only once.
21581
21582 2005-11-03  Wim Taymans  <wim@fluendo.com>
21583
21584         * check/states/sinks.c: (GST_START_TEST):
21585         Uncomment fixed check.
21586
21587         * docs/design/part-TODO.txt:
21588         Updated TODO.
21589
21590         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21591         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21592         (gst_base_sink_get_position):
21593         If we are going to PLAYING, post the right pending state
21594         when we post the intermediate paused message.
21595
21596         * gst/gstelement.c: (gst_element_continue_state),
21597         (gst_element_set_state_func), (gst_element_change_state):
21598         Don't post state changes that were between the same state
21599         and were not ASYNC.
21600
21601 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21602
21603         * docs/gst/gstreamer-sections.txt:
21604         * gst/gstcaps.h:
21605         * gst/gstinfo.c:
21606         * gst/gstminiobject.h:
21607         * gst/gstobject.h:
21608         * gst/gstutils.h:
21609           more docs and doc style fixes
21610
21611 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21612
21613         * docs/gst/gstreamer-sections.txt:
21614         * gst/gstelement.c:
21615         * gst/gstminiobject.c:
21616         doc fixes
21617
21618 2005-11-03  Andy Wingo  <wingo@pobox.com>
21619
21620         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21621         state-changed messages actually have the right order and the right
21622         values.
21623
21624 2005-11-03  Wim Taymans  <wim@fluendo.com>
21625
21626         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21627         Added some more checks. Specifically the case where NO_PREROLL
21628         elements are in the pipeline.
21629
21630         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21631         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21632         (gst_base_sink_get_position):
21633         Post READY->PAUSED state change messages too.
21634         Fix bug where VOID was posted as pending state...
21635
21636         * gst/gstbin.c: (gst_bin_recalc_state):
21637         use _element_continue_state() to continue the state change.
21638
21639         * gst/gstelement.c: (gst_element_continue_state),
21640         (gst_element_commit_state), (gst_element_set_state_func),
21641         (gst_element_change_state), (gst_element_change_state_func):
21642         Lots of state change cleanups, assign the STATE_RETURN in
21643         a new continue_state() function that also propagates the
21644         last return value from a state change to the app.
21645         Update some debug statements with proper category.
21646
21647 2005-11-03  Wim Taymans  <wim@fluendo.com>
21648
21649         * docs/design/part-events.txt:
21650         * docs/design/part-gstpipeline.txt:
21651         * docs/design/part-messages.txt:
21652         * docs/design/part-overview.txt:
21653         * docs/design/part-seeking.txt:
21654         * docs/design/part-states.txt:
21655         * docs/design/part-trickmodes.txt:
21656         * docs/manual/advanced-position.xml:
21657         Small docs updates.
21658
21659         * gst/gstobject.h:
21660         People think !! is ugly, this looks better.
21661
21662         * gst/gstpad.c: (gst_pad_set_blocked_async):
21663         Remove !! since it's fixed elsewhere now.
21664
21665 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21666
21667         * gst/gstminiobject.h:
21668         * gst/gstobject.h:
21669           Add !! to _FLAG_IS_SET macros to make the result boolean.
21670
21671 2005-11-03  Edward Hervey  <edward@fluendo.com>
21672
21673         * gst/gstpad.c: (gst_pad_set_blocked_async):
21674         comparing a flag and a gboolean rarely returns coherent results...
21675         Added two characters (!!) to make that work correctly.
21676         
21677 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21678
21679         * gst/gstbus.c: (gst_bus_class_init):
21680           Fix some typos.
21681           
21682         * gst/gstqueue.c: (gst_queue_loop):
21683           Don't assume a miniobject that isn't a buffer is an
21684           event (it could be that there is a refcounting
21685           problem somewhere and the pointer is stale and
21686           refers to an already destroyed miniobject).
21687
21688 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21689
21690         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21691
21692 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21693
21694         * docs/manual/advanced-position.xml:
21695           Update seek example and explanations to current 0.9 API.
21696
21697         * gst/elements/gsttypefindelement.c:
21698         (gst_type_find_element_activate):
21699           Remove FIXME comment now that the found caps
21700           are unreffed.
21701
21702 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21703
21704         * gst/gstregistryxml.c: (load_feature):
21705           Add another GST_STR_NULL instance
21706
21707 2005-11-02  Edward Hervey  <edward@fluendo.com>
21708
21709         * gst/gstpad.c: (handle_pad_block):
21710         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21711         
21712 2005-11-02  Wim Taymans  <wim@fluendo.com>
21713
21714         * gst/gstbin.c:
21715         Fix typo in docs.
21716
21717         * gst/gstelement.c: (gst_element_commit_state):
21718         Remove unused value.
21719
21720         * gst/gstiterator.c:
21721         Mention that the returned element is reffed in the docs.
21722
21723 2005-11-02  Wim Taymans  <wim@fluendo.com>
21724
21725         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21726         (gst_pad_push), (gst_pad_push_event):
21727         Unlock blocked pads when they are flushed.
21728
21729 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21730
21731         * docs/README:
21732         * docs/gst/gstreamer-sections.txt:
21733         * gst/gstbin.c:
21734           doc updates
21735         * gst/gstregistry.c: (gst_registry_scan_path_level):
21736           fix for a nasty little missed situation where an installed plug-in
21737           which was in the cache did not get overridden by an uninstalled one
21738           which was earlier in the plugin path because the newly created plugin
21739           for the uninstalled one (not in the registry) didn't get its
21740           ->registered set to TRUE
21741
21742 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21743
21744         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21745         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21746         (gst_collectpads_is_active), (gst_collectpads_collect),
21747         (gst_collectpads_collect_range), (gst_collectpads_start),
21748         (gst_collectpads_stop), (gst_collectpads_peek),
21749         (gst_collectpads_pop), (gst_collectpads_available),
21750         (gst_collectpads_read), (gst_collectpads_flush):
21751           Guard public API with assertions.
21752         
21753         * gst/gstpad.c:
21754           Fix docs for gst_pad_set_link_function().
21755
21756 2005-11-02  Johan Dahlin  <johan@gnome.org>
21757
21758         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21759         Unref found_caps after we used it.
21760
21761 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21762
21763         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21764           Don't try to ref NULL.
21765
21766 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21767
21768         * win32/common/config.h.in:
21769           provide a GST_FUNCTION that just gives a string for now
21770
21771 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21772
21773         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21774         (gst_object_flags_get_type), (register_gst_bin_flags),
21775         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21776         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21777         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21778         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21779         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21780         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21781         (gst_clock_flags_get_type), (register_gst_state),
21782         (gst_state_get_type), (register_gst_state_change_return),
21783         (gst_state_change_return_get_type), (register_gst_state_change),
21784         (gst_state_change_get_type), (register_gst_element_flags),
21785         (gst_element_flags_get_type), (register_gst_core_error),
21786         (gst_core_error_get_type), (register_gst_library_error),
21787         (gst_library_error_get_type), (register_gst_resource_error),
21788         (gst_resource_error_get_type), (register_gst_stream_error),
21789         (gst_stream_error_get_type), (register_gst_event_type),
21790         (gst_event_type_get_type), (register_gst_seek_type),
21791         (gst_seek_type_get_type), (register_gst_seek_flags),
21792         (gst_seek_flags_get_type), (register_gst_format),
21793         (gst_format_get_type), (register_gst_index_certainty),
21794         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21795         (gst_index_entry_type_get_type),
21796         (register_gst_index_lookup_method),
21797         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21798         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21799         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21800         (gst_index_flags_get_type), (register_gst_debug_level),
21801         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21802         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21803         (gst_iterator_result_get_type), (register_gst_iterator_item),
21804         (gst_iterator_item_get_type), (register_gst_message_type),
21805         (gst_message_type_get_type), (register_gst_mini_object_flags),
21806         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21807         (gst_pad_link_return_get_type), (register_gst_flow_return),
21808         (gst_flow_return_get_type), (register_gst_activate_mode),
21809         (gst_activate_mode_get_type), (register_gst_pad_direction),
21810         (gst_pad_direction_get_type), (register_gst_pad_flags),
21811         (gst_pad_flags_get_type), (register_gst_pad_presence),
21812         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21813         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21814         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21815         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21816         (gst_plugin_flags_get_type), (register_gst_rank),
21817         (gst_rank_get_type), (register_gst_query_type),
21818         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21819         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21820         (gst_tag_flag_get_type), (register_gst_task_state),
21821         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21822         (gst_alloc_trace_flags_get_type),
21823         (register_gst_type_find_probability),
21824         (gst_type_find_probability_get_type), (register_gst_uri_type),
21825         (gst_uri_type_get_type), (register_gst_parse_error),
21826         (gst_parse_error_get_type):
21827         * win32/common/gstversion.h:
21828           update win32 copies
21829
21830 2005-11-01  Luca Ognibene  <luogni@tin.it>
21831
21832         * gst/gst.c:
21833           fix docs. popt is dead, long live GOption.
21834
21835 2005-10-31  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/gstbuffer.h:
21838         Small doc fix.
21839
21840 2005-10-31  Andy Wingo  <wingo@pobox.com>
21841
21842         * Boo!
21843
21844         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21845
21846         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21847         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21848         the possibility of deadlocks here if code calling notify() or
21849         set() has a lock that can be taken in another notify handler (ABBA
21850         with class lock and e.g. python GIL state lock).
21851
21852 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21853
21854         * gst/gstbus.c: Doc updates.
21855
21856 2005-10-28  Wim Taymans  <wim@fluendo.com>
21857
21858         * docs/design/part-TODO.txt:
21859         * gst/gstiterator.c:
21860         * gst/gstsystemclock.c:
21861         * gst/gstsystemclock.h:
21862         Doc updates.
21863
21864 2005-10-28  Edward Hervey  <edward@fluendo.com>
21865
21866         * docs/gst/gstreamer-docs.sgml:
21867         * docs/gst/gstreamer-sections.txt:
21868         the GstURIType documentation page is private, it only defines GstURIType
21869         which should be defined in the GstURIHandler page
21870         
21871 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21872
21873         * gst/gstbin.c: (gst_bin_class_init):
21874         * gst/gstbin.h:
21875         * gst/gstutils.c:
21876         Documentation updates.
21877
21878 2005-10-28  Wim Taymans  <wim@fluendo.com>
21879
21880         * docs/gst/gstreamer-sections.txt:
21881         * gst/gstclock.c:
21882         * gst/gstclock.h:
21883         Documented the clocks.
21884
21885 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21886
21887         * docs/gst/gstreamer-sections.txt:
21888           move some macros to private sections
21889         * gst/gstminiobject.c:
21890         * gst/gstminiobject.h:
21891           add descriptions provided by ds and some more
21892         * gst/gstpad.h:
21893           mark macro as to be removed
21894
21895 2005-10-28  Wim Taymans  <wim@fluendo.com>
21896
21897         * docs/design/part-TODO.txt:
21898         Add an item to TODO.
21899
21900         * gst/gstiterator.c: (gst_iterator_fold),
21901         (gst_iterator_find_custom):
21902         * gst/gstiterator.h:
21903         Add iterator docs.
21904
21905 2005-10-28  Wim Taymans  <wim@fluendo.com>
21906
21907         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21908         (gst_base_transform_init):
21909         Don't leak class.
21910
21911         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21912         An EOS event marks the queue as completely filled.
21913
21914 2005-10-27  Wim Taymans  <wim@fluendo.com>
21915
21916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21917         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21918         Some more debugging.
21919
21920         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21921         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21922         (gst_base_transform_event), (gst_base_transform_getrange),
21923         (gst_base_transform_chain):
21924         * gst/base/gstbasetransform.h:
21925         Fix debugging,
21926         Protect transform and concurrent buffer alloc with a new lock.
21927         Try not to break ABI/API.
21928
21929 2005-10-27  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21932         (gst_base_src_init), (gst_base_src_query),
21933         (gst_base_src_default_newsegment),
21934         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21935         (gst_base_src_send_event), (gst_base_src_event_handler),
21936         (gst_base_src_pad_get_range), (gst_base_src_loop),
21937         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21938         (gst_base_src_start), (gst_base_src_deactivate),
21939         (gst_base_src_activate_push), (gst_base_src_change_state):
21940         Move some stuff around and cleanup things.
21941
21942 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21943
21944         * gst/base/gstbasesrc.c: (gst_base_src_query):
21945           Add missing break statements.
21946
21947 2005-10-27  Wim Taymans  <wim@fluendo.com>
21948
21949         * check/gst/gstbin.c: (GST_START_TEST):
21950         An extra refcount is taken in basesrc.
21951
21952         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21953         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21954         (gst_base_src_loop):
21955         Small cleanups, check for flushing after being unlocked from the 
21956         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21957         Don't send out EOS when going to READY.
21958
21959 2005-10-27  Wim Taymans  <wim@fluendo.com>
21960
21961         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21962         (gst_base_sink_get_position):
21963         Some more debug.
21964
21965         * gst/gstbin.c: (message_check), (bin_replace_message),
21966         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21967         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21968         (bin_query_duration_init), (bin_query_duration_fold),
21969         (bin_query_duration_done), (bin_query_generic_fold),
21970         (gst_bin_query):
21971         * tools/gst-launch.c: (main):
21972         Remove old option.
21973
21974 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21975
21976         * examples/controller/audio-example.c: (main):
21977         * examples/queue/queue.c: (event_loop):
21978         * gst/base/gstbasetransform.h:
21979         * gst/gstelement.c: (gst_element_send_event):
21980         * gst/gstevent.h:
21981         * gst/gstpad.c: (gst_pad_send_event):
21982           fixing examples
21983           fixing docs typos
21984           changing log priority in error situations
21985
21986 2005-10-25  Wim Taymans  <wim@fluendo.com>
21987
21988         * gst/gstbin.c: (message_check), (bin_replace_message),
21989         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21990         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21991         (bin_query_duration_init), (bin_query_duration_fold),
21992         (bin_query_duration_done), (bin_query_generic_fold),
21993         (gst_bin_query):
21994         Some doc and debug updates.
21995         Cache previously requested query DURATION for speed. invalidate
21996         cached duration if element posts a DURATION message.
21997
21998 2005-10-25  Wim Taymans  <wim@fluendo.com>
21999
22000         * docs/design/part-TODO.txt:
22001         Update TODO.
22002
22003         * gst/gstbin.c: (message_check), (bin_replace_message),
22004         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22005         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22006         (bin_query_duration_init), (bin_query_duration_fold),
22007         (bin_query_duration_done), (bin_query_generic_fold),
22008         (gst_bin_query):
22009         Handle SEGMENT_START/DONE messages correctly.
22010         More evolved query algorithm that handles duration queries
22011         correctly.
22012
22013         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22014         (gst_element_get_state_func), (gst_element_abort_state),
22015         (gst_element_commit_state), (gst_element_lost_state):
22016         Some more debugging.
22017
22018         * gst/gstmessage.h:
22019         Added doc.
22020
22021 2005-10-25  Wim Taymans  <wim@fluendo.com>
22022
22023         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22024         Don't use invalid stream_time.
22025
22026         * gst/gstevent.c: (gst_event_new_newsegment):
22027         stream_time in newsegment cannot be undefined.
22028
22029 2005-10-24  Wim Taymans  <wim@fluendo.com>
22030
22031         * gst/gstbus.c:
22032         Doc fix.
22033
22034         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22035         (gst_queue_loop):
22036         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22037
22038 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22039
22040         * docs/libs/tmpl/gstdparam.sgml:
22041         * docs/libs/tmpl/gstdplinint.sgml:
22042         * docs/libs/tmpl/gstdpman.sgml:
22043         * docs/libs/tmpl/gstdpsmooth.sgml:
22044         * docs/libs/tmpl/gstunitconvert.sgml:
22045           these are obsolete
22046
22047 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22048
22049         * configure.ac:
22050           back to HEAD
22051
22052 === release 0.9.4 ===
22053
22054 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22055
22056         * configure.ac:
22057           releasing 0.9.4, "Tyrannosaurus Rex"
22058
22059 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22060
22061         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22062         (gst_file_sink_get_current_offset):
22063           Use fseeko() and ftello() if available. When falling back on
22064           lseek() to get the current offset, fflush() first to make sure
22065           everything is up-to-date and we get the right offset.
22066
22067 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22068
22069         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22070         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22071         * gst/gsterror.c: (_gst_stream_errors_init):
22072         * gst/gsterror.h:
22073         * gst/gstqueue.c: (gst_queue_loop):
22074         * po/POTFILES.in:
22075           remove prematurely added error category and clean up the instances
22076
22077 2005-10-21  Wim Taymans  <wim@fluendo.com>
22078
22079         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22080         (gst_base_sink_get_position), (gst_base_sink_query),
22081         (gst_base_sink_change_state):
22082         Simply set the right flag when going to playing, that's all
22083         we need to do instead of calling a function inside the object
22084         lock (that could take the lock as well and deadlock)
22085
22086 2005-10-21  Wim Taymans  <wim@fluendo.com>
22087
22088         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22089         (gst_base_src_loop):
22090         Don't warn, the peer element knows what to do best when
22091         the seek failed, it might try something else.
22092
22093 2005-10-21  Wim Taymans  <wim@fluendo.com>
22094
22095         * gst/base/gstbasesrc.c: (gst_base_src_init),
22096         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22097         Fix seeking.
22098
22099 2005-10-21  Wim Taymans  <wim@fluendo.com>
22100
22101         * docs/design/part-segments.txt:
22102         More docs.
22103
22104         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22105         Correctly set caps, even on the subbufer.
22106
22107 2005-10-21  Wim Taymans  <wim@fluendo.com>
22108
22109         * docs/gst/gstreamer-docs.sgml:
22110         * docs/gst/gstreamer-sections.txt:
22111         * gst/gstelement.h:
22112         * gst/gstevent.c:
22113         * gst/gstevent.h:
22114         * gst/gstmessage.h:
22115         * gst/gstpad.h:
22116         * gst/gstparse.h:
22117         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22118         * gst/gsttask.h:
22119         * gst/gstutils.c:
22120         * gst/gstutils.h:
22121         And 2% more doc coverage.
22122
22123 2005-10-21  Andy Wingo  <wingo@pobox.com>
22124
22125         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22126         position reporting.
22127
22128 2005-10-20  Wim Taymans  <wim@fluendo.com>
22129
22130         * gst/gsterror.c: (gst_error_get_message):
22131         * gst/gstparse.h:
22132         * gst/gstquery.h:
22133         * gst/gststructure.c:
22134         * gst/gsttrace.c:
22135         * gst/gstutils.c:
22136         More docs.
22137
22138 2005-10-20  Wim Taymans  <wim@fluendo.com>
22139
22140         * gst/gstbuffer.h:
22141         * gst/gstpad.c:
22142         * gst/gstparse.c:
22143         Another 1% more coverage.
22144
22145 2005-10-20  Wim Taymans  <wim@fluendo.com>
22146
22147         * docs/gst/gstreamer-sections.txt:
22148         * gst/gstelement.c: (gst_element_get_state_func),
22149         (gst_element_abort_state), (gst_element_commit_state),
22150         (gst_element_lost_state):
22151         * gst/gstevent.h:
22152         * gst/gstquery.c: (gst_query_set_position),
22153         (gst_query_parse_position), (gst_query_set_duration),
22154         (gst_query_parse_duration), (gst_query_new_convert):
22155         * gst/gstutils.c:
22156         Yay! 1% more docs coverage.
22157
22158 2005-10-20  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/gstpad.h:
22161         * gst/gstquery.c: (gst_query_set_position),
22162         (gst_query_parse_position), (gst_query_set_duration),
22163         (gst_query_parse_duration), (gst_query_new_convert):
22164         * gst/gstquery.h:
22165         * gst/gstutils.c: (gst_element_query_convert):
22166         * gst/gstutils.h:
22167         Docs and consistency fixes.
22168
22169 2005-10-20  Wim Taymans  <wim@fluendo.com>
22170
22171         * gst/gsttask.c:
22172         * gst/gsttask.h:
22173         More docs.
22174
22175 2005-10-20  Wim Taymans  <wim@fluendo.com>
22176
22177         * gst/gstbin.c: (message_check), (bin_replace_message),
22178         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22179         (update_degree), (gst_bin_sort_iterator_next),
22180         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22181         Reworked the message handling a bit, cache the messages instead of
22182         only the senders. alows us to do more in the future.
22183
22184 2005-10-20  Wim Taymans  <wim@fluendo.com>
22185
22186         * docs/design/part-TODO.txt:
22187         Update TODO
22188
22189         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22190         (gst_base_sink_query):
22191         Don't use clock time to report position when in EOS.
22192
22193 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22194
22195         * tools/gst-inspect.c: (print_interfaces),
22196         (print_element_properties_info), (print_element_info):
22197           Fix interface output with gst-inspect -a; don't print
22198           newlines after double/float properties.
22199
22200 2005-10-20  Wim Taymans  <wim@fluendo.com>
22201
22202         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22203         (gst_base_sink_query):
22204         Speed up current position calculation.
22205
22206         * gst/base/gstbasesrc.c: (gst_base_src_query),
22207         (gst_base_src_default_newsegment):
22208         Correctly set stream position in newsegment.
22209
22210         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22211         (update_degree), (gst_bin_sort_iterator_next),
22212         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22213         * gst/gstmessage.c: (gst_message_new_custom):
22214         Clean up debugging info
22215
22216         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22217         (gst_queue_loop), (gst_queue_handle_src_query):
22218         Pause task faster.
22219
22220 2005-10-19  Wim Taymans  <wim@fluendo.com>
22221
22222         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22223         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22224         Fix query handling again.
22225
22226 2005-10-19  Wim Taymans  <wim@fluendo.com>
22227
22228         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22229         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22230         * gst/base/gstbasesrc.c: (gst_base_src_query):
22231         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22232         * gst/elements/gsttypefindelement.c:
22233         (gst_type_find_handle_src_query), (find_element_get_length),
22234         (gst_type_find_element_activate):
22235         API change fix.
22236
22237         * gst/gstquery.c: (gst_query_new_position),
22238         (gst_query_set_position), (gst_query_parse_position),
22239         (gst_query_new_duration), (gst_query_set_duration),
22240         (gst_query_parse_duration), (gst_query_set_segment),
22241         (gst_query_parse_segment):
22242         * gst/gstquery.h:
22243         Bundling query position/duration is not a good idea since duration
22244         does not change much and we don't want to recalculate it for every
22245         position query, so they are separated again..
22246         Base value in segment query is not needed.
22247
22248         * gst/gstqueue.c: (gst_queue_handle_src_query):
22249         * gst/gstutils.c: (gst_element_query_position),
22250         (gst_element_query_duration), (gst_pad_query_position),
22251         (gst_pad_query_duration):
22252         * gst/gstutils.h:
22253         Updates for query API change.
22254         Added some docs here and there.
22255
22256 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22257
22258         * check/gst/gstbin.c: (GST_START_TEST):
22259         * check/gst/gstghostpad.c: (GST_START_TEST):
22260         * check/pipelines/cleanup.c: (GST_START_TEST):
22261           wait on thread to die so we can check refcount correctly
22262
22263 2005-10-18  Wim Taymans  <wim@fluendo.com>
22264
22265         * check/pipelines/stress.c: (GST_START_TEST):
22266         Make check a little more time consuming.
22267
22268 2005-10-18  Wim Taymans  <wim@fluendo.com>
22269
22270         * check/Makefile.am:
22271         * check/pipelines/stress.c: (GST_START_TEST),
22272         (simple_launch_lines_suite), (main):
22273         Small state change torture test.
22274
22275         * docs/design/part-states.txt:
22276         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22277         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22278         (gst_base_sink_change_state):
22279         Never take state lock from streaming thread, clean up ugly
22280         hacks. Unfortunatly core does not yet support nice ways to
22281         async commit state.
22282         
22283         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22284         (bin_bus_handler):
22285         Start state recalc if a STATE_DIRTY message is posted, but only
22286         on the toplevel bin.
22287
22288         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22289         (gst_element_get_state_func), (gst_element_abort_state),
22290         (gst_element_commit_state), (gst_element_lost_state),
22291         (gst_element_set_state_func), (gst_element_change_state):
22292         * gst/gstelement.h:
22293         State variables are now protected with the LOCK, the state
22294         lock is only used to serialize _set_state().
22295
22296 2005-10-18  Wim Taymans  <wim@fluendo.com>
22297
22298         * check/gst/gstbin.c: (GST_START_TEST):
22299         * check/gst/gstmessage.c: (GST_START_TEST):
22300         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22301         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22302         (bin_bus_handler):
22303         * gst/gstelement.c: (gst_element_abort_state),
22304         (gst_element_commit_state), (gst_element_lost_state):
22305         * gst/gstmessage.c: (gst_message_new_state_changed),
22306         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22307         (gst_message_new_segment_done), (gst_message_new_duration),
22308         (gst_message_parse_state_changed),
22309         (gst_message_parse_segment_start),
22310         (gst_message_parse_segment_done), (gst_message_parse_duration):
22311         * gst/gstmessage.h:
22312         * tools/gst-launch.c: (event_loop):
22313         Seriously, this is better than a previous commit as we only need
22314         to notify the fact that an element changed state in a streaming
22315         thread, marking the state of the parents dirty, hence the 
22316         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22317         message.
22318
22319 2005-10-18  Wim Taymans  <wim@fluendo.com>
22320
22321         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22322         (gst_bin_recalc_func):
22323         * gst/gstelement.c: (gst_element_set_clock),
22324         (gst_element_abort_state), (gst_element_lost_state):
22325         Cleanups, prepare for state change fixes.
22326
22327 2005-10-18  Wim Taymans  <wim@fluendo.com>
22328
22329         * gst/gstbin.h:
22330         * gst/gstelement.c: (gst_element_class_init),
22331         (gst_element_set_state), (gst_element_set_state_func):
22332         * gst/gstelement.h:
22333         Pending ABI changes.
22334         GThreadPool in GstBinClass to monitor async state changes.
22335         state_cookie in GstElement to detect concurrent gst/set state.
22336         set_state is now virtual too in case a very complicated element
22337         has to be constructed.
22338
22339 2005-10-18  Wim Taymans  <wim@fluendo.com>
22340
22341         * check/gst/gstbin.c: (GST_START_TEST):
22342         * check/gst/gstmessage.c: (GST_START_TEST):
22343         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22344         * gst/gstbin.c: (bin_bus_handler):
22345         * gst/gstelement.c: (gst_element_commit_state),
22346         (gst_element_lost_state):
22347         * gst/gstmessage.c: (gst_message_new_state_changed),
22348         (gst_message_new_segment_start), (gst_message_new_segment_done),
22349         (gst_message_new_duration), (gst_message_parse_state_changed),
22350         (gst_message_parse_segment_start),
22351         (gst_message_parse_segment_done), (gst_message_parse_duration):
22352         * gst/gstmessage.h:
22353         * tools/gst-launch.c: (event_loop):
22354         Make messages future proof.
22355         state-change gets a flag if it was a message comming from the
22356         streaming thread.
22357         segment-start/stop can also be specified in other formats.
22358         A message to notify an app that a pipeline changed playback 
22359         duration.
22360         Also fix a GstMessage leak in -launch
22361
22362 2005-10-18  Andy Wingo  <wingo@pobox.com>
22363
22364         * gst/gstelement.c (gst_element_dispose): More helpful message.
22365
22366 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22367
22368         reviewed by: <delete if not using a buddy>
22369
22370         * common/gtk-doc.mak:
22371
22372 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22373
22374         * gst/gstregistry.c: (gst_registry_scan_path_level):
22375           unref a plug-in we get that was already initialized
22376
22377 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22378
22379         * docs/gst/gstreamer-sections.txt:
22380         * docs/libs/gstreamer-libs-sections.txt:
22381         * gst/gstelement.h:
22382           add new api entries
22383           hide internal macro
22384
22385 2005-10-17  Andy Wingo  <wingo@pobox.com>
22386
22387         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22388         cleanup.
22389
22390         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22391
22392         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22393
22394         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22395         (gst_element_get_state_func): Better debug message.
22396         (gst_element_commit_state): s/INFO/DEBUG/.
22397         (gst_element_lost_state, gst_element_change_state): 
22398
22399         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22400         (gst_message_new_custom): s/INFO/LOG/.
22401
22402 2005-10-17  Michael Smith <msmith@fluendo.com>
22403
22404         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22405           Check if end time is valid using end time, not start time.
22406
22407 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22408
22409         * check/gst-libs/controller.c: (GST_START_TEST),
22410         (gst_controller_suite):
22411         * libs/gst/controller/gstcontroller.c:
22412         (gst_controlled_property_set_interpolation_mode):
22413         * libs/gst/controller/gstcontroller.h:
22414         * libs/gst/controller/gstinterpolation.c:
22415         * testsuite/controller/.cvsignore:
22416         * testsuite/controller/Makefile.am:
22417         * testsuite/controller/interpolator.c:
22418           merge controller testsuites
22419           fix broken tests
22420           remove mem-chunk from docs
22421
22422 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22423
22424         * gst/gstmemchunk.c:
22425         * gst/gstmemchunk.h:
22426         * gst/gsttrashstack.c:
22427         * gst/gsttrashstack.h:
22428           out.  get out.  you're fired.  to the Attic !
22429
22430 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22431
22432         * gst/gstcaps.c: (gst_caps_intersect):
22433           fix signedness issues in a (hopefully) correct way
22434         * gst/gstelement.c: (gst_element_pads_activate):
22435           some debugging
22436         * gst/gstobject.c: (gst_object_set_parent):
22437           some debugging
22438
22439 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22440
22441         * gst/gstvalue.h: Fix prototypes.
22442
22443 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22444
22445         * docs/gst/gstreamer-sections.txt:
22446         * gst/gst.c: (gst_version_string):
22447         * gst/gst.h:
22448         * gst/gstversion.h.in:
22449         * win32/common/libgstreamer.def:
22450           add gst_version_string ()
22451
22452 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22453
22454         * configure.ac:
22455           clean up further
22456         * gst/gst.c: (init_post):
22457         * win32/common/config.h.in:
22458           it's PLUGINDIR now
22459         * gst/gstcaps.c: (gst_caps_intersect):
22460           use gint64, the range could be bigger than a guint
22461
22462 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22463
22464         * gst/gstclock.h:
22465           document potential problem in 2038
22466
22467 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22468
22469         * gst/gstcaps.c: (gst_caps_intersect):
22470           Fix guint j diving under 0
22471
22472 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22473
22474         * configure.ac:
22475         * win32/common/config.h:
22476         * win32/common/config.h.in:
22477           check for process.h, declares getpid() on Windows
22478         * gst/gstinfo.c:
22479           include process.h if we have it
22480         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22481         * gst/gstmemchunk.h:
22482           fix signedness issues
22483         * win32/common/libgstreamer.def:
22484           fix get_type's
22485
22486 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22487
22488         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22489         fix. Because of unsigned ints, caps intersection was going nuts and
22490         trying to access structures with G_MAXUINT index. That fixes
22491         videotestsrc ! ffmpegcolorspace ! fakesink
22492         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22493         consistency.
22494
22495 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * configure.ac:
22498           use the gettext macro
22499         * gst/elements/gstelements.c:
22500         * gst/gst.c:
22501         * gst/indexers/gstindexers.c:
22502           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22503         * win32/common/config.h:
22504           updated config.h
22505         * win32/common/config.h.in:
22506           add the template to generate config.h
22507         * win32/common/gstenumtypes.c:
22508         * win32/common/gstversion.h:
22509           updated copies
22510
22511 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22512
22513         * gst/gst.c: (gst_version):
22514         * gst/gstversion.h.in:
22515           add the nano
22516
22517 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22518
22519         * gst/gstevent.h:
22520           Oops, add missing closing bracket.
22521
22522 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22523
22524         * configure.ac:
22525           use common m4's for argument checking
22526
22527 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22528
22529         * docs/gst/gstreamer-sections.txt:
22530         * gst/gstevent.h:
22531           Add GST_EVENT_TYPE_NAME() macro.
22532
22533 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * gst/gstinfo.c:
22536         * gst/gstpluginfeature.c:
22537         * gst/gsttask.c:
22538           privatize more symbols
22539
22540 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * configure.ac:
22543           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22544           everything that uses GStreamer API should have the includes
22545
22546 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * docs/gst/gstreamer-sections.txt:
22549         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22550         * gst/gstvalue.h:
22551           give each value a _get_type, removes the DATA exports
22552
22553 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22554
22555         * gst/gst.c:
22556         * gst/gst.h:
22557           remove _gst_registry_auto_load, not used anymore
22558         * gst/gstbin.c: (gst_bin_get_type):
22559         * gst/gstbin.h:
22560         * gst/gstelement.c: (gst_element_get_type):
22561         * gst/gstelement.h:
22562         * gst/gstobject.c: (gst_object_get_type):
22563         * gst/gstobject.h:
22564         * gst/gstpad.c: (gst_pad_get_type):
22565         * gst/gstpad.h:
22566           make _get_type functions similar, fixes data export from library
22567
22568 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * configure.ac:
22571           correctly make conditionals
22572         * gst/elements/Makefile.am:
22573         * gst/elements/gstelements.c:
22574           fix typo causing fdsrc not to build
22575
22576 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22577
22578         * testsuite/Makefile.am:
22579         * testsuite/bytestream/.cvsignore:
22580         * testsuite/bytestream/Makefile.am:
22581         * testsuite/bytestream/filepadsink.c:
22582         * testsuite/bytestream/gstbstest.c:
22583         * testsuite/bytestream/test1.c:
22584         * testsuite/bytestream/testfile1:
22585         * testsuite/caps/normalisation.c:
22586         * testsuite/caps/random.c: (main):
22587         * testsuite/cleanup/.cvsignore:
22588         * testsuite/cleanup/Makefile.am:
22589         * testsuite/cleanup/cleanup1.c:
22590         * testsuite/cleanup/cleanup2.c:
22591         * testsuite/cleanup/cleanup3.c:
22592         * testsuite/cleanup/cleanup4.c:
22593         * testsuite/cleanup/cleanup5.c:
22594         * testsuite/controller/interpolator.c:
22595         * testsuite/debug/printf_extension.c: (main):
22596         * testsuite/elements/tee.c:
22597         * testsuite/negotiation/.cvsignore:
22598         * testsuite/negotiation/Makefile.am:
22599         * testsuite/negotiation/pad_link.c:
22600         * testsuite/pad/Makefile.am:
22601         * testsuite/pad/chainnopull.c:
22602         * testsuite/pad/getnopush.c:
22603         * testsuite/pad/link.c:
22604         * testsuite/refcounting/sched.c: (create_pipeline):
22605         * testsuite/registry/Makefile.am:
22606         * testsuite/registry/gst-print-formats.c:
22607         * testsuite/schedulers/.cvsignore:
22608         * testsuite/schedulers/142183-2.c:
22609         * testsuite/schedulers/142183.c:
22610         * testsuite/schedulers/143777-2.c:
22611         * testsuite/schedulers/143777.c:
22612         * testsuite/schedulers/147713.c:
22613         * testsuite/schedulers/147819.c:
22614         * testsuite/schedulers/147894-2.c:
22615         * testsuite/schedulers/147894.c:
22616         * testsuite/schedulers/Makefile.am:
22617         * testsuite/schedulers/group_link.c:
22618         * testsuite/schedulers/queue_link.c:
22619         * testsuite/schedulers/relink.c:
22620         * testsuite/schedulers/unlink.c:
22621         * testsuite/schedulers/unref.c:
22622         * testsuite/schedulers/useless_iteration.c:
22623         * testsuite/states/bin.c:
22624           clean out/remove some stuff from the testsuite directories
22625
22626 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22627
22628         * configure.ac:
22629           check for some headers
22630         * gst/elements/Makefile.am:
22631         * gst/elements/gstelements.c:
22632           don't compile fdsrc without sys/socket.h
22633         * gst/indexers/Makefile.am:
22634         * gst/indexers/gstindexers.c: (plugin_init):
22635           don't compile fileindex without mmap
22636
22637 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22638
22639         * configure.ac:
22640           reorganize
22641           clean up
22642           document more
22643           remove cruft
22644         * check/Makefile.am:
22645         * docs/gst/Makefile.am:
22646         * examples/helloworld/Makefile.am:
22647         * gst/Makefile.am:
22648         * gst/base/Makefile.am:
22649         * gst/check/Makefile.am:
22650         * gst/elements/Makefile.am:
22651         * gst/indexers/Makefile.am:
22652         * gst/parse/Makefile.am:
22653         * libs/gst/controller/Makefile.am:
22654         * libs/gst/dataprotocol/Makefile.am:
22655         * examples/helloworld/helloworld.c: (event_loop):
22656           compile fixes, though it's not being compiled currently
22657
22658 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22659
22660         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22661           Add some simple tests for the new taglist date API.
22662
22663 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22664
22665         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22666         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22667           Beautify 'last-message' output: print 'none' for buffer timestamps
22668           and durations if none is set; improve alignment with next messages.
22669
22670 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22671
22672         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22673         * gst/gstpluginfeature.h:
22674         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22675         * gst/gstregistry.h:
22676         * docs/gst/gstreamer-sections.txt:
22677           Add new API to check plugin feature version requirements.
22678
22679         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22680           Some basic tests for the above.         
22681
22682 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22683
22684         * gst/gststructure.c: (gst_structure_to_string):
22685           guard against NULL printf - happens when for example
22686           a message structure with GstClock gets serialized
22687
22688 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22689
22690         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22691           Fix presumable copy'n'pasto.
22692
22693 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22694
22695         * gst/elements/gstfakesrc.h:
22696         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22697         * gst/elements/gsttypefindelement.c:
22698           fix some signedness
22699         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22700           I wonder if this could actually write +2GB files before
22701
22702 2005-10-13  Andy Wingo  <wingo@pobox.com>
22703
22704         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22705         Fix Timmeke Waymans bug.
22706         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22707         string of the proper length to gst_caps_from_string. There's a
22708         potential for, before this fix, that this could cause someone
22709         connecting over the network to cause a segfault if the payload is
22710         not NUL-terminated.
22711
22712 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22713
22714         * docs/design/draft-push-pull.txt:
22715         * docs/design/part-overview.txt:
22716         * docs/random/TODO-pre-0.9:
22717         * docs/random/old/ChangeLog.gstreamer:
22718         * gst/base/gstpushsrc.c:
22719         * gst/gstclock.c:
22720           fixed typos
22721
22722 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22723
22724         * gst/glib-compat.c: (gst_flags_get_first_value):
22725         * gst/glib-compat.h:
22726         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22727         (gst_value_compare_double), (gst_value_serialize_flags):
22728           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22729           infinite loop
22730
22731 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22732
22733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22734         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22735           fix up debugging
22736         * tools/gst-launch.c: (event_loop):
22737           print out clock nicely
22738
22739 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22740
22741         * docs/gst/gstreamer-sections.txt:
22742         * gst/gsttaglist.h:
22743         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22744         (gst_tag_list_get_date_index):
22745           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22746           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22747
22748 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22749
22750         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22751         (gst_collectpads_chain):
22752         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22753         in CollectData.
22754
22755 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22756
22757         * docs/gst/gstreamer-sections.txt:
22758         * gst/gst.c:
22759         * gst/gsterror.h:
22760         * tools/gst-inspect.c: (main):
22761         * tools/gst-launch.c: (main):
22762         * tools/gst-run.c: (main):
22763         * tools/gst-xmlinspect.c: (main):
22764           fix GOption context leaks
22765           doc fixes
22766
22767 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22768
22769         * gst/gstbus.c:
22770           use HAVE_UNISTD_H
22771         * win32/common/config.h:
22772           update config
22773         * win32/vs6/grammar.dsp:
22774         * win32/vs6/libgstelements.dsp:
22775         * win32/vs6/libgstreamer.dsp:
22776           update vs6 files
22777
22778 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22779
22780         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22781         * gst/base/gstbasesrc.c: (gst_base_src_query):
22782           fix more guint64<->gdouble conversions
22783
22784 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22785
22786         * Makefile.am:
22787           add win32-update target
22788         * win32/common/gstconfig.h:
22789         * win32/common/gstenumtypes.c:
22790         * win32/common/gstenumtypes.h:
22791         * win32/common/gstversion.h:
22792           add files that visual studio can't generate
22793
22794 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22795
22796         * Makefile.am:
22797           add a win32-update target
22798         * configure.ac:
22799
22800 2005-10-12  Wim Taymans  <wim@fluendo.com>
22801
22802         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22803         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22804         * gst/gstelement.c: (gst_element_commit_state),
22805         (gst_element_set_state):
22806         Protect flags with proper lock.
22807         unref provided cached clock in dispose.
22808
22809 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22810
22811         * gst/gst.c:
22812         * gst/gstminiobject.h:
22813         * gst/gstpad.h:
22814         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22815           removed unused flags from miniobject
22816           doc fixes
22817
22818 2005-10-12  Wim Taymans  <wim@fluendo.com>
22819
22820         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22821         (gst_file_sink_event), (gst_file_sink_render):
22822         Flush before seeking.
22823
22824 2005-10-12  Andy Wingo  <wingo@pobox.com>
22825
22826         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22827         always been the case.
22828
22829 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22830
22831         * check/gst/gstbin.c: (GST_START_TEST):
22832         * docs/gst/gstreamer-sections.txt:
22833         * gst/base/gstbasesink.c: (gst_base_sink_init):
22834         * gst/base/gstbasesrc.c: (gst_base_src_init),
22835         (gst_base_src_get_range), (gst_base_src_check_get_range),
22836         (gst_base_src_start), (gst_base_src_stop):
22837         * gst/base/gstbasesrc.h:
22838         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22839         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22840         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22841         (bin_bus_handler):
22842         * gst/gstbin.h:
22843         * gst/gstbuffer.h:
22844         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22845         * gst/gstbus.h:
22846         * gst/gstelement.c: (gst_element_is_locked_state),
22847         (gst_element_set_locked_state), (gst_element_commit_state),
22848         (gst_element_set_state):
22849         * gst/gstelement.h:
22850         * gst/gstindex.c: (gst_index_init):
22851         * gst/gstindex.h:
22852         * gst/gstminiobject.h:
22853         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22854         (gst_object_set_parent):
22855         * gst/gstobject.h:
22856         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22857         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22858         * gst/gstpad.h:
22859         * gst/gstpadtemplate.h:
22860         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22861         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22862         * gst/gstpipeline.h:
22863         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22864         (gst_file_index_commit):
22865         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22866         * testsuite/pad/link.c: (gst_test_src_init),
22867         (gst_test_filter_init), (gst_test_sink_init):
22868         * testsuite/states/locked.c: (main):
22869           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22870           moved bitshift from macro to enum definition
22871
22872 2005-10-12  Wim Taymans  <wim@fluendo.com>
22873
22874         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22875         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22876         (gst_file_sink_render):
22877         Some more debugging info.
22878
22879 2005-10-12  Wim Taymans  <wim@fluendo.com>
22880
22881         * docs/design/part-states.txt:
22882         * tools/gst-launch.c: (main):
22883         Some doc updates.
22884         Revert non-intentional change.
22885
22886 2005-10-12  Wim Taymans  <wim@fluendo.com>
22887
22888         * check/gst/gstbin.c: (GST_START_TEST):
22889         * check/gst/gstelement.c: (GST_START_TEST):
22890         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22891         * check/gst/gstghostpad.c: (GST_START_TEST):
22892         * check/gst/gstpipeline.c: (GST_START_TEST):
22893         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22894         * check/states/sinks.c: (GST_START_TEST):
22895         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22896         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22897         (gst_bin_remove_func), (gst_bin_get_state_func),
22898         (gst_bin_recalc_state), (gst_bin_change_state_func),
22899         (bin_bus_handler):
22900         * gst/gstelement.c: (gst_element_get_state_func),
22901         (gst_element_get_state), (gst_element_abort_state),
22902         (gst_element_commit_state), (gst_element_set_state),
22903         (gst_element_change_state), (gst_element_change_state_func):
22904         * gst/gstelement.h:
22905         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22906         (gst_pipeline_provide_clock_func):
22907         * gst/gstutils.c: (gst_element_link_pads_filtered):
22908         * tools/gst-launch.c: (main):
22909         * tools/gst-typefind.c: (main):
22910         Use GstClockTime in _get_state() instead of GTimeVal.
22911         Remove old code in gstutils.c
22912
22913 2005-10-12  Andy Wingo  <wingo@pobox.com>
22914
22915         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22916         removed.
22917
22918         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22919         there is no task. Shouldn't affect any code, as nothing in our
22920         plugins checks this return value.
22921         (gst_pad_stop_task): Also take the stream lock if the pad has no
22922         task. Docs updated.
22923
22924 2005-10-12  Wim Taymans  <wim@fluendo.com>
22925
22926         * gst/gstpad.c: (pre_activate), (post_activate),
22927         (gst_pad_activate_pull), (gst_pad_activate_push):
22928         Cleanup activation code. Reset old state if
22929         activation failed.
22930
22931 2005-10-12  Wim Taymans  <wim@fluendo.com>
22932
22933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22934         (gst_base_sink_change_state):
22935         No need to prerol after receiving EOS.
22936
22937         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22938         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22939         * gst/elements/gstidentity.c: (gst_identity_event):
22940         Print events more verbosely.
22941
22942 2005-10-12  Wim Taymans  <wim@fluendo.com>
22943
22944         * check/Makefile.am:
22945         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22946         * check/states/sinks2.c:
22947         Moved sinks2 testcode in sinks check.
22948
22949         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22950         (gst_bin_remove_func), (gst_bin_recalc_state),
22951         (gst_bin_change_state_func), (bin_bus_handler):
22952         Fix potential race condition when _get_state() iterated over an
22953         ASYNC element right before it posted a state completion.
22954
22955         * gst/gstclock.h:
22956         Do proper cast here.
22957
22958         * gst/gstevent.c: (gst_event_new_newsegment),
22959         (gst_event_parse_newsegment):
22960         A playback rate of 0.0 is not allowed.
22961
22962 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22963
22964         * win32/common/config.h:
22965         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22966         (_trewinddir), (_ttelldir), (_tseekdir):
22967         * win32/common/dirent.h:
22968         * win32/common/gtchar.h:
22969         * win32/common/libgstbase.def:
22970         * win32/common/libgstreamer.def:
22971         * win32/vs6/grammar.dsp:
22972         * win32/vs6/gst_inspect.dsp:
22973         * win32/vs6/gst_launch.dsp:
22974         * win32/vs6/gstreamer.dsw:
22975         * win32/vs6/libgstbase.dsp:
22976         * win32/vs6/libgstelements.dsp:
22977         * win32/vs6/libgstreamer.dsp:
22978           Visual Studio 6 project files, and a new common directory.
22979           Phear.
22980
22981 2005-10-11  Wim Taymans  <wim@fluendo.com>
22982
22983         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22984         (gst_base_sink_do_sync), (gst_base_sink_query),
22985         (gst_base_sink_change_state):
22986         * gst/base/gstbasesink.h:
22987         Correctly parse newsegment info.
22988
22989 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22990
22991         * gst/gst.c: (init_post):
22992           split plugin paths correctly
22993
22994 2005-10-11  Wim Taymans  <wim@fluendo.com>
22995
22996         * check/gst/gstevent.c: (GST_START_TEST):
22997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22998         (gst_base_sink_change_state):
22999         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23000         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23001         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23002         * gst/gstevent.c: (gst_event_new_newsegment),
23003         (gst_event_parse_newsegment):
23004         * gst/gstevent.h:
23005         Added extra flag to newsegment for future API freeze.
23006         Updated check and base elements.
23007
23008 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23009
23010         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23011         (gst_collectpads_add_pad), (gst_collectpads_pop),
23012         (gst_collectpads_event), (gst_collectpads_chain):
23013         * gst/base/gstcollectpads.h: Handle EOS correctly.
23014
23015 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23016
23017         * tools/gst-launch.c: (main):
23018           more null protecting
23019
23020 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23021
23022         * gst/gst-i18n-lib.h:
23023           check for ENABLE_NLS, not GETTEXT_PACKAGE
23024         * gst/gstregistry.c: (gst_registry_add_plugin),
23025         (gst_registry_scan_path_level),
23026         (_gst_registry_remove_cache_plugins):
23027           protect possibly NULL strings
23028         * gst/parse/types.h:
23029           config.h already included before
23030         * tools/gst-inspect.c: (main):
23031           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23032           check for ENABLE_NLS, not GETTEXT_PACKAGE
23033         * tools/gst-launch.c: (main):
23034           check for ENABLE_NLS, not GETTEXT_PACKAGE
23035
23036 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23037
23038         * configure.ac:
23039           if we don't have glib, fail before testing 2.8
23040         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23041           fix a leak, should fix plugins-base testsuite
23042
23043 2005-10-11  Andy Wingo  <wingo@pobox.com>
23044
23045         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23046         take the mode we're going to as an arg. Go head and set the mode
23047         and flushing flags now, so that if the activate function starts a
23048         thread all the flags will be in the right state.
23049         (post_activate): Renamed also. Just handle making sure streaming
23050         finishes for the deactivation case, and setting the deactivated
23051         mode.
23052         (gst_pad_set_active): Complain loudly if deactivation fails.
23053         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23054         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23055         remove the terrible hack.
23056
23057 2005-10-11  Wim Taymans  <wim@fluendo.com>
23058
23059         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23060         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23061         (gst_bin_recalc_state), (gst_bin_change_state_func),
23062         (gst_bin_dispose), (bin_bus_handler):
23063         * gst/gstbin.h:
23064         Prepare to make current EOS message queue more generic.
23065         Fix some typos.
23066
23067         * gst/gstevent.c: (gst_event_new_newsegment),
23068         (gst_event_parse_newsegment):
23069         * gst/gstevent.h:
23070         Rename base to stream_time.
23071
23072         * gst/gstmessage.h:
23073         Fix typo in docs.
23074
23075 2005-10-11  Wim Taymans  <wim@fluendo.com>
23076
23077         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23078         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23079         (gst_bin_change_state_func), (bin_bus_handler):
23080         * gst/gstbin.h:
23081         Work on proper clock selection.
23082
23083 2005-10-11  Edward Hervey  <edward@fluendo.com>
23084
23085         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23086         * libs/gst/controller/gstcontroller.h:
23087         Added GList* version of _remove_properties() in order to be able to wrap
23088         it in bindings.
23089
23090 2005-10-11  Wim Taymans  <wim@fluendo.com>
23091
23092         * docs/design/part-states.txt:
23093         Some more docs.
23094
23095         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23096         (gst_bin_change_state_func), (bin_bus_handler):
23097         Doc updates. Don't distribute the same clock over and over again.
23098
23099         * gst/gstclock.c:
23100         * gst/gstclock.h:
23101         Doc updates.
23102
23103         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23104         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23105         (gst_pad_send_event):
23106         * gst/gstpad.h:
23107         Make probe emission threadsafe again.
23108         Register quarks and move _get_name() from utils.
23109         Doc updates.
23110
23111         * gst/gstpipeline.c: (gst_pipeline_class_init),
23112         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23113         Only redistribute the clock of it changed.
23114
23115         * gst/gstsystemclock.h:
23116         Doc updates. 
23117
23118         * gst/gstutils.c:
23119         * gst/gstutils.h:
23120         Moved the _flow_get_name() to GstPad.
23121
23122 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23123
23124         * check/gst-libs/gdp.c: (GST_START_TEST):
23125         * check/gst/gstcaps.c: (GST_START_TEST):
23126         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23127         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23128         (gst_dp_packet_from_caps):
23129           fix more valgrind warnings before turning up the heat
23130
23131 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23132
23133         * gst/parse/grammar.y:
23134           some cleanup before the hacking
23135
23136 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23137
23138         * gst/base/gstbasesrc.c: (gst_base_src_query):
23139           use conversions
23140         * gst/gstutils.c: (gst_guint64_to_gdouble),
23141         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23142         * gst/gstutils.h:
23143           externalize, basesrc uses it
23144           obviously the implementation needs testing
23145
23146 2005-10-10  Wim Taymans  <wim@fluendo.com>
23147
23148         * tests/sched/Makefile.am:
23149         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23150         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23151
23152 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23153
23154         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23155           apparently converting from guint64 to double is not implemented
23156           on MSVC
23157
23158 2005-10-10  Wim Taymans  <wim@fluendo.com>
23159
23160         * check/Makefile.am:
23161         * check/generic/states.c: (GST_START_TEST):
23162         * check/gst/gstbin.c: (GST_START_TEST):
23163         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23164         * check/states/sinks.c: (GST_START_TEST):
23165         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23166         (main):
23167         Check fixes, use API as stated in design docs, remove hacks.
23168
23169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23170         (gst_base_sink_change_state):
23171         Catch stopping our task while we're shutting down.
23172
23173         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23174         (gst_bin_remove_func), (gst_bin_get_state_func),
23175         (gst_bin_recalc_state), (gst_bin_change_state_func),
23176         (bin_bus_handler):
23177         * gst/gstbin.h:
23178         * gst/gstelement.c: (gst_element_init),
23179         (gst_element_get_state_func), (gst_element_abort_state),
23180         (gst_element_commit_state), (gst_element_lost_state),
23181         (gst_element_set_state), (gst_element_change_state),
23182         (gst_element_change_state_func):
23183         * gst/gstelement.h:
23184         New state change algorithm (see #318116)
23185
23186         * gst/gstpipeline.c: (gst_pipeline_class_init),
23187         (gst_pipeline_init), (gst_pipeline_set_property),
23188         (gst_pipeline_get_property), (do_pipeline_seek),
23189         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23190         * gst/gstpipeline.h:
23191         Remove crude state change hacks.
23192
23193         * gst/gstutils.h:
23194         Remove crude hacks.
23195
23196         * tools/gst-launch.c: (main):
23197         Fixes for state change. Needs some more work to fully use the
23198         new stuff.
23199
23200 2005-10-10  Andy Wingo  <wingo@pobox.com>
23201
23202         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23203
23204         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23205         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23206         issue.
23207
23208 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23209
23210         * gst/gstiterator.c: (gst_iterator_new):
23211           Fix my previous commit: GTypes passed to gst_iterator_new()
23212           can be fundamental types.
23213
23214 2005-10-10  Wim Taymans  <wim@fluendo.com>
23215
23216         * gst/gstelement.c: (gst_element_iterate_pad_list),
23217         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23218         (gst_element_iterate_sink_pads):
23219         Use src/sink pads lists for the respective iterators instead
23220         of filtering.
23221
23222 2005-10-10  Andy Wingo  <wingo@pobox.com>
23223
23224         Merged in popt removal + GOption addition patch from Ronald, bug
23225         #169772.
23226
23227         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23228         GstElement macros around, remove popt-related symbols, add goption
23229         stuff.
23230
23231         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23232         
23233         * docs/gst/Makefile.am:
23234         * docs/libs/Makefile.am: No POPT_CFLAGS.
23235         
23236         * examples/manual/Makefile.am:
23237         * docs/manual/basics-init.xml: Doc updates with an example.
23238         
23239         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23240         (gst_init), (parse_one_option), (parse_goption_arg):
23241         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23242         bit of hand merging and debugging to get the GOption stuff working
23243         tho.
23244         
23245         * tests/Makefile.am:
23246         * tools/Makefile.am:
23247         * tools/gst-inspect.c: (main):
23248         * tools/gst-launch.c: (main):
23249         * tools/gst-run.c: (main):
23250         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23251
23252 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23253
23254         * gst/gstiterator.c: (gst_iterator_new):
23255           Add assertions to make sure passed GType is likely to really
23256           be a GType (as the compiler won't catch it if the size and
23257           GType arguments get mixed up, see #318447).
23258
23259 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23260
23261         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23262
23263         * gst/gstbin.c: (gst_bin_iterate_sorted):
23264           Pass GType and size arguments to gst_iterator_new() in the right
23265           order (maybe we should make _new() take the GType as first argument
23266           just like _new_list()?) (#318447).
23267           
23268
23269 2005-10-10  Wim Taymans  <wim@fluendo.com>
23270
23271         * gst/gstelement.c: (gst_element_finalize):
23272         And free the GStaticRecMutex too
23273
23274 2005-10-10  Andy Wingo  <wingo@pobox.com>
23275
23276         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23277         Allocate and free the mutex properly.
23278
23279         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23280         New macros.
23281         (GstElement): The state_lock is now recursive. Rebuild your
23282         plugins, suckers. Old macros adapted.
23283
23284         * docs/gst/gstreamer-sections.txt: Doc updates.
23285
23286         * gst/gstutils.h:
23287         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23288         (g_static_rec_cond_wait): Ported from state changes patch, while
23289         we wait on bug #317802 to be solved in a well-distributed GLib.
23290
23291         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23292         gst_element_change_state, variable name changes.
23293         (gst_element_change_state): Split out of gst_element_set_state in
23294         preparation for the state change merge. Doesn't pay attention to
23295         the 'transition' argument.
23296         (gst_element_set_state): Updates, hopefully purely cosmetic.
23297         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23298         state change patch.
23299         (gst_element_get_state_func): Renamed from get_state, cosmetic
23300         changes.
23301
23302 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23303
23304         * gst/elements/gstelements.c:
23305         * win32/GStreamer.vcproj:
23306         * win32/config.h:
23307         * win32/dirent.c: (_tseekdir):
23308         * win32/gst-inspect.vcproj:
23309         * win32/gst-launch.vcproj:
23310         * win32/gstconfig.h:
23311         * win32/gstelements.vcproj:
23312         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23313         * win32/gstreamer.def:
23314         * win32/msvc71.sln:
23315           updates for the win32 build (patch from Sebastien Moutte)
23316
23317 2005-10-10  Andy Wingo  <wingo@pobox.com>
23318
23319         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23320         gst_bin_get_state, cleaned up (but no logic changes).
23321         (bin_element_is_sink): Comment updates.
23322         (sink_iterator_filter): Remove needless cast.
23323         (gst_bin_iterate_sinks): Doc update.
23324         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23325         cleaned up (but no logic changes).
23326
23327         * check/states/sinks.c (test_src_sink): Cleanups from the state
23328         change patch.
23329         (test_livesrc_sink): Sync on the state.
23330
23331         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23332         the state change patch.
23333
23334         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23335         change patch.
23336
23337         * check/gst/gstbin.c: Merge in some style fixes and additional
23338         checks from Wim's state change patch.
23339
23340 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23341
23342         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23343         (gst_type_find_helper):
23344           Check whether we have the requested data already in our list of
23345           cached buffers before pulling a new buffer; also make the buffer
23346           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23347
23348 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23349
23350         * gst/gstcaps.c:
23351         * gst/gstevent.c:
23352           doc updates
23353         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23354           don't use long long, it's not portable.  Replacing with
23355           gint64 seems to work; let's hope no skeletons fall out of the closet.
23356
23357 2005-10-10  Andy Wingo  <wingo@pobox.com>
23358
23359         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23360
23361 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23362
23363         * docs/gst/gstreamer-sections.txt:
23364         * gst/gstevent.c:
23365         * gst/gstevent.h:
23366         * gst/gstinfo.c:
23367         * gst/gstinfo.h:
23368         * gst/gstmessage.c: (gst_message_parse_state_changed):
23369         * gst/gstpad.c:
23370         * gst/gstpad.h:
23371           more docs, fix compilation
23372
23373 2005-10-09  Philippe Khalaf <burger@speedy.org>
23374         * gst/gstmessage.c:
23375           Fixed a few forgotten variables on previous commit
23376
23377 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23378
23379         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23380           Fix evil typefind crasher: getrange() might return a short
23381           buffer at the end of a file, but gst_type_find_peek() must
23382           either return the full data as requested or NULL, but
23383           never a short buffer.
23384
23385 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23386
23387         * gst/gstmessage.c: (gst_message_new_state_changed),
23388         (gst_message_parse_state_changed):
23389         * gst/gstmessage.h:
23390           don't use "new", it's a C++ keyword
23391
23392 2005-10-08  Wim Taymans  <wim@fluendo.com>
23393
23394         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23395         * gst/gstelement.c: (gst_element_post_message):
23396         * gst/gstpipeline.c: (gst_pipeline_change_state):
23397         Small docs and debug updates.
23398
23399 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23400
23401         * docs/gst/gstreamer-sections.txt:
23402         * gst/gstelementfactory.c:
23403         * gst/gstevent.c:
23404         * gst/gsttaglist.c:
23405           more docs
23406
23407 2005-10-08  Wim Taymans  <wim@fluendo.com>
23408
23409         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23410         (gst_bin_dispose), (bin_bus_handler):
23411         Fix typos, add comments.
23412         Clear EOS list when going to PAUSED from any direction and do it
23413         in a threadsafe way.
23414         Get base time in a threadsafe way too.
23415         Fix confusing debug in the change_state function.
23416         Various other small cleanups.
23417         
23418         * gst/gstelement.c: (gst_element_post_message):
23419         Fix very verbose bus posting code.
23420
23421         * gst/gstpipeline.c: (gst_pipeline_class_init),
23422         (gst_pipeline_set_property), (gst_pipeline_get_property),
23423         (gst_pipeline_change_state):
23424         Small ARG_ -> PROP_ cleanup
23425
23426 2005-10-08  Wim Taymans  <wim@fluendo.com>
23427
23428         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23429         Do a less CPU demanding EOS check because we can.
23430
23431 2005-10-08  Wim Taymans  <wim@fluendo.com>
23432
23433         * libs/gst/dataprotocol/dataprotocol.c:
23434         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23435         (gst_dp_packet_from_event):
23436         * libs/gst/dataprotocol/dataprotocol.h:
23437         * libs/gst/dataprotocol/dp-private.h:
23438         It's about time we bump the version number.
23439         Since event types don't fit in the guint8 anymore describing
23440         the payload type, make payload type 16 bits wide.
23441
23442 2005-10-08  Wim Taymans  <wim@fluendo.com>
23443
23444         * docs/design/part-TODO.txt:
23445         * docs/design/part-clocks.txt:
23446         * docs/design/part-events.txt:
23447         * docs/design/part-gstbin.txt:
23448         * docs/design/part-gstelement.txt:
23449         * docs/design/part-gstpipeline.txt:
23450         * docs/design/part-live-source.txt:
23451         * docs/design/part-messages.txt:
23452         * docs/design/part-overview.txt:
23453         * docs/design/part-states.txt:
23454         Many doc updates.
23455
23456 2005-10-08  Wim Taymans  <wim@fluendo.com>
23457
23458         * gst/gstevent.c:
23459         * gst/gstevent.h:
23460         Fix event quark registration.
23461         Add some space between events so we can insert them in the
23462         right groups.
23463
23464 2005-10-08  Wim Taymans  <wim@fluendo.com>
23465
23466         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23467         (gst_base_sink_handle_buffer):
23468         Better log message.
23469
23470         * gst/gstbus.h:
23471         * gst/gstelement.h:
23472         More docs.
23473
23474         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23475         (gst_queue_set_property), (gst_queue_get_property):
23476         * gst/gstqueue.h:
23477         Remove old unused properties.
23478
23479 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23480         * docs/gst/gstreamer-sections.txt:
23481         * gst/gstmessage.c:
23482         * gst/gstmessage.h:
23483         * gst/gstminiobject.c:
23484         * gst/gstminiobject.h:
23485         * gst/gstobject.h:
23486         * gst/gstpad.h:
23487         * gst/gstutils.h:
23488           lots of new docs and doc fixes
23489
23490 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23491
23492         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23493         * gst/gstplugin.h:
23494         * gst/gstregistry.c: (gst_registry_lookup_locked),
23495         (gst_registry_scan_path_level):
23496         * gst/gstregistryxml.c: (load_plugin):
23497           Only ever load one plugin for a given plugin basename.
23498           This ensures correct overriding of GST_PLUGIN_PATH over
23499           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23500           system installed plugins.
23501
23502 2005-10-08  Wim Taymans  <wim@fluendo.com>
23503
23504         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23505         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23506         Prepare for doing QOS.
23507
23508 2005-10-08  Wim Taymans  <wim@fluendo.com>
23509
23510         * check/gst/gstbin.c: (GST_START_TEST):
23511         * check/pipelines/cleanup.c: (GST_START_TEST):
23512         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23513         Allow new clock message too.
23514
23515 2005-10-08  Wim Taymans  <wim@fluendo.com>
23516
23517         * gst/gstmessage.c: (gst_message_new_error),
23518         (gst_message_new_warning), (gst_message_new_tag),
23519         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23520         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23521         (gst_message_new_segment_start), (gst_message_new_segment_done),
23522         (gst_message_parse_state_changed),
23523         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23524         (gst_message_parse_new_clock):
23525         * gst/gstmessage.h:
23526         Also carry the clock in question.
23527
23528 2005-10-08  Wim Taymans  <wim@fluendo.com>
23529
23530         * gst/gstmessage.c: (gst_message_new_custom),
23531         (gst_message_new_eos), (gst_message_new_error),
23532         (gst_message_new_warning), (gst_message_new_tag),
23533         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23534         (gst_message_new_new_clock), (gst_message_new_segment_start),
23535         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23536         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23537         * gst/gstmessage.h:
23538         Clean up.
23539         Added clock related messages.
23540
23541         * gst/gstpipeline.c: (gst_pipeline_change_state):
23542         Post message when the clock changed.
23543
23544         * tools/gst-launch.c: (event_loop):
23545         Print new clock.
23546
23547 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23548
23549         * tools/gst-inspect.c: (print_element_properties_info):
23550           Can't pass NULL strings to g_print() on windows.
23551
23552 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23553
23554         * docs/Makefile.am:
23555         * docs/gst/Makefile.am:
23556         * docs/gst/gstreamer-docs.sgml:
23557         * docs/gst/running.xml:
23558         * docs/version.entities.in:
23559           add a chapter on running GStreamer.
23560           document GST_DEBUG and GST_PLUGIN* env vars
23561
23562 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23563
23564         * Makefile.am:
23565           remove include dir
23566         * configure.ac:
23567           remove PLUGINS_BUILDDIR stuff
23568         * gst/gst.c: (init_post):
23569           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23570         * idiottest.mak:
23571           remove, it was condescending and not needed
23572
23573 2005-10-08  Wim Taymans  <wim@fluendo.com>
23574
23575         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23576         (gst_base_sink_handle_object), (gst_base_sink_event),
23577         (gst_base_sink_wait), (gst_base_sink_handle_event),
23578         (gst_base_sink_change_state):
23579         * gst/base/gstbasesink.h:
23580         Repost EOS message while going to PLAYING if still EOS.
23581         Make sure that when receiving a FLUSH_START we don't attempt
23582         to sync on the clock anymore.
23583
23584 2005-10-08  Wim Taymans  <wim@fluendo.com>
23585
23586         * tools/gst-launch.c: (event_loop):
23587         Better message printout.
23588
23589 2005-10-08  Wim Taymans  <wim@fluendo.com>
23590
23591         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23592         (gst_bin_child_proxy_get_children_count):
23593         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23594         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23595         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23596         (gst_child_proxy_set_valist):
23597         * gst/parse/grammar.y:
23598         Make ChildProxy threadsafe and fix mem leaks.
23599
23600 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23601
23602         * gst/gst.c: (init_post):
23603           debug the GST_PLUGIN_ env vars
23604
23605 2005-10-08  Wim Taymans  <wim@fluendo.com>
23606
23607         * check/gst/gstbin.c: (GST_START_TEST):
23608         * check/gst/gstmessage.c: (GST_START_TEST):
23609         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23610         * gst/gstelement.c: (gst_element_commit_state),
23611         (gst_element_lost_state):
23612         * gst/gstmessage.c: (gst_message_new_state_changed),
23613         (gst_message_parse_state_changed):
23614         * gst/gstmessage.h:
23615         * tools/gst-launch.c: (event_loop):
23616         Added extra field to STATE_CHANGE message with the pending
23617         state, which will be different from the new state soon.
23618
23619 2005-10-08  Wim Taymans  <wim@fluendo.com>
23620
23621         * gst/gstbus.c: (gst_bus_pop):
23622         * gst/gstclock.c:
23623         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23624         Small cleanups and doc updates.
23625
23626 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23627
23628         * gst/gst.c: (init_pre):
23629         * gst/gstbin.c: (gst_bin_add_func):
23630           log distributing clocks and base time
23631         * gst/gstregistry.c: (gst_registry_add_plugin),
23632         (gst_registry_scan_path_level), (gst_registry_scan_path):
23633           clean up the debugging output a little
23634         * gst/gstutils.c: (gst_element_state_get_name):
23635           warn about a memleak (I've actually seen this be used, though
23636           it was probably a bug)
23637
23638 2005-10-07  Wim Taymans  <wim@fluendo.com>
23639
23640         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23641         (gst_base_src_init), (gst_base_src_default_newsegment),
23642         (gst_base_src_newsegment), (gst_base_src_do_seek),
23643         (gst_base_src_loop), (gst_base_src_start):
23644         * gst/base/gstbasesrc.h:
23645         Make the newsegment event customizable by subclasses.
23646
23647 2005-10-07  Wim Taymans  <wim@fluendo.com>
23648
23649         * gst/gstevent.c: (gst_event_new_buffersize),
23650         (gst_event_parse_buffersize):
23651         * gst/gstevent.h:
23652         New event for future idea.
23653
23654 2005-10-07  Andy Wingo  <wingo@pobox.com>
23655
23656         * gst/gstelement.c (gst_element_post_message): Doc update.
23657
23658         * docs/gst/gstreamer-sections.txt: Update.
23659
23660         * gst/gstmessage.c (gst_message_new_application): Made into a
23661         function like honest API calls.
23662         (gst_message_new_element): New message type.
23663
23664         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23665
23666         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23667         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23668         times.
23669
23670         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23671         NO_PREROLL from gst_element_change_state to fall through.
23672
23673 2005-10-07  Wim Taymans  <wim@fluendo.com>
23674
23675         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23676         (gst_ghost_pad_do_activate_push):
23677         Activating a ghostpad with no internal pad in push mode
23678         is ok.
23679
23680 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23681
23682         * gst/gstobject.h:
23683           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23684           Fixes compilation on Windows.
23685
23686 2005-10-07  Michael Smith <msmith@fluendo.com>
23687
23688         * tools/gst-inspect.c:
23689           Print out feature and plugin count at the end when printing out
23690           all features.
23691
23692 2005-10-04  Michael Smith <msmith@fluendo.com>
23693
23694         * gst/gsterror.c: (_gst_stream_errors_init):
23695           Add another error string used in a few existing plugins.
23696
23697         * gst/gstplugin.c:
23698         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23699         * tools/gst-inspect.c: (print_element_info):
23700           When a feature disappears from a plugin (and the feature exists in
23701           the cached registry file), things went horribly wrong. This isn't a
23702           complete fix, we should actually be removing the 'missing' features
23703           from the features list when we load the actual plugin. That's not
23704           yet implemented. 
23705
23706 2005-10-04  Johan Dahlin  <johan@gnome.org>
23707
23708         * check/gst/gstiterator.c: (GST_START_TEST):
23709         * gst/gstbin.c: (gst_bin_iterate_elements),
23710         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23711         * gst/gstelement.c: (gst_element_iterate_pads):
23712         * gst/gstformat.c: (gst_format_iterate_definitions):
23713         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23714         (gst_iterator_new_list), (gst_iterator_filter):
23715         * gst/gstiterator.h:
23716         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23717         Add a GType to GstIterator, update callsites and tests.
23718
23719 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23720
23721         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23722           give events a chance to be handled by event probes when the pad
23723           is not linked
23724
23725 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23726
23727         * gst/gstevent.c: (gst_event_type_get_name),
23728         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23729         * gst/gstevent.h:
23730           add string representations for event types
23731
23732 2005-10-06  Wim Taymans  <wim@fluendo.com>
23733
23734         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23735         Don't use NULL pointers.
23736
23737 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23738
23739         * gst/gst_private.h:
23740         * gst/gstbus.c:
23741         * gst/gstelement.c:
23742         * gst/gstinfo.c:
23743         * gst/gstpluginfeature.c:
23744           widen the debug category in output to fit the biggest one we have
23745           add a bus category and use it
23746           play with the colors
23747           fix up some categories
23748
23749 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23750
23751         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23752           add push activation of sink ghost pads.
23753           Andye, please verify
23754
23755 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23756
23757         * gst/gstutils.c: (gst_element_link_pads):
23758           fix a bug in the case where neither element has a pad
23759         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23760           add a test for that case
23761
23762 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23763
23764         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23765           emit have-data before checking for peers.  This allows
23766           for probe handlers to connect elements.  This helps autopluggers.
23767         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23768         (gst_pad_suite):
23769           add six checks, linked/unlinked with no/true/false probe
23770
23771 2005-10-04  Wim Taymans  <wim@fluendo.com>
23772
23773         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23774         (gst_fake_sink_event), (gst_fake_sink_preroll),
23775         (gst_fake_sink_render), (gst_fake_sink_change_state):
23776         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23777         (gst_fake_src_get_property), (gst_fake_src_create),
23778         (gst_fake_src_stop):
23779         * gst/elements/gstidentity.c: (gst_identity_stop):
23780         Protect last_message with lock.
23781
23782 2005-10-04  Edward Hervey  <edward@fluendo.com>
23783
23784         * gst/gstformat.h: 
23785         Added precision in the comments for GST_FORMAT_DEFAULT
23786
23787 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23788
23789         * tools/gst-launch.c: (main):
23790           Don't try to run erroneous pipelines.
23791
23792 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23793
23794         * gst/gstbus.c: We don't need this header.
23795
23796 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23797
23798         * configure.ac:
23799           back to development
23800
23801 === release 0.9.3 ===
23802
23803 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23804
23805         * README:
23806         * configure.ac:
23807           Releasing 0.9.3, "Unregistered"
23808
23809 2005-10-03  Andy Wingo  <wingo@pobox.com>
23810
23811         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23812         whereby calling a pad's activatepush() function can start a thread
23813         that starts to push or pull before the pad gets the FLUSHING flag
23814         unset. Hack around it by holding the stream lock until the flag is
23815         set. Need to replace this with a proper solution. Together with
23816         the ghost pad fixes, this fixes mp3 playing/tagreading.
23817
23818         * docs/design/part-gstghostpad.txt: Add a note about activation of
23819         proxy pads outside of ghost pads.
23820
23821         * gst/gstghostpad.c: Implement the ghost pad activation design.
23822
23823 2005-10-02  Andy Wingo  <wingo@pobox.com>
23824
23825         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23826         It is volatile, after all.
23827
23828         * docs/design/part-gstghostpad.txt: Flesh out activation with
23829         ghost pads.
23830
23831         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23832         GST_DEBUG_FUNCPTR.
23833
23834 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23835
23836         * configure.ac:
23837           Fix (unused) AM_CONDITIONAL tests.
23838
23839 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23840
23841         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23842
23843         * gst/gstutils.c: (gst_pad_query_convert):
23844           Add assertion that makes sure src_val is >=0, just like
23845           gst_query_new_convert() has. (#315895)
23846
23847 2005-09-30  Edward Hervey  <edward@fluendo.com>
23848
23849         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23850         Let's not iterate pads we're not interested in, it avoids getting 
23851         sky-high refcounts on sinkpad.
23852
23853 2005-09-30  Wim Taymans  <wim@fluendo.com>
23854
23855         * gst/gstelement.c: (gst_element_set_state),
23856         (gst_element_change_state):
23857         Small tweak, element in ASYNC remains ASYNC.
23858
23859 2005-09-30  Wim Taymans  <wim@fluendo.com>
23860
23861         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23862         Only error is an error.
23863
23864         * gst/gstbin.c: (gst_bin_change_state):
23865         Better debugging.
23866
23867         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23868         Also call pad_block in pad alloc.
23869
23870         * gst/gstutils.c: (gst_flow_get_name):
23871         Better debugging.
23872
23873 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23874
23875         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23876         (gst_base_src_get_range):
23877           Fix documentation typos. Add some more debug info.
23878
23879 2005-09-29  David Schleef  <ds@schleef.org>
23880
23881         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23882           more end-user friendly.
23883         * tools/gst-inspect.c: (main): Check if command-line argument is
23884           a file and attempt to load that file as a plugin.
23885
23886 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23887
23888         * check/gst/gstbin.c:
23889         * check/states/sinks.c:
23890           fix tests for the new warning
23891         * check/gst/gstpipeline.c:
23892           add a test for pipeline and bus interaction
23893         * gst/gstelement.c:
23894           elements should be NULL if they get disposed; add a warning if not
23895
23896 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23897
23898         * gst/gstobject.c:
23899           for 2.6 refcounting, make debug log more correct by printing
23900           the actual refcounts at the time of swap (Wim)
23901
23902 2005-09-29  Andy Wingo  <wingo@pobox.com>
23903
23904         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23905         removes signal watches previously added via
23906         gst_bus_add_signal_watch.
23907         (gst_bus_add_signal_watch): Don't return the source id, just store
23908         it on the bus if there wasn't an id already.
23909
23910         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23911         add_signal_watch and remove_signal_watch.
23912
23913 2005-09-29  Edward Hervey  <edward@fluendo.com>
23914
23915         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23916         Better if we actually iterate the list :)
23917
23918 2005-09-29  Wim Taymans  <wim@fluendo.com>
23919
23920         * check/gst/gstbin.c: (GST_START_TEST):
23921         Change for new bus API.
23922
23923         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23924         (send_messages), (GST_START_TEST), (gstbus_suite):
23925         Change for new bus signal API.
23926
23927         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23928         (gst_bus_source_prepare), (gst_bus_source_check),
23929         (gst_bus_create_watch), (gst_bus_add_watch_full),
23930         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23931         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23932         * gst/gstbus.h:
23933         Remove support for multiple GSources operating on different
23934         message types as it is too complex and unneeded when using
23935         signals.
23936         Added support for receiving signals from the bus.
23937
23938 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23939
23940         * docs/libs/tmpl/gstdataprotocol.sgml:
23941         * docs/manual/advanced-dataaccess.xml:
23942         * gst/elements/gstcapsfilter.c:
23943         * gst/gstutils.c:
23944           rename filter-caps to caps property
23945
23946 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23947
23948         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23949           More robust fraction string parsing.
23950
23951         * docs/pwg/appendix-porting.xml:
23952           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23953
23954 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23955
23956         * gst/gstcaps.c: (gst_caps_do_simplify):
23957           Thou shalt not free a structure and then continue using it
23958           in the next loop iteration.
23959
23960         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23961         (gst_caps_suite):
23962           Add test case for caps simplification.
23963
23964 2005-09-29  Wim Taymans  <wim@fluendo.com>
23965
23966         * check/gst/gstbin.c: (GST_START_TEST):
23967         Oops.
23968
23969 2005-09-29  Wim Taymans  <wim@fluendo.com>
23970
23971         * check/gst/gstbin.c: (GST_START_TEST):
23972         Add bus to bin.
23973
23974         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23975         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23976         (find_element), (gst_bin_sort_iterator_next),
23977         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23978         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23979         (gst_bin_change_state), (gst_bin_dispose):
23980         A bin does not have a bus, it gets the bus from the parent.
23981
23982         * gst/gstelement.c: (gst_element_requires_clock),
23983         (gst_element_provides_clock), (gst_element_is_indexable),
23984         (gst_element_is_locked_state), (gst_element_change_state),
23985         (gst_element_set_bus_func):
23986         Small cleanups.
23987
23988         * gst/gstpipeline.c: (gst_pipeline_class_init),
23989         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23990         The pipeline provides a bus.
23991
23992 2005-09-28  Johan Dahlin  <johan@gnome.org>
23993
23994         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23995         gst_structure_get_enum instead of gst_structure_get_int
23996
23997         * gst/gststructure.c (gst_structure_get_enum): Impl.
23998
23999         * gst/gststructure.h (gst_structure_get_enum): Add
24000
24001         * docs/gst/gstreamer-sections.txt: Ditto
24002
24003         * gst/gstmessage.c (gst_message_new_state_changed): Use
24004         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24005         which does introspection.
24006         Reviewed by Christian Schaller
24007
24008 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24009
24010         * gst/gstinfo.c: (gst_debug_log_default):
24011           don't do dummy g_strdup()s
24012         * libs/gst/controller/gstcontroller.c:
24013         (on_object_controlled_property_changed),
24014         (gst_controlled_property_new), (gst_controller_new_valist),
24015         (gst_controller_new_list),
24016         (gst_controller_remove_properties_valist), (gst_controller_set),
24017         (gst_controller_get), (gst_controller_sync_values),
24018         (gst_controller_get_value_array), (_gst_controller_class_init),
24019         (gst_controller_get_type):
24020         * libs/gst/controller/gstcontroller.h:
24021         * libs/gst/controller/gstinterpolation.c:
24022         (gst_controlled_property_find_timed_value_node):
24023           convert // to /**/ comments
24024
24025 2005-09-28  Wim Taymans  <wim@fluendo.com>
24026
24027         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24028         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24029         (gst_bus_sync_signal_handler):
24030         * gst/gstbus.h:
24031         Added async-message and sync-message signals to the bus.
24032         Added helper BusFunc to emit signals for all posted messages.
24033
24034         * gst/gstmessage.c: (gst_message_type_get_name),
24035         (gst_message_type_to_quark), (gst_message_get_type):
24036         * gst/gstmessage.h:
24037         Register quarks for message names.
24038
24039 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24040
24041         * docs/libs/gstreamer-libs-sections.txt:
24042         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24043         (gst_controller_new_list):
24044         * libs/gst/controller/gstcontroller.h:
24045           added another constructor for language bindings
24046
24047 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24048
24049         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24050           add another check
24051         * gst/gstbus.c:
24052           add some doc
24053         * gst/gstinfo.c: (_gst_debug_init):
24054           slightly more readable color for refcount debugging
24055
24056 2005-09-28  Wim Taymans  <wim@fluendo.com>
24057
24058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24059         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24060         (find_element), (gst_bin_sort_iterator_next),
24061         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24062         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24063         (gst_bin_change_state), (gst_bin_dispose):
24064         Small doc fixes. get_clock -> provide_clock.
24065
24066         * gst/gstelement.c: (gst_element_class_init),
24067         (gst_element_provides_clock), (gst_element_provide_clock),
24068         (gst_element_get_clock), (gst_element_commit_state),
24069         (gst_element_lost_state):
24070         * gst/gstelement.h:
24071         Make get/set_clock() symetric. Add provide_clock vmethod since
24072         that is actually what this function does.
24073
24074         * gst/gstpipeline.c: (gst_pipeline_class_init),
24075         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24076         (gst_pipeline_get_clock):
24077         get_clock -> provide_clock.
24078
24079 2005-09-28  Andy Wingo  <wingo@pobox.com>
24080
24081         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24082         lieu of real docs...
24083
24084         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24085
24086 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24087
24088         * gst/elements/gstcapsfilter.c:
24089         * gst/elements/gstfakesink.c:
24090         * gst/elements/gstfakesrc.c:
24091         * gst/elements/gstfdsink.c:
24092         * gst/elements/gstfdsrc.c:
24093         * gst/elements/gstfilesink.c:
24094         * gst/elements/gstfilesrc.c:
24095         * gst/elements/gstidentity.c:
24096         * gst/elements/gsttee.c:
24097         * gst/elements/gsttypefindelement.c:
24098           Make element details static.
24099
24100 2005-09-28  Wim Taymans  <wim@fluendo.com>
24101
24102         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24103         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24104         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24105         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24106         (gst_bin_change_state), (gst_bin_dispose):
24107         Some documentation updates.
24108         Clean up dispose handlers.
24109
24110         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24111         * gst/gstpad.c: (gst_pad_dispose):
24112         Clean up dispose handler.
24113
24114         * gst/gstpipeline.c: (gst_pipeline_change_state):
24115         Removed spurious UNLOCK.
24116
24117 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24118
24119         * docs/gst/gstreamer-sections.txt:
24120         * gst/base/gstbasesrc.h:
24121         * gst/gstelement.h:
24122         * gst/gstevent.h:
24123         * gst/gstobject.h:
24124         * gst/gstpad.h:
24125         * gst/gstpipeline.c:
24126         * gst/gstpipeline.h:
24127         * gst/gstutils.h:
24128         * gst/gstxml.h:
24129           added two new functions to the docs
24130                 documents all undocumented GstXXXFlags
24131                 completed some incomplete docs 
24132
24133 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24134
24135         * gst/gstbin.c: (gst_bin_dispose):
24136         * gst/gstelement.c: (gst_element_dispose):
24137           remove now useless and leaky resurrection code in dispose
24138         * gst/base/gstbasesrc.c: (gst_base_src_init):
24139         * gst/gstelementfactory.c: (gst_element_factory_create):
24140         * gst/gstobject.c: (gst_object_set_parent):
24141           add some debugging
24142
24143 2005-09-27  Wim Taymans  <wim@fluendo.com>
24144
24145         * docs/design/part-TODO.txt:
24146         Update TODO.
24147
24148         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24149         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24150         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24151         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24152         (gst_bin_change_state):
24153         * gst/gstelement.h:
24154         Remove element variable, we keep element info in the iterator now.
24155
24156 2005-09-27  Andy Wingo  <wingo@pobox.com>
24157
24158         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24159         values.
24160
24161 2005-09-27  Wim Taymans  <wim@fluendo.com>
24162
24163         * check/gst/gstbin.c: (GST_START_TEST):
24164         Enable check that works now.
24165
24166         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24167         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24168         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24169         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24170         (gst_bin_change_state):
24171         * gst/gstbin.h:
24172         Redid the state change algorithm using a topological sort algo.
24173         Handles all cases correctly.
24174         Exposed iterator for state change order.
24175
24176         * gst/gstelement.h:
24177         Temp storage for state changes. Need to get rid of this soon.
24178
24179 2005-09-27  Wim Taymans  <wim@fluendo.com>
24180
24181         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24182         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24183         (link_fold_func), (gst_pad_proxy_setcaps):
24184         Leak fixes, the fold functions need to unref the passed object and
24185         _get_parent_*() returns ref to parent.
24186
24187 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24188
24189         * check/gst/gstbuffer.c: (test_make_writable):
24190           Plug leak in test case and fix 'make check-valgrind'
24191
24192 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24193
24194         * gst/gstbuffer.c: (gst_subbuffer_init):
24195           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24196           works correctly in all circumstances (we could have just copied
24197           the parent buffer's readonly flag, but conceptually it seems
24198           cleaner to mark all subbuffers as read-only). (based on patch
24199           by Alessandro Decina, #314710).
24200         
24201         * check/gst/gstbuffer.c: (create_read_only_buffer),
24202         (test_make_writable), (test_subbuffer_make_writable),
24203         (gst_test_suite):
24204           Add some tests for gst_buffer_make_writable().
24205
24206 2005-09-27  Wim Taymans  <wim@fluendo.com>
24207
24208         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24209         use gst_object_has_ancestor().
24210
24211         * gst/gstobject.c: (gst_object_has_ancestor):
24212         * gst/gstobject.h:
24213         gst_object_has_ancestor() copied from gstbin.c as it is a
24214         useful function.
24215
24216         * tests/instantiate/create.c: (create_all_elements):
24217         * tests/lat.c: (handoff_src), (handoff_sink):
24218         * tests/sched/runxml.c: (main):
24219         * tests/seeking/seeking1.c: (main):
24220         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24221         (main):
24222         Fix compilation of some tests.
24223
24224 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24225
24226         * gst/gsterror.h:
24227           Remove comment. GST_TYPE_G_ERROR is here to stay,
24228           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24229           (#316961, #300610).
24230
24231 2005-09-26  Wim Taymans  <wim@fluendo.com>
24232
24233         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24234         Added check that shows error in state change order.
24235
24236 2005-09-26  Wim Taymans  <wim@fluendo.com>
24237
24238         * gst/gstbin.c: (gst_bin_change_state):
24239         Make state change function use 3 queues again, we were
24240         adding elements in the wrong order.
24241
24242         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24243         Some debug info,
24244
24245         * gst/gstpad.c: (gst_pad_dispose):
24246         Added some debug info first.
24247
24248 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24249
24250         * docs/design/draft-push-pull.txt:
24251         * docs/design/part-events.txt:
24252         * docs/design/part-overview.txt:
24253         * docs/design/part-scheduling.txt:
24254           Replace all _pull_region() with _pull_range()
24255           
24256 2005-09-26  Andy Wingo  <wingo@pobox.com>
24257
24258         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24259
24260         * check/gst-libs/controller.c: Update for controller api change.
24261
24262         * configure.ac: 
24263         * tests/Makefile.am:
24264         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24265         over by GLib bug 118439.
24266         
24267         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24268         routines to a function.
24269
24270         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24271
24272         * libs/gst/controller/gsthelper.c:
24273         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24274         (gst_object_sync_values): Renamed from sink_values. Ugh.
24275
24276         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24277
24278         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24279         Renamed from controller_key, as it is exported.
24280
24281         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24282
24283 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24284
24285         * gst/Makefile.am:
24286         * gst/gst.h:
24287         * gst/gstpad.h:
24288         * gst/gstpadtemplate.h:
24289         * gst/gstquery.c:
24290         * gst/gstquery.h:
24291         * gst/gstqueryutils.c:
24292         * gst/gstqueryutils.h:
24293           remove queryutils headers after moving the two used functions
24294           to gstquery.  also fixes build problem for gstsiddec
24295
24296 2005-09-26  Michael Smith <msmith@fluendo.com>
24297
24298         * tools/gst-launch.1.in:
24299         Correct documentation in manpage of debug syntax
24300
24301 2005-09-26  Wim Taymans  <wim@fluendo.com>
24302
24303         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24304         (gst_base_src_is_seekable), (gst_base_src_change_state):
24305         Some more debugging info.
24306
24307 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24308
24309         * docs/gst/gstreamer-sections.txt:
24310         * gst/base/gstbasetransform.h:
24311         * gst/gstindex.h:
24312           added more docs
24313
24314 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24315
24316         * docs/gst/.cvsignore:
24317         * docs/gst/tmpl/.cvsignore:
24318         * docs/gst/tmpl/gstpipeline.sgml:
24319         * docs/gst/tmpl/gstplugin.sgml:
24320         * gst/gstpipeline.c:
24321         * gst/gstplugin.c:
24322         * gst/gstplugin.h:
24323           inlined the last two docs files
24324           removed the tmpl directory from cvs (no more conflicts here!)
24325
24326 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24327
24328         * docs/gst/gstreamer-sections.txt:
24329         * docs/gst/tmpl/.cvsignore:
24330         * docs/gst/tmpl/gstpad.sgml:
24331         * docs/gst/tmpl/gstpadtemplate.sgml:
24332         * gst/Makefile.am:
24333         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24334         (gst_pad_finalize), (gst_pad_set_pad_template):
24335         * gst/gstpad.h:
24336         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24337         (gst_pad_template_class_init), (gst_pad_template_init),
24338         (gst_pad_template_dispose), (name_is_valid),
24339         (gst_static_pad_template_get), (gst_pad_template_new),
24340         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24341         (gst_pad_template_pad_created):
24342         * gst/gstpadtemplate.h:
24343           inlined two more docs
24344           factored gstpadtemplate out of gstpad
24345
24346 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24347
24348         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24349         (test_children_state_change_order_semi_sink):
24350           Fix test case: we can't rely on a fixed state change order when
24351           going from READY => PAUSED because the sink might commit its 
24352           new state first when the first buffer created by the source 
24353           reaches the sink before the source has finished its change state.
24354           (Test case still fails at times, see #316856, comment 5 onwards)
24355
24356 2005-09-24  Wim Taymans  <wim@fluendo.com>
24357
24358         * docs/design/part-events.txt:
24359         * docs/design/part-gstbus.txt:
24360         * docs/design/part-gstpipeline.txt:
24361         * docs/design/part-messages.txt:
24362         * docs/design/part-overview.txt:
24363         * docs/design/part-segments.txt:
24364         * gst/gstbin.c:
24365         * gst/gstbuffer.c:
24366         * gst/gstclock.c:
24367         * gst/gstelement.c:
24368         * gst/gstevent.c:
24369         * gst/gstfilter.c:
24370         * gst/gstiterator.c:
24371         Various documentation updates.
24372
24373 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24374
24375         * gst/gstclock.h:
24376           Well, that's embarassing.  Luckily we weren't using
24377           GST_CLOCK_DIFF anywhere.
24378
24379 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24380
24381         * common/gtk-doc.mak:
24382           don't fail on building XML, FC4 slave shows a bunch of doc
24383           missing bits that I don't get
24384         * gst/gstpad.c:
24385         * gst/gstpipeline.c:
24386         * gst/gststructure.c:
24387           some doc updates
24388
24389 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24390
24391         * docs/design/part-gstbin.txt:
24392         * docs/design/part-gstbus.txt:
24393         * gst/gstbus.c:
24394           Add blurb about how the bus goes into flushing mode and
24395           drops all messages when its bin goes from READY into NULL 
24396           state.
24397
24398 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24399
24400         * docs/gst/gstreamer-sections.txt:
24401         * gst/gststructure.c: (gst_structure_get_clock_time):
24402         * gst/gststructure.h:
24403           add a method to get a GstClockTime out of a structure
24404
24405 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24406
24407         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24408         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24409           Added test to check state change order in bins (can still be made
24410           to fail here under heavy disk load; bails out with 'Push on pad
24411           fakesink:sink0, but it was not activated in push mode').
24412
24413         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24414           Fix state change order when there is only a semi sink (#316856)
24415
24416         * gst/gstbus.c: (gst_bus_class_init):
24417           Use _class_peek_parent(), not _class_ref(); fix docs to say
24418           'default main context' instead of 'mainloop' where that is
24419           what's meant.
24420
24421         * gst/gstelement.c: (gst_element_commit_state),
24422         (gst_element_set_state):
24423           Fix typos in debug messages
24424
24425 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24426
24427         * docs/README:
24428         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24429         * gst/gstpluginfeature.c:
24430         * gst/gstutils.c:
24431           various doc updates
24432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24433           change an assert into an error until it gets fixed properly
24434
24435 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24436
24437         * docs/gst/gstreamer-sections.txt:
24438         * docs/gst/tmpl/.cvsignore:
24439         * docs/gst/tmpl/gstelement.sgml:
24440         * docs/gst/tmpl/gstinfo.sgml:
24441         * docs/gst/tmpl/gstobject.sgml:
24442         * gst/gstelement.c:
24443         * gst/gstelement.h:
24444         * gst/gstinfo.c:
24445         * gst/gstinfo.h:
24446         * gst/gstobject.c: (gst_object_class_init):
24447         * gst/gstobject.h:
24448           inlined 3 more biiiig doc files and added some missing docs on the fly
24449
24450 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24451
24452         * check/gst/.cvsignore:
24453         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24454         * gst/gstregistryxml.c: (load_plugin),
24455         (gst_registry_xml_save_plugin):
24456           put back source in registry.  add checks for find_plugin.
24457         * testsuite/states/bin.c: (assert_state), (empty_bin),
24458         (test_adding_one_element), (main):
24459         * testsuite/states/locked.c: (main):
24460           some compile/run fixes
24461
24462 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24463
24464         * check/gst/gstvalue.c: (GST_START_TEST):
24465           fix leaks in the test itself
24466
24467 2005-09-22  Wim Taymans  <wim@fluendo.com>
24468
24469         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24470         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24471         (gst_base_sink_query):
24472         Prepare for more accurate position reporting and query
24473         handling.
24474
24475         * gst/gstelement.c: (gst_element_send_event),
24476         (gst_element_set_state):
24477         Add some comment.
24478
24479 2005-09-22  Wim Taymans  <wim@fluendo.com>
24480
24481         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24482         (gst_query_parse_segment):
24483         * gst/gstquery.h:
24484         More documentation.
24485         Add segment query for future use.
24486
24487 2005-09-22  Wim Taymans  <wim@fluendo.com>
24488
24489         * gst/gstbin.c: (gst_bin_add_func):
24490         Some more debug info.
24491
24492         * gst/gstelement.c: (gst_element_send_event):
24493         Simplify send_event
24494
24495         * gst/gstelement.h:
24496         Don't know how flags got broken.
24497
24498         * gst/gstquery.h:
24499         Added new query.
24500
24501 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24502
24503         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24504           Add simplistic test suite for GST_TYPE_DATE serialisation and
24505           deserialisation.
24506
24507 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24508
24509         * docs/gst/gstreamer-sections.txt:
24510         * gst/gststructure.c: (gst_structure_set_valist),
24511         (gst_structure_get_date):
24512         * gst/gststructure.h:
24513         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24514         (gst_date_copy), (gst_value_compare_date),
24515         (gst_value_serialize_date), (gst_value_deserialize_date),
24516         (gst_value_transform_date_string),
24517         (gst_value_transform_string_date), (_gst_value_initialize):
24518         * gst/gstvalue.h:
24519           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24520           bunch of utility functions along with a hack that checks that
24521           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24522           is required. Part of the grand scheme in #170777.
24523
24524 2005-09-22  Andy Wingo  <wingo@pobox.com>
24525
24526         * gst/gstconfig.h.in: Psych out gtk-doc.
24527
24528         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24529
24530         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24531
24532         * tools/gst-inspect.c (print_element_list): Plug some
24533         inconsequential leaks.
24534
24535         * gst/gstregistry.c (gst_registry_get_default): Doc.
24536
24537         * check/gst/gstplugin.c: 
24538         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24539         * gst/gstelementfactory.c (gst_element_factory_create): 
24540         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24541         refcount changes.
24542
24543         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24544         (gst_plugin_feature_load): Doc, don't eat refs.
24545
24546         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24547         (gst_plugin_list_free): Doc.
24548         (gst_plugin_load_file): Doc updates.
24549
24550         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24551         accessors returning refcounted objects, return a ref.
24552
24553         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24554         accessor for caps. IDEMPOTENCE. Oh yes.
24555
24556 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24557
24558         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24559
24560         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24561         (_gst_debug_register_funcptr):
24562           Add mutex to serialise access to the hash table with
24563           the function pointer => function name string mapping;
24564           make that hash table static scope (#316809).
24565
24566         * gst/registries/.cvsignore:
24567           Remove left-over file.
24568
24569 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24570
24571         * docs/pwg/appendix-porting.xml:
24572           And something about newsegment events and caps-on-buffers to
24573           the porting guide (feel free to improve).
24574
24575 2005-09-21  Andy Wingo  <wingo@pobox.com>
24576
24577         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24578         data and event probes on the same pad.
24579         (test_buffer_probe_once): Test that removing probes from within
24580         the probe functions works.
24581
24582 2005-09-21  Andy Wingo  <wingo@pobox.com>
24583
24584         * check/gst/gstutils.c: New file.
24585         (test_buffer_probe_n_times): A simple buffer probe test. More to
24586         come, foolios.
24587
24588         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24589         have-data::buffer, not have-data.
24590         (gst_pad_add_event_probe): Likewise for have-data::event.
24591         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24592         peer' isn't quite right yet though.
24593         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24594         (gst_pad_remove_data_probe): Change to take the guint handler_id
24595         as their arg, not the function+data, which is more glib-like.
24596
24597         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24598         the signal emission to indicate if the data is a buffer or an
24599         event.
24600         (gst_pad_get_type): Initialize buffer and event quarks.
24601         (gst_pad_class_init): have-data is now a detailed signal, yes it
24602         is.
24603
24604 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24605
24606         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24607         * gst/gstutils.c: (gst_util_set_value_from_string),
24608         (gst_util_set_object_arg):
24609           Don't put functional code in g_return_if_fail() or
24610           g_return_val_if_fail() statements, otherwise things will 
24611           break when G_DISABLE_CHECKS is defined during compilation.
24612
24613 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24614
24615         * docs/gst/tmpl/.cvsignore:
24616         * docs/gst/tmpl/gstvalue.sgml:
24617         * gst/gstvalue.c:
24618         * gst/gstvalue.h:
24619           inlied another one and added  some obvious docs
24620
24621 2005-09-21  Wim Taymans  <wim@fluendo.com>
24622
24623         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24624         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24625         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24626         (gst_fdsrc_get_property), (gst_fdsrc_create):
24627         * gst/elements/gstfdsrc.h:
24628         Properly implement fdsrc. Removed signal and timeout,
24629         better implemented somewhere else.
24630
24631 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24632
24633         * docs/gst/tmpl/.cvsignore:
24634         * docs/gst/tmpl/gstimplementsinterface.sgml:
24635         * gst/gstinterface.c:
24636           inlined more docs
24637
24638 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24639
24640         * docs/gst/gstreamer-sections.txt:
24641         * docs/gst/tmpl/.cvsignore:
24642         * docs/gst/tmpl/gstenumtypes.sgml:
24643           remove obsolete doc file
24644
24645 2005-09-21  David Schleef  <ds@schleef.org>
24646
24647         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24648         little beer, fix a little leak.
24649
24650 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24651
24652         * docs/gst/gstreamer-docs.sgml:
24653         * docs/gst/gstreamer-sections.txt:
24654         * docs/gst/tmpl/.cvsignore:
24655         * gst/Makefile.am:
24656         * gst/gst.h:
24657         * gst/gstbin.c:
24658         * gst/gstelement.h:
24659         * gst/gstindex.c: (gst_index_class_init):
24660         * gst/gstindex.h:
24661         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24662         (gst_index_factory_class_init), (gst_index_factory_init),
24663         (gst_index_factory_finalize), (gst_index_factory_new),
24664         (gst_index_factory_destroy), (gst_index_factory_find),
24665         (gst_index_factory_create), (gst_index_factory_make):
24666         * gst/gstindexfactory.h:
24667         * gst/gstpluginfeature.c:
24668         * gst/gstpluginfeature.h:
24669         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24670           more docs inlined, splitted gstindex.{c,h}
24671
24672 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24673
24674         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24675           fix a leak
24676
24677 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24678
24679         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24680           Set sync to FALSE by default.
24681
24682 2005-09-20  Wim Taymans  <wim@fluendo.com>
24683
24684         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24685         (gst_base_sink_init):
24686         Make sync property settable from subclass.
24687
24688         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24689         (gst_fake_sink_change_state):
24690         Set sync to FALSE by default.
24691
24692 2005-09-20  Wim Taymans  <wim@fluendo.com>
24693
24694         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24695         * tools/gst-launch.c: (main):
24696         The timeout handler should have lower priority than the source
24697         so we don't timeout before popping a message with 0 timeout.
24698         Dump error messages after failed state change.
24699
24700 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24701
24702         * tools/gst-inspect.c: (print_element_properties_info):
24703           Fix two typos.
24704
24705 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24706
24707         * check/gst/gstevent.c:
24708         * gst/elements/gstfakesink.c:
24709         * gst/elements/gstfakesink.h:
24710           remove the sync property from fakesink.
24711           has the side effect of setting sync TRUE
24712           for fakesink, which is a change.  Anyone who knows how
24713           to fix this nicely in a GObject-y way, feel free.
24714
24715 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24716
24717         * docs/gst/gstreamer-docs.sgml:
24718           remove probe refsection
24719
24720 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24721
24722         * check/Makefile.am:
24723           disable valgrinding the controller test again
24724         * docs/gst/gstreamer-sections.txt:
24725           update for api-changes
24726
24727 2005-09-20  Wim Taymans  <wim@fluendo.com>
24728
24729         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24730         (gst_base_sink_set_property), (gst_base_sink_get_property),
24731         (gst_base_sink_do_sync):
24732         * gst/base/gstbasesink.h:
24733         Added sync property to basesink to disable clock sync.
24734
24735 2005-09-20  Andy Wingo  <wingo@pobox.com>
24736
24737         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24738         eating the caller's refcount.
24739
24740         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24741         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24742         refcount.
24743
24744         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24745         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24746         of GLib 2.8 public, so we can know which refcount to check in
24747         tests.
24748
24749         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24750         (gst_object_init): Only set the gst refcount if we're going ahead
24751         with the refcount hack.
24752
24753 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24754
24755         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24756         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24757           more leaks plumbed, added more debug-logging
24758         * gst/gstmacros.h:
24759           whitespace fix
24760
24761 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24762
24763         * gst/gstmessage.c:
24764           remove include of gstmemchunk.h
24765
24766 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24767
24768         * gst/gstclock.c: (_gst_clock_id_free):
24769           Commit from the Political Party For More Atomic CVS Commits,
24770           so that people don't waste too much of their day fishing
24771           out obvious leaks out of massive commits.
24772           Oh, and fix a pretty damn obvious leak in the memchunk
24773           removal code.
24774
24775 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24776
24777         * check/Makefile.am:
24778         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24779           plug mem-leak, re-add to valgrindable tests
24780
24781 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24782
24783         * gst/gstplugin.h:
24784           unbreak the build for those who have chronic arthritis
24785           and typing "make check" is just too taxing on the hands
24786
24787 2005-09-20  Andy Wingo  <wingo@pobox.com>
24788
24789         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24790         really want it out, you should fix plugins at the same time.
24791
24792 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24793
24794         * configure.ac:
24795         * docs/gst/gstreamer-sections.txt:
24796         * gst/gstobject.c:
24797           added missing symbols to api docs
24798           disable ref-count hack if we have glib >= 2.8
24799
24800 2005-09-19  David Schleef  <ds@schleef.org>
24801
24802         * docs/gst/Makefile.am: Ignore a few more internal headers
24803         * docs/gst/gstreamer-docs.sgml: Remove old sections
24804         * docs/gst/gstreamer-sections.txt: Remove old sections
24805         * docs/gst/tmpl/gstobject.sgml: update
24806         * docs/gst/tmpl/gstplugin.sgml: update
24807         * docs/gst/tmpl/gstpluginfeature.sgml: update
24808         * docs/random/ds/0.9-suggested-changes: update.
24809         * gst/Makefile.am: remove memchunk and trashstack, since they're
24810           not used.
24811         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24812         * gst/gst.h: don't include some headers
24813         * gst/gstchildproxy.c: add gstmarshal.h
24814         * gst/gstclock.c: Don't use memchunks
24815         * gst/gstminiobject.c: Add some docs
24816         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24817         * gst/gstobject.h: same
24818         * gst/gstplugin.c: include gstmacros.h
24819         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24820         * gst/gstquery.c: don't use memchunks
24821         * gst/gstregistry.c: rename gst_registry_deinit()
24822         * gst/gstregistry.h: same
24823
24824 2005-09-19  David Schleef  <ds@schleef.org>
24825
24826         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24827         * docs/libs/gstreamer-libs-sections.txt:
24828         * docs/libs/tmpl/gstgetbits.sgml:
24829         * docs/libs/tmpl/gstputbits.sgml:
24830
24831 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24832
24833         * win32/gstenumtypes.c:
24834         * win32/gstenumtypes.h:
24835           Update.
24836
24837 2005-09-19  Wim Taymans  <wim@fluendo.com>
24838
24839         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24840         Automatically PAUSE and RESUME a pipeline when a flushing seek
24841         is performed.
24842
24843 2005-09-19  Andy Wingo  <wingo@pobox.com>
24844
24845         * gst/gstregistry.h: Spacing fixen.
24846
24847 2005-09-19  Wim Taymans  <wim@fluendo.com>
24848
24849         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24850         Handle state change failure more correctly.
24851
24852 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24853
24854         * check/Makefile.am:
24855         * check/pipelines/cleanup.c: (run_pipeline):
24856         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24857         (GST_START_TEST):
24858           enable cleanup again after fixing the leak
24859         * docs/README:
24860           some more info on docs
24861
24862 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24863
24864         * check/Makefile.am:
24865           re-enable tests now that leaks are plugged
24866         * check/gst/gst.c:
24867         * check/gst/gstbin.c:
24868         * check/gst/gstpipeline.c:
24869           add some more tests while fixing leaks
24870         * common/check.mak:
24871           make sure binaries are uptodate when valgrinding/gdbing
24872         * gst/gst.c:
24873         * gst/gstelementfactory.c:
24874           remove a ref too many, and add a FIXME for when we get
24875           round to disposing of classes
24876         * gst/gstplugin.c:
24877           fix the refcounting when loading a plugin from a file and
24878           the code pretends that the pointer is the same even though
24879           of course it can change
24880         * gst/gstpluginfeature.c:
24881           unref plugins marked cached (a bit confusing as a name)
24882           as the docs state should be done
24883           various doc additions to explain refcounting
24884         * gst/gstregistry.c:
24885         * gst/gstregistryxml.c:
24886           debugging
24887
24888 2005-09-19  Wim Taymans  <wim@fluendo.com>
24889
24890         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24891         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24892         (send_messages), (GST_START_TEST), (gstbus_suite):
24893         * check/gst/gstpipeline.c: (GST_START_TEST):
24894         * check/pipelines/cleanup.c: (run_pipeline):
24895         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24896         (GST_START_TEST):
24897         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24898         (gst_bus_source_check), (gst_bus_source_dispatch),
24899         (gst_bus_create_watch), (gst_bus_add_watch_full),
24900         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24901         * gst/gstbus.h:
24902         * tools/gst-launch.c: (event_loop):
24903         * tools/gst-md5sum.c: (event_loop):
24904         GstBusHandler -> GstBusFunc, return value has the same meaning as
24905         any other GSource (FALSE == remove source).
24906         _add_watch() and _add_watch_full() now take a MessageType mask to
24907         only handle specific types of messages.
24908         _poll() returns the GstMessage instead of the message type to avoid
24909         race conditions.
24910         _have_pending() takes a MessageType mask now too.
24911         Added testsuite for multiple bus watches.
24912         Fix testsuites and applications for new bus API.
24913
24914 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24915
24916         * check/Makefile.am:
24917           mark a bunch of the tests as to fix until we fix them
24918
24919 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24920
24921         * common/check.mak:
24922           use GST_PLUGIN settings for valgrind tests as well, so we're
24923           valgrinding the correct thing
24924         * gst/gst.c: (init_post):
24925           plug another leak
24926
24927 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24928
24929         * gst/gst.c: (init_post), (gst_deinit):
24930         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24931         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24932         * gst/gstindex.c: (gst_index_factory_class_init),
24933         (gst_index_factory_finalize):
24934         * gst/gstobject.c: (gst_object_dispose):
24935         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24936         (gst_plugin_load_file), (gst_plugin_desc_free):
24937         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24938         (gst_plugin_feature_finalize):
24939         * gst/gstregistry.c: (gst_registry_class_init),
24940         (gst_registry_init), (gst_registry_finalize),
24941         (gst_registry_get_default), (gst_registry_deinit):
24942         * gst/gstregistry.h:
24943         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24944           various cleanups and memleak plugging.  make valgrind is happy now.
24945
24946 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24947
24948         * common/check.mak:
24949           add a check-valgrind target
24950
24951 2005-09-18  David Schleef  <ds@schleef.org>
24952
24953         * tools/gst-inspect.c: Revert the GOption code.
24954
24955 2005-09-17  David Schleef  <ds@schleef.org>
24956
24957         * check/Makefile.am: Fix environment variables.
24958         * check/gst/gstplugin.c: Fix for API changes.
24959         * tools/gst-inspect.c: Fix for API changes.
24960         * tools/gst-xmlinspect.c: Fix for API changes.
24961         * gst/gstelementfactory.c:
24962         * gst/gstplugin.c:
24963         * gst/gstplugin.h:
24964         * gst/gstpluginfeature.c:
24965         * gst/gstpluginfeature.h:
24966         * gst/gstregistry.c:
24967         * gst/gstregistry.h:
24968         * gst/gstregistryxml.c:
24969         * gst/gsttypefind.c:
24970         * gst/gsttypefindfactory.c:
24971         * gst/indexers/gstfileindex.c:
24972         * gst/indexers/gstmemindex.c:
24973         * gst/schedulers/Makefile.am:
24974           Change registry to keep track of both plugins and features,
24975           removing the feature tracking from plugins themselves.
24976
24977 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24978
24979         * check/Makefile.am:
24980         * tools/gst-register.1.in:
24981           remove gst-register
24982
24983 2005-09-15  David Schleef  <ds@schleef.org>
24984
24985         * check/gst/gstplugin.c:
24986         * gst/gstelementfactory.c:
24987         * gst/gstplugin.c:
24988         * gst/gstpluginfeature.c:
24989         * gst/gstregistry.c:
24990           Getting tired of debugging.  Disabled all the unreffing of
24991           plugins and features, which fixes the segfaults, but of
24992           course leaks like crazy.  At least playbin works.
24993
24994 2005-09-15  David Schleef  <ds@schleef.org>
24995
24996         * check/gst/gstplugin.c: (register_check_elements),
24997         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24998         More testing
24999         * gst/elements/gsttypefindelement.c: Fix refcounting.
25000         * gst/gsttypefind.c:
25001         * gst/gsttypefindfactory.c:
25002         * gst/gsttypefindfactory.h:
25003
25004 2005-09-15  David Schleef  <ds@schleef.org>
25005
25006         * gst/gstindex.c: get refcounting correct.
25007         * gst/gstregistry.c: Handle the case where a feature/plugin is
25008           not found.
25009
25010 2005-09-15  David Schleef  <ds@schleef.org>
25011
25012         * check/Makefile.am:
25013         * check/gst/gstplugin.c: Add test
25014         * gst/gstplugin.c: Fix problems noticed by testsuite
25015         * gst/gstplugin.h:
25016         * gst/gstregistry.c: 
25017         * gst/gstregistry.h:
25018
25019 2005-09-15  David Schleef  <ds@schleef.org>
25020
25021         * gst/gstplugin.c: Implement semi-decent recounting and locking
25022           in plugins and plugin features.
25023         * gst/gstplugin.h:
25024         * gst/gstpluginfeature.c:
25025         * gst/gstpluginfeature.h:
25026         * gst/gstregistry.c:
25027
25028 2005-09-15  Michael Smith <msmith@fluendo.com>
25029
25030         * gst/gstregistry.c: (gst_registry_get_feature_list):
25031           Implement this. Makes oggdemux work; decodebin still broken.
25032
25033 2005-09-14  David Schleef  <ds@schleef.org>
25034
25035         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25036           #316076)
25037         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25038         * gst/check/Makefile.am:
25039         * libs/gst/controller/Makefile.am:
25040         * libs/gst/dataprotocol/Makefile.am:
25041
25042 2005-09-14  David Schleef  <ds@schleef.org>
25043
25044         * configure.ac: Remove getbits library.  Nothing uses it, and
25045           it should be in something like liboil if someone did want
25046           to use it.
25047         * libs/gst/Makefile.am:
25048         * libs/gst/getbits/Makefile.am:
25049         * libs/gst/getbits/gbtest.c:
25050         * libs/gst/getbits/getbits.c:
25051         * libs/gst/getbits/getbits.h:
25052         * libs/gst/getbits/gstgetbits_generic.c:
25053         * libs/gst/getbits/gstgetbits_i386.s:
25054         * libs/gst/getbits/gstgetbits_inl.h:
25055
25056 2005-09-14  David Schleef  <ds@schleef.org>
25057
25058         * gst/Makefile.am: Dist glib-compat.h
25059
25060 2005-09-14  David Schleef  <ds@schleef.org>
25061
25062         * configure.ac: Remove gst/registries, since it's no longer used.
25063         * gst/registries/Makefile.am:
25064         * gst/registries/gstlibxmlregistry.c:
25065         * gst/registries/gstlibxmlregistry.h:
25066         * gst/registries/gstxmlregistry.c:
25067         * gst/registries/gstxmlregistry.h:
25068         * gst/registries/registrytest.c:
25069
25070 2005-09-14  David Schleef  <ds@schleef.org>
25071
25072         * gst/glib-compat.h:
25073         * gst/gstregistryxml.c:
25074           Convergence is near.  Seriously.
25075
25076 2005-09-14  David Schleef  <ds@schleef.org>
25077
25078         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25079         * gst/glib-compat.h:
25080           Attempt #4 to appease the buildbots.
25081
25082 2005-09-14  David Schleef  <ds@schleef.org>
25083
25084         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25085           Attempt #3.
25086
25087 2005-09-14  David Schleef  <ds@schleef.org>
25088
25089         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25090         Attempt #2.
25091
25092 2005-09-14  David Schleef  <ds@schleef.org>
25093
25094         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25095           the new functions.
25096
25097 2005-09-14  David Schleef  <ds@schleef.org>
25098
25099         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25100         * gst/glib-compat.h: Add some functions that are in newer versions
25101           of glib than we care to require.
25102         * gst/gstregistryxml.c: Use them.
25103
25104 2005-09-14  David Schleef  <ds@schleef.org>
25105
25106         * po/POTFILES.in: remove gst-register.c
25107
25108 2005-09-14  David Schleef  <ds@schleef.org>
25109
25110         * docs/gst/gstreamer-docs.sgml:
25111         * docs/gst/gstreamer-sections.txt:
25112         * docs/gst/gstreamer.types:
25113         * docs/gst/tmpl/gstelement.sgml:
25114         * docs/gst/tmpl/gstplugin.sgml:
25115         * docs/gst/tmpl/gstpluginfeature.sgml:
25116           Documentation updates for registry changes.
25117
25118 2005-09-14  David Schleef  <ds@schleef.org>
25119
25120         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25121           because we don't require glib-2.8.
25122
25123 2005-09-14  David Schleef  <ds@schleef.org>
25124
25125         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25126           registries directory.
25127
25128 2005-09-14  David Schleef  <ds@schleef.org>
25129
25130         * check/Makefile.am:
25131         * check/generic/states.c:
25132         * gst/Makefile.am:
25133         * gst/gst.c:
25134         * gst/gst.h:
25135         * gst/gst_private.h:
25136         * gst/gstelementfactory.c:
25137         * gst/gstindex.c:
25138         * gst/gstinfo.c:
25139         * gst/gstplugin.c:
25140         * gst/gstplugin.h:
25141         * gst/gstpluginfeature.c:
25142         * gst/gstpluginfeature.h:
25143         * gst/gstregistry.c:
25144         * gst/gstregistry.h:
25145         * gst/gstregistrypool.c: remove
25146         * gst/gstregistrypool.h: remove
25147         * gst/gsttypefind.c:
25148         * gst/gsttypefindfactory.c:
25149         * gst/gsturi.c:
25150         * tools/Makefile.am:
25151         * tools/gst-compprep.c:
25152         * tools/gst-inspect.c:
25153         * tools/gst-register.c: remove
25154         * tools/gst-xmlinspect.c:
25155           Registry rewrite.  Changes registry from being a file created
25156           by a tool into a simple cache file created automatically by 
25157           libgstreamer.  Removed gst-register (because it's no longer
25158           needed).  Remove registry pools, because we only have one
25159           registry implementation (XML).  Fix up other subsystems as
25160           necessary.
25161
25162 2005-09-13  Michael Smith <msmith@fluendo.com>
25163
25164         * gst/gstconfig.h.in:
25165           Don't Use windows linking attributes for MinGW. Fixes #316157
25166
25167 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25168
25169         * gst/gstutils.c: (set_state_async_thread_func),
25170         (gst_element_set_state_async):
25171           Apparently people think it's better if this function doesn't
25172           try to set the state to whatever state was asked for on the first
25173           call to this function for any object.  Seriously.
25174
25175 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25176
25177         * check/gst/gstpipeline.c: (GST_START_TEST):
25178         * docs/gst/gstreamer-sections.txt:
25179         * gst/gstutils.c: (set_state_async_thread_func),
25180         (gst_element_set_state_async):
25181         * gst/gstutils.h:
25182           add a "gst_element_set_state_async" method that
25183           sets the state and starts a thread to make sure the state
25184           change completes as best as it can
25185
25186 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25187
25188         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25189           codify design+behaviour in testsuite after discussion
25190
25191 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25192
25193         * docs/gst/tmpl/gstelement.sgml:
25194         * docs/manual/appendix-quotes.xml:
25195           add a quote
25196         * gst/gstelement.c: (gst_element_set_state):
25197           add some debug
25198
25199 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25200
25201         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25202         (gst_base_transform_prepare_output_buf),
25203         (gst_base_transform_handle_buffer):
25204         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25205         (gst_capsfilter_prepare_buf):
25206           Remove the requirement for sub-classes to call the parent
25207           implementation of prepare_output_buffer with a wrapper function.
25208           
25209         * gst/gsttaglist.h:
25210         * gst/gsttagsetter.h:
25211           Fix #define wrapper
25212
25213 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25214
25215         * docs/gst/gstreamer-sections.txt:
25216           more doc cleanups
25217
25218 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25219
25220         * docs/gst/gstreamer-sections.txt:
25221         * docs/gst/tmpl/gstelement.sgml:
25222         * docs/gst/tmpl/gstplugin.sgml:
25223         * gst/gstminiobject.c:
25224         * gst/gstvalue.h:
25225           docs now stop throwing warnings
25226
25227 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25228
25229         * docs/gst/gstreamer-sections.txt:
25230         * docs/gst/gstreamer.types:
25231         * docs/gst/tmpl/gstpad.sgml:
25232         * docs/gst/tmpl/gsttypes.sgml:
25233         * gst/base/gstadapter.h:
25234         * gst/base/gstbasesink.h:
25235         * gst/base/gstbasesrc.h:
25236         * gst/gstbin.h:
25237         * gst/gstbuffer.h:
25238         * gst/gstbus.h:
25239         * gst/gstcaps.h:
25240         * gst/gstclock.h:
25241         * gst/gstelement.h:
25242         * gst/gstevent.h:
25243         * gst/gstmessage.h:
25244         * gst/gstpad.h:
25245         * gst/gststructure.c:
25246         * gst/registries/gstlibxmlregistry.h:
25247           various documentation fixes
25248
25249 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25250
25251         * docs/gst/gstreamer-sections.txt:
25252         * docs/gst/tmpl/gstvalue.sgml:
25253           rearrange gstvalue section
25254         * gst/gstutils.c: (gst_element_state_get_name):
25255           NONE -> VOID
25256         * gst/gstvalue.c: (_gst_value_initialize):
25257         * gst/gstvalue.h:
25258           doc updates
25259
25260 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25261
25262         * check/gst-libs/controller.c:
25263           Header include fix.
25264         * gst/base/gstbasetransform.c:
25265         (gst_base_transform_default_prepare_buf),
25266         (gst_base_transform_handle_buffer):
25267         * gst/base/gstbasetransform.h:
25268           Some more basetransform changes and fixes to enable sub-classes
25269           that modify buffer metadata only.
25270         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25271         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25272         (gst_capsfilter_prepare_buf):
25273           If the output pad has fixed allowed caps and input buffers 
25274           don't have any, set the fixed caps on outgoing buffers.
25275
25276 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25277         * check/elements/identity.c: (GST_START_TEST):
25278           Make the error a little clearer when the test fails because
25279           identity made a copy of the buffer.
25280         * docs/gst/gstreamer-sections.txt:
25281           New symbols in gstbasetransform.h
25282         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25283         (gst_base_transform_init), (gst_base_transform_transform_size),
25284         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25285         (gst_base_transform_default_prepare_buf),
25286         (gst_base_transform_get_unit_size),
25287         (gst_base_transform_buffer_alloc),
25288         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25289         (gst_base_transform_change_state),
25290         (gst_base_transform_set_passthrough),
25291         (gst_base_transform_set_in_place),
25292         (gst_base_transform_is_in_place):
25293         * gst/base/gstbasetransform.h:
25294           Change BaseTransform to separate in_place operate from same_caps
25295           output. in_place implies that the element can perform the transform
25296           on incoming buffers in-place, even if the caps on the output are
25297           different.
25298           Sub-class elements can now implement special buffer allocation
25299           methods for outgoing buffers if they wish to.
25300           Big documentation addition.
25301         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25302         * gst/elements/gstelements.c:
25303           Changes for basetransform modifications.
25304         * gst/elements/Makefile.am:
25305         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25306           Compile fix. Extra debug output.
25307
25308 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25309
25310         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25311         (gst_pad_suite):
25312           add tests for valid pad naming
25313         * gst/check/gstcheck.c: (gst_check_log_message_func),
25314         (gst_check_log_critical_func):
25315           add ASSERT_WARNING
25316           remove printing of code, it is fragile when the code contains
25317           % and the line number is enough info
25318         * gst/check/gstcheck.h:
25319         * gst/gstpad.c: (gst_pad_template_new):
25320           fix memleaks
25321
25322 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25323
25324         * configure.ac:
25325           say what CHECK flags we use
25326         * docs/libs/gstreamer-libs.types:
25327         * libs/gst/controller/Makefile.am:
25328         * libs/gst/controller/gst-controller.c:
25329         * libs/gst/controller/gst-controller.h:
25330         * libs/gst/controller/gst-helper.c:
25331         * libs/gst/controller/gst-interpolation.c:
25332         * libs/gst/controller/gstcontroller.c:
25333         * libs/gst/controller/gsthelper.c:
25334         * libs/gst/controller/gstinterpolation.c:
25335         * tools/gst-inspect.c: (print_plugin_info):
25336           we don't use dashes in header names
25337
25338 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25339
25340         * check/Makefile.am:
25341         * check/gst/.cvsignore:
25342         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25343         (gst_pipeline_suite), (main):
25344           adding a test for pipelines and state changes
25345         * gst/gstutils.c: (get_state_func):
25346           add some debugging
25347         * gstreamer.spec.in:
25348           fix up spec file
25349
25350 2005-09-08  Michael Smith <msmith@fluendo.com>
25351
25352         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25353         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25354         (gst_file_src_is_seekable), (gst_file_src_get_size),
25355         (gst_file_src_start):
25356         * gst/elements/gstfilesrc.h:
25357           Various fixes for unseekable, unmmapable, and non-normal files, so
25358           that fallback to read() rather than mmap() works.
25359         * gst/gstevent.c: (gst_event_new_newsegment):
25360           Allow newsegment events with segment_start == segment_end, as will
25361           correctly happen if you use filesrc on a zero-size file, for
25362           example.
25363
25364 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25365
25366         * gst/gstplugin.c: (gst_plugin_load_file):
25367           Call g_module_close when we don't load the module
25368
25369         * gst/registries/gstlibxmlregistry.c:
25370         (gst_xml_registry_get_property):
25371           Port leak fix from 0.8
25372
25373 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25374
25375         * docs/gst/gstreamer-docs.sgml:
25376         * docs/gst/tmpl/.cvsignore:
25377         * docs/gst/tmpl/gsttrace.sgml:
25378         * docs/gst/tmpl/gsttrashstack.sgml:
25379         * gst/Makefile.am:
25380         * gst/gst.h:
25381         * gst/gstelement.h:
25382         * gst/gstevent.h:
25383         * gst/gstmessage.c:
25384         * gst/gstmessage.h:
25385         * gst/gsttag.c:
25386         * gst/gsttag.h:
25387         * gst/gsttaginterface.c:
25388         * gst/gsttaginterface.h:
25389         * gst/gsttaglist.c:
25390         * gst/gsttaglist.h:
25391         * gst/gsttagsetter.c:
25392         * gst/gsttagsetter.h:
25393         * gst/gsttrace.c:
25394         * gst/gsttrace.h:
25395         * gst/gsttrashstack.c:
25396           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25397           inlined docs for gsttrace, gsttrashstack
25398
25399 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25400
25401         * gst/Makefile.am:
25402         * gst/elements/gstbufferstore.h:
25403         * gst/elements/gsttypefindelement.c:
25404         * gst/elements/gsttypefindelement.h:
25405         * gst/gst.h:
25406         * gst/gsttypefind.c:
25407         * gst/gsttypefind.h:
25408         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25409         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25410         (gst_type_find_factory_dispose),
25411         (gst_type_find_factory_unload_thyself),
25412         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25413         (gst_type_find_factory_get_caps),
25414         (gst_type_find_factory_get_extensions),
25415         (gst_type_find_factory_call_function):
25416         * gst/gsttypefindfactory.h:
25417         * gst/registries/gstlibxmlregistry.c:
25418         * gst/registries/gstxmlregistry.c:
25419           splitted gsttypefind into gsttypefind, gsttypefindfactory
25420
25421 2005-09-07  Andy Wingo  <wingo@pobox.com>
25422
25423         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25424         condition whereby the pad's task function is entered before the
25425         pad_mode variable was set.
25426
25427 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25428
25429         * gst/gstpad.c: (gst_pad_alloc_buffer):
25430           Catch misbehaving pad_alloc functions that don't
25431           set up caps and do it for them.
25432
25433 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25434
25435         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25436           test for pipe!=NULL
25437         * docs/gst/tmpl/.cvsignore:
25438         * docs/gst/tmpl/gstmemchunk.sgml:
25439         * docs/gst/tmpl/gstparse.sgml:
25440         * docs/gst/tmpl/gsttaglist.sgml:
25441         * docs/gst/tmpl/gsttagsetter.sgml:
25442         * docs/gst/tmpl/gsttypefind.sgml:
25443         * docs/gst/tmpl/gsttypefindfactory.sgml:
25444         * gst/gstmemchunk.c:
25445         * gst/gstparse.c:
25446         * gst/gsttag.c:
25447         * gst/gsttaginterface.c:
25448         * gst/gsttypefind.c:
25449         * gst/gsttypefind.h:
25450           inlined more docs
25451
25452 === release 0.9.2 ===
25453
25454 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25455
25456         * NEWS:
25457         * RELEASE:
25458         * configure.ac:
25459           releasing 0.9.2, "South"
25460
25461 2005-09-05  Andy Wingo  <wingo@pobox.com>
25462
25463         * gst/registries/gstxmlregistry.h:
25464         * gst/registries/gstxmlregistry.c: Um... resurrect...
25465         
25466         * gst/registries/gstxmlregistry.h:
25467         * gst/registries/gstxmlregistry.c: and update to newer API.
25468         Incidentally they should be a bit faster now that they don't have
25469         to parse the caps.
25470         
25471 2005-09-05  Andy Wingo  <wingo@pobox.com>
25472
25473         * gst/registries/gstxmlregistry.h:
25474         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25475         replaced by the libxml registry a while back
25476
25477 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25478
25479         * docs/gst/tmpl/gstplugin.sgml:
25480         * gst/elements/gstelements.c:
25481         * gst/gst.c:
25482         * gst/gstplugin.c: (gst_plugin_register_func),
25483         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25484         (gst_plugin_get_source):
25485         * gst/gstplugin.h:
25486         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25487         (gst_xml_registry_save_plugin):
25488         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25489         (gst_xml_registry_save_plugin):
25490         * tools/gst-inspect.c: (print_plugin_info):
25491           add a "source" plugin description field, to represent the source
25492           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25493           will set it to PACKAGE, which is automake's idea of the name of
25494           the source project.
25495
25496 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25497
25498         * Makefile.am:
25499         * autogen.sh:
25500         * configure.ac:
25501         * docs/Makefile.am:
25502         * docs/faq/Makefile.am:
25503         * docs/gst/tmpl/gstelement.sgml:
25504         * docs/gst/tmpl/gsttypes.sgml:
25505         * docs/htmlinstall.mak:
25506         * docs/manual/Makefile.am:
25507         * docs/pwg/Makefile.am:
25508           reorganize doc build a little
25509           split out docbook and gtk-doc stuff
25510           have two separate --enable's and enable them through autogen
25511           but disable by default in configure (to be similar to other
25512           projects)
25513         * gstreamer.spec.in:
25514           clean up docs install
25515         * po/af.po:
25516         * po/az.po:
25517         * po/ca.po:
25518         * po/cs.po:
25519         * po/de.po:
25520         * po/en_GB.po:
25521         * po/fr.po:
25522         * po/it.po:
25523         * po/nb.po:
25524         * po/nl.po:
25525         * po/ru.po:
25526         * po/sq.po:
25527         * po/sr.po:
25528         * po/sv.po:
25529         * po/tr.po:
25530         * po/uk.po:
25531         * po/vi.po:
25532           translation updates
25533
25534 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25535
25536         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25537           Add comment.
25538           
25539         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25540         (gst_fake_sink_change_state):
25541           Make state change function thread-safe.
25542           
25543         * gst/gstpad.c: (gst_pad_alloc_buffer):
25544           Set offset on generic buffer allocated by fallback.
25545
25546 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25547
25548         * docs/gst/gstreamer-sections.txt:
25549         * docs/gst/tmpl/gstelement.sgml:
25550         * gst/gstpad.c:
25551         * libs/gst/controller/gst-controller.c:
25552         (gst_controlled_property_set_interpolation_mode),
25553         (gst_controlled_property_new),
25554         (gst_controller_find_controlled_property):
25555          run the wingo-magic script against the docs
25556
25557 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25558
25559         * docs/gst/gstreamer-docs.sgml:
25560         * docs/gst/gstreamer-sections.txt:
25561         * docs/gst/tmpl/.cvsignore:
25562         * docs/gst/tmpl/gstelementdetails.sgml:
25563         * docs/gst/tmpl/gstelementfactory.sgml:
25564         * gst/gst.c:
25565         * gst/gstbus.c:
25566         * gst/gstelementfactory.c:
25567         * gst/gstelementfactory.h:
25568           merged elementdetails docs into elementfactory docs
25569           inlined both
25570
25571 2005-09-02  Andy Wingo  <wingo@pobox.com>
25572
25573         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25574         consider this enum an enum and not a flags.
25575
25576 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25577
25578         * docs/gst/gstreamer-docs.sgml:
25579         * docs/gst/tmpl/.cvsignore:
25580         * docs/gst/tmpl/gstghostpad.sgml:
25581         * docs/gst/tmpl/gstiterator.sgml:
25582         * docs/gst/tmpl/gstmacros.sgml:
25583         * docs/gst/tmpl/gstrealpad.sgml:
25584         * docs/gst/tmpl/gstregistry.sgml:
25585         * docs/gst/tmpl/gstregistrypool.sgml:
25586         * docs/gst/tmpl/gststructure.sgml:
25587         * docs/gst/tmpl/gstsystemclock.sgml:
25588         * docs/gst/tmpl/gsttrace.sgml:
25589         * gst/gstghostpad.c:
25590         * gst/gstmacros.h:
25591         * gst/gstmemchunk.c:
25592         * gst/gstmemchunk.h:
25593         * gst/gstqueue.c:
25594         * gst/gstregistry.c:
25595         * gst/gstregistrypool.c:
25596         * gst/gststructure.c:
25597         * gst/gstsystemclock.c:
25598           more docs inlined
25599
25600 2005-09-02  Andy Wingo  <wingo@pobox.com>
25601
25602         * gst/gstelement.h (GstState): Renamed from GstElementState,
25603         changed to be a normal enum instead of flags.
25604         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25605         munged to be GST_STATE_CHANGE_*.
25606         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25607         work with the new state representation.
25608         (GstStateChange): New enumeration of possible state transitions.
25609         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25610         (GstElementClass::change_state): Pass the GstStateChange along as
25611         an argument. Helps language bindings, so they don't have to use
25612         tricky lock-needing macros like GST_STATE_CHANGE ().
25613
25614         * scripts/update-states (file): New script. Run it on a file to
25615         update it for state naming and API changes. Updates files in
25616         place.
25617
25618         * All files updated for the new API.
25619
25620 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25621
25622         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25623         * gst/gstutils.c: (gst_util_set_value_from_string),
25624         (gst_util_set_object_arg):
25625           fix a bunch of unchecked return values
25626         * tools/gst-complete.c: (main):
25627         * gstreamer.spec.in:
25628           clean up a little
25629
25630 2005-09-01  Wim Taymans  <wim@fluendo.com>
25631
25632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25633         (gst_base_sink_event), (gst_base_sink_do_sync),
25634         (gst_base_sink_handle_event):
25635         * gst/base/gstbasesink.h:
25636         Handle newsegments more correctly.
25637
25638         * gst/gstbus.c:
25639         Fix docs.
25640
25641         * gst/gstevent.c: (gst_event_new_newsegment):
25642         A newsegment cannot have a start_time of -1
25643
25644 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25645
25646         * win32/gstenumtypes.c:
25647         * win32/gstenumtypes.h:
25648           Update
25649
25650 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25651
25652         * libs/gst/controller/gst-controller.c:
25653         (gst_controlled_property_set_interpolation_mode),
25654         (gst_controlled_property_new):
25655          fixed boolean again
25656
25657 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25658
25659         * docs/faq/gst-uninstalled:
25660           add -good
25661         * gst/gstevent.c:
25662         * gst/gstevent.h:
25663           remove wrong docs
25664         * gst/gstutils.c: (gst_element_link_filtered):
25665         * gst/gstutils.h:
25666           add gst_element_link_filtered
25667
25668 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25669
25670         * docs/gst/gstreamer-docs.sgml:
25671         * docs/gst/gstreamer-sections.txt:
25672         * docs/gst/tmpl/.cvsignore:
25673         * docs/gst/tmpl/gsterror.sgml:
25674         * docs/gst/tmpl/gstfilter.sgml:
25675         * docs/gst/tmpl/gsturihandler.sgml:
25676         * docs/gst/tmpl/gsturitype.sgml:
25677         * docs/gst/tmpl/gstutils.sgml:
25678         * docs/gst/tmpl/gstxml.sgml:
25679         * gst/gsterror.c:
25680         * gst/gsterror.h:
25681         * gst/gstfilter.c:
25682         * gst/gsturi.c:
25683         * gst/gsturitype.c:
25684         * gst/gstutils.c:
25685         * gst/gstxml.c:
25686           inlined more docs, fixed double id-ref
25687
25688 2005-08-31  Wim Taymans  <wim@fluendo.com>
25689
25690         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25691         (gst_base_transform_handle_buffer):
25692         Passthrough elements don't need the caps as they don't care.
25693
25694 2005-08-31  Wim Taymans  <wim@fluendo.com>
25695
25696         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25697         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25698         Don't leak refcounts on buffers.
25699
25700 2005-08-31  Wim Taymans  <wim@fluendo.com>
25701
25702         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25703         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25704         (gst_base_transform_chain), (gst_base_transform_change_state):
25705         * gst/base/gstbasetransform.h:
25706         Handle the case where we are not negotiated more gracefully.
25707
25708 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25709
25710         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25711         (gst_file_src_map_region):
25712           Set READONLY flag on mmap'ed buffers, otherwise
25713           gst_buffer_make_writable() won't work properly (#314708).
25714
25715 2005-08-31  Wim Taymans  <wim@fluendo.com>
25716
25717         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25718         passthrough elements can even do inplace on non writable
25719         buffers (as they don't touch them).
25720
25721 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25722
25723         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25724         (gst_test_mono_source_set_property),
25725         (gst_test_mono_source_class_init), (GST_START_TEST),
25726         (gst_controller_suite):
25727           more tests (hehe I have the most)
25728         * gst/gstbus.c:
25729           describe popping messages whenusing mulltiple sources
25730         * libs/gst/controller/gst-controller.c:
25731         (gst_controlled_property_set_interpolation_mode),
25732         (gst_controlled_property_new):
25733         * libs/gst/controller/gst-controller.h:
25734         * libs/gst/controller/gst-interpolation.c:
25735           implement boolean properties
25736
25737 2005-08-31  Wim Taymans  <wim@fluendo.com>
25738
25739         * gst/gstminiobject.c: (gst_mini_object_ref):
25740         Cannot assert that the refcount has to be positive
25741         since a disposed object can be resurrected.
25742
25743 2005-08-31  Wim Taymans  <wim@fluendo.com>
25744
25745         * gst/gstpad.c: (gst_pad_init):
25746         Revert change, need to first fix badly behaving 
25747         apps.
25748
25749 2005-08-30  Wim Taymans  <wim@fluendo.com>
25750
25751         * check/elements/fakesrc.c: (setup_fakesrc):
25752         * check/elements/identity.c: (setup_identity):
25753         Activate pads before using them.
25754
25755 2005-08-30  Wim Taymans  <wim@fluendo.com>
25756
25757         * gst/base/gstadapter.c: (gst_adapter_flush):
25758         Flushing out 0 bytes is ok for this function.
25759
25760         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25761         no newsegment gives a warning and sets the start/stop to 
25762         invalid.
25763
25764         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25765         (gst_base_transform_set_passthrough):
25766         Some debug info.
25767
25768         * gst/gstminiobject.c: (gst_mini_object_ref):
25769         Check refcount here too.
25770
25771         * gst/gstpad.c: (gst_pad_init):
25772         Pads are initially flushing and refusing data.
25773
25774         * gst/gstutils.c: (gst_element_link_pads_filtered):
25775         When adding a capsfilter element make sure it has the
25776         same state as the parent bin.
25777
25778 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25779
25780         * docs/gst/tmpl/.cvsignore:
25781         * docs/gst/tmpl/gstformat.sgml:
25782         * docs/gst/tmpl/gstversion.sgml:
25783         * gst/gstbus.h:
25784         * gst/gstformat.c:
25785         * gst/gstformat.h:
25786         * gst/gstversion.h.in:
25787           more docs and two more inlined
25788
25789 2005-08-30  Wim Taymans  <wim@fluendo.com>
25790
25791         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25792         Don't sync to clock.
25793
25794 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25795
25796         * docs/gst/gstreamer-sections.txt:
25797           ultral33t func10ns deserve to appear in the docs actually
25798         * docs/gst/tmpl/.cvsignore:
25799         * docs/gst/tmpl/gstcompat.sgml:
25800         * docs/gst/tmpl/gstconfig.sgml:
25801         * gst/check/gstcheck.c:
25802         * gst/gstcompat.h:
25803         * gst/gstconfig.h.in:
25804           inlined more docs
25805
25806 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25807
25808         * docs/gst/tmpl/.cvsignore:
25809         * docs/gst/tmpl/gstquery.sgml:
25810         * docs/gst/tmpl/gstutils.sgml:
25811         * gst/gstquery.c:
25812         * gst/gstquery.h:
25813           inlined and extended docs
25814
25815 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25816
25817         * check/gst-libs/controller.c: (GST_START_TEST),
25818         (gst_controller_suite):
25819           more tests
25820         * docs/gst/tmpl/gstutils.sgml:
25821         * docs/libs/gstreamer-libs-sections.txt:
25822         * docs/libs/tmpl/gstdataprotocol.sgml:
25823           include path fixes
25824         * examples/controller/audio-example.c: (main):
25825           controller example works now
25826         * gst/gstclock.h:
25827           doc fixes
25828         * tools/gst-inspect.c: (print_element_properties_info):
25829           show param spec flags
25830
25831 2005-08-29  Andy Wingo  <wingo@pobox.com>
25832
25833         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25834
25835 2005-08-28  Andy Wingo  <wingo@pobox.com>
25836
25837         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25838         as having two arguments instead of just one. Allows superclasses
25839         to access information on subclasses -- see the terrible for() loop
25840         in gtype.c:g_type_create_instance for the reason why. All callers
25841         changed.
25842
25843 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25844
25845         * docs/design/part-messages.txt:
25846           update info
25847         * docs/gst/tmpl/.cvsignore:
25848         * docs/gst/tmpl/gstcaps.sgml:
25849         * docs/gst/tmpl/gstclock.sgml:
25850         * gst/gstbus.c:
25851         * gst/gstcaps.c:
25852         * gst/gstcaps.h:
25853         * gst/gstclock.c:
25854         * gst/gstclock.h:
25855         * gst/gstmessage.c:
25856           added descriptions for bus and message
25857           inline caps and clock docs
25858
25859 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25860
25861         * gst/gstmessage.c:
25862         * gst/gstmessage.h:
25863           doc fixes
25864
25865 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25866
25867         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25868           fix div-by-zero
25869
25870 2005-08-26  Andy Wingo  <wingo@pobox.com>
25871
25872         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25873         element_set_state's return val.
25874         (test_2_elements): Add test that's been disabled for months.
25875
25876         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25877         can-activate-pull properties.
25878
25879         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25880         can-activate-pull properties. Implement is_seekable so fakesrc can
25881         operate in pull mode.
25882
25883         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25884         properties.
25885         (gst_base_sink_activate, gst_base_sink_activate_pull)
25886         (gst_base_sink_activate_push): Make activation mode choosing work.
25887         Cleanups.
25888         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25889         is right. Make pull mode work. Post an eos before pausing in pull
25890         mode.
25891         (gst_base_sink_change_state): Pay attention to the core's
25892         change_state() return val.
25893         
25894         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25895         has-getrange properties. Cleanups.
25896         
25897         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25898         has_getrange and replace with can_activate_pull and
25899         can_activate_push.
25900
25901         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25902         locking comments. Remove has_loop, has_chain and replace with
25903         can_activate_pull and can_activate_push.
25904
25905 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25906
25907         * configure.ac:
25908         * examples/Makefile.am:
25909         * examples/metadata/Makefile.am:
25910         * examples/metadata/read-metadata.c: (message_loop),
25911         (have_pad_handler), (make_pipeline), (print_tag), (main):
25912           Add metadata reading example that loops over a list of filenames,
25913           dumping any tags found.
25914
25915         * gst/gstbus.c: (gst_bus_dispose):
25916         * gst/gstelement.c: (gst_element_dispose):
25917           Release a few potentially-held references in dispose.
25918
25919 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25920
25921         * docs/gst/tmpl/gstminiobject.sgml:
25922           do *not* add tmpl/*.sgml files to CVS!
25923
25924 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25925
25926         * libs/gst/bytestream/.cvsignore:
25927         * libs/gst/bytestream/Makefile.am:
25928         * libs/gst/bytestream/adapter.c:
25929         * libs/gst/bytestream/adapter.h:
25930         * libs/gst/bytestream/bytestream.c:
25931         * libs/gst/bytestream/bytestream.h:
25932         * libs/gst/bytestream/filepad.c:
25933         * libs/gst/bytestream/filepad.h:
25934           removing obsolete files
25935
25936 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25937
25938         * docs/gst/gstreamer-docs.sgml:
25939         * docs/libs/gstreamer-libs-docs.sgml:
25940           disabed additional index entries again, as this makes docs-gen just
25941           slow and they aren't useful yet
25942         * docs/libs/gstreamer-libs-sections.txt:
25943           little -section.txt cleanup for libs
25944
25945 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25946
25947         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25948         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25949           fix up some debugging
25950         (gst_base_transform_get_unit_size),
25951         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25952         (gst_base_transform_handle_buffer):
25953         * gst/base/gstbasetransform.h:
25954           handle and store timed NEWSEGMENT events so that subclasses that
25955           calculate time by counting samples have a segment_start time they
25956           need to add to their timestamps - see audioresample
25957
25958 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25959
25960         * gst/gstbin.h:
25961           removed ';' from the end of macro defs
25962         * docs/gst/gstreamer-docs.sgml:
25963         * docs/gst/gstreamer-sections.txt:
25964         * docs/gst/tmpl/.cvsignore:
25965         * gst/gstbus.h:
25966         * gst/gstelement.c: (gst_element_class_init),
25967         (gst_element_set_state), (activate_pads),
25968         (gst_element_save_thyself):
25969         * gst/gstevent.c: (gst_event_new_newsegment):
25970         * gst/gstevent.h:
25971         * gst/gstiterator.c:
25972         * gst/gstiterator.h:
25973         * gst/gstpad.c:
25974         * gst/gstprobe.h:
25975         * gst/gstutils.c: (gst_pad_query_convert):
25976         * gst/gstutils.h:
25977           fixed parameter name mismatches between source, header and docs
25978           added some more docs, resolved the last batch of unused elements in
25979           docs (now someone needs to doc them)
25980
25981 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25982
25983         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25984         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25985           don't walk through the plugins backwards.  Where is all this
25986           reversed logic coming from ?
25987
25988 2005-08-25  Wim Taymans  <wim@fluendo.com>
25989
25990         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25991         (gst_base_transform_transform_size),
25992         (gst_base_transform_configure_caps),
25993         (gst_base_transform_get_unit_size),
25994         (gst_base_transform_buffer_alloc),
25995         (gst_base_transform_change_state):
25996         * gst/base/gstbasetransform.h:
25997         Cache caps unit_size.
25998         Make sure we cannot negotiate up and downstream at the
25999         same time.
26000
26001 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26002
26003         * gst/gst.c: (init_pre), (init_post):
26004           register the installed plugin path after the env var
26005         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26006         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26007           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26008           directories, so the tests can prefer uninstalled over installed
26009
26010 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26011
26012         * gst/base/gstbasetransform.h:
26013           comment
26014         * gst/gstpad.c:
26015           add to docs
26016
26017 2005-08-25  Wim Taymans  <wim@fluendo.com>
26018
26019         * gst/gstbin.c: (bin_bus_handler):
26020         Be a bit more conservative about the posted message.
26021         
26022         * gst/gstbus.c: (gst_bus_post):
26023         Some cleanups, warn wrong return values.
26024
26025 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26026
26027         * check/gst/gstbin.c: (GST_START_TEST):
26028         * gst/gstbin.c: (bin_bus_handler):
26029         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26030         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26031         (gst_message_new_warning), (gst_message_new_tag),
26032         (gst_message_new_state_changed), (gst_message_new_segment_start),
26033         (gst_message_new_segment_done), (gst_message_new_custom):
26034         * gst/gstmessage.h:
26035         * tools/gst-launch.c: (event_loop):
26036         * tools/gst-md5sum.c: (event_loop):
26037           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26038
26039 2005-08-25  Wim Taymans  <wim@fluendo.com>
26040
26041         * check/generic/states.c: (GST_START_TEST):
26042         Cleanup can be done at the end.
26043
26044         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26045         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26046         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26047         Oh boy.. Thanks for finding this, Thomas. 
26048
26049 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26050
26051         * docs/gst/gstreamer.types:
26052           added missing types
26053
26054 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26055
26056         * docs/gst/gstreamer-docs.sgml:
26057         * docs/gst/gstreamer-sections.txt:
26058         * docs/gst/tmpl/.cvsignore:
26059         * gst/gstbin.c:
26060         * gst/gstiterator.c:
26061         * gst/gstutils.c:
26062         * gst/registries/gstxmlregistry.h:
26063           added missing classes and symbols (123 more to go)
26064           removed removed symbols from section file
26065           fixed many doc-comments
26066
26067 2005-08-24  Wim Taymans  <wim@fluendo.com>
26068
26069         * check/generic/states.c: (GST_START_TEST):
26070         Make sure all tasks are stopped.
26071
26072         * check/gst/gstbin.c: (GST_START_TEST):
26073         Unref after usage for proper valgrinding.
26074
26075         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26076         Really wait for the task to stop before destroying the
26077         mutex.
26078
26079         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26080         (gst_queue_src_activate_push):
26081         Small cleanups. Don't stop the task when we did not start
26082         it.
26083
26084         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26085         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26086         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26087         (gst_task_join):
26088         * gst/gsttask.h:
26089         Protect the stream lock with the object lock.
26090         Disallow setting the stream lock when running.
26091         Add cleanup_all to wait for the threadpool to finish.
26092         Remove code to autoallocate a mutex if none was provided.
26093         Add _join() to wait for a task to stop.
26094         Protect the thread pool with a global lock.
26095
26096 2005-08-24  Wim Taymans  <wim@fluendo.com>
26097
26098         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26099         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26100         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26101         * gst/base/gstbasesink.h:
26102         Handle newsegment events correctly.
26103         Drop buffers out of the segment range.
26104
26105 2005-08-22  Andy Wingo  <wingo@pobox.com>
26106
26107         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26108         macro, implements an interface and gstimplementsinterface for a
26109         new type.
26110
26111 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26112
26113         * check/Makefile.am:
26114         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26115           add a test that does a bunch of state changes on elements
26116           needs some fixing for valgrind
26117         * check/states/sinks.c: (gst_object_suite):
26118           whitespace
26119         * gst/gstcaps.h:
26120           add prototype for gst_caps_is_equal_fixed
26121         * gst/gstplugin.c:
26122         * gst/gstregistrypool.c:
26123           doc fixes
26124
26125 2005-08-24  Andy Wingo  <wingo@pobox.com>
26126
26127         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26128         convert a negative value. Doesn't make much sense. Mostly this is
26129         here to force callers to ensure -1 maps to -1.
26130
26131 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26132
26133         * docs/pwg/advanced-types.xml:
26134           Well done to Michael for catching my deliberate introduction
26135           of this spelling mistake. 
26136         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26137         * gst/gstelement.h:
26138           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26139           unlink pads before removing the element from the bin.
26140
26141 2005-08-24  Andy Wingo  <wingo@pobox.com>
26142
26143         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26144         the same thing as GST_DEBUG=*:4.
26145         (parse_debug_level, parse_debug_category): New helper parsers.
26146
26147 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26148
26149         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26150         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26151         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26152         (gst_base_transform_buffer_alloc),
26153         (gst_base_transform_handle_buffer):
26154           use gboolean return values and pointers to size so we can use the
26155           full GST_BUFFER_SIZE range (guint) for buffer sizes
26156           use GstPadDirection for transform_caps
26157         * gst/base/gstbasetransform.h:
26158           rename get_size to get_unit_size since that's what it is
26159         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26160           use GstPadDirection for transform_caps
26161         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26162         * gst/gstutils.h:
26163           cleanup and debugging
26164
26165 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26166
26167         * gst/gstelement.c: (gst_element_class_init),
26168         (gst_element_set_state), (activate_pads),
26169         (gst_element_save_thyself):
26170         * tools/gst-compprep.c: (main):
26171         * tools/gst-inspect.c: (print_element_properties_info):
26172         * tools/gst-xmlinspect.c: (print_element_properties):
26173           Fixed long standing mem-leak
26174
26175 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26176
26177         * check/gst/gstbin.c: (GST_START_TEST):
26178         * gst/gstbin.c: (bin_bus_handler):
26179         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26180         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26181         (gst_message_new_warning), (gst_message_new_tag),
26182         (gst_message_new_state_changed), (gst_message_new_segment_start),
26183         (gst_message_new_segment_done), (gst_message_new_custom):
26184         * gst/gstmessage.h:
26185         * tools/gst-launch.c: (event_loop):
26186         * tools/gst-md5sum.c: (event_loop):
26187           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26188           that applications can sensibly post custom messages with references
26189           to their own objects.
26190
26191 2005-08-24  Andy Wingo  <wingo@pobox.com>
26192
26193         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26194         already.
26195
26196 2005-08-24  Wim Taymans  <wim@fluendo.com>
26197
26198         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26199         (gst_base_transform_transform_caps),
26200         (gst_base_transform_transform_size),
26201         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26202         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26203         (gst_base_transform_handle_buffer):
26204         * gst/base/gstbasetransform.h:
26205         Many fixes and new features added by Thomas. Can now also do
26206         transforms with variable sizes and a custom fixate_caps function.
26207
26208 2005-08-24  Wim Taymans  <wim@fluendo.com>
26209
26210         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26211         Some debugging.
26212
26213         * gst/gstclock.h:
26214         Cast to ClockTime before formatting to time.
26215
26216         * gst/gstutils.h:
26217         Cleanups.
26218
26219 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26220
26221         * check/gst-libs/controller.c: (GST_START_TEST),
26222         (gst_controller_suite):
26223         * docs/gst/tmpl/gstcaps.sgml:
26224         * docs/gst/tmpl/gstghostpad.sgml:
26225         * docs/gst/tmpl/gstquery.sgml:
26226         * docs/gst/tmpl/gstutils.sgml:
26227         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26228         (gst_object_sink_values), (gst_object_get_value_arrays),
26229         (gst_object_get_value_array):
26230           gracefully handle helper method calls to objects that are not beeing
26231           controlled, added test case for that          
26232
26233 2005-08-23  Wim Taymans  <wim@fluendo.com>
26234
26235         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26236         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26237         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26238         (gst_event_parse_qos), (gst_event_new_seek),
26239         (gst_event_parse_seek):
26240         * gst/gstevent.h:
26241         Some more debugging output and doc cleanups.
26242
26243         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26244         Fix possible deadlock.
26245
26246 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26247
26248         * docs/gst/gstreamer-docs.sgml:
26249         * docs/gst/gstreamer-sections.txt:
26250         * docs/gst/gstreamer.types:
26251         * docs/gst/tmpl/.cvsignore:
26252         * gst/gstbin.h:
26253         * gst/gstbus.c:
26254         * gst/gstelement.c:
26255         * gst/gstevent.h:
26256           added 100 symbols from gstreamer-unused.txt to the right sections
26257           fixed more broken comments
26258           added GstBus to docs
26259
26260 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26261
26262         * docs/gst/gstreamer-sections.txt:
26263         * docs/gst/tmpl/.cvsignore:
26264         * docs/gst/tmpl/gstbin.sgml:
26265         * docs/gst/tmpl/gstbuffer.sgml:
26266         * gst/base/gstbasesrc.c:
26267         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26268         * gst/gstbuffer.c:
26269         * gst/gstbuffer.h:
26270         * tools/gst-launch.1.in:
26271           inlined more doc comments, added missing comments and fixed comments
26272           fixed typos
26273
26274 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26275
26276         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26277           some debugging
26278         * gst/gstcaps.h:
26279           whitespace fixes
26280         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26281           more debugging
26282         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26283         * gst/gststructure.h:
26284           add a fixate function for booleans; add a FIXME that these func
26285           names should probably be gst_structure_fixate_*
26286
26287 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26288
26289         * docs/gst/gstreamer-docs.sgml:
26290         * docs/gst/gstreamer-sections.txt:
26291         * gst/Makefile.am:
26292         * gst/gstbin.c: (gst_bin_get_type),
26293         (gst_bin_child_proxy_get_child_by_index),
26294         (gst_bin_child_proxy_get_children_count),
26295         (gst_bin_child_proxy_init):
26296         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26297         (gst_child_proxy_get_child_by_index),
26298         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26299         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26300         (gst_child_proxy_get), (gst_child_proxy_set_property),
26301         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26302         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26303         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26304         * gst/gstchildproxy.h:
26305         * gst/parse/grammar.y:
26306         * tools/gst-inspect.c: (print_interfaces),
26307         (print_element_properties_info), (print_element_info):
26308           ported gstchildproxy over from 0.8
26309           ported gst-inspect fixes and enhancements over from 0.8
26310
26311 2005-08-22  Wim Taymans  <wim@fluendo.com>
26312
26313         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26314         (gst_base_transform_handle_buffer):
26315         Also call the transform function if we have ANY caps.
26316
26317         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26318         Fix debug info.
26319
26320 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26321
26322         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26323           Don't pretend to handle seek events if the source is not seekable
26324
26325 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26326
26327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26328           Remove extra parameter to debug output
26329
26330         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26331         (gst_base_src_do_seek), (gst_base_src_activate_push):
26332           Fix seek event handling.
26333
26334         * gst/gstpipeline.c: (gst_pipeline_change_state):
26335         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26336         (gst_queue_src_activate_push):
26337           Don't start the src pad task on FLUSH_STOP if the pad
26338           isn't linked.
26339           Debug changes.
26340
26341 2005-08-22  Wim Taymans  <wim@fluendo.com>
26342
26343         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26344         Added check for gst_static_caps_get() refcounting.
26345
26346 2005-08-22  Wim Taymans  <wim@fluendo.com>
26347
26348         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26349         Make _static_caps_get() refcounting sane.
26350         
26351         * gst/gstelement.c: (gst_element_set_state):
26352         Add g_return_val_if_fail() to protect against segfaults.
26353
26354 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26355
26356         * docs/gst/tmpl/gstevent.sgml:
26357         * gst/gstevent.c:
26358         * gst/gstevent.h:
26359           inlined remaining docs, added missing doc comments
26360
26361 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26362
26363         * check/gst/gstbin.c: (GST_START_TEST):
26364           since we don't know when preroll is done, use refcount range
26365           check for the sink
26366         * gst/check/gstcheck.h:
26367           add macro for checking refcount range
26368
26369 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26370
26371         * check/Makefile.am:
26372           clean up environment for when registry gets built versus
26373           when actual tests are run; valgrind seems to not report
26374           leaks if GST_PLUGIN_PATH is set to some specific values
26375         * check/gst/gstbin.c: (GST_START_TEST):
26376           add more refcounting checks; maybe this exposes a
26377           preroll lock bug ?
26378         * common/check.mak:
26379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26380         * gst/check/gstcheck.h:
26381         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26382         (gst_bin_change_state):
26383         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26384           add/fix debugging/whitespace
26385
26386 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26387
26388         * check/gst/gstevent.c: (event_probe), (test_event),
26389         (GST_START_TEST):
26390          Er, don't call gst_bin_watch_for_state_change you idiot.
26391
26392 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26393
26394         * check/Makefile.am:
26395           Use CHECK_CFLAGS and CHECK_LIBS
26396         * check/gst/gstevent.c: (event_probe), (test_event),
26397         (GST_START_TEST):
26398           Don't leak events.
26399         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26400         (gst_base_src_start), (gst_base_src_stop),
26401         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26402         (gst_base_src_change_state):
26403           Sprinkle gst_base_src_stop liberally around error paths to fix
26404           problems reusing a source after failed state changes.
26405         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26406         (helper_find_suggest), (gst_type_find_helper):
26407           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26408         * gst/gstevent.h:
26409         * docs/gst/tmpl/gstevent.sgml:
26410           Migrate part of the docs from the SGML file. Wait for ensonic to
26411           tell me how I did it wrong ;)
26412         * tools/gst-typefind.c: (main):
26413           Extra robustness to state changes between files.
26414
26415 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26416
26417         * check/Makefile.am:
26418           don't valgrind the controller test - it's leaking - Stefan, HELP
26419         * gst/check/gstcheck.c: (gst_check_message_error),
26420         (gst_check_chain_func), (gst_check_setup_element),
26421         (gst_check_teardown_element), (gst_check_setup_src_pad),
26422         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26423         (gst_check_teardown_sink_pad):
26424         * gst/check/gstcheck.h:
26425           add a bunch of methods to set up elements, and src and sink pads
26426         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26427         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26428         (GST_START_TEST):
26429           use them
26430         * gst/gstmessage.c:
26431         * gst/gsttag.h:
26432           whitespace/doc fixes
26433
26434 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26435
26436         * gst/gstelement.h:
26437           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26438           be handled by the application and not always printed as well
26439
26440 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26441
26442         * check/Makefile.am:
26443           set GST_TOOLS_DIR
26444         * gst/check/gstcheck.c: (gst_check_message_error):
26445         * gst/check/gstcheck.h:
26446           add a fail_unless_equals_int
26447           add fail_unless for error messages
26448
26449 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26450
26451         * check/Makefile.am:
26452         * check/gst.supp:
26453         * common/Makefile.am:
26454         * common/check.mak:
26455         * common/gst.supp:
26456           factor out some of the common stuff so we can use it
26457
26458 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26459
26460         * check/Makefile.am:
26461         * check/gst/gstiterator.c: (GST_START_TEST):
26462         * check/gst/gstsystemclock.c: (GST_START_TEST),
26463         (gst_systemclock_suite):
26464         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26465         * gst/gstclock.c:
26466           valgrind more tests
26467
26468 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26469
26470         * check/elements/.cvsignore:
26471         * check/elements/gstfakesrc.c:
26472           rename to name of element
26473         * check/elements/identity.c: (chain_func), (event_func),
26474         (setup_identity), (cleanup_identity), (GST_START_TEST),
26475         (identity_suite), (main):
26476           add a test for identity
26477         * check/Makefile.am:
26478         * pkgconfig/Makefile.am:
26479         * pkgconfig/gstreamer-check.pc.in:
26480         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26481         * gst/check:
26482         * gst/Makefile.am:
26483         * configure.ac:
26484           move the check stuff to a library that gets installed
26485         * check/gst-libs/controller.c: (GST_START_TEST):
26486         * check/gst-libs/gdp.c:
26487         * check/gst/gst.c: (GST_START_TEST):
26488         * check/gst/gstbin.c:
26489         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26490         * check/gst/gstbus.c:
26491         * check/gst/gstcaps.c: (GST_START_TEST):
26492         * check/gst/gstelement.c:
26493         * check/gst/gstghostpad.c:
26494         * check/gst/gstiterator.c:
26495         * check/gst/gstmessage.c:
26496         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26497         * check/gst/gstobject.c:
26498         * check/gst/gstpad.c: (GST_START_TEST):
26499         * check/gst/gststructure.c: (GST_START_TEST):
26500         * check/gst/gstsystemclock.c: (GST_START_TEST),
26501         (gst_systemclock_suite):
26502         * check/gst/gsttag.c: (gst_tag_suite):
26503         * check/gst/gstvalue.c:
26504         * check/pipelines/cleanup.c:
26505         * check/pipelines/simple_launch_lines.c:
26506         * check/states/sinks.c:
26507           change include statement
26508
26509         * docs/gst/gstreamer-sections.txt:
26510         * docs/gst/tmpl/gstpad.sgml:
26511           document more pad stuff
26512         * gst/gstminiobject.c: (gst_mini_object_ref),
26513         (gst_mini_object_unref):
26514           debug refcounting
26515
26516 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26517
26518         * docs/gst/tmpl/gst.sgml:
26519         * gst/gst.c:
26520           eliminate another tmpl file, fix spelling in the long-description
26521
26522 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26523
26524         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26525         (test_event), (timediff), (gstevents_suite):
26526           Should fix build on 64-bit arch's
26527
26528 2005-08-18  Andy Wingo  <wingo@pobox.com>
26529
26530         Make sure that when a pipeline goes to PLAYING, that data has
26531         actually hit the sink.
26532
26533         * check/states/sinks.c (test_sink): A sink that doesn't get any
26534         data shouldn't return SUCCESS for going to either PLAYING or
26535         PAUSED. Test also the return values on the way back down.
26536
26537         * gst/gstelement.c (gst_element_set_state): When changing the
26538         state of an element currently changing state asynchronously, go to
26539         lost-state after commiting the pending state. Makes future calls
26540         to get_state continue to return ASYNC.
26541
26542         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26543         ASYNC when going to PLAYING if we still don't have preroll, as can
26544         happen with live sources.
26545
26546 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26547
26548         * docs/pwg/advanced-types.xml:
26549           Hack long paragraph into 2 chunks as a workaround for buggy
26550           jadetex version in sid and breezy that loops infinitely and
26551           eats all RAM.
26552
26553 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26554
26555         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26556         (test_event), (timediff), (gstevents_suite):
26557           Provide more error margin in clock measurements to allow for 
26558           g_get_current_time inaccuracies.
26559
26560 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26561
26562         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26563         (test_event), (timediff), (gstevents_suite):
26564            Fix error message output so I might be able to tell why the
26565            test works here but fails on the build farm.
26566
26567 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26568
26569         * check/Makefile.am:
26570         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26571         (test_event), (timediff), (gstevents_suite), (main):
26572           I wrote a test!
26573
26574         * docs/design/part-seeking.txt:
26575           Spelling correction
26576
26577         * docs/gst/tmpl/gstevent.sgml:
26578         * docs/gst/tmpl/gstfakesrc.sgml:
26579           Docs updates.
26580
26581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26582           Treat a buffer-without-newsegment the same as a receiving 
26583           a newsegment not in time format, and disable syncing to the clock
26584           with a warning.
26585
26586         * gst/gstbus.c: (gst_bus_set_sync_handler):
26587           Assert if anyone tries to replace the existing sync_handler for bus, 
26588           as only the owner should be setting it.
26589
26590         * gst/gstevent.h:
26591           Have a fixed set of custom event enums with events identified by
26592           their structure name (as in 0.8), rather than a free-for-all
26593           allowing collisions between enum values from different plugins.
26594
26595         * gst/gstpad.c: (gst_pad_class_init):
26596           Docs change.
26597           
26598         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26599           Handle out-of-band downstream events from the sending thread.
26600
26601 2005-08-17  Andy Wingo  <wingo@pobox.com>
26602
26603         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26604         play-timeout==0 to mean no timeout at all. In that case, don't
26605         bother with a get_state or a warning, just return directly, even
26606         if it's ASYNC.
26607
26608         * gst/base/gstbasetransform.c: Debug changes.
26609
26610         * gst/gstutils.h:
26611         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26612         ensure bins post state change messages. A bit of a hack but I can't
26613         think of a way to avoid it.
26614
26615         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26616
26617 2005-08-16  Andy Wingo  <wingo@pobox.com>
26618
26619         * gst/base/gstadapter.h:
26620         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26621         peek() but you own the data. Not terribly efficient atm.
26622
26623 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26624
26625         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26626         (gst_element_found_tags):
26627         * gst/gstutils.h:
26628           Add two utility functions for tag handling.
26629
26630 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26631
26632         * docs/manual/advanced-dataaccess.xml:
26633         * docs/manual/basics-helloworld.xml:
26634           Fix docs to use _bin_add() before _link(), which fixes the examples
26635           with recent core versions (reported by Madhan Raj M
26636           <raj_madan@rediffmail.com>, #313199).
26637
26638 2005-08-16  Wim Taymans  <wim@fluendo.com>
26639
26640         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26641         Added subtract checks.
26642
26643         * docs/design/part-events.txt:
26644         Some more docs about newsegment
26645
26646         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26647         Fix FIXME
26648
26649         * gst/gstcaps.c: (gst_caps_to_string):
26650         Add comments, cleanups.
26651         
26652         * gst/gstelement.c: (gst_element_save_thyself):
26653         cleanups
26654         
26655         * gst/gstvalue.c: (gst_value_collect_int_range),
26656         (gst_string_unwrap), (gst_value_union_int_int_range),
26657         (gst_value_union_int_range_int_range),
26658         (gst_value_intersect_int_int_range),
26659         (gst_value_intersect_int_range_int_range),
26660         (gst_value_intersect_double_double_range),
26661         (gst_value_intersect_double_range_double_range),
26662         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26663         (gst_value_subtract_int_range_int),
26664         (gst_value_subtract_double_range_double),
26665         (gst_value_subtract_double_range_double_range),
26666         (gst_value_subtract_from_list), (gst_value_subtract_list),
26667         (gst_value_can_compare), (gst_value_compare_fraction):
26668         Cleanups, add comments, remove unneeded asserts.
26669
26670 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26671
26672         * tools/gst-launch.c: (event_loop):
26673           don't convert NULL structures to strings
26674
26675 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26676
26677         * docs/gst/gstreamer-sections.txt:
26678           made some defines private
26679         * docs/gst/tmpl/gstconfig.sgml:
26680         * docs/gst/tmpl/gstqueue.sgml:
26681         * docs/gst/tmpl/gsttaglist.sgml:
26682         * docs/gst/tmpl/gsttypes.sgml:
26683         * docs/gst/tmpl/gstutils.sgml:
26684         * docs/pwg/appendix-porting.xml:
26685         * gst/base/gstbasesink.h:
26686         * gst/base/gstbasesrc.c:
26687         * gst/base/gstbasesrc.h:
26688         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26689         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26690         * gst/gstelement.c: (gst_element_class_init):
26691         * gst/gstpad.c: (gst_pad_class_init):
26692         * gst/gstqueue.c: (gst_queue_class_init):
26693         * gst/gstxml.c: (gst_xml_class_init):
26694           documented all undocumented signal inline
26695         * libs/gst/controller/gst-controller.h:
26696           added padding
26697
26698 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26699
26700         * docs/pwg/appendix-porting.xml:
26701           Document _set_link_function -> _set_setcaps_function.
26702
26703 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26704
26705         * check/Makefile.am:
26706           add a .check target for running the check
26707         * check/gst-libs/controller.c: (GST_START_TEST):
26708           cosmetic fixups
26709         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26710           complete checks for gstbuffer; would be nice if I could get the
26711           gcov stuff to work so I can see if I actually completed gstbuffer.c
26712         * check/gstcheck.h:
26713           add ASSERT_BUFFER_REFCOUNT
26714
26715 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26716
26717         * docs/gst/gstreamer-sections.txt:
26718         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26719         * gst/gsttag.h:
26720           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26721           spew out a warning if a tag that is already registered
26722           is re-registered, unless it is re-registered with a 
26723           different type (#308438).
26724
26725 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26726
26727         * docs/pwg/appendix-porting.xml:
26728         * docs/pwg/building-state.xml:
26729           Add some paragraphs about state changes in 0.9 to the PWG
26730           and the porting guide, in particular about the new meaning
26731           of GST_STATE_PAUSED and how to write state change functions
26732           with concurrent access by multiple threads in mind.
26733
26734 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26735
26736         * docs/gst/gstreamer-docs.sgml:
26737         * docs/libs/gstreamer-libs-docs.sgml:
26738           added deprecation and since indexes
26739         * libs/gst/controller/gst-controller.c:
26740         * libs/gst/controller/gst-helper.c:
26741           added since tags
26742
26743
26744 2005-08-11  Wim Taymans  <wim@fluendo.com>
26745
26746         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26747         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26748         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26749         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26750         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26751         (gst_ghost_pad_set_target):
26752         Actually implement (re)setting the target on a ghostpad
26753         as described in the docs.
26754
26755 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26756
26757         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26758           Check whether GST_DEBUG_NO_COLOR environment variable is
26759           set and disable coloured debug output if that is the case.
26760
26761 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26762
26763         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26764         (gst_type_find_helper):
26765           The memory returned by gst_type_find_peek() needs to
26766           stay valid until the end of a typefind function, and
26767           typefind functions may keep results from different 
26768           offsets around, so we can't just unref the buffer from
26769           the previous _peek(), but have to save all buffers 
26770           returned by _peek() until typefinding is done and only
26771           free them then.
26772
26773 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26774
26775         * docs/gst/gstreamer-sections.txt:
26776         * gst/gstutils.h:
26777           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26778
26779 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26780
26781         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26782           Fix a pretty good memleak.
26783
26784 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26785
26786         * gst/gstiterator.h:
26787           Fix wrong include and 'make distcheck'.
26788
26789 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26790
26791         * gst/gstbin.c: (bin_bus_handler):
26792           Use gst_element_post_message() instead.
26793
26794 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26795
26796         * gst/base/gstadapter.h:
26797         * gst/base/gstbasesink.h:
26798         * gst/base/gstbasesrc.h:
26799         * gst/base/gstbasetransform.h:
26800         * gst/base/gstcollectpads.h:
26801         * gst/base/gstpushsrc.h:
26802         * gst/gstiterator.h:
26803           Add padding to our base elements' class and instance structs and
26804           to GstIterator (you will need to rebuild all plugins and apps!)
26805
26806 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26807
26808         * gst/gstbin.c: (bin_bus_handler):
26809           Make default message forwarding from child->bus to bin->bus
26810           threadsafe and make it not emit warnings if the parent has no bus.
26811
26812 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26813
26814         * gst/gstelement.c: (activate_pads):
26815           On paused->ready, set pad->caps to NULL, as is the documented
26816           behaviour in this state change. Fixes playback of series of
26817           media files when visualization is enabled in Totem.
26818
26819 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26820
26821         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26822           Allow NULL as filter-caps (which means "any").
26823
26824 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26825
26826         * docs/libs/gstreamer-libs-sections.txt:
26827         * libs/gst/controller/gst-controller.c:
26828         * libs/gst/controller/gst-controller.h:
26829         * libs/gst/controller/gst-helper.c:
26830           adding more entries to the docs and fix small doc-bugs
26831
26832 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26833
26834         * docs/gst/gstreamer-docs.sgml:
26835         * docs/gst/gstreamer-sections.txt:
26836         * docs/gst/gstreamer.types:
26837         * docs/gst/tmpl/gstbasesink.sgml:
26838         * docs/gst/tmpl/gstbasesrc.sgml:
26839         * docs/gst/tmpl/gstbasetransform.sgml:
26840         * docs/gst/tmpl/gstfakesrc.sgml:
26841         * gst/base/gstcollectpads.c:
26842         * gst/base/gstcollectpads.h:
26843         * libs/gst/controller/gst-controller.c:
26844         * libs/gst/controller/gst-controller.h:
26845         * libs/gst/controller/gst-helper.c:
26846         * libs/gst/controller/gst-interpolation.c:
26847         * libs/gst/controller/lib.c:
26848           added long/short desc for controller docs
26849           added collectpads base class docs
26850           added correct includes to base-class docs
26851
26852 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26853
26854         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26855         (gst_test_mono_source_set_property),
26856         (gst_test_mono_source_class_init), (GST_START_TEST),
26857         (gst_controller_suite):
26858         * docs/gst/gstreamer-docs.sgml:
26859         * docs/gst/gstreamer-sections.txt:
26860         * docs/gst/gstreamer.types:
26861         * docs/libs/gstreamer-libs-docs.sgml:
26862         * docs/libs/gstreamer-libs-sections.txt:
26863         * gst/base/gstadapter.c:
26864         * libs/gst/controller/gst-controller.c:
26865         (gst_controlled_property_new), (gst_controlled_property_free),
26866         (gst_controller_new_valist),
26867         (gst_controller_remove_properties_valist),
26868         (gst_controller_sink_values), (_gst_controller_finalize):
26869         * libs/gst/controller/gst-controller.h:
26870         * libs/gst/controller/gst-helper.c:
26871         (gst_object_control_properties), (gst_object_uncontrol_properties),
26872         (gst_object_get_controller), (gst_object_set_controller),
26873         (gst_object_sink_values), (gst_object_get_value_arrays),
26874         (gst_object_get_value_array):
26875           more tests (and fixes) for the controller
26876           more docs for the controller
26877           integrated companies docs for the adapter 
26878
26879 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26880
26881         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26882         (GST_START_TEST), (fakesrc_suite):
26883           add tests for sizetype
26884
26885 2005-08-04  Andy Wingo  <wingo@pobox.com>
26886
26887         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26888         fixes buffer_alloc proxying among other things.
26889
26890         * gst/base/gstbasetransform.c:
26891         * gst/base/gstbasetransform.h:
26892         Revert patch to gstbasetransform from 7-28 removing
26893         delay_configure.
26894
26895         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26896         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26897         Semantics changed, should return not the size of the output buffer
26898         but the byte size of a buffer with a given caps.
26899
26900         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26901         debug object.
26902         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26903         out) are not the pad caps until setcaps finishes.
26904         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26905         not-in-place case as well. Deal with changing from in-place to
26906         not-in-place within calling pad_alloc_buffer. Still a bit
26907         concerned about the overhead here...
26908
26909 2005-08-03  Andy Wingo  <wingo@pobox.com>
26910
26911         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26912         fixating is an error.
26913
26914 2005-08-04  Edward Hervey  <edward@fluendo.com>
26915
26916         * gst/base/gstadapter.h: 
26917         Added gst_adapter_get_type() to the header
26918
26919 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26920
26921         * check/Makefile.am:
26922         * check/gst-libs/controller.c:
26923         * libs/gst/controller/gst-controller.c:
26924         (gst_controller_new_valist):
26925           added check test suite for the controller
26926         * gst/base/gstpushsrc.c:
26927           fixed a doc typo
26928
26929 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26930
26931         * docs/gst/Makefile.am:
26932         * docs/gst/gstreamer-docs.sgml:
26933         * docs/gst/gstreamer-sections.txt:
26934         * docs/gst/gstreamer.types:
26935         * docs/gst/tmpl/gstfakesrc.sgml:
26936         * gst/base/README:
26937         * gst/base/gstbasesink.c:
26938         * gst/base/gstbasesink.h:
26939         * gst/base/gstbasesrc.c:
26940         * gst/base/gstbasesrc.h:
26941         * gst/base/gstbasetransform.c:
26942         * gst/base/gstpushsrc.c:
26943         * gst/base/gstpushsrc.h:
26944           add short/long description docs to base classes
26945           add pushsrc to the docs
26946           remove consolidated doc fragments
26947
26948 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26949
26950         * configure.ac:
26951         * docs/libs/Makefile.am:
26952         * docs/libs/gstreamer-libs-docs.sgml:
26953         * docs/libs/gstreamer-libs-sections.txt:
26954         * docs/libs/gstreamer-libs.types:
26955         * examples/Makefile.am:
26956         * examples/controller/.cvsignore:
26957         * examples/controller/Makefile.am:
26958         * examples/controller/audio-example.c: (main):
26959         * libs/gst/Makefile.am:
26960         * libs/gst/controller/.cvsignore:
26961         * libs/gst/controller/Makefile.am:
26962         * libs/gst/controller/gst-controller.c:
26963         (on_object_controlled_property_changed), (gst_timed_value_compare),
26964         (gst_timed_value_find),
26965         (gst_controlled_property_set_interpolation_mode),
26966         (gst_controlled_property_new), (gst_controlled_property_free),
26967         (gst_controller_find_controlled_property),
26968         (gst_controller_new_valist), (gst_controller_new),
26969         (gst_controller_remove_properties_valist),
26970         (gst_controller_remove_properties), (gst_controller_set),
26971         (gst_controller_set_from_list), (gst_controller_unset),
26972         (gst_controller_get), (gst_controller_get_all),
26973         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26974         (gst_controller_get_value_array),
26975         (gst_controller_set_interpolation_mode),
26976         (_gst_controller_finalize), (_gst_controller_init),
26977         (_gst_controller_class_init), (gst_controller_get_type):
26978         * libs/gst/controller/gst-controller.h:
26979         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26980         (g_object_uncontrol_properties), (g_object_get_controller),
26981         (g_object_set_controller), (g_object_sink_values),
26982         (g_object_get_value_arrays), (g_object_get_value_array):
26983         * libs/gst/controller/gst-interpolation.c:
26984         (gst_controlled_property_find_timed_value_node),
26985         (interpolate_none_get), (interpolate_trigger_get),
26986         (interpolate_trigger_get_value_array):
26987         * libs/gst/controller/lib.c: (gst_controller_init):
26988         * pkgconfig/Makefile.am:
26989         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26990         * pkgconfig/gstreamer-control.pc.in:
26991         * testsuite/Makefile.am:
26992         * testsuite/controller/.cvsignore:
26993         * testsuite/controller/Makefile.am:
26994         * testsuite/controller/interpolator.c: (main):
26995           added controller code
26996           removed dparam pc files
26997
26998 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26999         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27000         (gst_collectpads_stop):
27001           Broadcast the condition when shutting down, to make sure we wake all
27002           threads up. Shut down pads on finalize, for safety.
27003
27004 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27005         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27006         (gst_base_transform_handle_buffer),
27007         (gst_base_transform_change_state):
27008           Handle PAUSED->READY->PAUSED transition after negotiation
27009           occurred already.
27010         * gst/gstmessage.c: (gst_message_init):
27011           Extra piece of debug for new messages.
27012
27013 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27014
27015         * configure.ac:
27016         * docs/gst/tmpl/gstbasesrc.sgml:
27017         * docs/gst/tmpl/gstelement.sgml:
27018         * docs/gst/tmpl/gstevent.sgml:
27019         * docs/gst/tmpl/gstfakesrc.sgml:
27020         * docs/gst/tmpl/gstformat.sgml:
27021         * docs/gst/tmpl/gstghostpad.sgml:
27022         * docs/gst/tmpl/gstpad.sgml:
27023         * docs/gst/tmpl/gstquery.sgml:
27024         * docs/gst/tmpl/gststructure.sgml:
27025         * docs/gst/tmpl/gsttaglist.sgml:
27026         * docs/gst/tmpl/gstvalue.sgml:
27027         * docs/libs/gstreamer-libs-docs.sgml:
27028         * docs/libs/gstreamer-libs-sections.txt:
27029         * docs/libs/gstreamer-libs.types:
27030         * libs/gst/Makefile.am:
27031         * libs/gst/control/.cvsignore:
27032         * libs/gst/control/Makefile.am:
27033         * libs/gst/control/control.c:
27034         * libs/gst/control/control.h:
27035         * libs/gst/control/dparam.c:
27036         * libs/gst/control/dparam.h:
27037         * libs/gst/control/dparam_smooth.c:
27038         * libs/gst/control/dparam_smooth.h:
27039         * libs/gst/control/dparamcommon.h:
27040         * libs/gst/control/dparammanager.c:
27041         * libs/gst/control/dparammanager.h:
27042         * libs/gst/control/dplinearinterp.c:
27043         * libs/gst/control/dplinearinterp.h:
27044         * libs/gst/control/unitconvert.c:
27045         * libs/gst/control/unitconvert.h:
27046         * testsuite/Makefile.am:
27047         * testsuite/dynparams/.cvsignore:
27048         * testsuite/dynparams/Makefile.am:
27049         * testsuite/dynparams/dparamstest.c:
27050         * tools/Makefile.am:
27051         * tools/gst-inspect.c: (print_element_info), (main):
27052         * tools/gst-xmlinspect.c: (print_element_info), (main):
27053           deactivate and remove dparams (libgstcontrol)
27054
27055 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27056
27057         * gst/elements/gsttypefindelement.c:
27058         (gst_type_find_element_have_type), (gst_type_find_element_init),
27059         (stop_typefinding), (gst_type_find_element_handle_event),
27060         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27061         * gst/elements/gsttypefindelement.h:
27062           Set caps on all outgoing buffers, not just the first one.
27063
27064 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27065
27066         * gst/elements/gsttypefindelement.c:
27067         (gst_type_find_element_have_type),
27068         (gst_type_find_element_check_set_buffer_caps),
27069         (gst_type_find_element_init), (stop_typefinding),
27070         (gst_type_find_element_handle_event),
27071         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27072         * gst/elements/gsttypefindelement.h:
27073           Set caps on first outgoing buffer when we've found the type.
27074
27075 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27076
27077         * docs/gst/gstreamer-docs.sgml:
27078         * docs/gst/gstreamer-sections.txt:
27079         * docs/gst/tmpl/gstscheduler.sgml:
27080         * docs/gst/tmpl/gstschedulerfactory.sgml:
27081           Remove some old cruft from docs.
27082
27083 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27084
27085         * gst/gstpad.h:
27086           Fix inline docs for GstPadLinkReturn.
27087           
27088         * gst/gststructure.c: (gst_structure_has_name):
27089         * gst/gststructure.h:
27090         * docs/gst/gstreamer-sections.txt:
27091           New API: gst_structure_has_name().
27092
27093 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27094
27095         * configure.ac:
27096           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27097           and _LARGEFILE_SOURCE in config.h as required. Do not 
27098           export those flags in our .pc files any longer (#142209).
27099
27100           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27101
27102         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27103         (gst_file_sink_do_seek), (gst_file_sink_event),
27104         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27105           Redo seek/tell calls with large file support in mind; add some
27106           debugging messages; add log message that tells us when large
27107           file support is unavailable or not enabled for some reason.
27108
27109         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27110           Add log message that tells us when large file support 
27111           is unavailable or not enabled for some reason.
27112
27113 2005-07-29  Wim Taymans  <wim@fluendo.com>
27114
27115         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27116         Added test for removing an element with ghostpad from a bin.
27117         Fixed test as current implementation does the right thing.
27118
27119         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27120         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27121         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27122         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27123         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27124         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27125         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27126         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27127         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27128         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27129         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27130         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27131         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27132         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27133         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27134         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27135         * gst/gstghostpad.h:
27136         Clean up ghostpads, remove properties for internal stuff.
27137         Make threadsafe.
27138         Fix refcounting.
27139         Prepare for switching targets, not all use cases work yet.
27140
27141 2005-07-29  Wim Taymans  <wim@fluendo.com>
27142
27143         * docs/design/part-gstghostpad.txt:
27144         Small update.
27145
27146         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27147         (gst_bin_remove_func):
27148         Unlinking pads while holding the bin LOCK is not a good
27149         idea.
27150
27151         * gst/gstpad.c: (gst_pad_class_init),
27152         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27153         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27154         No prob setting template after creating the pad.
27155
27156 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27157
27158         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27159         (gst_bus_peek), (gst_bus_source_dispatch),
27160         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27161         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27162           gst_bus_poll may be called from other threads. Handle
27163           this nicely by not making poll_data disappear off the
27164           stack once gst_bus_poll returns.
27165           gst_bus_peek now increments the refcount on the returned
27166           message.
27167
27168 2005-07-29  Wim Taymans  <wim@fluendo.com>
27169
27170         * docs/design/part-gstghostpad.txt:
27171         Overview of current GhostPad datastructures and use
27172         cases for changing the target.
27173
27174 2005-07-28  Wim Taymans  <wim@fluendo.com>
27175
27176         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27177         Added checks for hierarchy consistency whan adding linked
27178         elements to bins.
27179
27180         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27181         Added check to test element scheduling without bin/pipeline.
27182
27183         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27184         First add elements to bin, then link.
27185         
27186         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27187         (gst_bin_remove_func):
27188         Unlink pads from elements added/removed from bin to maintain
27189         hierarchy consistency.
27190
27191 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27192
27193         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27194         (gst_base_transform_handle_buffer):
27195         * gst/base/gstbasetransform.h:
27196           Remove broken delay_configure (fixes renegotiation of software
27197           scaling pipelines); remove some leftover printf()s.
27198
27199 2005-07-28  Wim Taymans  <wim@fluendo.com>
27200
27201         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27202         Added some more tests for wrong hierarchy
27203
27204         * docs/design/part-overview.txt:
27205         Some updates.
27206
27207         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27208         Cleanups.
27209
27210         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27211         (gst_element_dispose):
27212         Some more cleanups.
27213
27214         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27215         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27216         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27217         (gst_pad_set_caps), (gst_pad_send_event):
27218         Check for correct hierarchy when linking pads. Moving to
27219         strict requirement for ghostpads when linking elements in
27220         different bins.
27221
27222         * gst/gstpad.h:
27223         Clean ups. Added WRONG_HIERARCHY return value.
27224
27225 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27226
27227         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27228           Better debug if no transform is possible.
27229
27230 2005-07-27  Wim Taymans  <wim@fluendo.com>
27231
27232         * docs/random/wtay/network-transp:
27233         Some old doc I had.
27234
27235 2005-07-27  Wim Taymans  <wim@fluendo.com>
27236
27237         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27238         (gst_dp_event_from_packet):
27239         Fix serialization of seek events.
27240
27241 2005-07-27  Wim Taymans  <wim@fluendo.com>
27242
27243         * check/gst-libs/gdp.c: (GST_START_TEST):
27244         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27245         Fix compilation and fix event serialization.
27246
27247 2005-07-27  Wim Taymans  <wim@fluendo.com>
27248
27249         * CHANGES-0.9:
27250         * docs/design/part-TODO.txt:
27251         * docs/design/part-events.txt:
27252         Some docs updates
27253
27254         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27255         (gst_base_sink_event), (gst_base_sink_do_sync),
27256         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27257         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27258         (gst_base_src_do_seek), (gst_base_src_event_handler),
27259         (gst_base_src_loop):
27260         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27261         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27262         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27263         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27264         (gst_base_transform_set_passthrough),
27265         (gst_base_transform_is_passthrough):
27266         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27267         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27268         Event updates.
27269
27270         * gst/gstbuffer.h:
27271         Use faster casts.
27272
27273         * gst/gstelement.c: (gst_element_seek):
27274         * gst/gstelement.h:
27275         Update gst_element_seek.
27276
27277         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27278         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27279         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27280         (gst_event_new_eos), (gst_event_new_newsegment),
27281         (gst_event_parse_newsegment), (gst_event_new_tag),
27282         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27283         (gst_event_parse_qos), (gst_event_new_seek),
27284         (gst_event_parse_seek), (gst_event_new_navigation):
27285         * gst/gstevent.h:
27286         Make GstEvent use GstStructure. Add parsing code, make sure the
27287         API is sufficiently generic.
27288         Mark possible directions of events and serialization.
27289
27290         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27291         (_gst_message_copy), (gst_message_new_segment_start),
27292         (gst_message_new_segment_done), (gst_message_new_custom),
27293         (gst_message_parse_segment_start),
27294         (gst_message_parse_segment_done):
27295         Small cleanups.
27296
27297         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27298         (gst_pad_set_caps), (gst_pad_send_event):
27299         Update for new events. 
27300         Catch events sent in wrong directions.
27301
27302         * gst/gstqueue.c: (gst_queue_link_src),
27303         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27304         (gst_queue_handle_src_query):
27305         Event updates.
27306
27307         * gst/gsttag.c:
27308         * gst/gsttag.h:
27309         Remove event code from this file.
27310
27311         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27312         (gst_dp_event_from_packet):
27313         Event updates.
27314
27315 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27316
27317         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27318         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27319         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27320           Make debugging actually useful.
27321
27322 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27323
27324         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27325         (gst_pad_fixate_caps):
27326           Implement default fixation once again, so that gst_pad_fixate()
27327           actually does anything at all. This probably needs to be some
27328           sort of a last resort, and use profile-based fixation first, but
27329           since that doesn't exist yet, this is the best we have. Fixes
27330           visualization in Totem.
27331
27332 2005-07-22  Wim Taymans  <wim@fluendo.com>
27333
27334         * docs/design/part-events.txt:
27335         Small update.
27336
27337         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27338         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27339         (gst_base_sink_activate_pull):
27340         Some more comments.
27341
27342         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27343         (gst_fake_src_create):
27344         Fix handoff marshall.
27345
27346         * gst/elements/gstidentity.c: (gst_identity_class_init),
27347         (gst_identity_transform_ip):
27348         We're a real inplace element.
27349
27350         * gst/gstbus.c: (gst_bus_post):
27351         Added some comments.
27352
27353         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27354         * tests/muxing/case1.c: (main):
27355         * tests/sched/dynamic-pipeline.c: (main):
27356         * tests/sched/interrupt1.c: (main):
27357         * tests/sched/interrupt2.c: (main):
27358         * tests/sched/interrupt3.c: (main):
27359         * tests/sched/runxml.c: (main):
27360         * tests/sched/sched-stress.c: (main):
27361         * tests/seeking/seeking1.c: (event_received), (main):
27362         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27363         (main):
27364         * tests/threadstate/threadstate3.c: (main):
27365         * tests/threadstate/threadstate4.c: (main):
27366         * tests/threadstate/threadstate5.c: (main):
27367         Fix the tests.
27368
27369 2005-07-21  Wim Taymans  <wim@fluendo.com>
27370
27371         * docs/design/part-seeking.txt:
27372         Some small additions.
27373
27374         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27375         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27376         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27377         * gst/base/gstbasesink.h:
27378         discont values are gint64, handle the math correctly.
27379
27380         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27381         Make the basesrc report error if the source pad is not linked.
27382
27383         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27384         (gst_queue_loop), (gst_queue_handle_src_query),
27385         (gst_queue_src_activate_push):
27386         Make queue collect data even if the srcpad is not linked.
27387         Start pushing out data as soon as it is linked.
27388
27389         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27390         * gst/gstutils.h:
27391         Added gst_flow_get_name() to ease error reporting.
27392
27393 2005-07-20  Wim Taymans  <wim@fluendo.com>
27394
27395         * gst/gstmessage.c: (gst_message_new_segment_start),
27396         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27397         (gst_message_parse_segment_done):
27398         * gst/gstmessage.h:
27399         Added a bunch of messages for advanced seeking.
27400
27401         * gst/parse/grammar.y:
27402         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27403         (gst_dpman_state_changed):
27404         Fix some new-pad -> pad-added signals
27405
27406 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27407
27408         * docs/manual/appendix-porting.xml:
27409         * docs/pwg/appendix-porting.xml:
27410           Document new-pad/state-change signal renames and the FixedList
27411           type rename.
27412
27413 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27414
27415         * docs/manual/advanced-autoplugging.xml:
27416         * docs/manual/basics-helloworld.xml:
27417         * docs/manual/basics-pads.xml:
27418         * docs/random/ds/0.9-suggested-changes:
27419         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27420         * gst/gstelement.h:
27421         * gst/gstevent.h:
27422         * gst/gstformat.h:
27423         * gst/gstquery.h:
27424         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27425         (gst_structure_parse_array), (gst_structure_parse_value):
27426         * gst/gstvalue.c: (gst_type_is_fixed),
27427         (gst_value_list_prepend_value), (gst_value_list_append_value),
27428         (gst_value_list_get_size), (gst_value_list_get_value),
27429         (gst_value_transform_array_string), (gst_value_serialize_array),
27430         (gst_value_deserialize_array), (gst_value_intersect_array),
27431         (gst_value_is_fixed), (_gst_value_initialize):
27432         * gst/gstvalue.h:
27433           GstElement::new-pad -> pad-added, GstElement::state-change ->
27434           state-changed, GstValueFixedList -> GstValueArray, add format and
27435           flags as their own arguments in gst_element_seek() (should improve
27436           "bindeability"), remove function generators since they don't work
27437           under a whole bunch of compilers (they were deprecated already
27438           anyway).
27439
27440 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27441
27442         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27443         (_gst_debug_register_funcptr):
27444         * gst/gstinfo.h:
27445           Fix illegal cast on some platforms (#309253).
27446
27447 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27448
27449         * gst/gstmessage.c: (gst_message_new_custom):
27450         * gst/gstmessage.h:
27451           Add _new_custom, make _new_application a macro to _new_custom.
27452
27453 2005-07-20  Wim Taymans  <wim@fluendo.com>
27454
27455         * gst/base/gstbasesrc.c: (gst_base_src_init),
27456         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27457         * gst/base/gstbasesrc.h:
27458         Add a gboolean to decide when to push out a discont.
27459
27460         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27461         (gst_queue_loop), (gst_queue_handle_src_query),
27462         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27463         (gst_queue_set_property), (gst_queue_get_property):
27464         Some cleanups.
27465
27466         * tests/threadstate/threadstate1.c: (main):
27467         Make a thread test compile and run... very silly..
27468
27469
27470 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27471
27472         * docs/manual/appendix-porting.xml:
27473           Mention removal of libgstgconf-0.9.la and existence of gconf
27474           elements.
27475
27476 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27477
27478         * docs/pwg/advanced-clock.xml:
27479         * docs/pwg/appendix-porting.xml:
27480         * docs/pwg/intro-preface.xml:
27481         * docs/pwg/other-base.xml:
27482         * docs/pwg/other-manager.xml:
27483         * docs/pwg/other-nton.xml:
27484         * docs/pwg/other-ntoone.xml:
27485         * docs/pwg/other-oneton.xml:
27486         * docs/pwg/pwg.xml:
27487           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27488           demuxer), remove n-to-n (was never written), fix some code examples
27489           and links and update the porting section to include all this.
27490
27491 2005-07-19  Wim Taymans  <wim@fluendo.com>
27492
27493         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27494         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27495         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27496         (gst_queue_src_activate_push), (gst_queue_change_state),
27497         (gst_queue_get_property):
27498         * gst/gstqueue.h:
27499         Propagate GstFlowReturn more intelligently upstream and output
27500         an ERROR/EOS when streaming stopped due to fatal error.
27501
27502 2005-07-19  Wim Taymans  <wim@fluendo.com>
27503
27504         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27505         Don't block forever for the state change to complete, the
27506         pipeline already did with a sensible timeout.
27507
27508 2005-07-19  Wim Taymans  <wim@fluendo.com>
27509
27510         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27511         Make sure we never call the create function is we
27512         got deactivated.
27513
27514 2005-07-19  Andy Wingo  <wingo@pobox.com>
27515
27516         * gst/parse/parse.l: Attempt to solve bug #172815.
27517
27518 2005-07-19  Wim Taymans  <wim@fluendo.com>
27519
27520         * docs/design/part-clocks.txt:
27521         * docs/design/part-events.txt:
27522         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27523         Small docs updates.
27524         Only update the seeking values when we are not
27525         busy streaming.
27526
27527 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27528
27529         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27530           Oops, ignore the result of gst_pad_push_event here.
27531
27532 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27533
27534         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27535         (gst_base_src_activate_push):
27536           Send discont event from the loop function, as pads
27537           aren't activated yet in the activate_push handler.
27538
27539         * gst/gstbin.c: (bin_bus_handler):
27540           Don't leak element name.
27541
27542 2005-07-18  Andy Wingo  <wingo@pobox.com>
27543
27544         * configure.ac: Use AS_LIBTOOL_TAGS.
27545
27546 2005-07-18  Wim Taymans  <wim@fluendo.com>
27547
27548         * docs/gst/gstreamer.types:
27549         Remove deleted types.
27550
27551 2005-07-18  Wim Taymans  <wim@fluendo.com>
27552
27553         * check/elements/gstfakesrc.c: (GST_START_TEST):
27554         * configure.ac:
27555         * gst/Makefile.am:
27556         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27557         (init_popt_callback):
27558         * gst/gst.h:
27559         * gst/gst_private.h:
27560         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27561         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27562         * gst/gstbin.h:
27563         * gst/gstbus.h:
27564         * gst/gstconfig.h.in:
27565         * gst/gstelement.c: (gst_element_class_init),
27566         (gst_element_set_base_time), (gst_element_get_base_time),
27567         (iterator_fold_with_resync), (gst_element_change_state),
27568         (gst_element_dispose), (gst_element_get_bus):
27569         * gst/gstelement.h:
27570         * gst/gstelementfactory.h:
27571         * gst/gsterror.c: (_gst_core_errors_init):
27572         * gst/gsterror.h:
27573         * gst/gstevent.h:
27574         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27575         * gst/gstindex.c:
27576         * gst/gstinfo.c: (_gst_debug_init):
27577         * gst/gstmessage.c: (_gst_message_copy):
27578         * gst/gstmessage.h:
27579         * gst/gstminiobject.h:
27580         * gst/gstobject.c:
27581         * gst/gstobject.h:
27582         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27583         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27584         * gst/gstpad.h:
27585         * gst/gstparse.h:
27586         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27587         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27588         (gst_pipeline_get_last_stream_time):
27589         * gst/gstpipeline.h:
27590         * gst/gstpluginfeature.h:
27591         * gst/gstquery.h:
27592         * gst/gstscheduler.c:
27593         * gst/gstscheduler.h:
27594         * gst/gststructure.h:
27595         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27596         (gst_task_finalize), (gst_task_func), (gst_task_create),
27597         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27598         (gst_task_stop), (gst_task_pause):
27599         * gst/gsttask.h:
27600         * gst/gsttypefind.h:
27601         * gst/gsttypes.h:
27602         * gst/registries/gstlibxmlregistry.c: (load_feature),
27603         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27604         * gst/registries/gstxmlregistry.c:
27605         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27606         * gst/schedulers/threadscheduler.c:
27607         * libs/gst/control/dparammanager.h:
27608         * tools/gst-inspect.c: (print_element_list),
27609         (print_plugin_features), (print_element_features):
27610         * tools/gst-xmlinspect.c: (print_element_list),
27611         (print_plugin_info), (main):
27612         Removed plugable schedulers.
27613         Removed Scheduler/Manager from elements.
27614         Removed gsttypes.h, rearranged includes.
27615         Removed dependency pad<->element, element<>pipeline, and
27616         various others,  fix includes.
27617         implement gst_pad_get_parent() with gst_object_get_parent()
27618         Make GstTask sefcontained.
27619         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27620         timeout.
27621         Fix endless loop in iterator_fold_with_resync.
27622
27623
27624 2005-07-18  Wim Taymans  <wim@fluendo.com>
27625
27626         * gst/Makefile.am:
27627         * gst/gstarch.h:
27628         Remove old file.
27629
27630 2005-07-18  Wim Taymans  <wim@fluendo.com>
27631
27632         * gst/Makefile.am:
27633         No more cothreads.h
27634
27635 2005-07-18  Wim Taymans  <wim@fluendo.com>
27636
27637         * gst/cothreads.c:
27638         * gst/cothreads.h:
27639         Let's remove these.
27640
27641 2005-07-18  Wim Taymans  <wim@fluendo.com>
27642
27643         * docs/design/part-dynamic.txt:
27644         * docs/design/part-events.txt:
27645         * docs/design/part-seeking.txt:
27646         Some more docs in the works.
27647
27648         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27649         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27650         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27651         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27652         (gst_base_transform_handle_buffer),
27653         (gst_base_transform_sink_activate_push),
27654         (gst_base_transform_src_activate_pull),
27655         (gst_base_transform_set_passthrough),
27656         (gst_base_transform_is_passthrough):
27657         Refcounting fixes.
27658
27659         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27660         Cleanups.
27661
27662         * gst/gstevent.c: (gst_event_finalize):
27663         Set SRC to NULL.
27664
27665         * gst/gstutils.c: (gst_element_unlink),
27666         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27667         (gst_pad_proxy_setcaps):
27668         * gst/gstutils.h:
27669         Add _get_parent_element() to get a pads parent as an element.
27670
27671 2005-07-18  Wim Taymans  <wim@fluendo.com>
27672
27673         * check/gst/gstbin.c: (GST_START_TEST):
27674         Remove bogus test.
27675
27676 2005-07-18  Wim Taymans  <wim@fluendo.com>
27677
27678         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27679         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27680         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27681         (gst_base_sink_event), (gst_base_sink_do_sync),
27682         (gst_base_sink_chain), (gst_base_sink_loop),
27683         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27684         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27685         Refcounting fixes.
27686         Fix logic for returning ASYNC when not prerolled.
27687
27688 2005-07-18  Wim Taymans  <wim@fluendo.com>
27689
27690         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27691         Fix nasty refcount bug.
27692
27693 2005-07-16 Philippe Khalaf <burger@speedy.org>
27694
27695         * gst/elements/gstfdsrc.c:
27696         * gst/elements/gstfdsrc.h:
27697         * gst/elements/gstelements.c:
27698         * gst/elements/Makefile.am:
27699         Ported fdsrc to 0.9.
27700
27701 2005-07-16  Wim Taymans  <wim@fluendo.com>
27702
27703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27704         (gst_base_sink_do_sync):
27705         Fix compile error.
27706
27707 2005-07-16  Wim Taymans  <wim@fluendo.com>
27708
27709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27710         (gst_base_sink_event), (gst_base_sink_get_times),
27711         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27712         * gst/base/gstbasesink.h:
27713         Store and use discont values when syncing buffers as described
27714         in design docs.
27715         
27716         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27717         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27718         (gst_base_src_activate_push):
27719         Push discont event when starting.
27720
27721         * gst/elements/gstidentity.c: (gst_identity_transform):
27722         Small cleanups.
27723
27724         * gst/gstbin.c: (gst_bin_change_state):
27725         Small cleanups in base_time  distribution.
27726
27727         * gst/gstelement.c: (gst_element_set_base_time),
27728         (gst_element_get_base_time), (gst_element_change_state):
27729         * gst/gstelement.h:
27730         Added methods for the base_time of the element.
27731         Some MT fixes.
27732
27733         * gst/gstpipeline.c: (gst_pipeline_send_event),
27734         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27735         (gst_pipeline_get_last_stream_time):
27736         * gst/gstpipeline.h:
27737         MT fixes.
27738         Handle seeking as described in design doc, remove stream_time
27739         hack.
27740         Cleanups clock and stream_time selection code. Added accessors
27741         for the stream_time.
27742         
27743
27744 2005-07-16  Andy Wingo  <wingo@pobox.com>
27745
27746         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27747         (#305291).
27748
27749 2005-07-16  Wim Taymans  <wim@fluendo.com>
27750
27751         * check/gst/gstbin.c: (GST_START_TEST):
27752         Make elements silent as the deep_notify refs the
27753         parent, which might make the test fail.
27754
27755         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27756         Don't hold the lock for too long.
27757
27758 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27759
27760         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27761           Don't unref the caps we passed to gst_caps_make_writable() after
27762           passing them. gst_caps_make_writable() will do that for us.
27763
27764 2005-07-15  Andy Wingo  <wingo@pobox.com>
27765
27766         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27767         (#157311).
27768
27769         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27770         own marshalling function for the handoff signal. Properly type the
27771         buffer as a buffer. Fixes some warnings. Should do a more general
27772         solution.
27773         (gst_identity_class_init): Plug into the right marshaller.
27774
27775 2005-07-15  Wim Taymans  <wim@fluendo.com>
27776
27777         * docs/design/part-TODO.txt:
27778         * docs/design/part-clocks.txt:
27779         * docs/design/part-element-sink.txt:
27780         * docs/design/part-events.txt:
27781         * docs/design/part-gstpipeline.txt:
27782         Updated docs, mostly DISCONT related.
27783
27784 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27785
27786         * docs/pwg/building-pads.xml:
27787           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27788
27789 2005-07-15  Andy Wingo  <wingo@pobox.com>
27790
27791         * tools/gst-typefind.c: Update, add copyright block.
27792
27793         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27794         Normalize and truncate caps before fixation.
27795
27796         * gst/gstcaps.h:
27797         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27798         discards all but the first structure from its argument.
27799
27800 2005-07-15  Wim Taymans  <wim@fluendo.com>
27801
27802         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27803         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27804         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27805         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27806         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27807         (gst_base_transform_chain), (gst_base_transform_change_state),
27808         (gst_base_transform_set_passthrough),
27809         (gst_base_transform_is_passthrough):
27810         * gst/base/gstbasetransform.h:
27811         Make passthrough work using the bufferpools.
27812         Changed API a bit, subclasses have to write into a buffer
27813         provided by the base class.
27814         More debug info in nego functions.
27815         
27816         * gst/elements/gstidentity.c: (gst_identity_init),
27817         (gst_identity_transform):
27818         Port to new base class.
27819
27820 2005-07-15  Wim Taymans  <wim@fluendo.com>
27821
27822         * gst/gstmessage.c: (gst_message_new_state_changed):
27823         * tools/gst-launch.c: (event_loop), (main):
27824         Totally dump messages in -launch with the -m option.
27825         Fix message name for State messages,
27826
27827 2005-07-14  Wim Taymans  <wim@fluendo.com>
27828
27829         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27830         Post error messages on errors.
27831
27832 2005-07-14  Wim Taymans  <wim@fluendo.com>
27833
27834         * gst/gstcaps.c: (gst_caps_do_simplify):
27835         Remove debug info.
27836
27837         * gst/gsterror.h:
27838         Define error for stream stopped.
27839
27840         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27841         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27842         Do proper return values.
27843
27844         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27845         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27846         (gst_pad_get_range):
27847         Better return values.
27848
27849         * gst/gstpad.h:
27850         Reorganise return values, add macro to check for fatal errors.
27851
27852         * gst/gstqueue.c: (gst_queue_chain):
27853         Return proper GstFlowReturn values,
27854
27855 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27856
27857         * docs/gst/gstreamer-sections.txt:
27858         * docs/gst/gstreamer.types:
27859         * docs/gst/tmpl/gst.sgml:
27860         * docs/gst/tmpl/gstbasesink.sgml:
27861         * docs/gst/tmpl/gstbasesrc.sgml:
27862         * docs/gst/tmpl/gstbasetransform.sgml:
27863         * docs/gst/tmpl/gstbin.sgml:
27864         * docs/gst/tmpl/gstbuffer.sgml:
27865         * docs/gst/tmpl/gstcaps.sgml:
27866         * docs/gst/tmpl/gstclock.sgml:
27867         * docs/gst/tmpl/gstcompat.sgml:
27868         * docs/gst/tmpl/gstconfig.sgml:
27869         * docs/gst/tmpl/gstelement.sgml:
27870         * docs/gst/tmpl/gstelementdetails.sgml:
27871         * docs/gst/tmpl/gstelementfactory.sgml:
27872         * docs/gst/tmpl/gstenumtypes.sgml:
27873         * docs/gst/tmpl/gsterror.sgml:
27874         * docs/gst/tmpl/gstevent.sgml:
27875         * docs/gst/tmpl/gstfakesink.sgml:
27876         * docs/gst/tmpl/gstfakesrc.sgml:
27877         * docs/gst/tmpl/gstfilesink.sgml:
27878         * docs/gst/tmpl/gstfilesrc.sgml:
27879         * docs/gst/tmpl/gstfilter.sgml:
27880         * docs/gst/tmpl/gstformat.sgml:
27881         * docs/gst/tmpl/gstghostpad.sgml:
27882         * docs/gst/tmpl/gstimplementsinterface.sgml:
27883         * docs/gst/tmpl/gstindex.sgml:
27884         * docs/gst/tmpl/gstindexfactory.sgml:
27885         * docs/gst/tmpl/gstinfo.sgml:
27886         * docs/gst/tmpl/gstiterator.sgml:
27887         * docs/gst/tmpl/gstmacros.sgml:
27888         * docs/gst/tmpl/gstmemchunk.sgml:
27889         * docs/gst/tmpl/gstminiobject.sgml:
27890         * docs/gst/tmpl/gstobject.sgml:
27891         * docs/gst/tmpl/gstpad.sgml:
27892         * docs/gst/tmpl/gstpadtemplate.sgml:
27893         * docs/gst/tmpl/gstparse.sgml:
27894         * docs/gst/tmpl/gstpipeline.sgml:
27895         * docs/gst/tmpl/gstplugin.sgml:
27896         * docs/gst/tmpl/gstpluginfeature.sgml:
27897         * docs/gst/tmpl/gstquery.sgml:
27898         * docs/gst/tmpl/gstqueue.sgml:
27899         * docs/gst/tmpl/gstregistry.sgml:
27900         * docs/gst/tmpl/gstregistrypool.sgml:
27901         * docs/gst/tmpl/gstscheduler.sgml:
27902         * docs/gst/tmpl/gstschedulerfactory.sgml:
27903         * docs/gst/tmpl/gststructure.sgml:
27904         * docs/gst/tmpl/gstsystemclock.sgml:
27905         * docs/gst/tmpl/gsttaglist.sgml:
27906         * docs/gst/tmpl/gsttagsetter.sgml:
27907         * docs/gst/tmpl/gsttrace.sgml:
27908         * docs/gst/tmpl/gsttrashstack.sgml:
27909         * docs/gst/tmpl/gsttypefind.sgml:
27910         * docs/gst/tmpl/gsttypefindfactory.sgml:
27911         * docs/gst/tmpl/gsttypes.sgml:
27912         * docs/gst/tmpl/gsturihandler.sgml:
27913         * docs/gst/tmpl/gsturitype.sgml:
27914         * docs/gst/tmpl/gstutils.sgml:
27915         * docs/gst/tmpl/gstvalue.sgml:
27916         * docs/gst/tmpl/gstversion.sgml:
27917         * docs/gst/tmpl/gstxml.sgml:
27918         * docs/libs/tmpl/gstcontrol.sgml:
27919         * docs/libs/tmpl/gstdataprotocol.sgml:
27920         * docs/libs/tmpl/gstdparam.sgml:
27921         * docs/libs/tmpl/gstdplinint.sgml:
27922         * docs/libs/tmpl/gstdpman.sgml:
27923         * docs/libs/tmpl/gstdpsmooth.sgml:
27924         * docs/libs/tmpl/gstgetbits.sgml:
27925         * docs/libs/tmpl/gstunitconvert.sgml:
27926         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27927         (gst_push_src_base_init), (gst_push_src_class_init),
27928         (gst_push_src_init), (gst_push_src_create):
27929         * gst/base/gstpushsrc.h:
27930         * gst/elements/gstelements.c:
27931         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27932         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27933         (gst_fake_sink_init), (gst_fake_sink_set_property),
27934         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27935         (gst_fake_sink_event), (gst_fake_sink_preroll),
27936         (gst_fake_sink_render), (gst_fake_sink_change_state):
27937         * gst/elements/gstfakesink.h:
27938         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27939         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27940         (gst_fake_src_base_init), (gst_fake_src_class_init),
27941         (gst_fake_src_init), (gst_fake_src_event_handler),
27942         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27943         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27944         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27945         (gst_fake_src_create_buffer), (gst_fake_src_create),
27946         (gst_fake_src_start), (gst_fake_src_stop):
27947         * gst/elements/gstfakesrc.h:
27948         * gst/elements/gstfilesink.c: (_do_init),
27949         (gst_file_sink_base_init), (gst_file_sink_class_init),
27950         (gst_file_sink_init), (gst_file_sink_dispose),
27951         (gst_file_sink_set_location), (gst_file_sink_set_property),
27952         (gst_file_sink_get_property), (gst_file_sink_open_file),
27953         (gst_file_sink_close_file), (gst_file_sink_query),
27954         (gst_file_sink_event), (gst_file_sink_render),
27955         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27956         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27957         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27958         * gst/elements/gstfilesink.h:
27959         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27960         (gst_file_src_class_init), (gst_file_src_init),
27961         (gst_file_src_finalize), (gst_file_src_set_location),
27962         (gst_file_src_set_property), (gst_file_src_get_property),
27963         (gst_file_src_map_region), (gst_file_src_map_small_region),
27964         (gst_file_src_create_mmap), (gst_file_src_create_read),
27965         (gst_file_src_create), (gst_file_src_is_seekable),
27966         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27967         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27968         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27969         (gst_file_src_uri_handler_init):
27970         * gst/elements/gstfilesrc.h:
27971           more autistic cleanliness in functions/names/defines
27972
27973 2005-07-13  Andy Wingo  <wingo@pobox.com>
27974
27975         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27976         source couldn't negotiate.
27977
27978         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27979         connections again.
27980
27981         * gst/gstutils.h:
27982         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27983         function. I am channeling Hades. Put your boots on suckers!!!
27984
27985 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27986
27987         * testsuite/caps/Makefile.am:
27988         * testsuite/caps/value_compare.c:
27989         * testsuite/caps/value_intersect.c:
27990         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27991           move two testsuite apps over to the check dir
27992
27993 2005-07-12  Wim Taymans  <wim@fluendo.com>
27994
27995         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27996         Added more debug info in the negotiate process.
27997
27998         * gst/gstmessage.h:
27999         Prepare for segment playback.
28000
28001         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28002         Better debugging.
28003
28004         * gst/gstutils.c:
28005         Some more docs.
28006
28007         * tools/gst-launch.c: (main):
28008         NULL pipeline on errors.
28009
28010 2005-07-12  Andy Wingo  <wingo@pobox.com>
28011
28012         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28013         not it comes from a malloc region. Make sure our copy gets freed.
28014
28015 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28016
28017         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28018         * check/gst/gstmessage.c: (GST_START_TEST):
28019         * check/gst/gststructure.c: (GST_START_TEST),
28020         (gst_structure_suite), (main):
28021           more testing
28022         * gst/gstelement.c: (gst_element_message_full):
28023           clean up GError and debug string now that they get copied
28024         * gst/gstmessage.c: (gst_message_new_error),
28025         (gst_message_new_warning), (gst_message_parse_error),
28026         (gst_message_parse_warning):
28027           use GST_TYPE_G_ERROR for structure_new, and take copies of
28028           arguments, so that we don't mess up refcounting
28029
28030 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28031
28032         * check/Makefile.am:
28033           add per-test valgrind targets
28034         * check/gst-libs/gdp.c: (GST_START_TEST),
28035         (gst_data_protocol_suite), (main):
28036           clean up
28037
28038 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28039
28040         * check/Makefile.am:
28041           instate more valgrindable tests
28042         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28043         (GST_START_TEST), (fakesrc_suite):
28044         * check/gst/gstpad.c: (GST_START_TEST):
28045         * check/gst/gststructure.c: (GST_START_TEST):
28046           fix test leaks
28047         * docs/gst/tmpl/gstminiobject.sgml:
28048         * gst/gstpad.c: (gst_pad_finalize):
28049           fix the static mutex leak
28050
28051 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28052
28053         * check/Makefile.am:
28054           add two more tests for valgrinding
28055         * check/gst/gstvalue.c: (GST_START_TEST):
28056           test refcount of deserialized buffer, found a leak
28057         * docs/gst/gstreamer-docs.sgml:
28058         * docs/gst/gstreamer-sections.txt:
28059         * docs/gst/gstreamer.types:
28060         * docs/gst/tmpl/gstminiobject.sgml:
28061           add miniobject to docs
28062         * gst/gstminiobject.c:
28063           add some docs
28064         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28065         (gst_string_unwrap):
28066           fix a hard-to-find invalid write for one of the tests
28067           fix a leak for deserialized buffers
28068
28069 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28070
28071         * docs/pwg/advanced-events.xml:
28072         * docs/pwg/advanced-request.xml:
28073         * docs/pwg/advanced-scheduling.xml:
28074         * docs/pwg/appendix-porting.xml:
28075         * docs/pwg/building-boiler.xml:
28076         * docs/pwg/intro-preface.xml:
28077         * docs/pwg/other-ntoone.xml:
28078           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28079           of example code and explanation for pad activation, loop() and
28080           getrange() functions and a bit more. Remove old comments pointing
28081           to loop-functions.
28082         * examples/pwg/Makefile.am:
28083           Add loop/getrange examples.
28084
28085 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28086
28087         * configure.ac:
28088           check for valgrind binary + some fixes
28089         * check/gst.supp:
28090           valgrind suppressions for the tests
28091         * check/Makefile.am:
28092           add a valgrind: target that valgrinds the unit tests
28093         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28094         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28095         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28096         * check/gst/gstghostpad.c:
28097           added some cleanup
28098         * check/gst/gstdata.c:
28099           removed
28100         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28101         (thread_unref), (gst_mini_object_suite), (main):
28102           added
28103         * gst/gst.c: (gst_deinit):
28104         * gst/gst.h:
28105           add a method to clean up.
28106         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28107         (gst_system_clock_obtain):
28108           allow for disposing the system clock.
28109         * tools/gst-launch.c: (main):
28110           deinit
28111
28112 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28113
28114         * docs/gst/tmpl/gstbasesrc.sgml:
28115         * docs/gst/tmpl/gstfakesrc.sgml:
28116         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28117         (gst_base_src_init), (gst_base_src_set_property),
28118         (gst_base_src_get_property), (gst_base_src_get_range),
28119         (gst_base_src_start):
28120         * gst/base/gstbasesrc.h:
28121           add num-buffers property
28122         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28123         (gst_fakesrc_init), (gst_fakesrc_set_property),
28124         (gst_fakesrc_get_property), (gst_fakesrc_create),
28125         (gst_fakesrc_start):
28126           remove num-buffers property
28127
28128 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28129
28130         * docs/gst/gstreamer-sections.txt:
28131         * docs/gst/tmpl/gstbasesink.sgml:
28132         * docs/gst/tmpl/gstbasesrc.sgml:
28133         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28134         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28135         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28136         (gst_base_sink_set_property), (gst_base_sink_get_property),
28137         (gst_base_sink_handle_object), (gst_base_sink_event),
28138         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28139         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28140         (gst_base_sink_loop), (gst_base_sink_deactivate),
28141         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28142         (gst_base_sink_change_state):
28143         * gst/base/gstbasesink.h:
28144         * gst/base/gstbasesrc.h:
28145         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28146         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28147         (gst_filesink_init):
28148           more macro splitting
28149
28150 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28151
28152         * gst/gstelement.c: (gst_element_get_bus):
28153           add debug
28154         * tools/gst-launch.c: (check_intr), (event_loop):
28155           fix bus leaks
28156
28157 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28158
28159         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28160           fix a caps leak
28161
28162 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28163
28164         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28165         (gst_base_src_finalize):
28166           add finalize method and clean up properly
28167         * gst/gstpipeline.c: (gst_pipeline_dispose):
28168           add debug
28169
28170 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28171
28172         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28173         (gst_bin_suite):
28174           add more things to check
28175         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28176         * gst/gstelement.c:
28177           more debug
28178
28179 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28180
28181         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28182         (GST_START_TEST), (fakesrc_suite):
28183         * check/gst-libs/gdp.c: (GST_START_TEST):
28184         * check/gst/gst.c: (GST_START_TEST):
28185         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28186         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28187         * check/gst/gstbus.c: (GST_START_TEST):
28188         * check/gst/gstcaps.c: (GST_START_TEST):
28189         * check/gst/gstdata.c: (GST_START_TEST):
28190         * check/gst/gstelement.c: (GST_START_TEST):
28191         * check/gst/gstghostpad.c: (GST_START_TEST):
28192         * check/gst/gstiterator.c: (GST_START_TEST):
28193         * check/gst/gstmessage.c: (GST_START_TEST):
28194         * check/gst/gstobject.c: (GST_START_TEST):
28195         * check/gst/gstpad.c: (GST_START_TEST):
28196         * check/gst/gststructure.c: (GST_START_TEST):
28197         * check/gst/gstsystemclock.c: (GST_START_TEST),
28198         (gst_systemclock_suite):
28199         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28200         * check/gst/gstvalue.c: (GST_START_TEST):
28201         * check/pipelines/cleanup.c: (GST_START_TEST):
28202         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28203         * check/states/sinks.c: (GST_START_TEST):
28204         * check/gstcheck.c: (gst_check_init):
28205         * check/gstcheck.h:
28206           add debugging category
28207           use GST_START_TEST now, so we add a debug line
28208
28209 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28210
28211         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28212           add test for state change message on a bin
28213         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28214           add another test
28215         * gst/gstbin.c: (gst_bin_init):
28216         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28217         * gst/gstelement.c: (gst_element_post_message),
28218         (gst_element_set_state):
28219         * gst/gstelementfactory.c: (gst_element_factory_create):
28220         * gst/gstmessage.c: (gst_message_new):
28221         * gst/gstscheduler.c:
28222           various debugging additions and cleanups
28223
28224 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28225
28226         * check/Makefile.am:
28227         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28228         (main):
28229           adding tests for elements
28230         * gst/gstelement.c: (gst_element_dispose):
28231
28232 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28233
28234         * gst/registries/gstlibxmlregistry.c: (load_feature):
28235           plug more leaks.  A simple gst_init() now is leakfree, yay.
28236
28237 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28238
28239         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28240         (gst_xml_registry_load):
28241           plug another memleak
28242
28243 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28244
28245         * configure.ac:
28246           use GST_SET_ERROR_CFLAGS
28247         * docs/faq/cvs.xml:
28248           change to ERROR_CFLAGS
28249
28250 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28251
28252         * configure.ac:
28253           make GST_ERROR_CFLAGS overridable and re-enable Werror
28254         * docs/faq/cvs.xml:
28255           add a note about error CFLAGS
28256         * docs/gst/tmpl/gstfakesrc.sgml:
28257         * gst/elements/gstfakesrc.c:
28258           comment out some unused code
28259         * gst/gst.c: (split_and_iterate):
28260         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28261         (load_feature):
28262           plug some memleaks
28263
28264 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28265
28266         * common/Makefile.am:
28267         * common/gtk-doc.mak:
28268         * docs/gst/Makefile.am:
28269           factor out gtk-doc.mak
28270
28271 2005-07-07  Wim Taymans  <wim@fluendo.com>
28272
28273         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28274         (gst_thread_scheduler_dispose):
28275         Unlock the STREAM_LOCK completely.
28276
28277 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28278
28279         * check/Makefile.am:
28280         * check/elements/.cvsignore:
28281         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28282         (START_TEST), (fakesrc_suite), (main):
28283         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28284         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28285         (gst_fakesrc_create), (gst_fakesrc_start):
28286         * gst/elements/gstfakesrc.h:
28287           adding a first element test
28288
28289 2005-07-07  Andy Wingo  <wingo@pobox.com>
28290
28291         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28292         debug message.
28293
28294 2005-07-07  Wim Taymans  <wim@fluendo.com>
28295
28296         * gst/gstquery.c:
28297         * gst/gstquery.h:
28298         Remove old types
28299
28300 2005-07-07  Wim Taymans  <wim@fluendo.com>
28301
28302         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28303         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28304         Allow subclasses to implement their own negotiation.
28305
28306 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28307
28308         * docs/design/part-gstbin.txt:
28309         * docs/design/part-gstpipeline.txt:
28310           Update design notes to reflect the movement of
28311           responsibility for bus handling from GstPipeline to
28312           GstBin
28313
28314 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28315
28316         * configure.ac:
28317           Remove unnecessary queue2/3/4 examples.
28318
28319 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28320
28321         * examples/Makefile.am:
28322         * examples/helloworld/helloworld.c: (event_loop), (main):
28323         * examples/queue/queue.c: (event_loop), (main):
28324         * examples/queue2/queue2.c: (main):
28325           Update a couple of the examples to work again.
28326
28327         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28328         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28329          Spelling corrections and extra debug.
28330         
28331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28332         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28333         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28334         * gst/gstbin.h:
28335         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28336         (gst_pipeline_change_state):
28337         * gst/gstpipeline.h:
28338           Move the bus handler for children to the GstBin, and create a
28339           separate bus for receiving messages from children to the one the
28340           bus sends 'upwards' on.
28341
28342 2005-07-06  Wim Taymans  <wim@fluendo.com>
28343
28344         * gst/base/README:
28345         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28346         (gst_base_sink_handle_object), (gst_base_sink_loop),
28347         (gst_base_sink_change_state):
28348         * gst/base/gstbasesink.h:
28349         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28350         (gst_base_src_init), (gst_base_src_setcaps),
28351         (gst_base_src_getcaps), (gst_base_src_loop),
28352         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28353         (gst_base_src_start), (gst_base_src_change_state):
28354         * gst/base/gstbasesrc.h:
28355         Make basesrc negotiate.
28356         Handle the case where preroll fails in basesink.
28357         Update README.
28358
28359 2005-07-06  Wim Taymans  <wim@fluendo.com>
28360
28361         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28362         Implement the fixate function.
28363         Clean up acceptcaps.
28364
28365 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28366
28367         * docs/pwg/building-filterfactory.xml:
28368         * docs/pwg/pwg.xml:
28369           Remove never-written filter-factory chapter; I'll add the various
28370           base classes to part 4 ("other element types") later on.
28371
28372 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28373
28374         * docs/pwg/advanced-negotiation.xml:
28375         * docs/pwg/building-boiler.xml:
28376         * docs/pwg/building-pads.xml:
28377         * docs/pwg/pwg.xml:
28378         * examples/pwg/Makefile.am:
28379           Add a chapter on caps negotiation, simplify the original code
28380           samples a bit w.r.t. caps negotiation, add link to the advanced
28381           section. Add a bunch of examples showing different use cases of
28382           different types of caps negotiation. Upstream renegotiation isn't
28383           fully documented yet since nobody knows how that works.
28384
28385 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28386
28387         * check/gst/gstpad.c:
28388         * check/gstcheck.c:
28389         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28390           if pad has no parent, return NULL as list of internal links
28391
28392 2005-07-05  Andy Wingo  <wingo@pobox.com>
28393
28394         * gst/elements/gstfilesrc.c:
28395         * gst/elements/gstfakesrc.c: 
28396         * gst/base/gstpushsrc.c:
28397         * gst/base/gstbasesrc.h: 
28398         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28399         
28400 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28401
28402         * Makefile.am:
28403           better report generation target (lcov needs a patch)
28404
28405 2005-07-05  Andy Wingo  <wingo@pobox.com>
28406
28407         * gst/elements, testsuite: Null if we got it...
28408
28409 2005-07-05  Wim Taymans  <wim@fluendo.com>
28410
28411         * configure.ac:
28412         * libs/gst/dataprotocol/Makefile.am:
28413         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28414         * libs/gst/dataprotocol/dataprotocol.h:
28415         * pkgconfig/Makefile.am:
28416         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28417         * pkgconfig/gstreamer-dataprotocol.pc.in:
28418         Ported dataprotol to 0.9. 
28419         Added pkgconfig files.
28420
28421 2005-07-05  Andy Wingo  <wingo@pobox.com>
28422
28423         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28424         Default to returning TRUE for the case when tranform_caps returns
28425         a fixed caps, like for identity or volume.
28426
28427         * check/gst/gstbus.c (pound_bus_with_messages): 
28428         * check/gst/gstmessage.c (START_TEST): 
28429         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28430         message API change.
28431
28432         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28433         logic weaks here: always run transform_caps, trying passthrough
28434         operation only if the original caps intersects with the transform.
28435
28436         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28437         source and sink caps.
28438
28439         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28440         Intersect the peer caps with the pad template before going into
28441         transform_caps.
28442         (gst_base_transform_transform_caps): More debugging.
28443
28444         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28445         src argument.
28446
28447 2005-07-04  Edward Hervey  <edward@fluendo.com>
28448
28449         * gst/gstutils.c:
28450         * gst/gstutils.h:
28451         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28452         in bindings.
28453
28454 2005-07-04  Andy Wingo  <wingo@pobox.com>
28455
28456         * check/gst/gstpad.c: Only set explicit caps on pads.
28457
28458 2005-07-01  Andy Wingo  <wingo@pobox.com>
28459
28460         * tests/network-clock.scm: Commentary update.
28461
28462         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28463         Didn't really make sense, not implementable with basetransform,
28464         etc.
28465         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28466         attempt at implementing the sync property, needs an unlock method.
28467
28468         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28469         New func, by default returns the same caps (the identity
28470         transformation).
28471         (gst_base_transform_getcaps): Uses transform_caps to return
28472         something sensible.
28473         (gst_base_transform_setcaps): Complicated logic to get caps on
28474         both pads, even if they are different, and to call set_caps once
28475         for every time both pads get their caps set.
28476         (gst_base_transform_handle_buffer): Give the ref to the transform
28477         function. Allows in-place modification of the buffer.
28478
28479         * gst/base/gstbasetransform.h (transform_caps): New class method.
28480         Given caps on one side, what can I do on the other.
28481         (set_caps): Take two caps, one for each side of the element.
28482
28483         * gst/gstpad.h:
28484         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28485         caps in place. This is safe because we can check the mutability of
28486         the caps, and a good idea because fixate functions are just called
28487         as a matter of last resort. (Not actually implemented.)
28488         (gst_pad_set_caps): If the caps we're setting is actually the same
28489         as the existing pad caps, just update the pointer without calling
28490         setcaps. Assert that caps is either NULL or fixed, as per the
28491         docs.
28492
28493         * gst/gstghostpad.c: Update for fixate changes.
28494
28495 2005-07-02  Andy Wingo  <wingo@pobox.com>
28496
28497         * gst/gstcaps.c:
28498         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28499         two refcounts makes it immutable, which is enough. Doc more.
28500
28501 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28502
28503         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28504           Put the mini_object into GValue as a mini_object,
28505           not a gpointer, since that's how we declared
28506           the signal.
28507
28508 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28509
28510         * examples/pwg/Makefile.am:
28511           Fix buildbot again.
28512
28513 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28514
28515         * docs/pwg/building-testapp.xml:
28516           Add extra check.
28517         * examples/pwg/Makefile.am:
28518           Fix buildbot.
28519
28520 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28521
28522         * configure.ac:
28523         * examples/Makefile.am:
28524         * examples/pwg/Makefile.am:
28525         * examples/pwg/extract.pl:
28526           Enable building the PWG examples.
28527         * docs/pwg/advanced-interfaces.xml:
28528           Add URI interface stub.
28529         * docs/pwg/advanced-types.xml:
28530         * docs/pwg/other-autoplugger.xml:
28531         * docs/pwg/appendix-porting.xml:
28532         * docs/pwg/pwg.xml:
28533           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28534         * docs/pwg/building-boiler.xml:
28535         * docs/pwg/building-chainfn.xml:
28536         * docs/pwg/building-pads.xml:
28537         * docs/pwg/building-props.xml:
28538         * docs/pwg/building-state.xml:
28539         * docs/pwg/building-testapp.xml:
28540           Update the building-*.xml parts for 0.9 changes. All examples
28541           code blocks compile in examples/pwg/*.
28542
28543 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28544
28545         * docs/manual/advanced-autoplugging.xml:
28546         * docs/manual/appendix-checklist.xml:
28547         * docs/manual/appendix-integration.xml:
28548         * docs/manual/highlevel-components.xml:
28549           Fix playbin/decodebin examples, update docs a bit, mention bus
28550           instead of signals in various places, mention kmplayer and
28551           kaffeine since they have a working GStreamer backend in the KDE
28552           section.
28553
28554 2005-06-30  Wim Taymans  <wim@fluendo.com>
28555
28556         * CHANGES-0.9:
28557         * docs/design/draft-ghostpads.txt:
28558         * docs/design/draft-push-pull.txt:
28559         * docs/design/draft-query.txt:
28560         * docs/design/part-TODO.txt:
28561         * docs/design/part-query.txt:
28562         Added CHANGES-0.9 doc, updated status of other docs.
28563         
28564         * gst/gstquery.h:
28565         Remove "hmm" macro
28566
28567 2005-06-30  Wim Taymans  <wim@fluendo.com>
28568
28569         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28570         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28571         (gst_base_sink_change_state):
28572         * gst/base/gstbasesink.h:
28573         Some tweaks, only EOS and a buffer complete a preroll.
28574
28575 2005-06-30  Andy Wingo  <wingo@pobox.com>
28576
28577         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28578         activate_push down to the internal pad as well.
28579
28580 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28581
28582         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28583
28584         * gst/gsttaginterface.c:
28585           Some documentation fixes (#307394 and #307397).
28586
28587 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28588
28589         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28590
28591         * gst/gstvalue.c: (gst_value_intersect_list):
28592           Fix memleak (#309125).
28593
28594 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28595
28596         * docs/manual/advanced-dataaccess.xml:
28597           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28598         * docs/manual/basics-pads.xml:
28599           Add reference for filtered caps to above chapter.
28600
28601 2005-06-30  Wim Taymans  <wim@fluendo.com>
28602
28603         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28604         (gst_bin_change_state):
28605         Probes are gone.
28606         Lame attempt at making the state change function a bit
28607         more readable.
28608
28609 2005-06-30  Wim Taymans  <wim@fluendo.com>
28610
28611         * docs/design/part-clocks.txt:
28612         * docs/design/part-element-sink.txt:
28613         * docs/design/part-events.txt:
28614         * docs/design/part-preroll.txt:
28615         * docs/design/part-states.txt:
28616         Some more tweeks and additions to the docs.
28617
28618 2005-06-30  Wim Taymans  <wim@fluendo.com>
28619
28620         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28621         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28622         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28623         (gst_pad_check_pull_range), (gst_pad_get_range),
28624         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28625         * gst/gstpad.h:
28626         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28627         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28628         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28629         (gst_pad_remove_buffer_probe):
28630         Removed atomic operations, use existing LOCK.
28631         Move exception handling out of main code path.
28632
28633 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28634
28635         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28636         (silly_return_true_function), (gst_pad_class_init),
28637         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28638         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28639         (gst_pad_send_event):
28640           Fix accumulator, add default value by using _emitv() instead
28641           of _emit() for signal emission.
28642
28643 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28644
28645         * docs/manual/advanced-dataaccess.xml:
28646         * examples/manual/Makefile.am:
28647           Add probe example.
28648         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28649           Make work (??).
28650
28651 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28652
28653         * gst/elements/gstfilesink.c: (gst_filesink_render):
28654           Simplify code so that we don't have to handle short
28655           writes and return GST_FLOW_ERROR if an error occured.
28656
28657 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28658
28659         * docs/gst/gstreamer-docs.sgml:
28660           Remove probes more.
28661
28662 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28663
28664         * docs/gst/gstreamer-sections.txt:
28665         * docs/gst/tmpl/gstpad.sgml:
28666         * docs/gst/tmpl/gstprobe.sgml:
28667         * gst/Makefile.am:
28668         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28669         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28670         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28671         (gst_pad_push_event), (gst_pad_send_event):
28672         * gst/gstpad.h:
28673         * gst/gstutils.c: (gst_pad_add_data_probe),
28674         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28675         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28676         (gst_pad_remove_buffer_probe):
28677         * gst/gstutils.h:
28678           Remove old probes, add new g-signal-based probes and some utility
28679           functions.
28680
28681 2005-06-29  Edward Hervey  <edward@fluendo.com>
28682
28683         * gst/gstelementfactory.c:
28684         * gst/gstutils.h:
28685         * gst/gstutils.c:
28686         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28687         the definition to the header file.
28688
28689 2005-06-29  Andy Wingo  <wingo@pobox.com>
28690
28691         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28692         plugins from the source directory.
28693
28694 2005-06-29  Wim Taymans  <wim@fluendo.com>
28695
28696         * docs/gst/tmpl/gstbuffer.sgml:
28697         * docs/gst/tmpl/gstclock.sgml:
28698         Some fixings for blantently wrong text.
28699
28700 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28701
28702         * check/Makefile.am:
28703         * gst/gst.c: (add_path_func), (init_pre):
28704         * gst/gstregistry.c: (gst_registry_add_path):
28705           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28706           only scan the GST_PLUGIN_PATH locations, and not add
28707           system locations
28708
28709 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28710
28711         * docs/gst/gstreamer-sections.txt:
28712         * docs/gst/tmpl/gstbasesrc.sgml:
28713         * gst/gstelement.c:
28714         * gst/gstelement.h:
28715         * gst/gstevent.c:
28716         * gst/gstutils.c:
28717           doc fixes
28718
28719 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28720
28721         * docs/manual/advanced-autoplugging.xml:
28722           Fix autoplugging example.
28723
28724 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28725
28726         * docs/manual/advanced-autoplugging.xml:
28727         * docs/manual/mime-world.fig:
28728           Try to get autoplugging working, fix type detection. Fix text
28729           in hello-world image.
28730
28731 2005-06-29  Wim Taymans  <wim@fluendo.com>
28732
28733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28734         (gst_base_sink_change_state):
28735         Small debug line.
28736
28737         * gst/gstclock.h:
28738         map SIGNAL and BROADCAST to the right function.
28739
28740         * gst/gstobject.h:
28741         Remove redundant braces.
28742
28743         * gst/gstpad.c: (gst_pad_set_caps):
28744         Don't call setcaps function when reseting caps to NULL.
28745
28746         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28747         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28748         (gst_system_clock_id_unschedule):
28749         Use BROADCAST as this is what we do.
28750
28751 2005-06-29  Wim Taymans  <wim@fluendo.com>
28752
28753         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28754         We are actually prerolling before commiting the state
28755         change. 
28756
28757 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28758
28759         * docs/manual/advanced-clocks.xml:
28760         * docs/manual/advanced-interfaces.xml:
28761         * docs/manual/advanced-metadata.xml:
28762         * docs/manual/advanced-position.xml:
28763         * docs/manual/advanced-schedulers.xml:
28764         * docs/manual/advanced-threads.xml:
28765         * docs/manual/appendix-porting.xml:
28766         * docs/manual/basics-bins.xml:
28767         * docs/manual/basics-bus.xml:
28768         * docs/manual/basics-elements.xml:
28769         * docs/manual/basics-helloworld.xml:
28770         * docs/manual/basics-pads.xml:
28771         * docs/manual/highlevel-components.xml:
28772         * docs/manual/manual.xml:
28773         * docs/manual/thread.fig:
28774           Update (until threads/scheduling) Application Development Manual;
28775           remove GstThread, add GstBus, add simple porting checklist, add
28776           documentation for tag writing, clocks, make all examples until this
28777           part compile and run.
28778         * examples/manual/Makefile.am:
28779           Update from changes to Application Development Manual; add bus
28780           example, remove thread example.
28781
28782 2005-06-28  Wim Taymans  <wim@fluendo.com>
28783
28784         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28785         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28786         (gst_bus_source_dispatch):
28787         Add debugging messages.
28788         Make internal methods static.
28789         Handle the case where the bus is flushed in the handler.
28790         
28791         * gst/gstelement.c: (gst_element_get_bus):
28792         Fix refcount in _get_bus();
28793
28794         * gst/gstpipeline.c: (gst_pipeline_change_state),
28795         (gst_pipeline_get_clock_func):
28796         Clock refcounting fixes.
28797         Handle the case where preroll timed out more gracefully.
28798         
28799         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28800         Clean up the internal thread in dispose. This is needed
28801         for subclasses that actually get disposed.
28802         
28803         * gst/schedulers/threadscheduler.c:
28804         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28805         (gst_thread_scheduler_dispose):
28806         Free thread pool in dispose.
28807
28808 2005-06-28  Andy Wingo  <wingo@pobox.com>
28809
28810         * tests/network-clock-utils.scm (debug, print-event): New utils.
28811
28812         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28813         (*packet-loss*): Unified loss probability.
28814         (network-time): Report out-of-band events.
28815
28816         * tests/plot-data: Add support for out-of-band events. Hack it
28817         into this script instead of passing it down the pipe; should fix
28818         this later.
28819
28820 2005-06-28  Wim Taymans  <wim@fluendo.com>
28821
28822         * docs/gst/gstreamer.types:
28823         * docs/gst/tmpl/gstbasesrc.sgml:
28824         * docs/gst/tmpl/gstpad.sgml:
28825         Docs fixes.
28826
28827 2005-06-28  Wim Taymans  <wim@fluendo.com>
28828
28829         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28830         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28831         (gst_proxy_pad_do_fixatecaps):
28832         Correctly proxy the check_pull_range function.
28833
28834 2005-06-28  Andy Wingo  <wingo@pobox.com>
28835
28836         * tests/network-clock.scm: Removed need for slib.
28837         
28838 2005-06-28  Wim Taymans  <wim@fluendo.com>
28839
28840         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28841         (gst_basesink_preroll_queue_flush):
28842         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28843         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28844         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28845         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28846         (gst_proxy_pad_set_property):
28847         * gst/gstpad.c:
28848         * gst/gstpad.h:
28849         * gst/gstqueue.c: (gst_queue_init):
28850         The deprecated pad loop function is removed now.
28851
28852 2005-06-28  Andy Wingo  <wingo@pobox.com>
28853
28854         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28855         New parameters, simulate network packet loss.
28856
28857         * tests/network-clock-utils.scm: Initialize the RNG.
28858
28859 2005-06-28  Wim Taymans  <wim@fluendo.com>
28860
28861         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28862         (gst_basesink_event), (gst_basesink_deactivate):
28863         Flushing the preroll queue always needs to unlock the waiters.
28864
28865 2005-06-28  Edward Hervey  <edward@fluendo.com>
28866
28867         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28868         Wheen a seek was successful on a pipeline, set the stream_time to the
28869         seek offset in order to have a synchronized stream_time.
28870
28871 2005-06-28  Wim Taymans  <wim@fluendo.com>
28872
28873         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28874         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28875         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28876         (gst_proxy_pad_do_fixatecaps):
28877         Call wrapper function instead of just calling the function
28878         pointers. This takes care of any locking and whatmore.
28879
28880 2005-06-28  Wim Taymans  <wim@fluendo.com>
28881
28882         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28883         (gst_pad_pull_range):
28884         * gst/gstpad.h:
28885         CONNECTED -> LINKED.
28886
28887 2005-06-28  Andy Wingo  <wingo@pobox.com>
28888
28889         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28890         source-munging commit!!!
28891
28892         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28893         (gst_object_sink): Take gpointer arguments, not GstObject --
28894         avoids casts. Like GLib.
28895
28896         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28897         activate.
28898
28899 2005-06-27  Andy Wingo  <wingo@pobox.com>
28900
28901         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28902         remaining buffer.
28903
28904         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28905         returns a sorted copy of the trace list.
28906         (gst_alloc_trace_print_live): New API, only prints traces with
28907         live objects. Sort the list.
28908         (gst_alloc_trace_print_all): Sort the list.
28909         (gst_alloc_trace_print): Align columns.
28910
28911         * gst/elements/gstttypefindelement.c:
28912         * gst/elements/gsttee.c:
28913         * gst/base/gstbasesrc.c:
28914         * gst/base/gstbasesink.c:
28915         * gst/base/gstbasetransform.c:
28916         * gst/gstqueue.c: Adapt for pad activation changes.
28917
28918         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28919         sched.
28920         (gst_pipeline_dispose): Drop ref on sched.
28921
28922         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28923         (gst_pad_activate_default): Push mode by default.
28924         (pre_activate_switch, post_activate_switch): New stubs, things to
28925         do before and after switching activation modes on pads.
28926         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28927         the pad's activate function to choose which mode to activate.
28928         Shortcut on deactivation and call the right function directly.
28929         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28930         mode.
28931         (gst_pad_activate_push): New API, same for push mode.
28932         (gst_pad_set_activate_function) 
28933         (gst_pad_set_activatepull_function) 
28934         (gst_pad_set_activatepush_function): Setters for new API.
28935
28936         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28937         Trace all miniobjects.
28938         (gst_mini_object_make_writable): Unref the arg if we copy, like
28939         gst_caps_make_writable.
28940
28941         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28942
28943         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28944         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28945         Adapt for new pad API.
28946
28947         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28948
28949         * gst/gstelement.h:
28950         * gst/gstelement.c (gst_element_iterate_src_pads) 
28951         (gst_element_iterate_sink_pads): New API functions.
28952         
28953         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28954         should fold into gstiterator.c in some form.
28955         (gst_element_pads_activate): Simplified via use of fold and
28956         delegation of decisions to gstpad->activate.
28957
28958         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28959         help in debugging.
28960
28961         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28962         class once in init, like gstmessage. Didn't run into this issue
28963         but it seems correct. Don't initialize a trace, gstminiobject does
28964         that.
28965
28966         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28967         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28968         to the bus.
28969         (assert_live_count): New util function, uses alloc traces to check
28970         cleanup.
28971
28972         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28973         To be modified when unlink drops the internal pad.
28974
28975 2005-06-27  Wim Taymans  <wim@fluendo.com>
28976
28977         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28978         (gst_bin_change_state):
28979         Cleanup the get_state() function a little, make sure it
28980         iterates the same set of elements.
28981         Added stub iterate_state_order().
28982
28983 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28984
28985         * docs/gst/gstreamer-docs.sgml:
28986         * docs/gst/gstreamer-sections.txt:
28987         * docs/gst/gstreamer.types:
28988         * docs/gst/tmpl/gstbasesink.sgml:
28989         * docs/gst/tmpl/gstbasesrc.sgml:
28990         * docs/gst/tmpl/gstbasetransform.sgml:
28991         * docs/gst/tmpl/gstelement.sgml:
28992         * docs/gst/tmpl/gstiterator.sgml:
28993         * gst/base/gstbasesrc.c:
28994         * gst/base/gstbasesrc.h:
28995         * gst/base/gstbasetransform.h:
28996         * gst/gstelement.c:
28997         * gst/gstiterator.h:
28998           adding basetransform and iterator docs
28999
29000 2005-06-27  Andy Wingo  <wingo@pobox.com>
29001
29002         * docs/design/part-activation.txt: Notes on how activation should
29003         work -- not quite implemented yet.
29004
29005 2005-06-25  Wim Taymans  <wim@fluendo.com>
29006
29007         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29008         At least get the chain function correct, needs more
29009         fixing.
29010
29011 2005-06-25  Wim Taymans  <wim@fluendo.com>
29012
29013         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29014         (gst_basesink_handle_object), (gst_basesink_event),
29015         (gst_basesink_do_sync), (gst_basesink_handle_event),
29016         (gst_basesink_change_state):
29017         * gst/gsttask.h:
29018         Right, two problems here: ghostpads don't take locks and
29019         glib _rec_mutex_lock_full() with depth==0 still locks.
29020         Catch illegal locking and g_warn them.
29021
29022 2005-06-25  Wim Taymans  <wim@fluendo.com>
29023
29024         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29025         Have to check for completion now...
29026
29027 2005-06-25  Wim Taymans  <wim@fluendo.com>
29028
29029         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29030         (gst_basesink_handle_object), (gst_basesink_event),
29031         (gst_basesink_do_sync), (gst_basesink_handle_event),
29032         (gst_basesink_change_state):
29033         * gst/gstpad.h:
29034         Unlock STREAM_LOCK whatever the recursion was.
29035
29036 2005-06-25  Wim Taymans  <wim@fluendo.com>
29037
29038         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29039         (gst_basesink_preroll_queue_empty),
29040         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29041         (gst_basesink_event), (gst_basesink_do_sync),
29042         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29043         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29044         (gst_basesink_change_state):
29045         Reworked the base sink, handle event and buffer serialisation
29046         correctly and removed possible deadlock.
29047         Handle EOS correctly.
29048
29049 2005-06-25  Wim Taymans  <wim@fluendo.com>
29050
29051         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29052         (gst_pipeline_change_state):
29053         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29054         Allow elements to post EOS in the state change function.
29055         Fix up -launch, make it exit the poll loop when the
29056         pipeline actually changed state.
29057         Fix up warning parsing in -launch.
29058
29059 2005-06-25  Wim Taymans  <wim@fluendo.com>
29060
29061         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29062         (gst_tee_sink_activate):
29063         Core takes STREAM_LOCK for us now.
29064
29065 2005-06-25  Wim Taymans  <wim@fluendo.com>
29066
29067         * gst/gstelement.c: (gst_element_get_state_func),
29068         (gst_element_set_state):
29069         * gst/gstelement.h:
29070         * gst/gstmessage.c: (gst_message_parse_error),
29071         (gst_message_parse_warning):
29072         Keep track of current target state while performing a state
29073         change so that subclasses can do something interesting.
29074         Fix parsing of warning/error messages when GError is NULL.
29075
29076 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29077
29078         * docs/gst/Makefile.am:
29079         * docs/gst/gstreamer-docs.sgml:
29080         * docs/gst/gstreamer-sections.txt:
29081         * docs/gst/gstreamer.types:
29082         * docs/gst/tmpl/gstbasesink.sgml:
29083         * docs/gst/tmpl/gstbasesrc.sgml:
29084         * docs/gst/tmpl/gstbin.sgml:
29085         * docs/gst/tmpl/gstcompat.sgml:
29086         * docs/gst/tmpl/gstfakesink.sgml:
29087         * docs/gst/tmpl/gstfakesrc.sgml:
29088         * docs/gst/tmpl/gstfilesink.sgml:
29089         * docs/gst/tmpl/gstfilesrc.sgml:
29090         * docs/gst/tmpl/gstindex.sgml:
29091         * docs/manual/appendix-quotes.xml:
29092         * gst/base/gstbasesrc.h:
29093         * gst/elements/gstfakesrc.h:
29094         * gst/gstmessage.h:
29095           start pulling in base classes and elements in our docs
29096
29097 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29098
29099         * docs/gst/Makefile.am:
29100         * docs/libs/Makefile.am:
29101           fixed make distcheck with gtk-doc 1.3
29102
29103 2005-06-23  Wim Taymans  <wim@fluendo.com>
29104
29105         * gst/gstelement.c: (gst_element_get_state_func),
29106         (gst_element_set_state), (gst_element_change_state):
29107         When the state did not change, also report NO_PREROLL
29108         when it matters.
29109
29110 2005-06-23  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/gstpad.c: (gst_pad_event_default):
29113         * gst/gstqueue.c: (gst_queue_loop):
29114         No unsafe task pausing please.
29115
29116 2005-06-23  Wim Taymans  <wim@fluendo.com>
29117
29118         * gst/schedulers/threadscheduler.c:
29119         (gst_thread_scheduler_task_start),
29120         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29121         Ref the task before pushing it on the threadpool. This
29122         makes sure that we have a ref when the threadfunction is
29123         actually called.
29124
29125 2005-06-23  Andy Wingo  <wingo@pobox.com>
29126
29127         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29128         offset is greater than the file's size.
29129
29130         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29131         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29132         * gst/gstobject.c (gst_object_class_init): Make the class lock
29133         recursive. Wim won't let me drop deep_notify. Decodebin works
29134         again, whoopdy doo.
29135
29136         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29137         internal pad, and hacks accordingly. Doesn't do it on the target
29138         pad because we change its caps. Probably catches all cases of
29139         interest tho.
29140         (gst_ghost_pad_set_property): Connect to notify::caps as
29141         appropritate.
29142
29143         * tests/network-clock.scm (plot-simulation): Pipe data to the
29144         elite python skript.
29145
29146         * tests/network-clock-utils.scm (define-parameter): New macro,
29147         defines a parameter that can be set via the command line.
29148         (set-parameter!, parse-parameter-arguments): Command line args
29149         parser.
29150
29151         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29152         stdin.
29153
29154 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29155
29156         * gst/elements/gsttypefindelement.c:
29157         (gst_type_find_element_handle_event):
29158           Don't restart typefinding on a discont.
29159         * gst/gstelement.c: (gst_element_set_state):
29160           Debug spelling fix.
29161         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29162           Allow changing mode of an active pad.
29163           Debug output fixes.
29164         * gst/registries/gstlibxmlregistry.c: (load_feature):
29165           Don't cast a static pad template to a normal pad template.
29166
29167 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29168
29169         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29170         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29171           remove gst_strtoll completely, since it didn't actually do
29172           anything more than what g_ascii_strtoull already does.
29173           check for range errors when deserializing
29174           do a cast for the unsigned cases; but further fixing needs
29175           a decision on what the interpretation of "(int)" and
29176           deserialization should be for values that fall outside the
29177           type's boundaries (ie, refuse, or interpret as casting)
29178
29179 2005-06-23  Wim Taymans  <wim@fluendo.com>
29180
29181         * check/Makefile.am:
29182         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29183         * docs/design/part-live-source.txt:
29184         * docs/design/part-states.txt:
29185         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29186         (gst_basesrc_set_live), (gst_basesrc_is_live),
29187         (gst_basesrc_get_range), (gst_basesrc_activate),
29188         (gst_basesrc_change_state):
29189         * gst/base/gstbasesrc.h:
29190         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29191         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29192         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29193         * gst/gstelement.c: (gst_element_get_state_func),
29194         (gst_element_set_state):
29195         * gst/gstelement.h:
29196         * gst/gsttypes.h:
29197         * tools/gst-launch.c: (event_loop), (main):
29198         Added support for live sources and other elements that
29199         cannot do preroll.
29200         Updated design docs, added live-source design doc.
29201         Implemented live source functionality in basesrc
29202         Fix error condition in _bin_get_state()
29203         Implement live source handling in -launch.
29204         Added check for live sources.
29205         Fixed case in GstBin where elements were changed state
29206         multiple times.
29207
29208
29209 2005-06-23  Andy Wingo  <wingo@pobox.com>
29210
29211         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29212         borken refcounting.
29213
29214         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29215         gst_caps_replace takes care of this for us.
29216
29217         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29218         gst_pad_set_caps on the target, not just its setcaps() function.
29219
29220         * tests/network-clock.scm: 
29221         * tests/network-clock-utils.scm: A network clock simulator.
29222         Something of an algorithmic testbed before doing something in C.
29223
29224 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29225
29226         * check/Makefile.am:
29227         * check/gst/capslist.h:
29228           copy over from 0.8, and add two with bitmasks specified with
29229           (int) 0xFF...
29230         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29231           add test to parse everything from capslist.h
29232         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29233         (main):
29234           add test for structure deserialization
29235         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29236           add tests for deserialization of strings to int types
29237         * gst/gststructure.c: (gst_structure_nth_field_name):
29238         * gst/gststructure.h:
29239           add a way to get the name of a field referenced by index
29240         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29241           instead of checking if the resulting long long lies between
29242           min and max, we check if the long long would fit into
29243           a number of bytes for the final type.
29244           This fixes cases where a string represents 2^32 - 1, which
29245           when cast to int would be the (valid) -1, but is bigger than
29246           G_MAXINT
29247
29248 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29249
29250         * gst/parse/grammar.y:
29251           add a log line for type deserialization
29252
29253 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29254
29255         * check/gst/gstvalue.c: (START_TEST):
29256         * gst/gstvalue.c: (gst_value_deserialize):
29257           return long long, not int, so gint64 deserialization actually
29258           works.  Is there any flag that makes the compiler check this ?
29259           Fixes #308559
29260
29261 2005-06-22  Wim Taymans  <wim@fluendo.com>
29262
29263         * gst/gstbuffer.h:
29264         Added convenience macros for setting buffers in GValue.
29265
29266 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29267
29268         * check/gst/.cvsignore:
29269         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29270           add a test deserializing int64, and comment part out because
29271           it fails, yay !
29272
29273 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29274
29275         * check/Makefile.am:
29276         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29277         * testsuite/Makefile.am:
29278         * testsuite/caps/Makefile.am:
29279         * testsuite/caps/value_serialize.c:
29280         * testsuite/test_gst_init.c:
29281           move a value_serialize test over
29282
29283 2005-06-20  Wim Taymans  <wim@fluendo.com>
29284
29285         * gst/gstpad.c:
29286         Small doc updates.
29287         
29288         * gst/gstvalue.c: (gst_value_compare_buffer),
29289         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29290         (gst_value_compare_flags), (gst_value_serialize_flags),
29291         (gst_value_deserialize_flags), (_gst_value_initialize):
29292         Fix serialisation of buffers, they are not boxed types anymore
29293
29294 2005-06-20  Wim Taymans  <wim@fluendo.com>
29295
29296         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29297         Testcase to show error in buffer-on-caps serialisation.
29298
29299 2005-06-20  Andy Wingo  <wingo@pobox.com>
29300
29301         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29302         will be adding to later.
29303
29304         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29305         if its socks fill with rocks.
29306         (gst_system_clock_obtain): Set the name on object construction.
29307         Avoid double-checked locking.
29308
29309 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29310
29311         * gst/gsturi.c: (gst_element_make_from_uri):
29312           Fix potential endless loop.
29313
29314 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29315
29316         * check/Makefile.am:
29317           add gsttag
29318         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29319         (main):
29320           move over from testsuite dir and clean up
29321         * configure.ac:
29322         * gst/gsttag.c:
29323         * testsuite/Makefile.am:
29324         * testsuite/tags/.cvsignore:
29325         * testsuite/tags/Makefile.am:
29326         * testsuite/tags/merge.c:
29327           remove testsuite/tags
29328
29329 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29330
29331         * docs/gst/gstreamer-sections.txt:
29332         * docs/gst/tmpl/gstenumtypes.sgml:
29333         * win32/gstenumtypes.c:
29334           clean up documentation build a little
29335
29336 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29337
29338         * check/gstcheck.h:
29339           add macros for checking refcounts on objects and caps
29340         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29341           add some more unit tests
29342         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29343         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29344           fix leaked refcounts (I hope :)) so unittest works
29345         * gst/gstpad.h:
29346           whitespace removal
29347
29348 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29349
29350         * configure.ac: back to HEAD
29351
29352 === release 0.9.1 ===
29353
29354 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29355
29356         * NEWS:
29357         * RELEASE:
29358           updated
29359
29360 2005-06-17  Andy Wingo  <wingo@pobox.com>
29361
29362         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29363         assert; it's always possible that the pad gets deactivated in
29364         between the checks in gstpad.c and the implementation. Rely on
29365         finish_preroll() to return a FLUSHING or similar instead of on the
29366         assert.
29367         
29368         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29369         clock and post an EOS message if we come out of finish_preroll in
29370         the playing state.
29371
29372 2005-06-16  David Schleef  <ds@schleef.org>
29373
29374         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29375         (gst_capsfilter_set_property): Allow NULL as possible value
29376         for filter_caps property, indicating GST_CAPS_ANY.
29377
29378 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29379
29380         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29381           fix debug output
29382         * gst/schedulers/Makefile.am:
29383           use libgst prefix
29384         * gstreamer.spec.in:
29385           fix spec for it
29386
29387 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29388
29389         * gstreamer.spec.in:
29390           clean up
29391
29392 2005-06-08  Andy Wingo  <wingo@pobox.com>
29393
29394         * gst/gstutils.c: RPAD fixes all around.
29395         (gst_element_link_pads): Refcounting fixes.
29396
29397         * tools/gst-inspect.c:
29398         * tools/gst-xmlinspect.c:
29399         * parse/grammar.y:
29400         * gst/base/gsttypefindhelper.c:
29401         * gst/base/gstbasesink.c:
29402         * gst/gstqueue.c: RPAD fixes.
29403
29404         * gst/gstghostpad.h:
29405         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29406         pads. The tricky thing is they provide both source and sink
29407         interfaces, since they proxy the internal pad for the external
29408         pad, and vice versa. Implement with lower-level ProxyPad objects,
29409         with the interior proxy pad as a child of the exterior ghost pad.
29410         Should write a doc on this.
29411         
29412         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29413         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29414         gst_object API.
29415         
29416         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29417         pads are real pads. No ghost pads in this file. Not documenting
29418         the myriad s/RPAD/PAD/ and REALIZE fixes.
29419         (gst_pad_class_init): Add properties for "direction" and
29420         "template". Both are construct-only, so they can't change during
29421         the life of the pad. Fixes properly deriving from GstPad.
29422         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29423         derived objects, just set properties when creating the objects via
29424         g_object_new.
29425         (gst_pad_get_parent): Implement as a function, return NULL if the
29426         parent is not an element.
29427         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29428         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29429         
29430         * gst/gstobject.c (gst_object_class_init): Make name a construct
29431         property. Don't set it in the object init.
29432
29433         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29434         with UNKNOWN direction.
29435         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29436         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29437         (gst_element_remove_pad): Remove ghost-pad special cases.
29438         (gst_element_pads_activate): Remove rpad cruft.
29439
29440         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29441         catch the pad's-parent-not-an-element case.
29442
29443         * gst/gst.h: Include gstghostpad.h.
29444
29445         * gst/gst.c (init_post): No more real, ghost pads.
29446
29447         * gst/Makefile.am: Add gstghostpad.[ch].
29448
29449         * check/Makefile.am:
29450         * check/gst/gstbin.c:
29451         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29452         into a bin creates ghost pads, and that the refcounts are right.
29453         Partly moved from gstbin.c.
29454
29455 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29456
29457         * check/gst-libs/.cvsignore:
29458         * check/gst/.cvsignore:
29459         * check/pipelines/.cvsignore:
29460           ignore more
29461         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29462         (START_TEST), (cleanup_suite), (main):
29463           add some tests related to cleanup after running pipelines
29464
29465 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29466
29467         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29468           add a testsuite for GstBuffer
29469
29470 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29471
29472         * gst/gstminiobject.h:
29473           add defines for accessing the refcount
29474
29475 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29476
29477         * Makefile.am: added support for html unit test coverage reports
29478
29479 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29480
29481         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29482           Free existing caps if the capsfilter changes. Add a FIXME about
29483           setting those caps on the pads.
29484
29485         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29486           Before adding a ghost pad to a parent bin, check that there isn't
29487           already one for the element on the bin. Prevents infinite recursion
29488           when using decodebin in parse pipelines. Andy says he'll rewrite the
29489           way this works anyway, so ignore the hack.
29490
29491 2005-06-02  Andy Wingo  <wingo@pobox.com>
29492
29493         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29494         file size, pass it on to the type find helper.
29495
29496         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29497         segment_start and segment_end properly according to the seek
29498         method. Segment_end is still a bit flaky because offset can be
29499         negative for CUR and END cases, but it takes -1 as an "unset"
29500         value.
29501
29502 2005-06-02  Wim Taymans  <wim@fluendo.com>
29503
29504         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29505         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29506         (gst_basesink_activate):
29507         * gst/base/gstbasesink.h:
29508         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29509         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29510         (gst_pad_query), (gst_pad_start_task):
29511         * gst/gstpad.h:
29512         * gst/gstqueue.c: (gst_queue_bufferalloc),
29513         (gst_queue_handle_sink_event), (gst_queue_chain):
29514         Bufferalloc: return GstFlowReturn to more accuratly report
29515         why allocation failed.
29516
29517 2005-06-02  Wim Taymans  <wim@fluendo.com>
29518
29519         * gst/gstpipeline.c: (gst_pipeline_send_event):
29520         Take snapshot of state without blocking.
29521
29522 2005-06-02  Wim Taymans  <wim@fluendo.com>
29523
29524         * docs/design/part-TODO.txt:
29525         * docs/design/part-caps.txt:
29526         * docs/design/part-clocks.txt:
29527         * docs/design/part-negotiation.txt:
29528         * docs/design/part-preroll.txt:
29529         Small doc updates 
29530
29531 2005-05-30  Wim Taymans  <wim@fluendo.com>
29532
29533         * gst/elements/gstidentity.c: (gst_identity_event),
29534         (gst_identity_transform), (gst_identity_get_property):
29535         Protect last_message property as it is accessed from
29536         multiple threads.
29537
29538 2005-05-30  Wim Taymans  <wim@fluendo.com>
29539
29540         * gst/gstelement.c: (gst_element_init),
29541         (gst_element_pads_activate), (gst_element_change_state):
29542         Slicker pad activation code.
29543
29544 2005-05-30  Wim Taymans  <wim@fluendo.com>
29545
29546         * gst/Makefile.am:
29547         * gst/gstelement.h:
29548         * gst/gstelementfactory.h:
29549         * gst/gsttypes.h:
29550         Move elementfactory methods to separate .h file.
29551
29552 2005-05-30  Wim Taymans  <wim@fluendo.com>
29553
29554         * docs/design/part-overview.txt:
29555         * gst/gstsystemclock.h:
29556         Small typo fixes, doc updates.
29557
29558 2005-05-30  Wim Taymans  <wim@fluendo.com>
29559
29560         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29561         (init_popt_callback):
29562         Remove cpu-opt flag.
29563
29564 2005-05-30  Wim Taymans  <wim@fluendo.com>
29565
29566         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29567         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29568         * gst/gstbuffer.h:
29569         Avoid typechecking in places where not needed.
29570         Added accessor for malloc_data.
29571
29572 2005-05-30  Wim Taymans  <wim@fluendo.com>
29573
29574         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29575         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29576         (gst_pad_configure_sink), (gst_pad_configure_src),
29577         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29578         (gst_pad_start_task):
29579         Propagate errors from _set_caps() in configure_src/sink
29580         functions instead of returning TRUE.
29581         FLUSH events can travel up and downstream
29582
29583
29584 2005-05-30  Wim Taymans  <wim@fluendo.com>
29585
29586         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29587         (gst_basesink_activate):
29588         Handle EOS in preroll.
29589
29590 2005-05-30  Wim Taymans  <wim@fluendo.com>
29591
29592         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29593         (gst_queue_loop), (gst_queue_handle_src_event):
29594         Remove old pieces of code
29595         Flushing the queue in an upstream event is a very bad idea.
29596
29597 2005-05-26  Andy Wingo  <wingo@pobox.com>
29598
29599         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29600         gst_value_set_mini_object so as to add a ref on the object (which
29601         will be removed when the value is unset).
29602
29603         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29604         arg type in ::handoff.
29605
29606         * gst/gstelement.c (gst_element_change_state): Also deactivate
29607         pads in READY->NULL, just in case the element didn't make it to
29608         PAUSED. Wingo tested, Wim approved.
29609
29610 2005-05-26  Wim Taymans  <wim@fluendo.com>
29611
29612         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29613         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29614         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29615         A flushing pad cannot be used to alloc_buffer from.
29616
29617 2005-05-26  Wim Taymans  <wim@fluendo.com>
29618
29619         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29620         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29621         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29622         (gst_bus_create_watch), (gst_bus_add_watch_full):
29623         * gst/gstbus.h:
29624         Implement a real GSource and use g_main_context_wakeup() to
29625         signal new messages instead of the socketpair.
29626
29627 2005-05-25  Wim Taymans  <wim@fluendo.com>
29628
29629         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29630         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29631         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29632         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29633         (gst_pad_send_event), (gst_pad_start_task):
29634         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29635         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29636         (gst_queue_sink_activate), (gst_queue_src_activate),
29637         (gst_queue_change_state):
29638         * gst/gstqueue.h:
29639         Fix state changes for non sinks. We now change sinks, then elements
29640         with unconnected srcpads, then the rest.
29641         More efficient queue unlocking in flush and state changes.
29642         Set the pad activate mode even if it does not have an activate
29643         function.
29644
29645 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29646
29647         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29648           Don't go in pull mode for non-seekable sources.
29649         * gst/elements/gsttypefindelement.h:
29650         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29651         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29652         (free_entry), (stop_typefinding),
29653         (gst_type_find_element_handle_event), (find_peek),
29654         (gst_type_find_element_chain), (do_pull_typefind),
29655         (gst_type_find_element_change_state):
29656           Allow typefinding (w/o seeking) in push-mode, simplified version
29657           of what was in 0.8.
29658         * gst/gstutils.c: (gst_buffer_join):
29659         * gst/gstutils.h:
29660           gst_buffer_join() from 0.8.
29661
29662 2005-05-25  Wim Taymans  <wim@fluendo.com>
29663
29664         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29665         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29666         (gst_pad_send_event), (gst_pad_start_task):
29667         Disable attempt at mode switching until it is figured out.
29668
29669 2005-05-25  Wim Taymans  <wim@fluendo.com>
29670
29671         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29672         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29673         (gst_basesink_finish_preroll), (gst_basesink_chain),
29674         (gst_basesink_loop), (gst_basesink_activate),
29675         (gst_basesink_change_state):
29676         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29677         (gst_basesrc_get_range), (gst_basesrc_loop),
29678         (gst_basesrc_activate):
29679         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29680         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29681         (gst_real_pad_init), (gst_real_pad_set_property),
29682         (gst_real_pad_get_property), (gst_pad_set_active),
29683         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29684         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29685         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29686         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29687         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29688         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29689         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29690         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29691         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29692         (gst_pad_stop_task):
29693         * gst/gstpad.h:
29694         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29695         (gst_queue_loop), (gst_queue_src_activate):
29696         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29697         (gst_task_get_state):
29698         * gst/gsttask.h:
29699         * gst/schedulers/threadscheduler.c:
29700         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29701         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29702         in task function.
29703         Remove ACTIVE pad flag, use FLUSHING everywhere
29704         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29705         functions.
29706         Add locks around IS_FLUSHING when reading.
29707         Take STREAM lock in chain(), get_range() functions so plugins
29708         don't need to take it anymore.
29709         
29710
29711
29712 2005-05-25  Wim Taymans  <wim@fluendo.com>
29713
29714         * tools/gst-launch.c: (event_loop):
29715         Unref message after using its contents instead of
29716         before.
29717
29718 2005-05-24  Wim Taymans  <wim@fluendo.com>
29719
29720         * docs/design/draft-ghostpads.txt:
29721         * docs/design/draft-push-pull.txt:
29722         * docs/design/draft-query.txt:
29723         * docs/design/part-overview.txt:
29724         Docs updates, added general overview doc.
29725
29726 2005-05-21  David Schleef  <ds@schleef.org>
29727
29728         * docs/gst/tmpl/old/GstBin.sgml:
29729         * docs/gst/tmpl/old/GstBuffer.sgml:
29730         * docs/gst/tmpl/old/GstCaps.sgml:
29731         * docs/gst/tmpl/old/GstClock.sgml:
29732         * docs/gst/tmpl/old/GstCompat.sgml:
29733         * docs/gst/tmpl/old/GstData.sgml:
29734         * docs/gst/tmpl/old/GstElement.sgml:
29735         * docs/gst/tmpl/old/GstEvent.sgml:
29736         * docs/gst/tmpl/old/GstIndex.sgml:
29737         * docs/gst/tmpl/old/GstStructure.sgml:
29738         * docs/gst/tmpl/old/GstTag.sgml:
29739         * docs/gst/tmpl/old/cothreads.sgml:
29740         * docs/gst/tmpl/old/cothreads_compat.sgml:
29741         * docs/gst/tmpl/old/gettext.sgml:
29742         * docs/gst/tmpl/old/gobject2gtk.sgml:
29743         * docs/gst/tmpl/old/grammar.tab.sgml:
29744         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29745         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29746         * docs/gst/tmpl/old/gst_private.sgml:
29747         * docs/gst/tmpl/old/gstaggregator.sgml:
29748         * docs/gst/tmpl/old/gstarch.sgml:
29749         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29750         * docs/gst/tmpl/old/gstbufferstore.sgml:
29751         * docs/gst/tmpl/old/gstdata_private.sgml:
29752         * docs/gst/tmpl/old/gstdisksink.sgml:
29753         * docs/gst/tmpl/old/gstdisksrc.sgml:
29754         * docs/gst/tmpl/old/gstelementfactory.sgml:
29755         * docs/gst/tmpl/old/gstextratypes.sgml:
29756         * docs/gst/tmpl/old/gstfakesink.sgml:
29757         * docs/gst/tmpl/old/gstfakesrc.sgml:
29758         * docs/gst/tmpl/old/gstfdsink.sgml:
29759         * docs/gst/tmpl/old/gstfdsrc.sgml:
29760         * docs/gst/tmpl/old/gstfilesink.sgml:
29761         * docs/gst/tmpl/old/gstfilesrc.sgml:
29762         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29763         * docs/gst/tmpl/old/gstidentity.sgml:
29764         * docs/gst/tmpl/old/gstindexfactory.sgml:
29765         * docs/gst/tmpl/old/gstmarshal.sgml:
29766         * docs/gst/tmpl/old/gstmd5sink.sgml:
29767         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29768         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29769         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29770         * docs/gst/tmpl/old/gstpipefilter.sgml:
29771         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29772         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29773         * docs/gst/tmpl/old/gstshaper.sgml:
29774         * docs/gst/tmpl/old/gstspider.sgml:
29775         * docs/gst/tmpl/old/gstspideridentity.sgml:
29776         * docs/gst/tmpl/old/gststatistics.sgml:
29777         * docs/gst/tmpl/old/gsttee.sgml:
29778         * docs/gst/tmpl/old/gsttimecache.sgml:
29779         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29780         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29781         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29782         * docs/gst/tmpl/old/types.sgml:
29783           I didn't intend to add these or check them in.
29784
29785 2005-05-19  David Schleef  <ds@schleef.org>
29786
29787         * configure.ac: Use -no-common everywhere.  In a sane world, it
29788           would be the default in libtool, because without it, you can't
29789           build DLLs on Windows.
29790         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29791         * docs/gst/gstreamer-sections.txt:
29792         * docs/gst/tmpl/gstcpu.sgml:
29793         * docs/gst/tmpl/gstdata.sgml:
29794         * docs/gst/tmpl/gstthread.sgml:
29795
29796 2005-05-19  David Schleef  <ds@schleef.org>
29797
29798         * gst/gstminiobject.c: (gst_value_set_mini_object),
29799         (gst_value_take_mini_object), (gst_value_get_mini_object):
29800         * gst/gstminiobject.h: Add GValue set/get functions.
29801
29802 2005-05-19  Wim Taymans  <wim@fluendo.com>
29803
29804         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29805         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29806         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29807         * gst/gstbuffer.h:
29808         * gst/gstbus.c: (gst_bus_post):
29809         * gst/gstelement.c: (gst_element_get_random_pad):
29810         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29811         Make subbufer unref the parent in finalize.
29812         some more debugging info.
29813
29814
29815 2005-05-19  Wim Taymans  <wim@fluendo.com>
29816
29817         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29818         (gst_basesink_init), (gst_basesink_finalize),
29819         (gst_basesink_activate), (gst_basesink_change_state):
29820         Don't free preroll queue too early.
29821
29822 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29823
29824         * gst/Makefile.am:
29825         * gst/ROADMAP:
29826           Hi, I'm outdated. Please shoot me.
29827
29828 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29829
29830         * gst/gstpipeline.c: (gst_pipeline_send_event):
29831           Do not access variables after they have been deleted.
29832
29833 2005-05-19  Wim Taymans  <wim@fluendo.com>
29834
29835         * tools/gst-inspect.c: (print_plugin_features):
29836         A plugin feature does unfortunatly not use the
29837         object name yet...
29838
29839 2005-05-18  Wim Taymans  <wim@fluendo.com>
29840
29841         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29842         Port _span() functions to new subbuffers.
29843
29844 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29845
29846         * gst/gstbin.c: (gst_bin_add_func):
29847           Fix clock settery in bins when adding kids after the clock has
29848           been selected.
29849
29850 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29851
29852         * gst/elements/gstidentity.c: (gst_identity_class_init):
29853           Workaround until signals support GstMiniObject.
29854
29855 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29856
29857         * gst/gstbuffer.c:
29858         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29859
29860 2005-05-18  Wim Taymans  <wim@fluendo.com>
29861
29862         * gst/base/Makefile.am:
29863         * gst/base/gstadapter.c: (gst_adapter_base_init),
29864         (gst_adapter_class_init), (gst_adapter_init),
29865         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29866         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29867         (gst_adapter_flush), (gst_adapter_available),
29868         (gst_adapter_available_fast):
29869         * gst/base/gstadapter.h:
29870         Ported and added adapter to the base classes.
29871
29872 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29873
29874         * gst/gst.c:
29875         * gst/gstmessage.c:
29876           Make sure the class is reffed/unreffed once before threads can be
29877           used.  Fixes #304551.
29878
29879 2005-05-17  Wim Taymans  <wim@fluendo.com>
29880
29881         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29882         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29883         * gst/gstminiobject.c: (gst_mini_object_get_type),
29884         (gst_mini_object_free):
29885         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29886         (gst_pad_push), (gst_pad_push_event):
29887         * gst/gstqueue.c: (gst_queue_change_state):
29888         Don't queue buffers in basesink when we are flushing.
29889         Unref buffer when flushing in basesink.
29890         Flush queue when going to READY
29891         Unref buffer when _push() returns an error.
29892         Don't free MiniObject instance when refcount is incremented
29893         in _finalize() so that we can recover objects.
29894
29895 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29896
29897         * docs/manual/advanced-schedulers.xml:
29898         * docs/manual/appendix-checklist.xml:
29899         * docs/pwg/advanced-clock.xml:
29900         * docs/pwg/advanced-interfaces.xml:
29901         * docs/pwg/advanced-request.xml:
29902         * docs/pwg/advanced-types.xml:
29903         * docs/pwg/intro-preface.xml:
29904         * examples/plugins/example.c: (gst_example_get_type),
29905         (gst_example_class_init), (gst_example_chain),
29906         (gst_example_set_property), (gst_example_get_property),
29907         (gst_example_change_state), (plugin_init):
29908         * examples/plugins/example.h:
29909           small doc fixes
29910
29911 2005-05-17  Wim Taymans  <wim@fluendo.com>
29912
29913         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29914         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29915         * gst/gstqueue.c: (gst_queue_change_state):
29916         Clear queue when going to READY.
29917         Remove IN_SETCAPS flag too.
29918
29919 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29920
29921         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29922           Remove implicit cast from gboolean to GstElementStateReturn;
29923           make sure we still return failure in paused => ready case if
29924           the parent class fails to change state and our own stop 
29925           vfunc succeeds.
29926
29927 2005-05-17  Wim Taymans  <wim@fluendo.com>
29928
29929         * tools/gst-launch.c: (event_loop):
29930         Message was unreffed too soon.
29931
29932 2005-05-16  Andy Wingo  <wingo@pobox.com>
29933
29934         * gst/gstbin.c (sink_iterator_filter): Err... um...
29935
29936         * check/gst/gstbin.c (test_ghost_pads): New test for the
29937         ghosting-if-elements-not-in-same-bin behavior.
29938
29939 2005-05-16  David Schleef  <ds@schleef.org>
29940
29941         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29942         accessing refcount directly.
29943
29944 2005-05-15  David Schleef  <ds@schleef.org>
29945
29946         * check/Makefile.am: remove GstData checks
29947         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29948         * gst/Makefile.am: add miniobject, remove data
29949         * gst/gst.h: add miniobject, remove data
29950         * gst/gstdata.c: remove
29951         * gst/gstdata.h: remove
29952         * gst/gstdata_private.h: remove
29953         * gst/gsttypes.h: remove GstEvent and GstMessage
29954         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29955         * gst/gstmarshal.list: change BOXED -> OBJECT
29956
29957         Implement GstMiniObject.
29958         * gst/gstminiobject.c:
29959         * gst/gstminiobject.h:
29960
29961         Modify to be subclasses of GstMiniObject.
29962         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29963         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29964         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29965         (gst_subbuffer_get_type), (gst_subbuffer_init),
29966         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29967         (gst_buffer_span):
29968         * gst/gstbuffer.h:
29969         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29970         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29971         (_gst_event_copy), (gst_event_new):
29972         * gst/gstevent.h:
29973         * gst/gstmessage.c: (_gst_message_initialize),
29974         (gst_message_get_type), (gst_message_class_init),
29975         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29976         (gst_message_new), (gst_message_new_error),
29977         (gst_message_new_warning), (gst_message_new_tag),
29978         (gst_message_new_state_changed), (gst_message_new_application):
29979         * gst/gstmessage.h:
29980         * gst/gstprobe.c: (gst_probe_perform),
29981         (gst_probe_dispatcher_dispatch):
29982         * gst/gstprobe.h:
29983         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29984         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29985         (_gst_query_copy), (gst_query_new):
29986
29987         Update elements for GstData -> GstMiniObject changes
29988         * gst/gstquery.h:
29989         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29990         (gst_queue_chain), (gst_queue_loop):
29991         * gst/elements/gstbufferstore.c:
29992         (gst_buffer_store_add_buffer_func),
29993         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29994         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29995         (gst_fakesink_render):
29996         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29997         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29998         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29999         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30000         (gst_filesrc_create_read):
30001         * gst/elements/gstidentity.c: (gst_identity_class_init):
30002         * gst/elements/gsttypefindelement.c:
30003         (gst_type_find_element_src_event), (free_entry_buffers),
30004         (gst_type_find_element_handle_event):
30005         * libs/gst/dataprotocol/dataprotocol.c:
30006         (gst_dp_header_from_buffer):
30007         * libs/gst/dataprotocol/dataprotocol.h:
30008         * libs/gst/dataprotocol/dp-private.h:
30009
30010 2005-05-15  David Schleef  <ds@schleef.org>
30011
30012         * gst/elements/gstelements.c: Don't include headers that were
30013         just removed.
30014
30015 2005-05-15  David Schleef  <ds@schleef.org>
30016
30017         * gst/elements/Makefile.am: Remove some elements that don't
30018         need to be in the core (or even exist at all).
30019         * gst/elements/gstaggregator.c:
30020         * gst/elements/gstaggregator.h:
30021         * gst/elements/gstmd5sink.c:
30022         * gst/elements/gstmd5sink.h:
30023         * gst/elements/gstmultifilesrc.c:
30024         * gst/elements/gstmultifilesrc.h:
30025         * gst/elements/gstpipefilter.c:
30026         * gst/elements/gstpipefilter.h:
30027         * gst/elements/gstshaper.c:
30028         * gst/elements/gstshaper.h:
30029         * gst/elements/gststatistics.c:
30030         * gst/elements/gststatistics.h:
30031         * po/POTFILES.in: Remove above files.
30032
30033 2005-05-14  Andy Wingo  <wingo@pobox.com>
30034
30035         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30036         so as to get the refs right.
30037         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30038         unreffing objects that don't pass the filter.
30039
30040         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30041         gst_element_set_bus.
30042         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30043         normal cases, this will destroy the bus.
30044
30045         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30046         object.
30047
30048         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30049         has no sinks.
30050
30051 2005-05-13  Andy Wingo  <wingo@pobox.com>
30052
30053         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30054         gst_pad_link, call pad_link_maybe_ghosting,
30055         (pad_link_maybe_ghosting): Links pads, making sure that the
30056         elements being linked are in the same bin.
30057         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30058         Helpers for pad_link_maybe_ghosting.
30059
30060 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30061
30062         * configure.ac:
30063           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30064
30065 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30066
30067         * docs/design/part-element-source.txt:
30068           Mention GstPushSrc
30069
30070 2005-05-12  Wim Taymans  <wim@fluendo.com>
30071
30072         * gst/base/gstbasesink.c: (gst_basesink_init),
30073         (gst_basesink_activate):
30074         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30075         (gst_basesrc_is_seekable):
30076         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30077         (bin_element_is_sink), (gst_bin_change_state):
30078         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30079         * gst/gstelement.h:
30080         Identify sinks by their flag to avoid overly complicated
30081         checks (fow now).
30082         Do state changes even for elements not reachable from the
30083         sinks.
30084         BaseSink is a sink now :)
30085         Some more debugging info in the basesrc.
30086
30087
30088 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30089
30090         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30091           Implement _query on a bin, similar to _send_event.
30092
30093 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30094
30095         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30096           Discont event offset format should be GST_FORMAT_BYTES,
30097           not GST_FORMAT_TIME.
30098
30099 2005-05-12  Wim Taymans  <wim@fluendo.com>
30100
30101         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30102         Same fix as Ronald's but without the signal. 
30103
30104 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30105
30106         * gst/gstutils.c: (gst_element_query_position):
30107           No, an element is not a pad.
30108
30109 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30110
30111         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30112         (gst_bin_get_state):
30113           If a child is removed from a bin while we remove the child from
30114           the bin and while we're retrieving its state, signal this to the
30115           get_state function so we abort the wait (instead of waiting for
30116           a timeout) and can immediately re-iterate over all other elements.
30117
30118 2005-05-12  Wim Taymans  <wim@fluendo.com>
30119
30120         * gst/base/Makefile.am:
30121         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30122         (gst_basesrc_start):
30123         * gst/base/gstbasesrc.h:
30124         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30125         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30126         (gst_pushsrc_init), (gst_pushsrc_create):
30127         * gst/base/gstpushsrc.h:
30128         Added is_seekable to BaseSrc
30129         Added simple PushSrc.
30130
30131 2005-05-11  Wim Taymans  <wim@fluendo.com>
30132
30133         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30134         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30135         (gst_element_link_pads), (gst_element_query_position),
30136         (gst_element_query_convert), (intersect_caps_func),
30137         (gst_pad_query_position), (gst_pad_query_convert):
30138         Fix refcounting in utils function.
30139         No point in trying to activate a pad when it's added, it could
30140         be added from the state change function and then we deadlock, the
30141         element has to decide what to do.
30142
30143 2005-05-10  Andy Wingo  <wingo@pobox.com>
30144
30145         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30146         *all* the arguments.
30147
30148         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30149         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30150         lock (according to the docs -- if this is wrong change the docs).
30151
30152         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30153         flush messages in the NULL state.
30154
30155         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30156         message immediately and return.
30157         (gst_bus_set_flushing): New function. If a bus is flushing, it
30158         flushes out any queued messages and immediately unrefs new
30159         messages. This is so when an element goes to NULL, all of the
30160         unhandled messages coming from it can be freed, and their
30161         references to the element dropped. In other words: message source
30162         ref considered harmful :P
30163
30164         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30165         we're finished with it.
30166
30167         * gst/gstmessage.c (gst_message_new_state_changed): 
30168
30169 2005-05-10  Wim Taymans  <wim@fluendo.com>
30170
30171         * gst/gstvalue.c: (gst_value_compare_flags),
30172         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30173         (_gst_value_initialize):
30174         Added flags serialize/deserialize/compare code.
30175
30176 2005-05-09  Andy Wingo  <wingo@pobox.com>
30177
30178         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30179         Intersect the peer's caps with our caps.
30180
30181 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30182
30183         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30184         * gst/elements/gsttypefindelement.c: (find_peek):
30185           Handle negative offsets better. Fixes decodebin.
30186
30187 2005-05-09  Wim Taymans  <wim@fluendo.com>
30188
30189         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30190         (gst_base_transform_event):
30191         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30192         Implement accept_caps.
30193         Fix silly lock/unlock mismatch in base class.
30194
30195 2005-05-09  Wim Taymans  <wim@fluendo.com>
30196
30197         * docs/design/draft-push-pull.txt:
30198         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30199         * gst/elements/gstfilesink.c: (gst_filesink_init),
30200         (gst_filesink_query):
30201         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30202         (gst_type_find_handle_src_query), (find_element_get_length):
30203         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30204         * gst/gstelement.h:
30205         * gst/gstmessage.c:
30206         * gst/gstmessage.h:
30207         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30208         (gst_real_pad_get_caps_unlocked),
30209         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30210         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30211         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30212         (gst_real_pad_dispose), (gst_real_pad_finalize),
30213         (gst_pad_load_and_link), (gst_pad_save_thyself),
30214         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30215         (gst_pad_check_pull_range), (gst_pad_pull_range),
30216         (gst_pad_template_get_type), (gst_pad_template_class_init),
30217         (gst_pad_template_init), (gst_pad_template_dispose),
30218         (name_is_valid), (gst_static_pad_template_get),
30219         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30220         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30221         (gst_pad_get_element_private), (gst_pad_start_task),
30222         (gst_pad_pause_task), (gst_pad_stop_task),
30223         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30224         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30225         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30226         (gst_ghost_pad_new):
30227         * gst/gstpad.h:
30228         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30229         (gst_query_new_position), (gst_query_set_position),
30230         (gst_query_parse_position), (gst_query_new_convert),
30231         (gst_query_set_convert), (gst_query_parse_convert):
30232         * gst/gstquery.h:
30233         * gst/gstqueryutils.c:
30234         * gst/gstqueryutils.h:
30235         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30236         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30237         (gst_queue_handle_src_query):
30238         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30239         (gst_element_query_position), (gst_element_query_convert),
30240         (intersect_caps_func), (gst_pad_query_position),
30241         (gst_pad_query_convert):
30242         * gst/gstutils.h:
30243         * tools/gst-inspect.c: (print_pad_info):
30244         * tools/gst-xmlinspect.c: (print_element_info):
30245         Remove old query functions. Ported old code.
30246         Added position/convert helper functions to gstutils.
30247         Reordered gstpad.c code, grouping relevant things.
30248         Remove gst_message_new(), always need to speficy a specific
30249         message.
30250
30251
30252 2005-05-09  Andy Wingo  <wingo@pobox.com>
30253
30254         * gst/gstiterator.h: Add some includes.
30255
30256         * gst/gstqueryutils.h: Include more headers.
30257
30258         * gst/gstpad.h:
30259         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30260         some uses of gst_pad_query.
30261
30262         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30263         NULL out parameters.
30264         (gst_query_new_position): New proc, allocates a new position
30265         query.
30266
30267         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30268         gstqueryutils.c to the build.
30269
30270         * gst/gststructure.c (gst_structure_set_valist): Implement with
30271         the generic G_VALUE_COLLECT.
30272         
30273 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30274
30275         * gst/Makefile.am: (gst_headers):
30276         Added gstqueryutils.h to the list of headers to install, that was
30277         a 'nachty' move wingo :)
30278
30279 2005-05-06  Andy Wingo  <wingo@pobox.com>
30280
30281         * gst/gstquery.h
30282         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30283         GstData, init a memchunk.
30284         (standard_definitions): Add a few query types, deprecate a few.
30285         (gst_query_get_type): New proc.
30286         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30287         implementation.
30288         (gst_query_new_application, gst_query_get_structure): New public
30289         procs.
30290
30291         * docs/design/draft-query.txt: Removed LINKS from the query types,
30292         because all the rest can be dispatched to other pads -- seemed
30293         ugly to have a query that couldn't be dispatched. internal_links
30294         is fine as a pad method.
30295
30296         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30297         in gstpad.c, but maintain binary compatibility for the moment.
30298         Will fix before 0.9 is out.
30299
30300         * gst/gstqueryutils.c: 
30301         * gst/gstqueryutils.h: New files, implement 3 methods for each
30302         query type: parse_query, parse_response, and set. Probably need an
30303         allocator as well.
30304
30305         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30306
30307         * gst/elements/gstfilesink.c (gst_filesink_query2):
30308         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30309         query_types, and formats methods.
30310
30311         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30312         (gst_pad_set_query2_function): New functions.
30313         (gst_real_pad_init): Set query2_default as the default query2
30314         function. Basically just dispatches to internally linked pads.
30315
30316         Needs review!
30317         
30318         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30319         without using the atomic operations. Only one thread can possibly
30320         be accessing the data at this point. Changed so as to avoid
30321         gst_atomic operations.
30322
30323 2005-05-06  Wim Taymans  <wim@fluendo.com>
30324
30325         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30326         Also set caps if we use the fallback buffer alloc.
30327
30328 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30329
30330         * docs/gst/Makefile.am:
30331         * docs/gst/gstreamer-docs.sgml:
30332         * docs/gst/gstreamer-sections.txt:
30333         * docs/gst/tmpl/gstatomic.sgml:
30334         * docs/gst/tmpl/gstmemchunk.sgml:
30335         * testsuite/elements/struct_i386.h:
30336         * win32/GStreamer.vcproj:
30337         * win32/Makefile:
30338           Purge GstAtomic stuff from docs and win32 makefiles as well
30339
30340 2005-05-06  Wim Taymans  <wim@fluendo.com>
30341
30342         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30343         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30344         * gst/gstpad.c: (gst_pad_peer_get_caps):
30345         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30346         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30347         (gst_queue_src_activate), (gst_queue_change_state):
30348         * gst/gstqueue.h:
30349         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30350         (intersect_caps_func):
30351         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30352         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30353         Some fixes for the peer_get_caps() change.
30354
30355 2005-05-06  Wim Taymans  <wim@fluendo.com>
30356
30357         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30358         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30359         (gst_basesink_activate):
30360         Actually do something with error codes returned from the push
30361         functions.
30362
30363 2005-05-06  Wim Taymans  <wim@fluendo.com>
30364
30365         * docs/design/part-element-sink.txt:
30366         * docs/design/part-element-source.txt:
30367         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30368         (gst_basesink_event), (gst_basesink_activate):
30369         * gst/base/gstbasesink.h:
30370         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30371         (gst_basesrc_activate):
30372         * gst/base/gstbasesrc.h:
30373         * gst/gstelement.c: (gst_element_pads_activate):
30374         Some more documentation.
30375         Fixed scheduling decision in _pads_activate().
30376
30377 2005-05-05  Andy Wingo  <wingo@pobox.com>
30378
30379         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30380         the test suite.
30381
30382 2005-05-05  Wim Taymans  <wim@fluendo.com>
30383
30384         * gst/base/Makefile.am:
30385         * gst/base/gstbasesink.h:
30386         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30387         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30388         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30389         (gst_collectpads_class_init), (gst_collectpads_init),
30390         (gst_collectpads_finalize), (gst_collectpads_new),
30391         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30392         (find_pad), (gst_collectpads_remove_pad),
30393         (gst_collectpads_is_active), (gst_collectpads_collect),
30394         (gst_collectpads_collect_range), (gst_collectpads_start),
30395         (gst_collectpads_stop), (gst_collectpads_peek),
30396         (gst_collectpads_pop), (gst_collectpads_available),
30397         (gst_collectpads_read), (gst_collectpads_flush),
30398         (gst_collectpads_chain):
30399         * gst/base/gstcollectpads.h:
30400         * gst/elements/Makefile.am:
30401         * gst/elements/gstelements.c:
30402         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30403         (gst_fakesink_get_times), (gst_fakesink_event),
30404         (gst_fakesink_preroll), (gst_fakesink_render):
30405         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30406         (gst_filesink_init), (gst_filesink_set_location),
30407         (gst_filesink_open_file), (gst_filesink_close_file),
30408         (gst_filesink_pad_query), (gst_filesink_event),
30409         (gst_filesink_render), (gst_filesink_change_state):
30410         * gst/elements/gstfilesink.h:
30411         Added object to help in making collect pad based elements.
30412         Ported filesink.
30413         Make event function in sink baseclass return gboolean.
30414
30415 2005-05-05  Wim Taymans  <wim@fluendo.com>
30416
30417         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30418         (gst_bin_get_by_name):
30419         * gst/gstbuffer.h:
30420         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30421         (gst_clock_finalize):
30422         * gst/gstdata.c: (gst_data_replace):
30423         * gst/gstdata.h:
30424         * gst/gstelement.c: (gst_element_request_pad),
30425         (gst_element_pads_activate):
30426         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30427         (gst_object_unref):
30428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30429         (gst_pad_set_checkgetrange_function),
30430         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30431         (gst_pad_check_pull_range), (gst_pad_pull_range),
30432         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30433         (gst_pad_pause_task), (gst_pad_stop_task):
30434         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30435         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30436         Fix name lookup in GstBin.
30437         Added _data_replace() function and _buffer_replace()
30438         Use finalize method to clean up clock.
30439         Fix refcounting on request pads.
30440         Fix pad schedule mode error.
30441         Some more object refcounting debug info,
30442
30443
30444 2005-05-04  Andy Wingo <wingo@pobox.com>
30445
30446         * check/Makefile.am:
30447         * docs/gst/tmpl/gstatomic.sgml:
30448         * docs/gst/tmpl/gstplugin.sgml:
30449         * gst/base/gstbasesink.c: (gst_basesink_activate):
30450         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30451         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30452         (gst_basesrc_query), (gst_basesrc_set_property),
30453         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30454         (gst_basesrc_activate):
30455         * gst/base/gstbasesrc.h:
30456         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30457         (gst_base_transform_src_activate):
30458         * gst/elements/gstelements.c:
30459         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30460         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30461         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30462         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30463         (gst_type_find_element_checkgetrange),
30464         (gst_type_find_element_activate):
30465         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30466         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30467         (gst_caps_load_thyself):
30468         * gst/gstelement.c: (gst_element_pads_activate),
30469         (gst_element_save_thyself), (gst_element_restore_thyself):
30470         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30471         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30472         * gst/gstpad.h:
30473         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30474         (gst_xml_parse_file), (gst_xml_parse_memory),
30475         (gst_xml_get_element), (gst_xml_make_element):
30476         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30477         (_file_index_id_save_xml), (gst_file_index_commit):
30478         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30479         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30480         (load_paths):
30481         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30482         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30483         * tools/gst-complete.c: (main):
30484         * tools/gst-compprep.c: (main):
30485         * tools/gst-inspect.c: (print_element_properties_info):
30486         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30487         * tools/gst-xmlinspect.c: (print_element_properties):
30488         GCC 4 fixen.
30489         
30490 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30491
30492         * gst/gstplugin.c: (gst_plugin_check_module),
30493         (gst_plugin_check_file), (gst_plugin_load_file):
30494             apply patch from #172526 to make register work on MacOSX
30495
30496 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30497
30498         * docs/gst/tmpl/gstconfig.sgml:
30499         * gst/gstconfig.h.in:
30500           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30501         * testsuite/debug/printf_extension.c: (main):
30502           Do not use GST_PTR_FORMAT on pointers to types with
30503           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30504         * testsuite/elements/property.h:
30505           use correct printf format
30506
30507 2005-05-02  Wim Taymans  <wim@fluendo.com>
30508
30509         * docs/design/draft-push-pull.txt:
30510         * docs/design/draft-query.txt:
30511         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30512         (gst_basesrc_start):
30513         Added draft for new query API.
30514         Added draft for better selecting scheduling methods.
30515         Make basesrc ignore length if the subclass does not support
30516         it.
30517
30518 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30519
30520         * gst/Makefile.am:
30521           possible fixes for automake-1.5 - _LIBADD is reserved
30522
30523 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30524
30525         * docs/faq/Makefile.am:
30526         * docs/manual/Makefile.am:
30527         * docs/manuals.mak:
30528         * docs/pwg/Makefile.am:
30529         * gst/Makefile.am:
30530           possible fixes for automake-1.5
30531
30532 2005-04-28  Wim Taymans  <wim@fluendo.com>
30533
30534         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30535         (gst_basesink_pad_getcaps), (gst_basesink_init),
30536         (gst_basesink_do_sync):
30537         * gst/gstclock.c: (gst_clock_entry_new):
30538         * gst/gstevent.c: (gst_event_discont_get_value):
30539         * gst/gstpipeline.c: (pipeline_bus_handler),
30540         (gst_pipeline_change_state):
30541         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30542         Better debugging of clocking info.
30543         Allow NULL values when getting discont values.
30544
30545 2005-04-27  Wim Taymans  <wim@fluendo.com>
30546
30547         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30548         * check/gst/gstpad.c: (gst_pad_suite):
30549         Increase timeout for checks.
30550
30551 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30552
30553         * check/Makefile.am:
30554           fix the broken rule for cleanup.  Apparently this rule is
30555           only needed on FC2, so maybe this warrants further autotool
30556           inspection.
30557
30558 2005-04-26  Wim Taymans  <wim@fluendo.com>
30559
30560         * gst/gsttrashstack.h:
30561         Ooohh. a nasty one! After having a failed pop() from the stack,
30562         it's possible that the stack is empty. In that case, don't
30563         follow the NULL pointer.
30564
30565 2005-04-25  Wim Taymans  <wim@fluendo.com>
30566
30567         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30568         (gst_pad_set_checkgetrange_function),
30569         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30570         (gst_pad_check_pull_range), (gst_pad_pull_range),
30571         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30572         (gst_pad_pause_task), (gst_pad_stop_task):
30573         * gst/gstplugin.c: (gst_plugin_load):
30574         * gst/gstplugin.h:
30575         Remove gst_library_load as it does more harm than good with
30576         the new g_module flags.
30577         Revert bogus caps template check in pad linking, pad caps
30578         are important when linking not the template, which is more
30579         general than the current caps.
30580
30581 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30582
30583         * gst/autoplug/.cvsignore:
30584         * gst/autoplug/Makefile.am:
30585         * gst/autoplug/gstsearchfuncs.c:
30586         * gst/autoplug/gstsearchfuncs.h:
30587         * gst/autoplug/gstspider.c:
30588         * gst/autoplug/gstspider.h:
30589         * gst/autoplug/gstspideridentity.c:
30590         * gst/autoplug/gstspideridentity.h:
30591         * gst/autoplug/spidertest.c:
30592           Die, spider, die.
30593
30594 2005-04-25  Wim Taymans  <wim@fluendo.com>
30595
30596         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30597         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30598         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30599         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30600         * gst/gstpad.h:
30601         Added stubs for unimplemented functions. 
30602
30603 2005-04-24  David Schleef  <ds@schleef.org>
30604
30605         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30606         please fix.
30607
30608 2005-04-24  David Schleef  <ds@schleef.org>
30609
30610         Convert everything from GstAtomicInt to g_atomic_int_*, and
30611         remove gstatomic.
30612         * gst/Makefile.am:
30613         * gst/gstatomic.c:
30614         * gst/gstatomic.h:
30615         * gst/gstatomic_impl.h:
30616         * gst/gstbuffer.c:
30617         * gst/gstcaps.c:
30618         * gst/gstcaps.h:
30619         * gst/gstclock.c:
30620         * gst/gstclock.h:
30621         * gst/gstdata.c:
30622         * gst/gstdata.h:
30623         * gst/gstdata_private.h:
30624         * gst/gstevent.c:
30625         * gst/gstinfo.c:
30626         * gst/gstinfo.h:
30627         * gst/gstmessage.c:
30628         * gst/gstobject.c:
30629         * gst/gstobject.h:
30630         * gst/gststructure.c:
30631         * gst/gststructure.h:
30632         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30633         * gst/gstutils.h:
30634
30635 2005-04-24  David Schleef  <ds@schleef.org>
30636
30637         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30638         make the regressions tests work.  Remove some code that is no
30639         longer true.
30640         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30641         Disable warning for pads without templates.
30642
30643 2005-04-24  David Schleef  <ds@schleef.org>
30644
30645         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30646         functions that handle filtered links.
30647         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30648         removed functions.
30649         * gst/gstutils.c: Fix/remove utility functions that handle
30650         filtered caps.
30651         * gst/gstutils.h:
30652         * gst/gstvalue.c: Add serialization/deserialization of caps
30653         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30654         requires fixing so that the filter caps notation creates
30655         a capsfilter element and sets the filter_caps property.  I
30656         think everyone probably wants to keep the shorthand notation.
30657         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30658         * docs/gst/tmpl/gstpad.sgml:
30659
30660         * gst/elements/gstelements.c: Register capsfilter element.
30661         * gst/Makefile.am: fix spacing
30662         * docs/random/ds/0.9-suggested-changes: random
30663
30664 2005-04-23  David Schleef  <ds@schleef.org>
30665
30666         * gst/elements/Makefile.am:
30667         * gst/elements/gstcapsfilter.c: New element that acts like an
30668         identity, but filters caps.  Will eventually replace filtered
30669         caps in pad linking.
30670         * gst/gstutils.c: (gst_element_create_all_pads): New function
30671         to create all the ALWAYS pads that are registered with an
30672         element class.  This functionality should eventually be
30673         merged in with GstElement initialization.
30674         * gst/gstutils.h:
30675         * testsuite/trigger/README: part of trigger test code that should
30676         have been checked in a long time ago.
30677
30678 2005-04-23  David Schleef  <ds@schleef.org>
30679
30680         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30681         needed with new versions of libtool (nobody will confirm this),
30682         and hard to carry around.
30683         * gst/autoplug/Makefile.am:
30684         * gst/base/Makefile.am:
30685         * gst/elements/Makefile.am:
30686         * gst/indexers/Makefile.am:
30687         * gst/schedulers/Makefile.am:
30688         * libs/gst/bytestream/Makefile.am:
30689         * libs/gst/control/Makefile.am:
30690         * libs/gst/dataprotocol/Makefile.am:
30691         * libs/gst/getbits/Makefile.am:
30692
30693 2005-04-21  Wim Taymans  <wim@fluendo.com>
30694
30695         * docs/design/draft-push-pull.txt:
30696         * docs/design/part-MT-refcounting.txt:
30697         * docs/design/part-TODO.txt:
30698         * docs/design/part-caps.txt:
30699         * docs/design/part-events.txt:
30700         * docs/design/part-gstbus.txt:
30701         * docs/design/part-gstpipeline.txt:
30702         * docs/design/part-messages.txt:
30703         * docs/design/part-push-pull.txt:
30704         * docs/design/part-query.txt:
30705         Some more docs.
30706
30707 2005-04-21  Wim Taymans  <wim@fluendo.com>
30708
30709         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30710         (gst_message_new), (gst_message_new_error),
30711         (gst_message_new_warning), (gst_message_new_tag),
30712         (gst_message_new_state_changed), (gst_message_new_application),
30713         (gst_message_get_structure):
30714         * gst/gstmessage.h:
30715         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30716         (gst_structure_copy_conditional):
30717         Use parent refcount in GstMessage to ensure GstStructure
30718         consistency.
30719         Cleaned up headers a bit.
30720         
30721
30722 2005-04-20  Wim Taymans  <wim@fluendo.com>
30723
30724         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30725         (gst_basesink_pad_getcaps), (gst_basesink_init),
30726         (gst_basesink_chain_unlocked):
30727         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30728         (gst_type_find_helper):
30729         * gst/elements/gsttypefindelement.c:
30730         (gst_type_find_element_have_type), (gst_type_find_element_init),
30731         (stop_typefinding), (gst_type_find_element_handle_event),
30732         (find_suggest), (gst_type_find_element_chain),
30733         (gst_type_find_element_checkgetrange),
30734         (gst_type_find_element_getrange), (do_typefind),
30735         (gst_type_find_element_activate):
30736         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30737         (gst_buffer_default_free), (gst_buffer_default_copy),
30738         (gst_buffer_set_caps):
30739         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30740         (gst_caps_replace):
30741         * gst/gstmessage.c: (gst_message_new),
30742         (gst_message_new_state_changed):
30743         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30744         (gst_pad_set_checkgetrange_function),
30745         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30746         (gst_pad_set_caps), (gst_pad_check_pull_range),
30747         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30748         * gst/gstpad.h:
30749         * gst/gsttypefind.c: (gst_type_find_register):
30750         Make gst_caps_replace() work like other _replace() functions.
30751         Use _caps_replace() where possible.
30752         Make sure _message_new() initialises its field.
30753         Add gst_static_pad_template_get_caps()
30754
30755
30756 2005-04-18  Andy Wingo  <wingo@pobox.com>
30757
30758         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30759         on the peer, not the pad. I think that was a typo. Pass an extra
30760         arg to see if random access is possible. Activate the pads as
30761         PULL_RANGE if possible.
30762
30763         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30764
30765         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30766         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30767         to PROP_....
30768
30769 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30770
30771         * docs/faq/using.xml:
30772           Add note on gstreamer-properties (#154996).
30773
30774 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30775
30776         * docs/random/bbb/optional-properties:
30777           Some analysis on optional properties.
30778
30779 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30780
30781         * docs/gst/tmpl/gstelementfactory.sgml:
30782         * gst/gstelement.h:
30783         * gst/gstelementfactory.c: (gst_element_factory_init),
30784         (gst_element_factory_cleanup), (gst_element_register),
30785         (__gst_element_factory_add_static_pad_template),
30786         (gst_element_factory_get_static_pad_templates),
30787         (gst_element_factory_can_src_caps),
30788         (gst_element_factory_can_sink_caps):
30789         * gst/registries/Makefile.am:
30790         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30791         (gst_xml_registry_class_init), (gst_xml_registry_init),
30792         (gst_xml_registry_new), (gst_xml_registry_set_property),
30793         (gst_xml_registry_get_property), (get_time), (make_dir),
30794         (gst_xml_registry_get_perms_func),
30795         (plugin_times_older_than_recurse), (plugin_times_older_than),
30796         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30797         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30798         (add_to_char_array), (read_string), (read_uint), (read_enum),
30799         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30800         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30801         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30802         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30803         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30804         (gst_xml_registry_rebuild):
30805         * gst/registries/gstlibxmlregistry.h:
30806         * tools/gst-compprep.c: (main):
30807         * tools/gst-inspect.c: (print_pad_templates_info):
30808         * tools/gst-xmlinspect.c: (print_element_info):
30809           Use libxml2 for registry parsing, use staticpadtemplates in
30810           elementfactories. Makes gst_init() +/- 10x faster.
30811
30812 2005-04-12  Wim Taymans  <wim@fluendo.com>
30813
30814         * gst/base/Makefile.am:
30815         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30816         (gst_basesink_pad_getcaps), (gst_basesink_init),
30817         (gst_basesink_event), (gst_basesink_change_state):
30818         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30819         (gst_basesrc_init), (gst_basesrc_query),
30820         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30821         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30822         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30823         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30824         (gst_basesrc_stop), (gst_basesrc_activate),
30825         (gst_basesrc_change_state):
30826         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30827         (helper_find_suggest), (gst_type_find_helper):
30828         * gst/base/gsttypefindhelper.h:
30829         * gst/elements/Makefile.am:
30830         * gst/elements/gstelements.c:
30831         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30832         (gst_fakesink_get_times), (gst_fakesink_event),
30833         (gst_fakesink_preroll), (gst_fakesink_render):
30834         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30835         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30836         (gst_fakesrc_get_property), (gst_fakesrc_create),
30837         (gst_fakesrc_start), (gst_fakesrc_stop):
30838         * gst/elements/gstfakesrc.h:
30839         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30840         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30841         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30842         (gst_filesrc_create_read), (gst_filesrc_create),
30843         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30844         (gst_filesrc_start):
30845         * gst/elements/gsttypefindelement.c:
30846         (gst_type_find_element_have_type), (gst_type_find_element_init),
30847         (start_typefinding), (stop_typefinding), (push_buffer_store),
30848         (gst_type_find_element_handle_event),
30849         (gst_type_find_element_chain),
30850         (gst_type_find_element_checkgetrange),
30851         (gst_type_find_element_getrange), (do_typefind),
30852         (gst_type_find_element_activate),
30853         (gst_type_find_element_change_state):
30854         * gst/elements/gsttypefindelement.h:
30855         * gst/gstpipeline.c: (pipeline_bus_handler):
30856         Added typefind helper.
30857         Small preroll fix in the base sink.
30858         Disable typefind code in basesrc.
30859         Crude port of typefindelement.
30860         Fakesrc cleanups.
30861
30862
30863 2005-04-11  Wim Taymans  <wim@fluendo.com>
30864
30865         * check/gst/gstbus.c: (gstbus_suite):
30866         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30867         * check/gstcheck.h:
30868           Fix up the timeout so that the test does not fail.
30869
30870 2005-04-06  Wim Taymans  <wim@fluendo.com>
30871
30872         * gst/base/README:
30873         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30874         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30875         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30876         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30877         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30878         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30879         (gst_basesrc_stop), (gst_basesrc_activate),
30880         (gst_basesrc_change_state), (basesrc_find_peek),
30881         (basesrc_find_suggest), (gst_basesrc_type_find):
30882         * gst/base/gstbasesrc.h:
30883         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30884         (gst_filesrc_class_init), (gst_filesrc_init),
30885         (gst_filesrc_finalize), (gst_filesrc_set_location),
30886         (gst_filesrc_set_property), (gst_filesrc_get_property),
30887         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30888         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30889         (gst_filesrc_create_read), (gst_filesrc_create),
30890         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30891         * gst/elements/gstfilesrc.h:
30892         * gst/gstelement.c: (gst_element_get_state_func),
30893         (gst_element_lost_state), (gst_element_pads_activate):
30894         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30895         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30896         (gst_pad_pull_range):
30897         * gst/gstpad.h:
30898         More work on the generic source base class, implement seeking,
30899         query.
30900         Make filesrc extend the base source class.
30901         Added gst_pad_set_checkgetrange_function to GstPad.
30902
30903 2005-04-06  Andy Wingo  <wingo@pobox.com>
30904
30905         * pkgconfig/gstreamer-base.pc.in:
30906         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30907
30908         * pkgconfig/Makefile.am:
30909         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30910
30911 2005-04-04  Wim Taymans  <wim@fluendo.com>
30912
30913         * gst/base/Makefile.am:
30914         * gst/base/README:
30915         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30916         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30917         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30918         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30919         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30920         (gst_basesrc_base_init), (gst_basesrc_class_init),
30921         (gst_basesrc_init), (gst_basesrc_get_formats),
30922         (gst_basesrc_get_query_types), (gst_basesrc_query),
30923         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30924         (gst_basesrc_set_property), (gst_basesrc_get_property),
30925         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30926         (gst_basesrc_loop), (gst_basesrc_activate),
30927         (gst_basesrc_change_state):
30928         * gst/base/gstbasesrc.h:
30929         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30930         (gst_fakesrc_class_init), (gst_fakesrc_init),
30931         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30932         (gst_fakesrc_get_property), (gst_fakesrc_create):
30933         * gst/elements/gstfakesrc.h:
30934         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30935         (gst_filesrc_open_file), (gst_filesrc_loop),
30936         (gst_filesrc_activate), (filesrc_find_peek),
30937         (gst_filesrc_type_find):
30938         Made base source class, make fakesrc extend it.
30939         Add comments to basesink class.
30940         Some filesrc cleanup.
30941
30942 2005-03-31  David Schleef  <ds@schleef.org>
30943
30944         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30945         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30946         expected to link against libgstreamer.
30947         * gst/base/Makefile.am: link against libgstreamer
30948         * gst/elements/Makefile.am: same
30949
30950 2005-03-31  Andy Wingo  <wingo@pobox.com>
30951
30952         * tests/instantiate/Makefile.am:
30953         * tests/instantiate/caps.c: Add test to test speed of caps copy
30954         and free.
30955
30956         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30957         GMemChunk to be fair.
30958
30959         * gst/gsttrashstack.h: Remove warning about using the fallback
30960         trash stack implementation, it's still faster than malloc.
30961
30962 2005-03-30  Andy Wingo  <wingo@pobox.com>
30963
30964         * tests/complexity.c: Add a copyright.
30965
30966 2005-03-31  Wim Taymans  <wim@fluendo.com>
30967
30968         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30969         (gst_base_transform_class_init), (gst_base_transform_init),
30970         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30971         (gst_base_transform_get_property),
30972         (gst_base_transform_sink_activate),
30973         (gst_base_transform_src_activate),
30974         (gst_base_transform_change_state):
30975         * gst/base/gstbasetransform.h:
30976         * gst/elements/gstidentity.c: (gst_identity_class_init),
30977         (gst_identity_event), (gst_identity_check_perfect),
30978         (gst_identity_transform), (gst_identity_start),
30979         (gst_identity_stop):
30980         Added start/stop methods to transform base class so subclasses 
30981         don't need to deal with state changes even.
30982
30983 2005-03-31  Wim Taymans  <wim@fluendo.com>
30984
30985         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30986         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30987         * gst/gstevent.h:
30988         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30989         (gst_pad_pull_range):
30990         Added rate to the discont event to prepare for variable speed
30991         and reverse playback.
30992
30993 2005-03-29  David Schleef  <ds@schleef.org>
30994
30995         * configure.ac:
30996         * testsuite/trigger/Makefile.am:
30997         * testsuite/trigger/trigger.c: A little example program to show
30998         how trigger-based elements can work.
30999
31000 2005-03-29  Wim Taymans  <wim@fluendo.com>
31001
31002         * gst/base/Makefile.am:
31003         * gst/base/README:
31004         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31005         (gst_basesink_base_init), (gst_basesink_class_init),
31006         (gst_basesink_pad_getcaps), (gst_basesink_init),
31007         (gst_basesink_activate), (gst_basesink_change_state):
31008         * gst/base/gstbasesink.h:
31009         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31010         (gst_base_transform_base_init), (gst_base_transform_finalize),
31011         (gst_base_transform_class_init), (gst_base_transform_init),
31012         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31013         (gst_base_transform_event), (gst_base_transform_getrange),
31014         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31015         (gst_base_transform_set_property),
31016         (gst_base_transform_get_property),
31017         (gst_base_transform_sink_activate),
31018         (gst_base_transform_src_activate),
31019         (gst_base_transform_change_state):
31020         * gst/base/gstbasetransform.h:
31021         * gst/elements/gstidentity.c: (gst_identity_finalize),
31022         (gst_identity_class_init), (gst_identity_init),
31023         (gst_identity_event), (gst_identity_check_perfect),
31024         (gst_identity_transform), (gst_identity_set_property),
31025         (gst_identity_get_property), (gst_identity_change_state):
31026         * gst/elements/gstidentity.h:
31027         * gst/gstelement.c: (gst_element_get_state_func),
31028         (gst_element_lost_state), (gst_element_pads_activate):
31029         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31030         (gst_pad_check_pull_range), (gst_pad_pull_range):
31031         * gst/gstpad.h:
31032         Simplify pad activation.
31033         Added function to check if pull_range can be performed.
31034         Error out when pulling inactive or flushing pads.
31035         Removed const from refcounted types as it does not make sense.
31036         Simplify pad templates in basesink
31037         Added base class for simple 1-to-1 transforms.
31038         Make identity subclass the base transform.
31039
31040 2005-03-29  Andy Wingo  <wingo@pobox.com>
31041
31042         * docs/libs/gstreamer-libs-overrides.txt: 
31043         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31044         really don't understand what's going on, but like whatever. I want
31045         green buildbot!
31046
31047         * docs/gst/Makefile.am:
31048         * docs/libs/Makefile.am: Dist the overrides files.
31049
31050         * check/Makefile.am (clean-local): Remove .libs directories.
31051
31052         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31053         elements to EXTRA_DIST, so po/ files are happy.
31054
31055         * po/POTFILES.in: Er, remove it here.
31056
31057         * po/POTFILES: Remove gstspider.c.
31058
31059         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31060
31061         * docs/libs/gstreamer-libs-docs.sgml: 
31062         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31063         bytestream.
31064
31065         * tests/complexity.c (main): Set the length of the preroll queue
31066         on the sinks to prevent a lockup.
31067
31068         * libs/gst/dataprotocol/Makefile.am: 
31069         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31070         the same as the one in check/gst-libs/gdp.c.
31071
31072         * po/, docs/gst/: Commit automatic changes to docs and po files.
31073
31074         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31075         the versioned libgstbase.
31076
31077         * check/Makefile.am: Depend on an unversioned gst-register, seems
31078         to make autoconf happier.
31079
31080         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31081
31082 2005-03-28  Wim Taymans  <wim@fluendo.com>
31083
31084         * configure.ac:
31085         * docs/design/part-gstelement.txt:
31086         * docs/design/part-negotiation.txt:
31087         * docs/design/part-preroll.txt:
31088         * docs/design/part-scheduling.txt:
31089         * docs/design/part-states.txt:
31090         * gst/Makefile.am:
31091         * gst/base/Makefile.am:
31092         * gst/base/README:
31093         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31094         (gst_basesink_base_init), (gst_basesink_class_init),
31095         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31096         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31097         (gst_basesink_set_pad_functions),
31098         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31099         (gst_basesink_set_property), (gst_basesink_get_property),
31100         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31101         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31102         (gst_basesink_preroll_queue_push),
31103         (gst_basesink_preroll_queue_empty),
31104         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31105         (gst_basesink_event), (gst_basesink_get_times),
31106         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31107         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31108         (gst_basesink_loop), (gst_basesink_activate),
31109         (gst_basesink_change_state):
31110         * gst/base/gstbasesink.h:
31111         * gst/elements/Makefile.am:
31112         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31113         (gst_fakesink_class_init), (gst_fakesink_init),
31114         (gst_fakesink_set_property), (gst_fakesink_get_property),
31115         (gst_fakesink_get_times), (gst_fakesink_event),
31116         (gst_fakesink_preroll), (gst_fakesink_render),
31117         (gst_fakesink_change_state):
31118         * gst/elements/gstfakesink.h:
31119         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31120         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31121         * gst/gstelement.c: (gst_element_add_pad),
31122         (gst_element_get_state_func), (gst_element_abort_state),
31123         (gst_element_commit_state), (gst_element_lost_state),
31124         (gst_element_set_state), (gst_element_pads_activate):
31125         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31126         * gst/gstpipeline.c: (gst_pipeline_send_event),
31127         (gst_pipeline_change_state):
31128         Added state change code.
31129         Added/updated docs.
31130         Added sink base class, make fakesink extend the base class.
31131         Small cleanups in GstPipeline.
31132
31133 2005-03-26  David Schleef  <ds@schleef.org>
31134
31135         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31136         is broken and should be implemented in a different library.
31137         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31138         * gst/gst.h: remove gstcpu.h
31139         * gst/gstcpu.c: remove
31140         * gst/gstcpu.h: remove
31141         * gst/Makefile.am.future: Remove this file.  It's ancient.
31142
31143 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31144
31145         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31146         (gst_bin_send_event):
31147           Add default event/set_manager handlers. The set_manager handler
31148           takes care that the manager is distributed over kids that were
31149           already in the bin before the manager was set. The event handler
31150           is a utility virtual function that sends the event over all sinks,
31151           so that gst_element_send_event (bin, event); has the expected
31152           behaviour.
31153         * gst/gstpad.c: (gst_pad_event_default):
31154           Re-install default event handling for discontinuities, so that
31155           seeking works without requiring hacks in applications or extra
31156           code in sinks.
31157         * gst/gstpipeline.c: (gst_pipeline_class_init),
31158         (gst_pipeline_send_event):
31159           Half hack, half utility: set a pipeline to PAUSED for seek events,
31160           since that is the only way we can guarantee a/v sync. Means that
31161           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31162           and it "just works".
31163
31164 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31165
31166         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31167           Lock/unlock mismatch.
31168
31169 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31170
31171         * docs/faq/gst-uninstalled:
31172           add gst-plugins-base
31173         * docs/gst/Makefile.am:
31174           don't error out until docs are fixed
31175         * docs/gst/gstreamer.types:
31176           remove thread
31177
31178 2005-03-22  Wim Taymans  <wim@fluendo.com>
31179
31180         * check/Makefile.am:
31181         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31182         * gst/gststructure.c: (gst_structure_set_valist),
31183         (gst_structure_copy_conditional):
31184         Activated more tests.
31185         Added message test.
31186         Added G_TYPE_POINTER to GstStructure.
31187         
31188
31189 2005-03-22  Wim Taymans  <wim@fluendo.com>
31190
31191         * docs/design/part-TODO.txt:
31192         * docs/design/part-events.txt:
31193         * docs/design/part-gstbin.txt:
31194         * docs/design/part-gstbus.txt:
31195         * docs/design/part-gstpipeline.txt:
31196         * docs/design/part-messages.txt:
31197         * gst/gstbus.c:
31198         * gst/gstmessage.c:
31199         Docs updates
31200
31201 2005-03-21  Wim Taymans  <wim@fluendo.com>
31202
31203         * gst/gstbus.c: (gst_bus_post):
31204         Fix copy-and-paste error.
31205
31206 2005-03-21  Wim Taymans  <wim@fluendo.com>
31207
31208         * check/Makefile.am:
31209         * gst/Makefile.am:
31210         * gst/elements/Makefile.am:
31211         * gst/elements/gstelements.c:
31212         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31213         (gst_fakesink_event), (gst_fakesink_chain):
31214         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31215         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31216         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31217         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31218         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31219         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31220         (gst_fakesrc_loop), (gst_fakesrc_activate),
31221         (gst_fakesrc_change_state):
31222         * gst/elements/gstfakesrc.h:
31223         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31224         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31225         (gst_filesrc_open_file), (gst_filesrc_loop),
31226         (gst_filesrc_activate), (gst_filesrc_change_state),
31227         (filesrc_find_peek), (filesrc_find_suggest),
31228         (gst_filesrc_type_find):
31229         * gst/elements/gstidentity.c: (gst_identity_finalize),
31230         (gst_identity_class_init), (gst_identity_init),
31231         (gst_identity_proxy_getcaps), (identity_queue_push),
31232         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31233         (gst_identity_getrange), (gst_identity_chain),
31234         (gst_identity_sink_loop), (gst_identity_src_loop),
31235         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31236         (gst_identity_set_property), (gst_identity_get_property),
31237         (gst_identity_change_state):
31238         * gst/elements/gstidentity.h:
31239         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31240         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31241         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31242         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31243         (gst_tee_sink_activate):
31244         * gst/elements/gsttee.h:
31245         * gst/gst.c: (gst_register_core_elements), (init_post):
31246         * gst/gst.h:
31247         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31248         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31249         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31250         (gst_bin_change_state):
31251         * gst/gstbin.h:
31252         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31253         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31254         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31255         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31256         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31257         (bus_watch_callback), (bus_watch_destroy),
31258         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31259         (poll_timeout), (gst_bus_poll):
31260         * gst/gstbus.h:
31261         * gst/gstcaps.h:
31262         * gst/gstdata.h:
31263         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31264         (gst_element_post_message), (gst_element_message_full),
31265         (gst_element_get_state_func), (gst_element_get_state),
31266         (gst_element_abort_state), (gst_element_commit_state),
31267         (gst_element_lost_state), (gst_element_set_state),
31268         (gst_element_pads_activate), (gst_element_change_state),
31269         (gst_element_dispose), (gst_element_set_manager_func),
31270         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31271         (gst_element_set_manager), (gst_element_get_manager),
31272         (gst_element_set_bus), (gst_element_get_bus),
31273         (gst_element_set_scheduler), (gst_element_get_scheduler):
31274         * gst/gstelement.h:
31275         * gst/gstevent.c: (gst_event_new_segment_seek),
31276         (gst_event_new_flush):
31277         * gst/gstevent.h:
31278         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31279         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31280         (gst_message_new_eos), (gst_message_new_error),
31281         (gst_message_new_warning), (gst_message_new_tag),
31282         (gst_message_new_state_changed), (gst_message_new_application),
31283         (gst_message_get_structure), (gst_message_parse_tag),
31284         (gst_message_parse_state_changed), (gst_message_parse_error),
31285         (gst_message_parse_warning):
31286         * gst/gstmessage.h:
31287         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31288         (gst_real_pad_set_property), (gst_pad_set_active),
31289         (gst_pad_is_active), (gst_pad_set_blocked_async),
31290         (gst_pad_set_blocked), (gst_pad_is_blocked),
31291         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31292         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31293         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31294         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31295         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31296         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31297         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31298         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31299         (gst_pad_set_caps), (gst_pad_configure_sink),
31300         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31301         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31302         (gst_real_pad_dispose), (gst_real_pad_finalize),
31303         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31304         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31305         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31306         * gst/gstpad.h:
31307         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31308         (pipeline_bus_handler), (gst_pipeline_change_state),
31309         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31310         * gst/gstpipeline.h:
31311         * gst/gstprobe.h:
31312         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31313         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31314         (gst_queue_link_src), (gst_queue_bufferalloc),
31315         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31316         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31317         (gst_queue_loop), (gst_queue_handle_src_event),
31318         (gst_queue_handle_src_query), (gst_queue_src_activate),
31319         (gst_queue_change_state):
31320         * gst/gstqueue.h:
31321         * gst/gstscheduler.c: (gst_scheduler_init),
31322         (gst_scheduler_dispose), (gst_scheduler_create_task),
31323         (gst_scheduler_factory_create):
31324         * gst/gstscheduler.h:
31325         * gst/gststructure.c: (gst_structure_get_type),
31326         (gst_structure_copy_conditional):
31327         * gst/gststructure.h:
31328         * gst/gsttaginterface.h:
31329         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31330         (gst_task_init), (gst_task_dispose), (gst_task_create),
31331         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31332         (gst_task_pause):
31333         * gst/gsttask.h:
31334         * gst/gstthread.c:
31335         * gst/gstthread.h:
31336         * gst/gsttypes.h:
31337         * gst/schedulers/Makefile.am:
31338         * gst/schedulers/cothreads_compat.h:
31339         * gst/schedulers/entryscheduler.c:
31340         * gst/schedulers/faircothreads.c:
31341         * gst/schedulers/faircothreads.h:
31342         * gst/schedulers/fairscheduler.c:
31343         * gst/schedulers/gstbasicscheduler.c:
31344         * gst/schedulers/gstoptimalscheduler.c:
31345         * gst/schedulers/gthread-cothreads.h:
31346         * gst/schedulers/threadscheduler.c:
31347         (gst_thread_scheduler_task_get_type),
31348         (gst_thread_scheduler_task_class_init),
31349         (gst_thread_scheduler_task_init),
31350         (gst_thread_scheduler_task_start),
31351         (gst_thread_scheduler_task_stop),
31352         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31353         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31354         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31355         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31356         (plugin_init):
31357         * libs/gst/Makefile.am:
31358         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31359         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31360         (gst_file_pad_parent_set):
31361         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31362         (gst_dp_event_from_packet):
31363         * tests/complexity.c: (main):
31364         * tests/mass_elements.c: (main):
31365         * testsuite/states/locked.c: (message_received), (main):
31366         * testsuite/states/parent.c: (main):
31367         * tools/gst-inspect.c: (print_element_flag_info),
31368         (print_implementation_info), (print_pad_info):
31369         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31370         (main):
31371         * tools/gst-md5sum.c: (event_loop), (main):
31372         * tools/gst-typefind.c: (main):
31373         * tools/gst-xmlinspect.c: (print_element_info):
31374         Next big merge.
31375         Added GstBus for mainloop integration.
31376         Added GstMessage for sending notifications on the bus.
31377         Added GstTask as an abstraction for pipeline entry points.
31378         Removed GstThread.
31379         Removed Schedulers.
31380         Simplified GstQueue for multithreaded core.
31381         Made _link threadsafe, removed old capsnego.
31382         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31383         Added pad blocking functions.
31384         Reworked scheduling functions in GstPad to prepare for
31385         scheduling updates soon.
31386         Moved events out of data stream.
31387         Simplified GstEvent types.
31388         Added return values to push/pull.
31389         Removed clocking from GstElement.
31390         Added prototypes for state change function for next merge.
31391         Removed iterate from bins and state change management.
31392         Fixed some elements, disabled others for now.
31393         Fixed -inspect and -launch.
31394         Added check for GstBus.
31395
31396 2005-03-10  Wim Taymans  <wim@fluendo.com>
31397
31398         * docs/design/part-MT-refcounting.txt:
31399         * docs/design/part-clocks.txt:
31400         * docs/design/part-gstelement.txt:
31401         * docs/design/part-gstobject.txt:
31402         * docs/design/part-standards.txt:
31403         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31404         (gst_bin_remove_func), (gst_bin_remove):
31405         * gst/gstbin.h:
31406         * gst/gstbuffer.c:
31407         * gst/gstcaps.h:
31408         * testsuite/clock/clock1.c: (main):
31409         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31410         (main):
31411         * testsuite/dlopen/loadgst.c: (do_test):
31412         * testsuite/refcounting/bin.c: (add_remove_test1),
31413         (add_remove_test2), (main):
31414         * testsuite/refcounting/element.c: (main):
31415         * testsuite/refcounting/element_pad.c: (main):
31416         * testsuite/refcounting/pad.c: (main):
31417         * tools/gst-launch.c: (sigint_handler_sighandler):
31418         * tools/gst-typefind.c: (main):
31419         Doc updates.
31420         Added doc about clock.
31421         removed gst_bin_iterate_recurse_up(), marked methods
31422         for removal.
31423         Fix more testsuites.
31424
31425 2005-03-09  Wim Taymans  <wim@fluendo.com>
31426
31427         * gst/gstpad.c: (gst_pad_get_direction),
31428         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31429         (gst_pad_collect_valist):
31430         * testsuite/bins/interface.c: (main):
31431         * testsuite/caps/audioscale.c: (test_caps):
31432         * testsuite/caps/caps.c: (test1), (test2), (test3):
31433         * testsuite/caps/deserialize.c: (main):
31434         * testsuite/caps/enumcaps.c: (main):
31435         * testsuite/caps/filtercaps.c: (main):
31436         * testsuite/caps/intersect2.c: (main):
31437         * testsuite/caps/random.c: (main):
31438         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31439         * testsuite/caps/sets.c: (check_caps):
31440         * testsuite/caps/simplify.c: (check_caps), (main):
31441         * testsuite/caps/subtract.c: (check_caps):
31442         Fix _pad_get_direction wrt ghostpads.
31443         Fix caps testsuite.
31444
31445 2005-03-09  Wim Taymans  <wim@fluendo.com>
31446
31447         * check/Makefile.am:
31448         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31449         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31450         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31451         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31452         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31453         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31454         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31455         (bin_element_is_sink), (gst_bin_iterate_sinks),
31456         (gst_bin_iterate_all_by_interface):
31457         * gst/gstbin.h:
31458         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31459         (gst_element_change_state), (gst_element_dispose),
31460         (gst_element_finalize), (gst_element_set_loop_function):
31461         * gst/gstelement.h:
31462         * gst/gstiterator.c: (find_custom_fold_func):
31463         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31464         (gst_pad_collectv), (gst_pad_collect_valist),
31465         (gst_pad_template_new):
31466         * gst/gstpipeline.c: (gst_pipeline_class_init),
31467         (gst_pipeline_dispose), (gst_pipeline_set_property),
31468         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31469         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31470         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31471         * gst/gstutils.h:
31472         * gst/schedulers/entryscheduler.c:
31473         * gst/schedulers/gstbasicscheduler.c:
31474         (gst_basic_scheduler_cothreaded_chain),
31475         (gst_basic_scheduler_chain_add_element):
31476         * testsuite/bins/interface.c: (main):
31477         Added GstBin test.
31478         Added GstSystemClock test.
31479         Implemented clock distribution code in GstBin.
31480         Implemented iterate sinks method for future use.
31481         Rearranged gstelement.h
31482         Fix GstIterator comparison bug.
31483         Moved some code to GstPipeline, mostly clocking related.
31484
31485 2005-03-09  Wim Taymans  <wim@fluendo.com>
31486
31487         * configure.ac:
31488         * gst/gst_private.h:
31489         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31490         (gst_bin_remove_func), (gst_bin_remove),
31491         (gst_bin_get_by_name_recurse_up):
31492         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31493         (gst_clock_id_compare_func), (gst_clock_id_wait),
31494         (gst_clock_id_wait_async), (gst_clock_init),
31495         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31496         * gst/gstelement.h:
31497         * gst/gstinfo.c: (_gst_debug_init):
31498         * gst/gstobject.h:
31499         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31500         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31501         * gst/gstpad.h:
31502         Bump version number, we're now 0.9.0
31503         Add future debugging category.
31504         Fix NULL _unref() in _get_by_name_recurse_up
31505         Rearrange gstpad.h.
31506         Update some docs.
31507
31508 2005-03-08  Wim Taymans  <wim@fluendo.com>
31509
31510         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31511         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31512         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31513         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31514         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31515         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31516         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31517         * gst/elements/gstidentity.c: (gst_identity_class_init):
31518         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31519         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31520         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31521         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31522         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31523         (gst_tee_link):
31524         * gst/gstelement.c: (gst_element_class_init),
31525         (gst_element_base_class_init), (gst_element_init),
31526         (gst_element_get_random_pad), (gst_element_wait_state_change),
31527         (gst_element_change_state), (gst_element_dispose),
31528         (gst_element_finalize), (gst_element_set_loop_function):
31529         * gst/gstelement.h:
31530         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31531         * gst/gstthread.c: (gst_thread_class_init),
31532         (gst_thread_release_children_locks), (gst_thread_change_state):
31533         * gst/schedulers/gstbasicscheduler.c:
31534         (gst_basic_scheduler_loopfunc_wrapper),
31535         (gst_basic_scheduler_chain_wrapper),
31536         (gst_basic_scheduler_src_wrapper),
31537         (gst_basic_scheduler_remove_element):
31538         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31539         Remove threadsafe properties. Fix elements because GObject
31540         complains when installing a property before declaring a
31541         set/get_property handler.
31542         Rearrange gstelement.h file, use STATE macros for state locks.
31543         Free mutexes in the finalize method instead of dispose.
31544
31545 2005-03-08  Wim Taymans  <wim@fluendo.com>
31546
31547         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31548         * gst/gstthread.c: (gst_thread_release_children_locks):
31549         Added parentage check.
31550         Fix build og GstThread again.
31551
31552 2005-03-08  Wim Taymans  <wim@fluendo.com>
31553
31554         * docs/design/part-MT-refcounting.txt:
31555         * docs/design/part-conventions.txt:
31556         * docs/design/part-gstobject.txt:
31557         * docs/design/part-relations.txt:
31558         * docs/design/part-standards.txt:
31559         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31560         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31561         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31562         (gst_bin_iterate_all_by_interface):
31563         * gst/gstbuffer.h:
31564         * gst/gstclock.h:
31565         * gst/gstelement.c: (gst_element_class_init),
31566         (gst_element_change_state), (gst_element_set_loop_function):
31567         * gst/gstelement.h:
31568         * gst/gstiterator.c:
31569         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31570         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31571         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31572         (gst_object_set_parent), (gst_object_unparent),
31573         (gst_object_check_uniqueness):
31574         * gst/gstobject.h:
31575         Docs updates, clean up some headers.
31576
31577 2005-03-07  Wim Taymans  <wim@fluendo.com>
31578
31579         * check/.cvsignore:
31580         * check/Makefile.am:
31581         * check/gst-libs/.cvsignore:
31582         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31583         * check/gst/.cvsignore:
31584         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31585         (START_TEST), (gstbus_suite), (main):
31586         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31587         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31588         (gst_data_suite), (main):
31589         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31590         (add_fold_func), (gstiterator_suite), (main):
31591         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31592         (thread_name_object), (thread_name_object_default),
31593         (gst_object_name_compare), (gst_object_suite), (main):
31594         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31595         (gst_pad_suite), (main):
31596         * check/gstcheck.c: (gst_check_log_message_func),
31597         (gst_check_log_critical_func), (gst_check_init):
31598         * check/gstcheck.h:
31599         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31600         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31601         Added checks.
31602
31603 2005-03-07  Wim Taymans  <wim@fluendo.com>
31604
31605         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31606         (gst_list_iterator_next), (gst_list_iterator_resync),
31607         (gst_list_iterator_free), (gst_iterator_new_list),
31608         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31609         (gst_iterator_free), (gst_iterator_push), (filter_next),
31610         (filter_resync), (filter_uninit), (filter_free),
31611         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31612         (gst_iterator_foreach), (find_custom_fold_func),
31613         (gst_iterator_find_custom):
31614         * gst/gstiterator.h:
31615         Added missing files.
31616
31617 2005-03-07  Wim Taymans  <wim@fluendo.com>
31618
31619         * Makefile.am:
31620         * configure.ac:
31621         * docs/design/part-MT-refcounting.txt:
31622         * docs/design/part-conventions.txt:
31623         * docs/design/part-gstobject.txt:
31624         * docs/design/part-relations.txt:
31625         * examples/mixer/mixer.c: (main):
31626         * examples/thread/thread.c: (eos), (main):
31627         * gst/Makefile.am:
31628         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31629         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31630         (gst_spider_plug_from_srcpad):
31631         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31632         (gst_spider_identity_change_state),
31633         (gst_spider_identity_sink_loop_type_finding):
31634         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31635         * gst/elements/gstidentity.c: (gst_identity_init):
31636         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31637         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31638         * gst/elements/gsttypefindelement.c: (free_entry):
31639         * gst/gst.c:
31640         * gst/gst.h:
31641         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31642         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31643         (gst_bin_set_index), (gst_bin_set_element_sched),
31644         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31645         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31646         (gst_bin_iterate_elements), (iterate_child_recurse),
31647         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31648         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31649         (compare_interface), (gst_bin_get_by_interface),
31650         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31651         * gst/gstbin.h:
31652         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31653         (gst_buffer_default_free), (gst_buffer_default_copy),
31654         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31655         (gst_buffer_create_sub):
31656         * gst/gstbuffer.h:
31657         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31658         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31659         (gst_caps_unref), (gst_static_caps_get),
31660         (gst_caps_remove_and_get_structure), (gst_caps_append),
31661         (gst_caps_append_structure), (gst_caps_remove_structure),
31662         (gst_caps_copy_nth), (gst_caps_set_simple),
31663         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31664         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31665         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31666         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31667         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31668         (gst_caps_structure_figure_out_union),
31669         (gst_caps_switch_structures), (gst_caps_do_simplify),
31670         (gst_caps_replace), (gst_caps_from_string),
31671         (gst_caps_copy_conditional):
31672         * gst/gstcaps.h:
31673         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31674         (_gst_clock_id_free), (gst_clock_id_unref),
31675         (gst_clock_id_compare_func), (gst_clock_id_wait),
31676         (gst_clock_id_wait_async), (gst_clock_class_init),
31677         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31678         (gst_clock_get_time), (gst_clock_set_time_adjust),
31679         (gst_clock_set_property), (gst_clock_get_property):
31680         * gst/gstclock.h:
31681         * gst/gstcompat.h:
31682         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31683         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31684         * gst/gstdata.h:
31685         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31686         (gst_element_requires_clock), (gst_element_provides_clock),
31687         (gst_element_set_clock), (gst_element_clock_wait),
31688         (gst_element_wait), (gst_element_set_time_delay),
31689         (gst_element_is_indexable), (gst_element_add_pad),
31690         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31691         (pad_compare_name), (gst_element_get_static_pad),
31692         (gst_element_request_pad), (gst_element_get_request_pad),
31693         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31694         (gst_element_class_get_pad_template_list),
31695         (gst_element_class_get_pad_template), (gst_element_error_func),
31696         (gst_element_get_random_pad), (gst_element_get_event_masks),
31697         (gst_element_send_event), (gst_element_seek),
31698         (gst_element_get_query_types), (gst_element_query),
31699         (gst_element_get_formats), (gst_element_convert),
31700         (gst_element_is_locked_state), (gst_element_set_locked_state),
31701         (gst_element_sync_state_with_parent), (gst_element_change_state),
31702         (gst_element_finalize), (gst_element_yield),
31703         (gst_element_interrupt), (gst_element_set_scheduler),
31704         (gst_element_get_scheduler), (gst_element_set_loop_function):
31705         * gst/gstelement.h:
31706         * gst/gstevent.h:
31707         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31708         (gst_format_get_by_nick), (gst_format_get_details),
31709         (gst_format_iterate_definitions):
31710         * gst/gstformat.h:
31711         * gst/gstindex.c: (gst_index_gtype_resolver):
31712         * gst/gstinfo.c:
31713         * gst/gstinfo.h:
31714         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31715         (gst_mem_chunk_free):
31716         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31717         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31718         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31719         (gst_object_dispatch_properties_changed),
31720         (gst_object_set_name_default), (gst_object_set_name),
31721         (gst_object_get_name), (gst_object_set_name_prefix),
31722         (gst_object_get_name_prefix), (gst_object_set_parent),
31723         (gst_object_get_parent), (gst_object_unparent),
31724         (gst_object_check_uniqueness), (gst_object_save_thyself),
31725         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31726         (gst_object_set_property), (gst_object_get_property),
31727         (gst_object_get_path_string):
31728         * gst/gstobject.h:
31729         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31730         (gst_real_pad_init), (gst_real_pad_get_property),
31731         (gst_pad_custom_new), (gst_pad_get_direction),
31732         (gst_pad_set_active), (gst_pad_is_active),
31733         (gst_pad_set_event_function), (gst_pad_is_linked),
31734         (gst_pad_link_free), (gst_pad_link_intersect),
31735         (gst_pad_link_fixate), (gst_pad_set_caps),
31736         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31737         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31738         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31739         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31740         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31741         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31742         (gst_pad_realize), (gst_pad_get_allowed_caps),
31743         (gst_real_pad_dispose), (gst_real_pad_finalize),
31744         (gst_pad_collectv), (gst_pad_collect_valist),
31745         (gst_pad_template_dispose), (gst_pad_template_new),
31746         (gst_pad_get_internal_links):
31747         * gst/gstpad.h:
31748         * gst/gstpipeline.c: (gst_pipeline_dispose),
31749         (gst_pipeline_change_state):
31750         * gst/gstpipeline.h:
31751         * gst/gstplugin.c:
31752         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31753         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31754         * gst/gstpluginfeature.h:
31755         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31756         * gst/gstquery.c: (_gst_query_type_initialize),
31757         (gst_query_type_register), (gst_query_type_get_by_nick),
31758         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31759         * gst/gstquery.h:
31760         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31761         * gst/gstscheduler.c: (gst_scheduler_add_element),
31762         (gst_scheduler_factory_create):
31763         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31764         (gst_structure_free), (gst_structure_set_name),
31765         (gst_structure_id_set_value), (gst_structure_set_value),
31766         (gst_structure_set_valist), (gst_structure_remove_field),
31767         (gst_structure_remove_fields),
31768         (gst_structure_remove_fields_valist),
31769         (gst_structure_remove_all_fields), (gst_structure_foreach),
31770         (gst_structure_map_in_place),
31771         (gst_caps_structure_fixate_field_nearest_int),
31772         (gst_caps_structure_fixate_field_nearest_double):
31773         * gst/gststructure.h:
31774         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31775         (gst_system_clock_init), (gst_system_clock_dispose),
31776         (gst_system_clock_async_thread),
31777         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31778         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31779         * gst/gstsystemclock.h:
31780         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31781         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31782         * gst/gsttaginterface.c:
31783         * gst/gstthread.c: (gst_thread_dispose),
31784         (gst_thread_release_children_locks), (gst_thread_change_state),
31785         (gst_thread_main_loop):
31786         * gst/gsttrashstack.h:
31787         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31788         * gst/gsttypes.h:
31789         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31790         (gst_element_request_pad), (gst_element_get_pad_from_template),
31791         (gst_element_request_compatible_pad),
31792         (gst_element_get_compatible_pad_filtered),
31793         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31794         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31795         (gst_element_link_many), (gst_element_link),
31796         (gst_element_link_pads), (gst_element_unlink_pads),
31797         (gst_element_unlink_many), (gst_element_unlink),
31798         (gst_pad_can_link_filtered), (gst_pad_can_link),
31799         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31800         (gst_object_default_error), (gst_bin_add_many),
31801         (gst_bin_remove_many), (gst_element_populate_std_props),
31802         (gst_element_class_install_std_props), (gst_buffer_merge),
31803         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31804         (link_fold_func), (gst_pad_proxy_setcaps):
31805         * gst/gstutils.h:
31806         * gst/gstvalue.c: (gst_value_deserialize_string):
31807         * gst/parse/grammar.y:
31808         * gst/schedulers/gstbasicscheduler.c:
31809         (gst_basic_scheduler_cothreaded_chain),
31810         (gst_basic_scheduler_chain_recursive_add),
31811         (gst_basic_scheduler_pad_link):
31812         * gst/schedulers/gstoptimalscheduler.c:
31813         (get_group_schedule_function),
31814         (gst_opt_scheduler_state_transition),
31815         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31816         * libs/gst/bytestream/bytestream.c:
31817         * libs/gst/dataprotocol/dataprotocol.c:
31818         (gst_dp_header_from_buffer):
31819         * po/nb.po:
31820         * po/ru.po:
31821         * tests/threadstate/threadstate2.c: (eos):
31822         * tools/gst-compprep.c: (main):
31823         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31824         (print_pad_info), (print_children_info):
31825         * tools/gst-launch.c: (idle_func), (main):
31826         * tools/gst-md5sum.c: (idle_func), (main):
31827         * tools/gst-xmlinspect.c: (print_element_info):
31828         First THREADED backport attempt, focusing on adding locks and
31829         making sure the API is threadsafe. Needs more work. More docs
31830         follow this week.
31831
31832 2005-02-24  Andy Wingo  <wingo@pobox.com>
31833
31834         * tests/bench-complexity.scm:
31835         * tests/complexity.gnuplot: New files, good for running complexity
31836         benchmarks.
31837
31838         * tests/Makefile.am:
31839         * tests/complexity.c: New test, sets up N elements, at each level
31840         teeing into M streams per element. Eeeenteresting.
31841
31842         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31843         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31844         running bench-mass_elements.scm.
31845
31846         * tests/bench-mass_elements.scm: New script, runs mass_elements
31847         for various numbers of identities, outputting the results to a
31848         file. Requires guile 1.6. Just for testing.
31849
31850 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31851
31852         * gst/schedulers/fairscheduler.c:
31853           compile with debug disabled
31854
31855 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31856
31857         * configure.ac:
31858           hunting season on 0.9 is now OPEN