gst/gstbuffer.c: Avoid costly typechecking for trivially correct pointers.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstbuffer.c: (gst_buffer_finalize):
4         Avoid costly typechecking for trivially correct pointers.
5
6         * gst/gstpoll.c: (gst_poll_wait):
7         Add some G_LIKELY here and there.
8
9         * libs/gst/base/gstadapter.c: (gst_adapter_push):
10         Add some debug info.
11
12 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
13
14         * docs/random/wtay/poll-timeout:
15         Small tweaks.
16
17 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
18
19         * tests/old/testsuite/caps/intersection.c: (main):
20         * tests/old/testsuite/plugin/loading.c: (main):
21         Remove references to deprecated API g_mem_chunk*.
22         Fixes #560442.
23
24 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
25
26         * tools/gst-inspect.c: (main):
27         Add --plugin option. Fixes #560301.
28
29 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
30
31         * docs/random/wtay/poll-timeout:
32         Quick braindump for a possible (not totally verified) atomic case.
33
34 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
35
36         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
37         (gst_registry_binary_initialize_magic),
38         (gst_registry_binary_write_cache),
39         (gst_registry_binary_check_magic):
40         * gst/gstregistrybinary.h:
41         Don't write and check a CRC for the binary registry file. It's
42         guaranteed that the registry is completely written (it's first written
43         to a temporary file and then moved) and if the registry was corrupted
44         by some hardware failure we would have bigger problems.
45
46         Bump binary registry version to 0.10.21.1 for this as it's an
47         incompatible change and to ensure that the registry gets rebuild
48         after the update.
49
50         This saves some milliseconds for reading/writing the registry.
51         Fixes bug #560399.
52
53 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
54
55         * docs/random/wtay/poll-timeout:
56         Some pseudo code for how we could implement clock timeouts with GstPoll.
57
58 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
59
60         * plugins/elements/gstfilesink.c:
61           Update Author string to match others.
62
63 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
64
65         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
66         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
67         being fixed and inline the trivial check.
68
69 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
70
71         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
72         (gst_caps_merge_structure), (gst_caps_get_structure),
73         (gst_caps_copy_nth), (gst_caps_set_simple),
74         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
75         (gst_caps_is_equal_fixed), (gst_caps_intersect),
76         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
77         (gst_caps_to_string):
78         Callgrind micro optimisations.
79         Avoid array bounds checks and force inline of trivial function.
80
81         * gst/gstobject.c: (gst_object_set_name_default):
82         -1 is equivalent to letting glib to the strlen but then there is more
83         room for optimisations and it's not our fault.
84
85         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
86         no need to clear the array, we're cool.
87
88         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
89         The most common _is_fixed() check is done on fundamental glib base
90         types so we check this first instead of doing a huge amount of
91         useless GST_TYPE_ARRAY calls.
92
93 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
94
95         * gst/gstevent.h:
96         Add a SKIP seek flag for use with advanced trickmodes.
97         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
98
99 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
100
101         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
102         No need to memset, we can clear the value ourselves.
103
104         * gst/gstvalue.c: (gst_type_is_fixed),
105         (gst_value_get_compare_func):
106         Some optimisations from a few callgrind sessions:
107         When checking if a type is fixed, check for trivial fundamental types
108         first before checking types for which we need to get the type followed
109         by the heavy duty type checks, this reduces the amount of
110         g_type_fundamental() calls a lot.
111         When getting the compare function, first check for our registered types.
112         If that fails, do the heavy duty g_type_is_a() checks, reduces the
113         amount of g_type_is_a() considerably.
114
115 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
116
117         * docs/design/part-TODO.txt:
118         Mumble something about removing GstXML.
119
120 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
121
122         * gst/gstbin.c: (gst_bin_handle_message_func):
123         Get the seqnum before we dispose the message.
124
125 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
126
127         * docs/design/part-TODO.txt:
128         Refer to the framestepping document.
129
130 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
131
132         * gst/gstbin.c: (bin_handle_async_start),
133         (gst_bin_handle_message_func), (gst_bin_query):
134         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
135         (gst_base_sink_event), (gst_base_sink_change_state):
136         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
137         (gst_base_src_loop), (gst_base_src_change_state):
138         Copy seqnums from events to messages so that they can all be related
139         back to eachother.
140
141 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * tools/gst-launch.c: (event_loop):
144         Print the message seqnums.
145
146 2008-11-04  Andy Wingo  <wingo@pobox.com>
147
148         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
149
150 2008-11-04  Andy Wingo  <wingo@pobox.com>
151
152         Add sequence numbers to events and messages. See #559250.
153
154         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
155         API: New functions.
156
157         * gst/gstevent.h:
158         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
159         events with a new sequence number, and copy it when copying.
160         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
161         an event's sequence number.
162
163         * gst/gstmessage.h:
164         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
165         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
166         so with messages.
167
168         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
169
170 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
171
172         * docs/manual/advanced-position.xml:
173         * docs/manual/basics-bins.xml:
174         * docs/manual/basics-bus.xml:
175         * docs/manual/basics-pads.xml:
176         * docs/manual/intro-gstreamer.xml:
177         * docs/manual/intro-preface.xml:
178         Some Application Development Manual fixes thanks to
179         Andrew Feren. Fixes #558459.
180
181 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
182
183         * gst/gstregistrybinary.c:
184           Don't bother with the GTimer if we don't output the results.
185
186 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         Patch by: David Schleef  <ds@schleef.org>
189
190         * libs/gst/net/Makefile.am:
191         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
192
193 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
194
195         * gst/gstregistrybinary.c:
196           Oh my, studip, stupid me. Remove double stat() call.
197
198 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
199
200         * gst/gstpreset.c:
201           Use g_unlink instead of unlink.
202
203         * gst/gststructure.c:
204           Use glib type.
205
206         * gst/gstutils.c:
207           Add a FIXME:.
208
209         * gst/gsttaglist.c:
210         * gst/gsttypefind.c:
211         * gst/gstvalue.c:
212           Formatting & whitespaces.
213
214 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
215
216         * plugins/elements/gstidentity.c:
217           Doc typo. Use return value of parent_class->event.
218   
219         * plugins/elements/gsttypefindelement.c:
220           Chain up at the end for consistency.
221   
222 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
223
224         * docs/Makefile.am:
225         * docs/gst/gstreamer-docs.sgml:
226         * docs/gst/gstreamer-sections.txt:
227         * docs/gst/running.xml:
228         * docs/libs/gstreamer-libs-docs.sgml:
229           Change to xinclude based build - its faster and easier to maintain.
230
231 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
232
233         * gst/gstregistrybinary.c:
234         * gst/gstregistryxml.c:
235           Use g_unlink() as none of these are directories.
236
237 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
240         Some more comments.
241
242 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
243
244         * libs/gst/base/gstbasetransform.c:
245         (gst_base_transform_find_transform), (gst_base_transform_getrange):
246         If we have a fixate function, call it even if we already have fixed caps
247         because the subclass might add some caps. Makes audioconvert add a
248         default channel layout.
249
250 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
251
252         * libs/gst/base/gstbasetransform.c:
253         (gst_base_transform_prepare_output_buffer),
254         (gst_base_transform_getrange):
255         Clear the output buffer variable.
256         Cleanups to the error path in the getrange function.
257         Fixes #557649.
258
259 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
260
261         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
262         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
263         Use gst_buffer_try_new_and_alloc() and handle errors instead of
264         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
265         be allocated.
266
267 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
268
269         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
270         Set the last_stop to a more meaningful position when configuring the
271         segment. ie. the start/stop of the segment or clipped against the
272         updated segment boundaries.
273
274         * tests/check/gst/gstsegment.c: (GST_START_TEST):
275         Add some unit tests for the last_stop.
276
277 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
278
279         * libs/gst/base/gstbytereader.c:
280         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
281         copies of them.
282
283 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
284
285         * docs/gst/gstreamer-sections.txt:
286         * gst/gstutils.h:
287         API: Move float endianness conversion macros from libgstfloatcast
288         to core as it's useful in general, even in core. Fixes bug #555196.
289         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
290         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
291         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
292
293         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
294         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
295         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
296         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
297
298 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
299
300         * docs/libs/gstreamer-libs-sections.txt:
301         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
302         (gst_byte_reader_peek_data):
303         * libs/gst/base/gstbytereader.h:
304         * win32/common/libgstbase.def:
305         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
306         to get a pointer to the data at the current position and have
307         a guaranteed size.
308
309 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
310
311         * configure.ac:
312         Fix a bug in the output of the configure script summary
313         when --gst-disable-registry is supplied
314
315 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
316
317         * libs/gst/base/gstbitreader.c:
318         * libs/gst/base/gstbytereader.c:
319         Fix the names of 2 functions in the docs strings.
320
321 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
322
323         * libs/gst/base/gstbasetransform.c:
324         (gst_base_transform_prepare_output_buffer),
325         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
326         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
327         refcount problems as seen in banshee and maybe also in farsight2.
328         Remove atomic int now that we need to take the lock anyways.
329
330 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
331
332         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
333         (gst_base_sink_default_prepare_seek_segment),
334         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
335         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
336         (gst_base_sink_query):
337         Implement more seeking in pull mode.
338         Use pad convert functions to convert position to the requested format.
339         Fix position/duration reporting in pull mode.
340         Implement position and duration reporting in other formats than time.
341
342         * libs/gst/base/gstbasesink.h:
343         Add member to keep track of when the segment is playing.
344
345 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
346
347         * gst/gstpad.c: (gst_pad_configure_src):
348         When we use gst_pad_alloc_buffer() without wanting to set the caps we
349         also don't need to check if the caps are compatible because the caller
350         presumably is going to perform its own custom checks. Fixes some cases
351         where basetransform elements would error out when it was not needed.
352
353 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
354
355         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
356         Update comment.
357
358         * libs/gst/base/gstbasetransform.c:
359         (gst_base_transform_handle_buffer),
360         (gst_base_transform_reconfigure):
361         Add some debug info.
362
363         * win32/common/libgstbase.def:
364         Add new method.
365
366 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
367
368         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
369           Remove duplicated assignment and log a message in failure case.
370
371 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
372
373         Patch by: Dig Ge <dig.ge.cn at gmail com>
374
375         * tests/examples/helloworld/helloworld.c: (main):
376           Fix copy'n'paste bug in hello world example (#556900).
377
378 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
379
380         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
381         (gst_base_sink_query):
382         Query the total number of bytes when activating the pad in pull mode.
383         Implement duration query in pull mode by using the installed pad convert
384         function to convert from bytes to the requested format.
385
386 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
387
388         * docs/libs/gstreamer-libs-sections.txt:
389         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
390         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
391         (gst_base_sink_event), (gst_base_sink_perform_seek),
392         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
393         (gst_base_sink_send_event), (gst_base_sink_change_state):
394         * libs/gst/base/gstbasesink.h:
395         Add method to commit the state in subclasses.
396         Refactor the flush_start and flush_stop code because we need it for
397         flushing while seeking too.
398         Implement the beginnings of seeking in pull mode.
399         Use the segment last_stop field for the pulling offset.
400         Fix the pause method in pull mode.
401         Configure the segment to BYTES for pull mode.
402         API: GstBaseSink::gst_base_sink_do_preroll()
403
404 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
405
406         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
407         Update some docs.
408
409 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
410
411         * gst/gstquark.c: (_priv_gst_quarks_initialize):
412           Fix printf format warning.
413
414 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
415
416         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
417         Fix flow aggregation of tee. Error out immediately for all flow returns
418         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
419         and return OK if at least one pad is linked.
420
421         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
422         and otherwise returned the flow return of the last pad, which is wrong.
423         
424         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
425         (GST_START_TEST), (tee_suite):
426         Add unit tests for the flow aggregation.
427
428 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
429
430         * docs/design/part-TODO.txt:
431         Remove item from the todo list because it was fixed with the latency
432         state change rewrites.
433
434         * docs/design/part-seeking.txt:
435         * docs/design/part-segments.txt:
436         Update some docs.
437
438         * gst/gstevent.c: (gst_event_new_new_segment_full),
439         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
440         (gst_event_parse_buffer_size), (gst_event_new_qos),
441         (gst_event_parse_qos), (gst_event_new_seek),
442         (gst_event_parse_seek), (gst_event_new_latency),
443         (gst_event_parse_latency):
444         Use quarks to construct and parse events.
445
446         * gst/gstquark.c: (_priv_gst_quarks_initialize):
447         * gst/gstquark.h:
448         Add some more quarks to the table.
449         Emit a warning when the quark tables are not in sync.
450
451         * tests/check/gst/gstbus.c: (GST_START_TEST):
452         Add an assert.
453
454 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
455
456         * plugins/elements/Makefile.am:
457         * plugins/indexers/Makefile.am:
458           Don't install static libs for plugins. Fixes #550851 for core.
459
460 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
461
462         * gst/gstbus.c: (gst_bus_source_finalize),
463         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
464         (gst_bus_enable_sync_message_emission),
465         (gst_bus_disable_sync_message_emission),
466         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
467         Fix deadlock, g_source_get_id() cannot be called in finalize.
468         Keep track of the watch source by keeping a pointer to the source object
469         instead.
470         Use the bus lock to protect access to the pointer to the current
471         watch source.
472
473 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
474
475         Base on Patch by: Olivier Crete <tester at tester dot ca>
476
477         * gst/gstbus.c: (gst_bus_source_finalize),
478         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
479         Only allow one bus watch to be set at a time. This is necessary
480         because the dispatcher pops the message from the bus and the second
481         watcher will then get NULL or the next message (and the first won't
482         get this next message then, etc). If more than one "watcher" is
483         required signal watches should be used. Fixes bug #526044.
484
485 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
486
487         * tools/gst-launch.c:
488         Change the printing of the 'buffering...' output to avoid putting
489         a \r in a translateable string (flagged by the TP).
490
491 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
492
493         * gst/gstxml.c:
494         Clarify that the save_thyself() and restore_thyself() virtual
495         functions of GstObject need to be overriden, not
496         gst_object_(save|restore)_thyself() which is impossible.
497         Fixes bug #555700.
498
499 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
500
501         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
502         Revert a patch from 21 months ago that broke caps negotiation in pull
503         mode. Basically, having a buffer pass over a pad will trigger the
504         setcaps function when caps change, just like in push mode.
505
506 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
507
508         * docs/design/part-negotiation.txt:
509         Update the docs some more.
510
511         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
512         If we pull a buffer with non-trivial caps, suggest those caps with the
513         max probability.
514
515 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
516
517         * docs/design/part-TODO.txt:
518         Add another limitation of pad-blocking with segment seeks not pushing
519         EOS events.
520
521 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
522
523         * win32/common/libgstbase.def:
524         * win32/common/libgstreamer.def:
525         Add new symbols to the win32 defs files
526
527 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
528
529         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
530         (gst_bin_handle_message_func):
531         The message src can be NULL, don't try to print the object names in that
532         case.
533
534         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
535         Add some more debug info.
536
537         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
538         (GST_START_TEST):
539         Add some debug.
540         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
541         scheduling modes.
542
543 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
544
545         * docs/design/part-negotiation.txt:
546         Small doc update.
547
548         * docs/libs/gstreamer-libs-sections.txt:
549         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
550         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
551         (gst_base_sink_init), (gst_base_sink_set_blocksize),
552         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
553         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
554         (gst_base_sink_loop), (gst_base_sink_pad_activate),
555         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
556         (gst_base_sink_change_state):
557         * libs/gst/base/gstbasesink.h:
558         Add blocksize property and methods to control the amount of data
559         to pull.
560         Negotiate first before activating upstream in pull mode so that they can
561         negotiate themselves.
562         When we operate in pull mode, we only accept the caps that we
563         negotiated.
564         Make the sink go ASYNC to PAUSED, like all other sinks.
565         API: GstBaseSink::gst_base_sink_set_blocksize()
566         API: GstBaseSink::gst_base_sink_get_blocksize()
567         API: GstBaseSink::blocksize
568
569         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
570         (gst_base_src_set_live), (gst_base_src_is_live),
571         (gst_base_src_set_format), (gst_base_src_query_latency),
572         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
573         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
574         (gst_base_src_set_property), (gst_base_src_get_property):
575         * libs/gst/base/gstbasesrc.h:
576         Add typechecking in public API functions.
577         Add methods to control the blocksize in subclasses.
578         API: GstBaseSrc::gst_base_src_set_blocksize()
579         API: GstBaseSrc::gst_base_src_get_blocksize()
580
581 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
582
583         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
584         (buffer_probe), (event_probe), (GST_START_TEST):
585         We now see 3 events go through our pad, since basesink now sends
586         upstream latency events.
587
588 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
589
590         * gst/gstpipeline.c: (gst_pipeline_change_state):
591         Release the object lock before trying to flush the bus.
592
593 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
594
595         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
596         Forward LATENCY events upstreams so that elements know about the total
597         pipeline latency. Fixes #555307.
598
599 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
600
601         * plugins/elements/gstqueue.c:
602         Allow through queries when we don't know how
603         to adjust them (not TIME or BYTES), as otherwise it's
604         not possible to query the current position in order
605         to seek in other formats at all.
606
607 2008-10-08  Andy Wingo  <wingo@pobox.com>
608
609         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
610
611 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
612
613         * gst/gstghostpad.c:
614         * gst/gstghostpad.h:
615         Unbreak -good build, private is a reserved c++ keyword.
616
617 2008-10-08  Andy Wingo  <wingo@pobox.com>
618
619         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
620         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
621         removal: re-add GST_GHOST_PAD_CAST to the header.
622
623         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
624         (GstGhostPadClass): Publically expose these structures so as to
625         allow easy subclassing from C. Hide the member data behind a
626         private opaque data pointer.
627
628         * gst/gstghostpad.c: Adapt to store instance data in the type
629         instance's private data region, not in the public struct.
630
631 2008-10-08  Andy Wingo  <wingo@pobox.com>
632
633         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
634         template via g_object_get(), be sure to unref it.
635
636         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
637
638 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
639
640         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
641         If we can't get a cache file don't try to save something to it.
642         Dereferencing NULL pointers usually isn't a good idea.
643
644 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
645
646         * tests/check/Makefile.am:
647         * tests/check/gst/gstabi.c:
648         * tests/check/gst/struct_sparc.h:
649         * tests/check/libs/libsabi.c:
650         * tests/check/libs/struct_sparc.h:
651         Add Sparc ABI checks
652
653         * tests/check/gst/gstvalue.c: (GST_START_TEST):
654         Cast signed integer to unsigned to avoid a compiler warning.
655
656 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
657
658         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
659         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
660         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
661         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
662         (gst_byte_reader_peek_int24_be):
663         Use new GST_READ_UINT24_(LE|BE) macros.
664
665 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
666
667         * docs/gst/gstreamer-sections.txt:
668         * gst/gstutils.h:
669         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
670         as it's too easy to break the ISO C strict aliasing rules with simple
671         casts to the corresponding type and this would introduce hard to debug
672         bugs. Fixes bug #545714.
673
674         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
675
676 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
677
678         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
679         * gst/gstghostpad.c: (gst_ghost_pad_construct):
680           Add 'Since' bits to gtk-doc chunks for new API.
681
682 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
683
684         * docs/gst/gstreamer-sections.txt:
685         Fix documentation
686
687 2008-10-06  Andy Wingo  <wingo@pobox.com>
688
689         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
690         that will be called on the malloc_data to free it. Basically a way
691         to avoid subclassing when all you need is a different free
692         function, i.e. free() instead of g_free().
693
694         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
695         calling the free function.
696         (gst_buffer_init): Initialize the free function to g_free.
697
698 2008-10-06  Andy Wingo  <wingo@pobox.com>
699
700         * gst/gstghostpad.h:
701         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
702         finishes the initialization of ghost pad. Useful for language
703         bindings and subclassers of GstGhostPad. Fixes #539108.
704         (gst_ghost_pad_new_full): Use the new constructor.
705
706 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
707
708         Base on Patch by: Olivier Crete <tester at tester dot ca>
709
710         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
711         (gst_bin_remove_func), (update_degree),
712         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
713         Keep track of pads that are being linked/unlinked and resync the state
714         changes.
715
716         * gst/gstpad.c: (gst_pad_get_direction),
717         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
718         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
719         (gst_pad_link_prepare), (gst_pad_link),
720         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
721         (gst_pad_check_pull_range), (gst_pad_get_range),
722         (gst_pad_pull_range):
723         Some code cleanups, use macros to check pad direction.
724         Don't need to take the lock on the pad direction.
725         Post structure change when pads are linked/unlinked.
726         Change some checks into _return_if_fail().
727
728         * tests/check/gst/gstbin.c:
729         (test_link_structure_change_state_changed_sync_cb),
730         (GST_START_TEST), (gst_bin_suite):
731         Add testcase for pad link/unlinke resync during a state change.
732         Fixes #510354.
733
734 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
735
736         * docs/gst/gstreamer-sections.txt:
737         * gst/gstmessage.c: (gst_message_new_structure_change),
738         (gst_message_parse_structure_change):
739         * gst/gstmessage.h:
740         Implement STRUCTURE_CHANGED messages. These messages will be used to
741         signal the parent bin of link/unlink operations that could require a
742         resync when doing a state change. See ##510354.
743         API: gst_message_new_structure_change()
744         API: gst_message_parse_structure_change()
745
746 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
747
748         * gst/gstquark.c:
749         * gst/gstquark.h:
750         Add some more quarks for new message. See #510354.
751
752 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
753
754         * docs/libs/gstreamer-libs-docs.sgml:
755         * docs/libs/gstreamer-libs-sections.txt:
756         * libs/gst/base/Makefile.am:
757         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
758         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
759         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
760         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
761         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
762         (gst_bit_reader_skip_to_byte):
763         * libs/gst/base/gstbitreader.h:
764         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
765         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
766         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
767         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
768         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
769         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
770         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
771         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
772         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
773         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
774         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
775         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
776         * libs/gst/base/gstbytereader.h:
777         * tests/check/Makefile.am:
778         * tests/check/libs/bitreader.c: (GST_START_TEST),
779         (gst_bit_reader_suite):
780         * tests/check/libs/bytereader.c: (GST_START_TEST),
781         (gst_byte_reader_suite):
782         API: Add bit reader and byte reader classes, including documentation
783         and an extensive unit test suite. Fixes bug #553554.
784
785 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
786
787         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
788         (gst_base_sink_query):
789         Improve position reporting while flushing and other intermediate state
790         changes. Fixes #553874.
791
792 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
793
794         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
795
796         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
797         Original patch by : Simon Descaries
798         Fix small refount leak in caps compatibility check.
799         Fixes #551676.
800
801 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
802
803         * docs/pwg/advanced-request.xml:
804           Fix 0.8 api usage in example. Fixes #554561
805
806         * docs/pwg/appendix-porting.xml:
807           Change 0.9 to 0.10 here.
808
809 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
810
811         * docs/manual/basics-data.xml:
812           Change "event-event interaction" to "element-element interaction".
813           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
814           updates.
815
816 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
817
818         * configure.ac:
819         Back to development -> 0.10.21.1
820
821 === release 0.10.21 ===
822
823 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
824
825         * configure.ac:
826           releasing 0.10.21, "Take These Things From Me"
827
828 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
829
830         * configure.ac:
831         0.10.20.4 pre-release
832
833 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
834
835         * libs/gst/base/gstbasetransform.c:
836         * plugins/elements/gstcapsfilter.c:
837         * tests/check/Makefile.am:
838         * tests/check/elements/.cvsignore:
839         * tests/check/elements/capsfilter.c:
840         Fix assertion in basetransform when the subclass chooses not to
841         allocate a buffer in prepare_buffer(), and make capsfilter error out
842         cleanly if requested to apply caps that don't completely specify the
843         buffer. Fixes #551509
844
845 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
846
847         * libs/gst/base/gstbasetransform.c:
848         (gst_base_transform_prepare_output_buffer):
849         Take new caps ref because our old one might have been gone when the
850         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
851
852 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
853
854         * configure.ac:
855           Do not probe availability of check unit test library when cross
856           compiling, as test would not work anyway. Also cleanup verbose output
857           of the check test. Fixes #551952.
858
859 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
860
861         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
862
863         * gst/gstelement.c: (gst_element_sync_state_with_parent):
864         Avoid leaking the parent ref when we fail changing the state of the
865         element using gst_element_sync_state_with_parent(). Fixes #551978.
866
867 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
868
869         * docs/manual/intro-motivation.xml::
870           Remove some bits that no longer apply, update others (#551642).
871
872 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
873
874         * configure.ac:
875         0.10.20.2 pre-release
876
877         * po/LINGUAS:
878         * po/id.po:
879         * po/pt_BR.po:
880
881         New translations.
882
883 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
884
885         * win32/common/config.h.in:
886           Add GST_DATADIR, hard-code cpu to x86.
887
888         * win32/common/libgstreamer.def:
889           Spaces to tabs.
890
891 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
892
893         * gst/gsttaglist.h:
894           Fix Since: markers for new geo tags.
895
896 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
897
898         * gst/gsttaglist.h:
899           Fix actual tag name define after renaming from altitude to elevation.
900
901 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
902
903         * gst/gstpad.c: (add_unref_pad_to_list),
904         (gst_pad_get_internal_links_default):
905         Add fallback when calling the deprecated function on an element that
906         implements the new internal_link handler.
907
908 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
909
910         * docs/gst/gstreamer-sections.txt:
911         * gst/gsttaglist.c:
912         * gst/gsttaglist.h:
913           Add new tags for geo location and clarify purpose of existing location
914           tag. Fixes #481169
915
916 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
917
918         Patch by: Olivier Crete <tester at tester dot ca>
919
920         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
921         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
922         Use thread-safe internal links iterator. Fixes #549504.
923
924 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
925
926         Based on patch by: Olivier Crete <tester at tester dot ca>
927
928         * docs/gst/gstreamer-sections.txt:
929         * win32/common/libgstreamer.def:
930         * gst/gstpad.c: (gst_pad_init),
931         (gst_pad_set_iterate_internal_links_function),
932         (int_link_iter_data_free), (iterate_pad),
933         (gst_pad_iterate_internal_links_default),
934         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
935         * gst/gstpad.h:
936         Add threadsafe replacement functions for getting internal links of an
937         element. Deprecate the old internal links functions.
938         API:GstPad::gst_pad_set_iterate_internal_links_function()
939         API:GstPad::GstPadIterIntLinkFunction
940         API:GstPad::gst_pad_iterate_internal_links()
941         API:GstPad::gst_pad_iterate_internal_links_default()
942
943         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
944         (gst_proxy_pad_init):
945         Implement threadsafe internal links.
946
947         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
948         Unit test for internal links on tee. See #549504.
949
950 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
951
952         * tests/check/Makefile.am:
953         libs/transform1 test requires libs/test_transform.c
954
955 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
956
957         * gst/gstpad.c: (gst_pad_get_internal_links_default):
958         Die evil deadlock, die !
959
960 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
961
962         * gst/gstutils.c: (gst_element_get_compatible_pad):
963         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
964         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
965         Fix all leaks due to the bug in gst_pad_template_new() by which it does
966         not steal the refcount of the given caps as stated.
967
968         REVERT THIS COMMIT ONCE FIXED !
969         REVERT THIS COMMIT ONCE FIXED !
970         REVERT THIS COMMIT ONCE FIXED !
971         REVERT THIS COMMIT ONCE FIXED !
972         REVERT THIS COMMIT ONCE FIXED !
973         REVERT THIS COMMIT ONCE FIXED !
974
975 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
976
977         * gst/gstiterator.c:
978         * gst/gstiterator.h:
979         After 3 years it's about time to revise the documentation of the
980         iterator objects.
981
982 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         * gst/gstpad.c: (gst_pad_get_internal_links_default):
985         Make the internal links function less thread-unsafe and add some
986         comments, dunno why.
987
988 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
989
990         * gst/gst_private.h:
991           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
992           build with --disable-gst-debug.
993
994 2008-08-28  David Schleef  <ds@schleef.org>
995
996         * gst/gstpadtemplate.c: Revert last change, since it breaks
997           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
998           but shouldn't be enabled until we've released fixed versions
999           of -good and -ffmpeg.
1000
1001 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1002
1003         * gst/gstobject.c:
1004           Put the gst_object_get_name() back in.
1005
1006 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1007
1008         * gst/gstpadtemplate.c:
1009           The old behaviour was that gst_pad_template_new() takes ownership of
1010           the caps. As we now call g_object_new() which calls g_object_set() and
1011           which copies the caps, we have to unref them to not leak them. Fixes
1012           make valgrid for me.
1013
1014 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1015
1016         * gst/gsturi.c:
1017           Don't segfault on input like "tel:+1-123-555-1234".
1018
1019 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1020
1021         * gst/gstobject.c:
1022           Due to popular request also include ObjectType in
1023           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1024
1025 2008-08-26  David Schleef  <ds@schleef.org>
1026
1027         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1028           src_val must be positive, because that's not a requirement.
1029           This causes problems with converting negative granulepos
1030           values for Dirac.
1031         * gst/gstquery.c: Same, gst_query_new_convert().
1032
1033 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1034
1035         * gst/gstclock.c: (gst_clock_add_observation):
1036         Add some more debugging to the clock slaving code.
1037
1038         * win32/common/libgstbase.def:
1039         Add new basetransform method.
1040
1041 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1042
1043         * gst/gstbin.c: (gst_bin_element_set_state):
1044         Take the (recursive) state lock between getting the locked state of an
1045         element and changing the element state. This allows the application to
1046         lock an element's state and then change its state without races.
1047
1048 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1049
1050         * gst/gstbin.c: (gst_bin_element_set_state):
1051         When an element is in the locked state we still want to update the
1052         base_time of the element.
1053
1054 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1055
1056         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1057         Use the result from gst_pad_set_caps() instead of assuming the element
1058         always accepted the caps computed by the default negotiate function.
1059
1060 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1061
1062         * docs/libs/gstreamer-libs-sections.txt:
1063         * libs/gst/base/gstbasetransform.c:
1064         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1065         (gst_base_transform_chain), (gst_base_transform_suggest),
1066         (gst_base_transform_reconfigure):
1067         * libs/gst/base/gstbasetransform.h:
1068         Implement method for reconfiguring basetransform.
1069         API: GstBaseTransform::gst_base_transform_reconfigure()
1070
1071 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1072
1073         patch by: Murray Cumming <murrayc@murrayc.com>
1074
1075         * gst/gstutils.c:
1076           Mention that this is just like gst_buffer_merge() but with extra
1077           unreffing for C coders. Advise language bindings not to wrap it.
1078           Fixes Bug #533856.
1079           
1080           Also fix file comment.
1081
1082 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1083
1084         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1085
1086         * plugins/elements/gstfakesink.c:
1087         * plugins/elements/gstfakesrc.c:
1088           Call super::event() when not handling it. Fixes #544855.
1089
1090 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1091
1092         Patch by: Alessandro Decina <alessandro@nnva.org>
1093         * plugins/elements/gstfilesrc.c:
1094           Use 64 bit variants of stat functions on win32, to enable support
1095           of large files there.
1096           Fixes #547277.
1097
1098 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1099
1100         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1101         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1102         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1103         (gst_base_sink_get_position), (gst_base_sink_change_state):
1104         Improve position reporting in the flushing state.
1105         Also report the position when we are not yet prerolled but we
1106         have a newsegment event. Fixes #543444.
1107         Improve the pull-based negotiation code.
1108
1109         * tests/check/elements/fakesink.c: (GST_START_TEST),
1110         (fakesink_suite):
1111         Add testcase for position reporting while flushing in PAUSED and
1112         PLAYING.
1113
1114         * tests/check/generic/sinks.c: (GST_START_TEST):
1115         Update unit-test, we can now query the position as soon as we receive a
1116         NEWSEGMENT event.
1117
1118 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1119
1120         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1121
1122         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1123         When the subclass event handler releases the PREROLL_LOCK, we could be
1124         in the flushing state and we have to ignore the event. Fixes #548394.
1125
1126 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1127
1128         * tools/gst-launch.1.in:
1129           Document GST_REGISTRY_UPDATE environment variable.
1130
1131 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1132
1133         * libs/gst/base/gstbasetransform.c:
1134         (gst_base_transform_prepare_output_buffer):
1135         If the element is configured in passthrough mode but the
1136         prepare_output_buffer gave us a new output buffer, discard that buffer
1137         and reuse the input buffer.
1138
1139 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1140
1141         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1142
1143         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1144         (gst_tee_request_new_pad), (gst_tee_release_pad),
1145         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1146         * plugins/elements/gsttee.h:
1147         Protect pad_alloc with a new lock so that we can be sure that nothing is
1148         performing a pad_alloc when removing the pad. Fixes #547835.
1149
1150         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1151         (buffer_alloc_harness_teardown), (app_thread_func),
1152         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1153         Added testcase for shutdown race.
1154
1155 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1156
1157         * gst/gstpad.h:
1158         Add doc
1159
1160 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1161
1162         * libs/gst/base/gstbasetransform.c:
1163         (gst_base_transform_prepare_output_buffer),
1164         (gst_base_transform_buffer_alloc):
1165         Go over the buffer_alloc function again and make sure we always end up
1166         allocating a buffer.
1167         Add some more docs.
1168         Avoid doing pad alloc when we have a pending suggestion because we
1169         cannot yet deal with changing caps in that case. Fixes #547728
1170
1171 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1172
1173         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1174
1175         * docs/manual/advanced-clocks.xml:
1176         * docs/manual/clocks.png:
1177         * docs/manual/diagrams-clocks.svg:
1178           Add one more image showing different times together with a describing
1179           paragraph. Fixes #547729.
1180
1181 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1182
1183         * win32/common/libgstbase.def:
1184         Add new method.
1185
1186 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1187
1188         * libs/gst/base/gstbasetransform.c:
1189         (gst_base_transform_transform_caps),
1190         (gst_base_transform_prepare_output_buffer),
1191         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1192         Don't overwrite the outsize when calculating the expected size of a new
1193         buffer because we still need it in case we cannot process the new
1194         buffer.
1195         When converting the size of the new buffer to an upstream size, actually
1196         use the expected size of the buffer, not some other random value.
1197         Use an atomic int to signal that a new upstream caps suggestion is
1198         available.
1199         When we can convert the current buffer to a new format, check if the
1200         buffer size is of the expected size and allocate a new buffer of the
1201         expected size when this is not the case. Fixes #546883.
1202
1203         * tests/check/libs/transform1.c: (GST_START_TEST):
1204         remove ifdeffed code from the unit test.
1205
1206 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * pkgconfig/gstreamer-uninstalled.pc.in:
1209         * pkgconfig/gstreamer.pc.in:
1210           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1211           called gstcontroller-0.10.
1212
1213 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * gst/gstchildproxy.h:
1216         * gst/gstpreset.h:
1217           Remove double interface from doc-string.        
1218
1219 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1220
1221         * libs/gst/base/gstbasesrc.c:
1222         * libs/gst/base/gstbasetransform.c:
1223           Fix headings in docs and gtk-doc warnings.
1224
1225 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1226
1227         * gst/gstregistrybinary.c:
1228           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1229           libc.
1230           Fixes #544776.
1231
1232 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1233
1234         * libs/gst/base/gstbasetransform.c:
1235         (gst_base_transform_buffer_alloc):
1236         Fix a "may be used unitialized" warning.
1237
1238 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * docs/gst/gstreamer-sections.txt:
1241         * gst/gstpreset.h:
1242           Document preset-iface vmethods.
1243
1244 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1245
1246         * docs/manual/advanced-interfaces.xml:
1247           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1248           only used to discover devices.
1249
1250 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1251
1252         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1253
1254         * gst/gst.c: (init_pre):
1255         Make sure gettext returns translations in UTF-8 encoding rather
1256         than in the current locale encoding (#546822).
1257
1258 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1259
1260         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1261         Fix subset test.
1262
1263         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1264         Improve unit test subset tests and add a testcase for the subset failure
1265         cases.
1266
1267         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1268         Improve subtraction unit test.
1269
1270 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1271
1272         * plugins/elements/gsttee.c:
1273           Unlock, instead of locking again.
1274
1275 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1276
1277         * gst/gstpad.h:
1278         Clarify the docs a bit more.
1279
1280 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1281
1282         * tests/examples/metadata/read-metadata.c:
1283           Don't leak old taglist.
1284
1285 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1286
1287         Patch by: Olivier Crete <tester at tester dot ca>
1288
1289         * gst/gststructure.c:
1290         (gst_structure_fixate_field_nearest_fraction):
1291         Avoid overflows in fixation code when dealing with MAXINT values, which
1292         v4l2src seems to do.
1293         Fixes #546328.
1294
1295         * tests/check/gst/gststructure.c: (GST_START_TEST):
1296         Make a unit test to check the fix. 
1297
1298 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1299
1300         * plugins/elements/gstcapsfilter.c: (copy_func),
1301         (gst_capsfilter_set_property):
1302         Use new caps suggestion feature of basetransform to request a caps
1303         negotiation upstream.
1304
1305 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1306
1307         * docs/libs/gstreamer-libs-sections.txt:
1308         Add new function:
1309         API: GstBaseTransform::gst_base_transform_suggest()
1310
1311         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1312         (gst_base_transform_init), (gst_base_transform_transform_caps),
1313         (gst_base_transform_transform_size),
1314         (gst_base_transform_configure_caps),
1315         (gst_base_transform_can_transform),
1316         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1317         (gst_base_transform_prepare_output_buffer),
1318         (gst_base_transform_buffer_alloc),
1319         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1320         (gst_base_transform_chain), (gst_base_transform_activate),
1321         (gst_base_transform_set_passthrough),
1322         (gst_base_transform_is_passthrough),
1323         (gst_base_transform_set_in_place),
1324         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1325         (gst_base_transform_set_qos_enabled),
1326         (gst_base_transform_is_qos_enabled),
1327         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1328         (gst_base_transform_reconfigure):
1329         * libs/gst/base/gstbasetransform.h:
1330         Rewrite of basetransform to perform negotiation outside of the
1331         buffer_alloc functions.  Fixes #545853.
1332
1333         * tests/check/libs/transform1.c: (GST_START_TEST),
1334         (buffer_alloc_ct2):
1335         Update unit test.
1336
1337 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1338
1339         * tests/check/gst/gstpreset.c:
1340           Only run preset tests when $HOME is writable. Preliminary fix for
1341           #545433.
1342
1343 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1344
1345         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1346         (gst_bin_change_state_func), (bin_handle_async_done),
1347         (gst_bin_handle_message_func):
1348         Fix race for bins that simulate ASYNC state changes by inserting
1349         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1350         pending ASYNC messages even when the bin does not have ASYNC children.
1351         We note detect this behaviour because we will receive an ASYNC message
1352         that is originating from the bin itself. 
1353         Fixes races with decodebin2 state changes.
1354
1355         * tests/check/gst/gstbin.c: (GST_START_TEST):
1356         Add some more debug.
1357
1358 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1359
1360         * gst/gsttaglist.c: (_gst_tag_initialize):
1361           Fix typo.
1362
1363 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1364
1365         * gst/gsttaglist.c:
1366           Argh. actually save the text before committing. Now adds
1367           gst_tag_merge_strings_with_comma() to gst_tag_register().
1368
1369 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * gst/gsttaglist.c:
1372         * gst/gsttaglist.h:
1373           Do as tim pointed out and actually register the new tag. Also improve
1374           te docs and use gst_tag_merge_strings_with_comma() method to allow
1375           retriving all keywords merged in one list.
1376
1377 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1378
1379         * configure.ac:
1380         * docs/gst/gstreamer.types:
1381           Revert 'accidential' change of the configure option removal. We still
1382           need to generate the types file in configure --disable-load-save.
1383
1384 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1385
1386         * docs/gst/gstreamer-sections.txt:
1387         * gst/gsttaglist.h:
1388           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1389
1390 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1391
1392         * gst/gstpadtemplate.c:
1393           (gst_pad_template_class_init), (gst_static_pad_template_get),
1394           (gst_pad_template_new), (gst_pad_template_pad_created),
1395           (gst_pad_template_set_property), (gst_pad_template_get_property):
1396           Add "name-template", "direction", "presence" and "caps" properties,
1397           so that gst_pad_template_new() is just a thin wrapper around
1398           g_object_new(), which is better for bindings. (Fixes: #539772)
1399
1400 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1401
1402         * gst/gsturi.c:
1403           Be more liberal in what URIs we accept.
1404           Do not unescape bits of the URI for no apparent reason before passing to
1405           the element. Fixes #545352.
1406
1407 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1408
1409         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1410
1411         * gst/gst.c:
1412         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1413
1414 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1415
1416         * configure.ac:
1417         * docs/gst/gstreamer-sections.txt:
1418         * docs/gst/gstreamer.types:
1419         * docs/gst/gstreamer.types.in:
1420         * gst/Makefile.am:
1421         * gst/gst.c:
1422         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1423         * gst/gstconfig.h.in:
1424         * gst/gstelement.c: (gst_element_get_index):
1425         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1426         (gst_registry_binary_load_feature),
1427         (gst_registry_binary_read_cache):
1428         * gst/gstregistryxml.c: (load_feature),
1429         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1430         * plugins/Makefile.am:
1431         * tools/gst-indent:
1432         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1433         (print_plugin_features), (print_element_features):
1434         * tools/gst-xmlinspect.c: (print_event_masks),
1435         (print_element_info):
1436         * win32/common/gstconfig.h:
1437         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1438
1439         Disabling the indexers and URI handler code will only reduce the
1440         required amount of memory by a very small amount but on the other hand
1441         requires much more maintaince work. Apart from that many places of
1442         code are broken when disabling them.
1443
1444         Disabling the enum types doesn't reduce the required amount of memory
1445         by more than a few bytes and makes it hard to fix bugs like #539772,
1446         i.e. use the enums as GObject properties.
1447
1448 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1449
1450         * docs/design/part-TODO.txt:
1451         Add some thoughts and problems with upstream renegotiation.
1452
1453 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1454
1455         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1456         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1457         Remove silly redundant debug.
1458         Add some more debug info.
1459         Clarify the docs regarding new caps received from pad_alloc.
1460
1461 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1462
1463         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1464         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1465         Make setting the caps more threadsafe.
1466
1467 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1468
1469         * docs/design/part-element-transform.txt:
1470         Update docs.
1471
1472 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1473
1474         * plugins/elements/gstqueue.c: (gst_queue_init),
1475         (gst_queue_acceptcaps):
1476         Add and use a custom acceptcaps function instead of falling back to the
1477         potentially less optimized default implementation.
1478
1479 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1480
1481         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1482           Only sanity-check the buffer size if requested_caps == buffer_caps
1483           (ie. don't take pad caps into account, they're not relevant here)
1484
1485 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1486
1487         * plugins/elements/gsttee.c:
1488         * plugins/elements/gsttee.h:
1489           Reverting as not everything is clear yet. Needs some general design
1490           work.
1491
1492 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1493
1494         * ChangeLog:
1495           ChangeLog surgery for tee commit.
1496
1497 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1498
1499         * docs/gst/gstreamer-sections.txt:
1500           Cleanup section-file.
1501
1502 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * plugins/elements/gsttee.c:
1505         * plugins/elements/gsttee.h:
1506           Relay tag events in tee. Fixes parts of #474016.
1507           Downgrades 3 reoccurring debugs to log.
1508
1509 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1510
1511         * configure.ac:
1512         * libs/gst/Makefile.am:
1513           Build the net library if we have winsock2.
1514
1515 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1516
1517         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1518
1519         * docs/manual/advanced-threads.xml:
1520         * docs/manual/diagrams-pipelines.svg:
1521         * docs/manual/hello-world.png:
1522         * docs/manual/linked-elements.png:
1523         * docs/manual/mime-world.png:
1524         * docs/manual/queue.png:
1525         * docs/manual/thread-buffering.png:
1526         * docs/manual/thread-synchronizing.png:
1527           Replace one diagram with two separate ones and updates others.
1528           Fixes #542401.
1529
1530 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1531
1532         * gst/gstelement.h:
1533         Fix link in documentation.
1534
1535 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1536
1537         * gst/gstmessage.c:
1538         Fix confusing documentation.
1539
1540 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1541
1542         * libs/gst/base/gstbasesrc.h:
1543         revert the changes to the header file for the ABI.
1544
1545 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1546
1547         * libs/gst/base/gstbasesrc.c:
1548         * libs/gst/base/gstbasesrc.h:
1549         Don't cache the seekable status.
1550         Fixes bug #544174
1551
1552 2008-07-24  Rene Stadler  <mail@renestadler.de>
1553
1554         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1555         code to close the pipeline graph.  This prevents the program from
1556         printing internal data flow errors.
1557
1558 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1559
1560         * docs/manual/basics-bus.xml:
1561         Correct typo. Fixes bug #544320.
1562
1563 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1564
1565         * configure.ac:
1566           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1567           Add check (taken from -base) for winsock, adds WIN32_LIBS
1568         * gst/Makefile.am:
1569           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1570           winsock.
1571           Define GST_EXPORTS when building libgstreamer (only used on win32)
1572         * gst/gst_private.h:
1573         * gst/gstinfo.h:
1574           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1575           for symbols that we need to export in both these files.
1576         * gst/gstpoll.c:
1577           Include gst_private.h higher up to avoid some compile problems on win32.
1578
1579 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1580
1581         * gst/gstvalue.c:
1582         Fix typos.
1583
1584 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1585
1586         * gst/gstcaps.c:
1587         Previous commit was wrong NULL caps does not exist
1588         and indicate an error, so also add a FIXME to
1589         gst_caps_is_equal where NULL caps are accepted.
1590
1591 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1592
1593         * gst/gstcaps.c:
1594         Allow passing of NULL to gst_caps_union
1595
1596 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1597
1598         * gst/gstghostpad.c:
1599         Add in doc that gst_ghost_pad_set_target can accept
1600         NULL to clear target
1601
1602 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1603
1604         * gst/gstplugin.c:
1605         * gst/gstregistry.c:
1606           GstRegistryPool doesn't exist; don't refer to it in docs.
1607           Don't refer to functions that don't exist in docs, it's
1608           unhelpful.
1609
1610 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1611
1612         * gst/gst.c:
1613         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1614
1615 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1616
1617         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1618
1619         * docs/pwg/building-testapp.xml:
1620         Don't use an undeclared variable in the example program.
1621         Fixes bug #542573.
1622
1623 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1624
1625         * gst/gstdebugutils.c:
1626           Squeeze ghost-pad links and remove <> from classname labels to save
1627           more horizontal space.
1628
1629 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1630
1631         * gst/gstdebugutils.c:
1632           Give request and sometimes pads a different shpe style. Condense the
1633           graphs a little more.
1634
1635 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1636
1637         * configure.ac:
1638           Don't require flex and bison if the parser is disabled.
1639
1640 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1641
1642         * libs/gst/controller/gstinterpolationcontrolsource.c:
1643         (_list_find_sorted_custom):
1644         Don't use declarations after statements.
1645
1646 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1647
1648         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1649         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1650         of the the child-added / -removed signals as GstChildProxy
1651         only supports GstObjects.
1652
1653 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1654
1655         * gst/gstdebugutils.c:
1656         Fix memleak
1657
1658 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1659
1660         Patch by: Alessandro Decina <alessandro at nnva dot org>
1661
1662         * gst/gstpoll.c:
1663         Fix "ignored return value" compiler warning with newer glibc.
1664
1665 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1666
1667         * gst/gstchildproxy.c:
1668         Fix copy&paste error in gst_child_proxy_removed() documentation.
1669
1670 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1671
1672         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1673           Print error debug message if plugin description fields that should
1674           be set are NULL.
1675
1676         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1677           Don't crash if the string to serialise is NULL (it really should
1678           not be, but apparently this used to work with the xml registry ...).
1679
1680 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1681
1682         * tools/gst-plot-timeline.py:
1683         Fix parsing of log messages
1684
1685 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1686
1687         * win32/common/libgstbase.def::
1688           Sort alphabetically so make check-exports doesn't barf.
1689
1690 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1691
1692         * gst/gstevent.c:
1693           Use gst_format_get_name() to improve debug output.
1694
1695         * gst/gstpreset.c:
1696           Remove #ifdef'ed code. Add TODO comment.
1697
1698         * gst/gstsegment.c:
1699           Add debug output to ease spotting format != segment.format assertions.
1700
1701 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1702
1703         * tests/check/libs/gdp.c: (gst_dp_suite):
1704         Also enable the GDP unit test again on PPC now that the bug
1705         is fixed.
1706
1707 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1708
1709         * libs/gst/dataprotocol/dataprotocol.c:
1710         Don't write to the same region of memory as a uint64 and uint16
1711         as this breaks strict aliasing rules and apparantly breaks on PPC
1712         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1713
1714 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * libs/gst/controller/gstinterpolationcontrolsource.c:
1717           Optimize list handling. Use own find function. Exploit that fact that
1718           the list is sorted. Also pass back the node before, so that we can
1719           insert quickly. Have a fast path for append.
1720
1721 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * docs/design/draft-framestep.txt:
1724         * docs/design/part-negotiation.txt:
1725           Fix two typos.
1726
1727 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1728
1729         * configure.ac:
1730           Show configuration sumary after configure run. Based on patch by
1731           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1732
1733 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1734
1735         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1736
1737         * docs/manual/advanced-autoplugging.xml:
1738         * docs/manual/advanced-threads.xml:
1739         * docs/manual/basics-bins.xml:
1740         * docs/manual/basics-elements.xml:
1741         * docs/manual/basics-helloworld.xml:
1742         * docs/manual/basics-pads.xml:
1743           Add scale factor for pdf output.
1744
1745         * docs/manual/intro-basics.xml:
1746           Switched sections "pads" and "bins" and added a pipeline diagram.
1747
1748         * docs/manual/intro-gstreamer.xml:
1749           Added more info on gstreamer.
1750
1751         * docs/manual/intro-motivation.xml:
1752           Commented out the whole section "current problem", which sounds
1753           historical and somehow osolete; it could be turned in a positive
1754           way and reused to improve the design principles.
1755
1756         * docs/manual/intro-preface.xml:
1757           - Update URLs to library.gnome.org. 
1758           - Do not mention GTK+ in preliminary reading (irrelevant). 
1759           - Mention Plugin Writer's Manual and further reading only in the
1760             previous section.
1761           - Added a list of most relevant GObject/glib topics.
1762
1763         * docs/manual/Makefile.am:
1764         * docs/manual/bin-element-ghost.fig:
1765         * docs/manual/bin-element-ghost.png:
1766         * docs/manual/bin-element-noghost.fig:
1767         * docs/manual/bin-element-noghost.png:
1768         * docs/manual/bin-element.fig:
1769         * docs/manual/bin-element.png:
1770         * docs/manual/filter-element-multi.fig:
1771         * docs/manual/filter-element-multi.png:
1772         * docs/manual/filter-element.fig:
1773         * docs/manual/filter-element.png:
1774         * docs/manual/gstreamer-overview.png:
1775         * docs/manual/hello-world.fig:
1776         * docs/manual/hello-world.png:
1777         * docs/manual/linked-elements.fig:
1778         * docs/manual/linked-elements.png:
1779         * docs/manual/mime-world.fig:
1780         * docs/manual/mime-world.png:
1781         * docs/manual/queue.fig:
1782         * docs/manual/queue.png:
1783         * docs/manual/simple-player.png:
1784         * docs/manual/sink-element.fig:
1785         * docs/manual/sink-element.png:
1786         * docs/manual/src-element.fig:
1787         * docs/manual/src-element.png:
1788         * docs/manual/diagrams-general.svg:
1789         * docs/manual/diagrams-pipelines.svg:
1790           Removed .fig, added .png counterpart.
1791           
1792           Fixes: #539137
1793
1794 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1795
1796         * plugins/elements/gstmultiqueue.c:
1797         * plugins/elements/gstmultiqueue.h:
1798         revert extra-size-buffers stuff, caused some race conditions
1799         and extra-size-buffers is not used anymore. Docs needs some updates
1800
1801 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1802
1803         * win32/common/config.h:
1804         * win32/common/gstenumtypes.c:
1805         * win32/common/gstenumtypes.h:
1806         * win32/common/gstversion.h:
1807           Update win32 files.
1808
1809 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1810
1811         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1812           (GST_DEBUG_BIN_TO_DOT_FILE):
1813           Add missing Since' markers to gtk-doc blurbs.
1814
1815 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1816
1817         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1818         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1819         (set_caps_1), (set_caps_ct1), (transform_ct1),
1820         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1821         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1822         (transform_size_ct2), (buffer_alloc_ct2):
1823         Add some more tests with switching caps in buffer_alloc.
1824
1825 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1826
1827         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1828         (gst_test_trans_class_init), (result_sink_chain),
1829         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1830         (gst_test_trans_push), (gst_test_trans_pop):
1831         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1832         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1833         (set_caps_1), (set_caps_ct1), (transform_ct1),
1834         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1835         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1836         (transform_size_ct2), (buffer_alloc_ct2),
1837         (gst_basetransform_suite):
1838         More tests, prepare for tests with switching caps in buffer_alloc.
1839
1840 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1841
1842         * plugins/elements/gstmultiqueue.c:
1843         * plugins/elements/gstmultiqueue.h:
1844         Fix dead-lock in underrun_cb
1845
1846 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1847
1848         * docs/design/part-states.txt:
1849         Fix device open/close docs.
1850
1851 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1852
1853         * ChangeLog:
1854           Mention bugnumber for last commit.
1855
1856 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1857
1858         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1859
1860         * docs/manual/manual.xml:
1861         - Reorganised the previous "introduction" bundle into Foreword,
1862         Introduction, and About GStreamer. The two first are <preface>
1863         docbook elements. The later is the first part of the book.
1864         - added intro-gstreamer.xml (content partially from
1865         intro-preface.xml)
1866         - moved appendix-win32.xml into appendix-integration.xml
1867
1868         * docs/manual/intro-preface.xml: gstreamer section moved...
1869         * docs/manual/intro-gstreamer.xml: ...here. new file.
1870
1871         * docs/manual/appendix-win32.xml: removed file. Content moved...
1872         * docs/manual/appendix-integration.xml: ...here.
1873         
1874         * docs/manual/highlevel-components.xml: section about GstEditor moved...
1875         * docs/manual/appendix-checklist.xml: ...here.
1876         
1877         Fixes: 538764
1878
1879 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1880
1881         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1882
1883         * docs/manual/basics-helloworld.xml:
1884         * docs/manual/hello-world.fig:
1885           - Explicitely include glib.h.
1886           - Do not use global variables.
1887           - Use g_printerr() instead of g_print().
1888           - Minor formating/renaming to increase readibility.
1889           - Renamed new_pad() to on_pad_added()
1890           - Improved explenatory comments.
1891           - renamed ogg parser to ogg demuxer
1892           - Use "autoaudiosink" instead of "alsasink".
1893           Fixes: #538619
1894
1895 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1896
1897         * ChangeLog:
1898           Remove cvs conflict marker.
1899
1900 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1901
1902         * docs/README:
1903           Document that for plgin-docs we extraxt he short-desc from the element
1904           details.
1905
1906         * docs/design/part-states.txt:
1907           Tell that devices should be closed in PAUSED -> READY.
1908
1909         * docs/manual/README:
1910           Document how tests in the manual are handled.
1911
1912         * docs/manuals.mak:
1913           Typo in comment.
1914
1915 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1916
1917         * gst/gstbin.c: (bin_query_latency_fold):
1918         Only care about latency min and max when the sink is actually a live
1919         sink.
1920
1921 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1922
1923         * docs/design/part-block.txt:
1924         Fix typo.
1925
1926         * docs/design/part-element-transform.txt:
1927         Add notes about why transform needs to know input/output sizes.
1928         Add some issues that need to be solved.
1929         Add some more use cases.
1930
1931         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1932         (gst_test_trans_class_init), (result_sink_chain),
1933         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1934         (gst_test_trans_push), (gst_test_trans_pop):
1935         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1936         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1937         (set_caps_1), (set_caps_ct1), (transform_ct1),
1938         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1939         (gst_basetransform_suite):
1940         Add suport for different pad templates and buffer-alloc.
1941         Add more checks for caps and buffer-alloc.
1942         Add checks for proxy buffer alloc.
1943         Add unit test for copy transform.
1944
1945 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1946
1947         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1948
1949         * docs/manual/appendix-integration.xml:
1950         * docs/manual/appendix-licensing.xml:
1951         * docs/manual/basics-elements.xml:
1952         * docs/manual/basics-helloworld.xml:
1953         * docs/manual/basics-pads.xml:
1954         * docs/manual/highlevel-components.xml:
1955         * docs/manual/highlevel-xml.xml:
1956         * docs/manual/intro-basics.xml:
1957         * docs/manual/intro-preface.xml:
1958           Typo and formatting fixes (#538594).
1959
1960 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1961
1962         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1963         Fix some memory leaks and uses of object instances that we don't
1964         actually own.
1965
1966 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1967
1968         * plugins/elements/gstmultiqueue.c:
1969         Add functionality to extra-size-buffers property.
1970
1971 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1972
1973         * plugins/elements/gstmultiqueue.c:
1974         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1975         activate the pads if they are added in STATE_NULL.
1976
1977 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1978
1979         * docs/libs/gstreamer-libs-sections.txt:
1980         Add new API to doc
1981         * libs/gst/check/gstcheck.c:
1982         * libs/gst/check/gstcheck.h:
1983         API: gst_check_teardown_pad_by_name
1984
1985 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1986
1987         * libs/gst/check/gstcheck.c:
1988         * libs/gst/check/gstcheck.h:
1989         Also setup request pads and allow setup pads by name (#537812)
1990         API: gst_check_setup_src_pad_by_name
1991         API: gst_check_setup_sink_pad_by_name
1992
1993 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1994
1995         * tests/check/gst/gstbuffer.c:
1996         * tests/check/pipelines/parse-launch.c:
1997           Use HAVE_VALGRIND_H some more.
1998
1999 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2000
2001         * scripts/cvs-update.sh:
2002           Pass arguments to make.
2003           Run autoregen.sh if Makefile is not there.
2004
2005 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2006
2007         * configure.ac:
2008         * gst/gstinfo.c:
2009           Don't assume that <valgrind/valgrind.h> exists just because
2010           the binary is there.
2011
2012 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2013
2014         * tests/check/Makefile.am:
2015         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2016         (gst_test_trans_class_init), (gst_test_trans_init),
2017         (gst_test_trans_set_data), (result_sink_chain),
2018         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2019         (gst_test_trans_pop):
2020         * tests/check/libs/transform1.c: (GST_START_TEST),
2021         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2022         Add some test basetransform element and the beginnings of various
2023         unit tests for it.
2024
2025 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2026
2027         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2028         Increase code readability.
2029         Don't try to compare buffer offsets when ther are invalid.
2030
2031 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2032
2033         * docs/design/Makefile.am:
2034           Dist some more design docs.
2035
2036         * docs/random/moving-plugins:
2037           Small addition: good plugins mustn't have functional code
2038           within assertion macros.
2039
2040 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2041
2042         * docs/design/draft-framestep.txt:
2043         Some ideas about a framestep API
2044
2045         * docs/design/part-element-transform.txt:
2046         Start design and use cases for basetransform in order to get it
2047         fixed soon.
2048
2049 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2050
2051         * gst/gsttaglist.h:
2052           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2053           be in UTF-8 encoding.
2054
2055 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2056
2057         * gst/gstbus.c:
2058           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2059
2060 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2061
2062         * plugins/elements/gstcapsfilter.c:
2063         * plugins/elements/gstfakesink.c:
2064         * plugins/elements/gstfakesrc.c:
2065         * plugins/elements/gstfdsink.c:
2066         * plugins/elements/gstfdsrc.c:
2067         * plugins/elements/gstfilesink.c:
2068         * plugins/elements/gstfilesrc.c:
2069         * plugins/elements/gstidentity.c:
2070         * plugins/elements/gstmultiqueue.c:
2071         * plugins/elements/gstqueue.c:
2072         * plugins/elements/gsttee.c:
2073         * plugins/elements/gsttypefindelement.c:
2074           Remove short_description. Add basic docs for gsttypefindelement.
2075           Simplify markup for fakesrc/fdsrc.
2076
2077 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2078
2079         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2080         Added Since doc.
2081
2082 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2083
2084         Patch by: Joel Larsson <tilljoel at gmail dot com>
2085
2086         * docs/plugins/gstreamer-plugins.args:
2087         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2088         (gst_fd_src_init), (gst_fd_src_update_fd),
2089         (gst_fd_src_set_property), (gst_fd_src_get_property),
2090         (gst_fd_src_create):
2091         * plugins/elements/gstfdsrc.h:
2092         Add timeout property like udpsrc. Fixes #538628.
2093         Add some more docs and example pipelines.
2094
2095 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2096
2097         * docs/libs/gstreamer-libs-sections.txt:
2098         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2099         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2100         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2101         (gst_base_sink_do_sync):
2102         * libs/gst/base/gstbasesink.h:
2103         * win32/common/libgstbase.def:
2104         Add method to allow sinks to specify additional delay between the sync
2105         times and the actual rendering of the data.
2106         API: gst_base_sink_set_render_delay()
2107         API: gst_base_sink_get_render_delay()
2108
2109 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2110
2111         * configure.ac:
2112         Bump version number back to dev -> 0.10.20.1
2113
2114 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2115
2116         * docs/gst/gstreamer-sections.txt:
2117         * gst/gsttaglist.c: (_gst_tag_initialize):
2118         * gst/gsttaglist.h:
2119         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2120         Fixes bug #538568.
2121
2122 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2123
2124         * libs/gst/controller/gstcontroller.c:
2125           Revert one change, that make ret value possible uninitialized.
2126
2127 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2128
2129         * libs/gst/controller/gstcontroller.c:
2130           Use freeze/thaw notify to sync notify emission a bit (its also more
2131           efficient). Move debug output to LOG (is called a lot in a loop).
2132           Always unset g_values if the have been initialized.
2133
2134 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2135
2136         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2137         (gst_base_sink_wait_eos), (gst_base_sink_event):
2138         If we have not seen a buffer before EOS, use the segment values to
2139         report the current position instead of invalid positions.
2140
2141 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2142
2143         * docs/plugins/tmpl/.cvsignore:
2144         * tests/check/gst/.cvsignore:
2145           Ignore more.
2146
2147 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2148
2149         * libs/gst/controller/gstinterpolation.c:
2150         * libs/gst/controller/gstinterpolationcontrolsource.c:
2151         * tests/check/libs/controller.c:
2152           Rewrite handling of default values. Fix overflow with unsigned types
2153           in linear interpolation. Remove now obsolete _first_value() function.
2154           Add more tests. Fixes #538201.
2155
2156 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2157
2158         * libs/gst/base/gstbasetransform.c:
2159         (gst_base_transform_class_init), (gst_base_transform_init),
2160         (gst_base_transform_transform_caps),
2161         (gst_base_transform_prepare_output_buffer):
2162         Add debug info.
2163         When a buffer is writable, its metadata is also writable so we don't
2164         need to subbuffer (which then makes the buffer not-writable anymore).
2165
2166 === release 0.10.20 ===
2167
2168 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2169
2170         * configure.ac:
2171           releasing 0.10.20, "You Crazy Diamond"
2172
2173 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2174
2175         * configure.ac:
2176         0.10.19.3 pre-release
2177
2178 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2179
2180         * configure.ac:
2181         * gst/gstpreset.c:
2182         Rename DATADIR to GST_DATADIR to avoid build problems
2183         on win32. Patch By: David Schleef <ds@schleef.org>
2184         Fixes: #536857
2185
2186 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2187
2188         * configure.ac:
2189         Explicitely link with -ldl if dladdr() is found there. Before it was
2190         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2191         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2192
2193 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2194
2195         * gst/gsterror.c: (_gst_stream_errors_init):
2196           Fix typo (spotted by Fabricio Godoy, #536723).
2197
2198 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2199
2200         * configure.ac:
2201         0.10.19.2 pre-release
2202
2203 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2204
2205         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2206         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2207         Add some debug.
2208         Make sure we don't generate invalid QoS messages.
2209
2210 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2211
2212         * gst/gstevent.c: (gst_event_new_qos):
2213         Add some assert and docs for invalid input to the qos function.
2214
2215 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2216
2217         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2218         (gst_base_sink_get_position):
2219         The reported position must always be smaller than the last seen
2220         timestamps (or timestamp + duration for reverse).
2221
2222 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2223
2224         Patch by: Rob Bradford <rob at robster dot org dot uk>
2225
2226         * gst/gstregistry.c: (gst_registry_scan_path_level):
2227         Don't recurse into .debug directories as some distros install
2228         the debugging symbols next to the plugins in .debug directories
2229         and dlopen() crashes on them sometimes. Fixes bug #508070.
2230
2231         Add FIXME for 0.11 to not recurse into directories at all because
2232         it's very inconsistent to the behaviour of other PATH environment
2233         variables.
2234
2235 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2236
2237         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2238         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2239         Fix position query range checks in reverse playback.
2240
2241 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2242
2243         * gst/gstelement.c:
2244         * gst/gstelement.h:
2245         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2246         clear of the reference to the resulting pad must be released later
2247         or not, resulting in possible leaks. Fixes bug #533865.
2248
2249 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2250
2251         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2252
2253         * gst/gstelementfactory.c:
2254         Small doc fix. Fixes #535285.
2255
2256 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2257
2258         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2259
2260         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2261         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2262         (gst_base_src_loop), (gst_base_src_set_flushing),
2263         (gst_base_src_change_state):
2264         Make sending an EOS event to the basesrc non-blocking even if the
2265         implementation does blocking waits in the create function. This is done
2266         by unlocking the create function when EOS is sent.
2267         Fixes #535218.
2268
2269 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2270
2271         * tools/gst-inspect.c: (print_element_properties_info):
2272         If possible print the element type of GValueArray properties.
2273
2274 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2275
2276         * gst/gstiterator.c:
2277         Remove an unused field from the private GstListIterator struct.
2278
2279 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2280
2281         * libs/gst/controller/gstcontroller.c:
2282           Add parameter guards.
2283
2284 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2285
2286         * tests/check/gst/gstpipeline.c:
2287           Revert test change and add comment why it should not work.
2288
2289 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2290
2291         * tests/check/gst/gstpipeline.c:
2292           Extending the test a little to verify that we also get the NULL state-
2293           change message.
2294
2295 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2296
2297         * gst/gstpreset.c: (gst_preset_default_get_meta),
2298           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2299           (gst_preset_load_preset), (gst_preset_save_preset),
2300           (gst_preset_rename_preset), (gst_preset_delete_preset),
2301           (gst_preset_set_meta):
2302           Add Since: markers to docs blurbs.
2303
2304         * win32/common/libgstreamer.def:
2305           Add recently-added API.
2306
2307 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2308
2309         Patch by: Stefan Kost  <ensonic@users.sf.net>
2310
2311         * configure.ac:
2312         Add DATADIR for storing presets.
2313
2314         * docs/gst/gstreamer-docs.sgml:
2315         * docs/gst/gstreamer-sections.txt:
2316         * docs/gst/gstreamer.types.in:
2317         Add GstPreset to docs.
2318
2319         * gst/Makefile.am:
2320         * gst/gst.h:
2321         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2322         (preset_open_and_parse_header), (preset_parse_version),
2323         (preset_merge), (preset_get_keyfile),
2324         (gst_preset_default_get_preset_names),
2325         (gst_preset_default_get_property_names),
2326         (gst_preset_default_load_preset),
2327         (gst_preset_default_save_presets_file),
2328         (gst_preset_default_save_preset),
2329         (gst_preset_default_rename_preset),
2330         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2331         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2332         (gst_preset_default_reset), (gst_preset_get_preset_names),
2333         (gst_preset_get_property_names), (gst_preset_load_preset),
2334         (gst_preset_save_preset), (gst_preset_rename_preset),
2335         (gst_preset_delete_preset), (gst_preset_set_meta),
2336         (gst_preset_get_meta), (gst_preset_class_init),
2337         (gst_preset_base_init), (gst_preset_get_type):
2338         * gst/gstpreset.h:
2339         Add GstPreset to core. Fixes #396779
2340
2341         * tests/check/Makefile.am:
2342         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2343         (gst_preset_test_set_property), (gst_preset_test_class_init),
2344         (gst_preset_test_base_init), (gst_preset_test_get_type),
2345         (gst_preset_test_plugin_init), (GST_START_TEST),
2346         (remove_preset_file), (test_setup), (test_teardown),
2347         (gst_preset_suite):
2348         Add GstPreset unit tests.
2349
2350 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2351
2352         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2353         The default event function on a sinkpad should return TRUE when
2354         there are no internal links but should collect the return values from
2355         the internal links otherwise.
2356
2357 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2358
2359         * plugins/elements/gsttypefindelement.c:
2360         (gst_type_find_element_src_event),
2361         (gst_type_find_element_handle_event):
2362         Use faster and safer _pad_push_event().
2363
2364 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2365
2366         * docs/gst/gstreamer-sections.txt:
2367         * gst/gstutils.c: (element_find_unlinked_pad),
2368           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2369         * gst/gstutils.h:
2370           API: add gst_bin_find_unlinked_pad()
2371           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2372
2373 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2374
2375         * gst/gstclock.c:
2376         * gst/gstclock.h:
2377         * gst/gsttask.c:
2378         * gst/gsttask.h:
2379         Fixed a bunch of typos.
2380
2381 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2382
2383         * gst/gstpad.h:
2384         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2385           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2386           (gst_parse_bin_from_description_full):
2387         * gst/gstutils.h:
2388           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2389
2390 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2391
2392         * docs/pwg/advanced-tagging.xml:
2393           Small docs update, can't be bothered to rewrite the nonsensical
2394           examples right now.
2395
2396 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2397
2398         * gst/gstevent.h:
2399           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2400
2401 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2402
2403         * gst/parse/grammar.y:
2404           Remove unneeded casts.
2405
2406 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2407
2408         * gst/parse/grammar.y:
2409         * tests/check/pipelines/parse-launch.c:
2410           Get all missing elements from a parse launch string if possible
2411           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2412
2413 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2414
2415         * tests/check/Makefile.am:
2416         * tests/check/pipelines/parse-launch.c:
2417           Add some unit tests for the new gst_parse_launch*_full() API.
2418           (Exposes a previously-existing memory leak in the error code
2419           path, so adding to VALGRIND_TO_FIX for now).
2420
2421 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2422
2423         * docs/gst/gstreamer-sections.txt:
2424         * gst/gst.c: (init_post):
2425         * gst/gst_private.h: (_GstParseContext):
2426         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2427           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2428           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2429           (gst_parse_launch_full):
2430         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2431           (GstParseFlags), (GstParseContext):
2432         * gst/gstutils.c: (gst_parse_bin_from_description),
2433           (gst_parse_bin_from_description_full):
2434         * gst/gstutils.h:
2435         * gst/parse/grammar.y:
2436         * gst/parse/types.h:
2437         * win32/common/libgstreamer.def:
2438           Add new gst_parse_*_full API (#528178):
2439           API: gst_parse_launch_full()
2440           API: gst_parse_launchv_full()
2441           API: gst_parse_bin_from_description_full()
2442           API: gst_parse_context_new()
2443           API: gst_parse_context_free()
2444           API: gst_parse_context_get_missing_elements()
2445
2446 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2447
2448         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2449
2450         * docs/faq/gst-uninstalled:
2451           Also support ffmpeg in gst-uninstalled.
2452
2453 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2454
2455         * configure.ac:
2456         After discussion on IRC use the binary registry as default
2457         but allow to disable it with --disable-binary-registry.
2458
2459         * win32/common/libgstreamer.def:
2460         Add the two new symbols for the binary registry.
2461
2462 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2463
2464         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2465         * gst/gstutils.c: (gst_parse_bin_from_description):
2466         * gst/parse/grammar.y: (graph):
2467           More guards against bad input; typo fix; some minor clean-ups.
2468
2469 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2470
2471         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2472
2473         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2474         If nothing else can be used, use the last buffer's start time as
2475         the segment's last stop. Fixes bug #534258.
2476
2477 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2478
2479         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2480           Move size sanity check to the right place: downstream may return
2481           a buffer with a smaller size if the buffer caps are different than
2482           the requested ones, as may happen when doing reverse negotiation.
2483
2484 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2485
2486         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2487         (gst_file_sink_render):
2488         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2489         (gst_file_src_start):
2490         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2491         use it yet.
2492
2493 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2494
2495         * gst/gstpad.c: (gst_pad_load_and_link):
2496         * gst/gstutils.c: (gst_element_link_pads),
2497         (gst_element_unlink_pads):
2498         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2499         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2500         (gst_check_teardown_sink_pad),
2501         (gst_check_element_push_buffer_list):
2502         * tests/check/elements/fakesink.c: (GST_START_TEST):
2503         * tests/check/elements/filesink.c:
2504         * tests/check/elements/filesrc.c: (GST_START_TEST):
2505         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2506         (mq_sinkpad_to_srcpad):
2507         * tests/check/elements/tee.c: (GST_START_TEST):
2508         * tests/check/generic/sinks.c: (GST_START_TEST):
2509         * tests/check/gst/gstbin.c: (GST_START_TEST):
2510         * tests/check/gst/gstevent.c: (GST_START_TEST):
2511         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2512         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2513         * tests/check/gst/gstquery.c: (GST_START_TEST):
2514         * tests/check/gst/gstutils.c: (GST_START_TEST):
2515         * tests/check/libs/basesrc.c: (GST_START_TEST):
2516         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2517         (gst_parse_test_element_change_state):
2518         Don't use gst_element_get_pad().
2519
2520 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2521
2522         * docs/Makefile.am:
2523         Fix installing plugin documentation when gtk-doc is disabled.
2524
2525 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2526
2527         * docs/manual/advanced-autoplugging.xml:
2528         * docs/manual/basics-helloworld.xml:
2529         * docs/manual/basics-pads.xml:
2530         * docs/manual/highlevel-components.xml:
2531         Avoid using a bad function in the example code.
2532
2533 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2534
2535         * gst/gstclock.c: (gst_clock_set_calibration):
2536         Fix debug of the new clock rate.
2537
2538 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2539
2540         * win32/common/libgstbase.def:
2541         Add gst_base_sink_wait_clock() to the exported symbols.
2542
2543 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2544
2545         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2546
2547         * libs/gst/base/gstbasetransform.c:
2548         (gst_base_transform_sink_event):
2549         Unref events that the GstBaseTransform::event vfunc didn't want to
2550         have forwarded by the base class. Closes a leak in identity.
2551         Fixes bug #446763.
2552
2553 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2554
2555         * docs/libs/gstreamer-libs-sections.txt:
2556         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2557         * libs/gst/base/gstbasesink.h:
2558         Expose a method that was previously used internally to synchronize
2559         against the clock because it can be useful for subclasses too.
2560         API: GstBaseSink::gst_base_sink_wait_clock()
2561
2562 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2563
2564         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2565           Add sanity check to make sure we don't get smaller buffers
2566           than requested (and fallback to normal buffer alloc if we do).
2567
2568 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2569
2570         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2571         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2572         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2573         Refactor adjusting the running_time with latency and offset into a
2574         separate method.
2575         When doing clipping, we still want to use the subclass get_times method,
2576         just in case the DURATION or TIMESTAMP are not set.
2577
2578 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2579
2580         * docs/gst/gstreamer-sections.txt:
2581         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2582         * gst/gsttypefind.h:
2583         * win32/common/libgstreamer.def:
2584           API: add gst_type_find_suggest_simple(), #533740.
2585
2586 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2587
2588         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2589           Use right error code when typefinding fails, so we can use
2590           the default (translated) error messages.
2591
2592 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2593
2594         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2595         (gst_base_src_start):
2596         When the subclass did not set caps on outgoing buffers, configure the
2597         caps we negotiated on the source pad.
2598         When the typefind helper does not find caps, error out properly instead
2599         of doing things with NULL caps.
2600
2601 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2602
2603         * gst/gsttypefind.h:
2604           Tabs to spaces, oh yes!
2605
2606 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2607
2608         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2609           Add David's and Benjamin's tests for array intersection to the
2610           unit test suite (#147931).
2611
2612 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2613
2614         * gst/gstevent.c:
2615           Document that gst_event_new_tag() and gst_event_new_navigation()
2616           take ownership of the taglist/structure passed to them. (#533635).
2617
2618 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2619
2620         * docs/Makefile.am:
2621         Don't descend into the plugins dir if plugin docs building
2622         is disabled.
2623
2624         * docs/README:
2625         Add a note about the new type:GTypeName syntax for the plugin
2626         documentation .types file.
2627
2628 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2629
2630         * gst/gstmessage.c: (gst_message_new_error),
2631         (gst_message_new_warning), (gst_message_new_info):
2632         * gst/gstmessage.h:
2633         Mark the debug string parameters as const. Fixes bug #533490.
2634
2635 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2636
2637         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2638         Sort buffer cache list by end offsets. This makes sure that we don't
2639         stop to search for a cached buffer that contains the requested data
2640         too early.
2641         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2642         more efficient. Fixes bug #459862.
2643
2644 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2645
2646         * gst/gstinfo.c:
2647           Explain why we copy the list.
2648
2649         * gst/gstpipeline.c:
2650           Improve docs.
2651
2652         * gst/gstutils.c:
2653           Add one debug-log statement to help tracing probelms with linking pads.
2654
2655 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2656
2657         * tests/check/gst/gstinfo.c:
2658         Add a test for removing the default log handler. Seems to fail under
2659         windows.
2660
2661 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2662
2663         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2664         Release pad lock before calling out to avoid a possible deadlock.
2665
2666 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2667
2668         * gst/parse/grammar.y:
2669         Remove unneeded value unset.
2670
2671         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2672         Add unit test for de/serialization of caps.
2673
2674 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         * plugins/elements/gstfakesink.c:
2677         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2678         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2679         (gst_fake_src_class_init):
2680         Use custom marshalers that take GstMiniObject as first parameter.
2681         Using OBJECT as parameter while a GstMiniObject is given will lead
2682         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2683
2684 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2685
2686         * plugins/elements/gsttypefindelement.c:
2687         (gst_type_find_element_handle_event),
2688         (gst_type_find_element_send_cached_events),
2689         (gst_type_find_element_change_state):
2690         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2691         immediately.
2692
2693 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2694
2695         * plugins/elements/gsttypefindelement.c:
2696         (gst_type_find_handle_src_query), (stop_typefinding),
2697         (gst_type_find_element_handle_event),
2698         (gst_type_find_element_send_cached_events),
2699         (gst_type_find_element_change_state):
2700         Forward FLUSH_START events immediately and clean up instead of
2701         caching them.
2702
2703 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2704
2705         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2706
2707         * libs/gst/base/gstbasetransform.c:
2708         (gst_base_transform_buffer_alloc):
2709         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2710         fall back to default negotiation in the chain function if the caps
2711         are different from what was requested. Fixes bug #526768.
2712
2713 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2714
2715         * gst/gstsegment.c:
2716         * tests/check/gst/gstsegment.c:
2717           No, let's not use g_slice_{dup|copy} here, since they only exist
2718           since GLib 2.14 and we still depend only on >= 2.12. Also add
2719           unit test for gst_segment_copy().
2720
2721 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2722
2723         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2724           Try to fix 'dereferencing type-punned pointer will break strict
2725           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2726           changed the default GType typedef from gulong to gsize at some point,
2727           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2728           g_once_* functions all take a gsize * though, so work around the type
2729           mismatch for C++ by doing everything in gsize and casting to GType
2730           later.
2731
2732 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2733
2734         * plugins/elements/gstmultiqueue.c:
2735         Add documentation for the signals to push our core plugin docs
2736         coverage back up to 100%.
2737
2738 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2739
2740         * gst/gstinfo.h (GST_FUNCTION):
2741           Reverted GST_FUNCTION to the old version as we don't want the
2742           full signature in C++ code. Also added support for MSVC.
2743
2744 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2745
2746         * gst/gstutils.h:
2747         Intern the type name string, similar to what G_DEFINE_TYPE does.
2748
2749 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2750
2751         * gst/gstutils.h:
2752         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2753
2754 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2755
2756         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2757
2758         * libs/gst/base/gstbasetransform.c:
2759         (gst_base_transform_buffer_alloc):
2760         Don't passthrough buffer allocation too easily if the caps change.
2761         This breaks when working in passthrough mode and upstream changes
2762         it's caps. Fixes bug #526768.
2763
2764 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2765
2766         * gst/gstinfo.c (gst_debug_log_valist):
2767           Improved the __FILE__ part of debug output for MSVC.
2768
2769 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2770
2771         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2772           Declaration after statement fix for compilers like MSVC.
2773
2774 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2775
2776         * win32/common/config.h.in:
2777           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2778           use the real thing than having "???" unconditionally.
2779
2780 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2781
2782         * gst/gstinfo.h (GST_FUNCTION):
2783           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2784
2785 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2786
2787         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2788         Small code cleanup.
2789
2790         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2791         (gst_base_sink_set_flushing):
2792         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2793         Fix some comments.
2794
2795 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2796
2797         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2798         (gst_fake_src_init), (gst_fake_src_set_property),
2799         (gst_fake_src_get_property), (gst_fake_src_start):
2800         * plugins/elements/gstfakesrc.h:
2801         Added format property to control the format of the newsegment events.
2802         API: GstFakeSrc:format
2803
2804 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2805
2806         * win32/common/libgstreamer.def:
2807         Add gst_pad_has_name() to the exported symbols.
2808
2809 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2810
2811         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2812         * libs/gst/base/gstbasetransform.c:
2813         (gst_base_transform_prepare_output_buffer):
2814         Don't allow negative sizes when allocating new buffers.
2815         Fixes bug #461253.
2816
2817 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2818
2819         Patch by: Sjoerd Simons <sjoerd at luon net>
2820
2821         * gst/gstbus.c: (gst_bus_source_dispatch):
2822           Don't print a warning if the queue is empty when we try to pop
2823           here. That could happen if another thread or callback set the
2824           bus to flushing between the source's check/prepare and the
2825           dispatch being called (#531538).
2826
2827 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2828
2829         * plugins/elements/gstmultiqueue.c:
2830           Small docs fix.
2831         
2832 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2833
2834         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2835         Add unit test for deserializing uint64s and check some really large
2836         numbers in the int64 test.
2837
2838 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2839
2840         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2841         (print_interfaces), (print_element_properties_info),
2842         (print_signal_info):
2843         Use "%s" as format string instead of printing strings directly.
2844
2845 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2846
2847         * gst/gstclock.c: (gst_clock_set_calibration):
2848         Make some checks actually useful.
2849
2850         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2851         Remove some unused code. Unsigned integers tend to be >= 0.
2852
2853 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2854
2855         * gst/gstminiobject.c: (gst_value_get_mini_object):
2856           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2857           function was not in the unscheduled 0.10.19 release.
2858
2859 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2860
2861         * gst/gstregistry.c: (gst_registry_scan_path_level):
2862           Only print one log message per non-plugin file.
2863
2864 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2865
2866         * gst/gstinfo.c: (gst_debug_log_default):
2867           Fix alignment of debug log columns on 64-bit.
2868
2869 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2870
2871         * docs/libs/Makefile.am:
2872         * docs/libs/gstreamer-libs-sections.txt:
2873           Ignore private controller headers for docs.
2874
2875 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
2876
2877         * libs/gst/controller/gstcontrollerprivate.h:
2878         * libs/gst/controller/gsthelper.c:
2879         * libs/gst/controller/gstinterpolation.c:
2880         * libs/gst/controller/gstinterpolationcontrolsource.c:
2881         (gst_interpolation_control_source_set_interpolation_mode):
2882         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2883         * libs/gst/controller/lib.c:
2884         Move some private declarations into private headers.
2885
2886 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
2887
2888         * gst/gstdebugutils.c: (debug_dump_element_pad):
2889         Remove some code that is unused after Stefan's refactoring and uses
2890         uninitialized variables now, resulting in a compiler warning.
2891
2892 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2893
2894         * gst/gstregistry.c: (gst_registry_scan_path_level):
2895           Run g_str_has_suffix() only on the file name, not the
2896           entire file path.
2897
2898 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
2899
2900         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2901           Since we're not called only from the chain function any longer,
2902           we can't assume that there's always data in the queue, so move
2903           the is_full check to the beginning of the loop (otherwise we'd
2904           hit the assert when changing the limit properties while the
2905           queue is empty or not running yet).
2906           Also, only set a discont if items were actually removed from
2907           the queue.
2908
2909         * tests/check/elements/queue.c: (test_leaky_downstream):
2910           Test case for the above.
2911
2912 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2913
2914         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2915
2916         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2917         (gst_queue_chain), (queue_capacity_change),
2918         (gst_queue_set_property):
2919         When changing thr max capacity of a leaky queue, immediatly drop buffers
2920         instead of waiting for a push on the sinkpad. Fixes #530637.
2921
2922 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
2923
2924         * gst/gstdebugutils.c:
2925           Refactor code and fix handling of ghostpads and their proxypads.
2926
2927 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2928
2929         * docs/gst/gstreamer-sections.txt:
2930         * gst/gstevent.c: (gst_event_has_name):
2931         * gst/gstevent.h:
2932         * tests/check/gst/gstevent.c: (GST_START_TEST):
2933         Add method to conveniently check the name of a custom event with
2934         gst_event_has_name().
2935         Reformat the event docs so that related methods are put together instead
2936         of the default alphabetical sort.
2937         Update unit test with new method.
2938         API: GstEvent::gst_event_has_name()
2939
2940 2008-04-28  Michael Smith <msmith@songbirdnest.com>
2941
2942         * libs/gst/check/Makefile.am:
2943           Don't add an explicit link to libgstreamer-0.10.la; it's already
2944           included in GST_OBJ_LIBS.
2945
2946 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
2947
2948         * gst/gst.c:
2949         Register GstClock type from a type-safe context. Fixes bug #530317.
2950
2951 2008-04-25  Michael Smith <msmith@songbirdnest.com>
2952
2953         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2954         * tools/gst-run.c:
2955           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2956
2957 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2958
2959         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2960         (gst_bin_dispose):
2961         Use the GLib stuff to create a private structure.
2962         Add some locking around some dispose methods to make them a little
2963         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2964
2965 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2966
2967         * libs/gst/base/gstbasesink.h:
2968         * libs/gst/base/gstbasesrc.h:
2969         * libs/gst/base/gstbasetransform.h:
2970         * libs/gst/base/gstcollectpads.h:
2971           Fix doc typos and unify caps a bit.
2972
2973 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
2974
2975         * tools/gst-launch.1.in:
2976           Forgot to also add the envvar docs here.
2977
2978 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
2979
2980         * gst/gst.c: (init_post), (gst_deinit):
2981         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2982           (test_concurrent_create), (gst_pipeline_suite):
2983           Ref some more classes in gst_init() to work around thread-safety
2984           issues in pre-2.16 GLibs, and add basic unit test.
2985
2986 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2987
2988         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2989         (gst_base_sink_send_event):
2990         Rearrange the latency query code. We always want to do the upstream
2991         query, even if we are not live so that the upstream elements can get the
2992         latency results too. If we fail doing the query and we are live, we
2993         return TRUE afterwards.
2994
2995 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
2996
2997         patch by: Jason Zhao <e3423c@motorola.com>
2998
2999         * docs/gst/running.xml:
3000         * gst/gst.c:
3001           Enable/disable scan_and_update_registry() based on commandline switch
3002           or environment variable. Fixes #520468.
3003           
3004         * ChangeLog:
3005           Fix typo in my previous commit.
3006
3007 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3008
3009         * gst/gstregistrybinary.c:
3010           Add a warning if we hit unhandled factories when saving.
3011           More debug logging detail, but move to LOG category.
3012
3013 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3014
3015         * gst/gstregistry.c:
3016           Tell the *truth* when improving the documentation.
3017
3018 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3019
3020         * gst/gstelementfactory.c: (gst_element_factory_make):
3021         Unref the factory after it was used the last time, not before.
3022
3023         * gst/gstindexfactory.c: (gst_index_factory_make):
3024         Improve debugging a bit and don't leak a ref to the index factory with
3025         each call.
3026
3027 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3028
3029         * gst/gstregistry.c:
3030           Improve the documentation.
3031
3032 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3033
3034         * gst/gstsegment.c:
3035           The glib macro seems to be borked. Use g_slice_copy directly and cast
3036           in the hope that this fixes the warning on 64bit.
3037
3038 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3039
3040         * gst/gstsegment.c:
3041           Document the new function. Use g_slice_dup() (no need for
3042           gst_segment_init()).    
3043
3044 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3045
3046         * docs/gst/gstreamer-sections.txt:
3047           Move GParamSepc macros to standart section.
3048   
3049         * gst/gstbin.c:
3050           Dn't document _get_type - its in private section in docs anyway and
3051           this doc-blob was incomplete.
3052
3053         * gst/gstclock.h:
3054           Fix wrong symbol names in docs.
3055
3056         * gst/gstmacros.h:
3057           Add once doc sentence.
3058
3059         * tests/check/gst/.cvsignore:
3060           Ignore more.
3061
3062 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3063
3064         * docs/gst/Makefile.am:
3065           And remove those libs here.
3066
3067 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3068
3069         * docs/libs/Makefile.am:
3070           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3071
3072 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3073
3074         Patch by: Olivier Crete <tester at tester dot ca>
3075
3076         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3077         Add the min-threshold to the min latency if possible. Fixes #529148.
3078
3079 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3080
3081         * docs/gst/gstreamer.types.in:
3082           Stupid editor, I removed that line as it should go in yet.
3083
3084 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3085
3086         * docs/gst/gstreamer.types.in:
3087         * docs/libs/gstreamer-libs.types:
3088           Remove library types fro core docs and have them in libs docs.
3089           Reformat and cleanup. Add comment for miniobject types.
3090
3091 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         * gst/gsturi.c: (gst_uri_get_protocol):
3094           Fix leak: g_strdown operates on the string in place, while
3095           g_ascii_strdown() returns a newly-allocated string.
3096
3097 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3098
3099         * tools/gst-inspect.c: (print_uri_handler_info),
3100         (print_element_info):
3101         Print the URI protocols and the URI type supported by the element.
3102
3103 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3104
3105         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3106         Use g_value_take_string() instead of the deprecated
3107         g_value_set_string_take_ownership().
3108
3109 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3110
3111         * gst/gstregistrybinary.c: (_gst_crc32):
3112         Return the old CRC instead of 0 if we give a NULL buffer
3113         or a buffer with a length of 0.
3114
3115 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3116
3117         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3118         (gst_uri_get_protocol), (gst_uri_has_protocol),
3119         (gst_uri_construct), (gst_uri_handler_set_uri):
3120         A valid URI scheme can also include '+', '-' and '.' additional
3121         to alphanumeric characters as per RFC 3986 Section 3.1.
3122
3123         Handle URI schemes case insensitive in all places and convert
3124         to lower-case when constructing an URI or setting an URI with
3125         the GstURIHandler interface. Fixes bug #528868.
3126         All elements can still assume (as before) that they will
3127         get passed URIs with a lower-case URI scheme by the GstURIHandler
3128         interface.
3129
3130 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3131
3132         * gst/gstcaps.c: (gst_static_caps_get):
3133         * gst/gstclock.c: (gst_clock_entry_new):
3134           Don't use g_atomic_set_int where it's not needed.
3135
3136 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3137
3138         * gst/gstvalue.c: (gst_value_deserialize_caps):
3139         * gst/parse/grammar.y:
3140         Fix 2 caps leaks.
3141
3142 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3143
3144         * gst/gstutils.c: (gst_atomic_int_set):
3145         Use g_atomic_int_set() here too instead of assignment +
3146         g_atomic_int_get().
3147
3148 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3149         
3150         * gst/gstutils.c:
3151         * gst/gstutils.h:
3152         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3153         now that we depend on new enough GLib.
3154
3155         * gst/gstcaps.c: (gst_static_caps_get):
3156         * gst/gstclock.c: (gst_clock_entry_new):
3157         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3158         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3159         (gst_debug_category_set_threshold):
3160         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3161         (gst_base_sink_set_qos_enabled):
3162         * libs/gst/net/gstnettimeprovider.c:
3163         (gst_net_time_provider_set_property):
3164         Use g_atomic_int_set() instead of gst_atomic_int_set().
3165
3166 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3167
3168         * gst/gstquery.c:
3169           Also use G_GINT64_CONSTANT for the queries.
3170
3171 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3172
3173         * gst/gstmessage.c:
3174           Use G_GINT64_CONSTANT in varargs function.
3175
3176 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3177
3178         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3179         Initialize the registry magic with zeroes.
3180
3181 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3182
3183         * gst/gstregistrybinary.c: (_gst_crc32),
3184         (gst_registry_binary_write),
3185         (gst_registry_binary_initialize_magic),
3186         (gst_registry_binary_write_cache),
3187         (gst_registry_binary_check_magic),
3188         (gst_registry_binary_read_cache):
3189         * gst/gstregistrybinary.h:
3190         Add crc32 checksum to the binary registry file and check this before
3191         accepting a registry file.
3192
3193         Also free the data list when writing to the registry file fails.
3194
3195 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3196
3197         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3198         (gst_registry_binary_load_feature),
3199         (gst_registry_binary_load_plugin):
3200         If an element supports the Uri interface, returns a valid pointer
3201         to the supported URI protocols but this pointer contains nothing
3202         don't try to save that as it will corrupt the registry.
3203
3204         Don't unref the plugin if we added it to the registry already but
3205         fail to load a feature as gst_registry_add_plugin() takes ownership
3206         of the plugin.
3207
3208         Improve debugging a bit.
3209
3210 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3211
3212         * gst/gsttaglist.h:
3213           Clarify some tag item docs after discussion on irc.
3214
3215 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3216
3217         * docs/gst/gstreamer-docs.sgml:
3218           Remove commented out plugins (they have their own docs). Update
3219           comments.
3220
3221 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * docs/gst/gstreamer-docs.sgml:
3224         * docs/gst/gstreamer-sections.txt:
3225         * gst/gstparamspecs.c:
3226         * gst/gstparamspecs.h:
3227           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3228           docs to own section.
3229
3230         * gst/gstvalue.c:
3231           This now only documents GValue.
3232           
3233         * docs/libs/gstreamer-libs-sections.txt:
3234         * libs/gst/controller/gstcontroller.h:
3235           Remove GST_PARAM_CONTROLLABLE.
3236
3237 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3238
3239         * docs/README:
3240           Correct file path. Tell about how to use -overrides.txt.
3241         * docs/design/draft-tagreading.txt:
3242           Small design update.
3243
3244 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3245
3246         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3247         (gst_registry_binary_load_plugin):
3248         Fix a typo in a debug message and revert change from yesterday as
3249         gst_registry_add_plugin() will only fail if something is really wrong
3250         already and we can't survive it anyway.
3251
3252 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3253
3254         * gst/gst.c: (init_post), (gst_deinit):
3255           Pre-register GstGError GType from a thread-safe context
3256           (fixes #527967); unref enum type classes in deinit.
3257
3258 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3259
3260         Patch by: Rene Stadler <mail at renestadler de>
3261
3262         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3263           Merging an empty list with another list in KEEP_ALL mode should
3264           yield an empty list as result and not the second list (#512578).
3265
3266         * tests/check/gst/gsttagsetter.c:
3267           Add unit test for tag merge modes and the aforementioned bug.
3268
3269 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3270
3271         Patch by: Rene Stadler <mail at renestadler de>
3272
3273         * gst/gsttaglist.h:
3274           Fix description to match the order in the table (#512577).
3275   
3276 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3277
3278         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3279
3280         * libs/gst/net/gstnettimepacket.h:
3281         * docs/libs/gstreamer-libs-sections.txt:
3282           Define socklen_t as int if it's not defined yet. Fixes compilation
3283           with MSVC6 and other versions where socklen_t is not defined in
3284           the windows headers (#518022).
3285
3286 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3289         If gst_registry_add_plugin() fails our reference to the plugin is
3290         invalid so don't try to use it anymore and instead error out.
3291
3292 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3293
3294         * tools/gst-xmlinspect.c: (print_element_info), (main):
3295           De-cruft a bit. If no argument is specified, print all elements in
3296           XML syntax rather than a freestyle list of elements like gst-inspect.
3297           Also, don't print XML header chunk unless we actually have something
3298           to print (ie. don't print it before an error message); print error
3299           message to stderr not stdout. Remove support for printing plugin
3300           info (it would just output something freestyle along the lines of
3301           gst-inspect so far), which fixes #514507. Also add license header.
3302
3303 2008-04-11  Julien Moutte  <julien@fluendo.com>
3304
3305         Mac OS X love...
3306         * configure.ac: Merge platform specific defines, introduce a new
3307         define on OS X to remember that forking when updating registry is
3308         unsafe.
3309         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3310         module.
3311         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3312         is defined.
3313         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3314         condition that leads to absolutely no plugins being registered on
3315         OS X.
3316
3317 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3318
3319         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3320
3321         * gst/gstutils.c: (gst_pad_add_data_probe),
3322           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3323           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3324           (gst_pad_add_buffer_probe_full):
3325         * gst/gstutils.h:
3326         * docs/gst/gstreamer-sections.txt:
3327         * win32/common/libgstreamer.def:
3328           Add gst_pad_add_*_probe_full() functions with a notify callback that
3329           lets the caller free the data it passes to the probe functions. This
3330           is useful for bindings such as gst-python or gstreamermm (#526814).
3331           API: gst_pad_add_data_probe_full
3332           API: gst_pad_add_buffer_probe_full
3333           API: gst_pad_add_event_probe_full
3334
3335         * tests/check/gst/gstutils.c:
3336           Add minimal unit test to make sure freeing the data actually works
3337           as expected.
3338
3339         * tests/benchmarks/.cvsignore:
3340           Random cvsignore addendum.
3341
3342 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3343
3344         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3345           (GST_DEBUG_BIN_TO_DOT_FILE):
3346           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3347           to it in the docs (since these are macros the types of the arguments
3348           won't be shown in the docs otherwise).
3349
3350 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * gst/gstpad.c:
3353           Do not abort on out of memory for pad_alloc_buffer.
3354
3355 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3356
3357         * libs/gst/check/gstcheck.c:
3358           Remove blank line between symbol name ad parameters to fix gtkdoc
3359           warning.
3360
3361 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3362
3363         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3364
3365         * docs/gst/gstreamer-sections.txt:
3366         * gst/gstsegment.c:
3367         * gst/gstsegment.h:
3368         * win32/common/libgstreamer.def:
3369           Expose gst_segment_copy() to make things easier for the c++ bindings.
3370           Fixes #518932.
3371           API: gst_segment_copy()
3372
3373 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3374
3375         * gst/gst.c: (gst_init_get_option_group), (init_post):
3376           Fix const position; ref GType classes for enum types to work
3377           around thread-safety issues in GLib versions < 2.16.
3378
3379 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3380
3381         * docs/design/part-buffering.txt:
3382         Fix some typos and set the estimated total for push mode to -1.
3383
3384         * gst/gstquery.c: (gst_query_new_buffering):
3385         Set buffering-left to 0 as we're not buffering by default.
3386
3387         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3388         Implement BUFFERING query.
3389
3390 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3391
3392         Based on patch by: Milosz Derezynski <internalerror gmail com>
3393
3394         * gst/gsterror.c: (_gst_stream_errors_init):
3395         * gst/gsterror.h:
3396           Add two new error codes for encrypted content. Fixes #524659.
3397           API: GST_STREAM_ERROR_DECRYPT
3398           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3399
3400 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3401
3402         * gst/gstquery.h:
3403           Fix typo.
3404
3405         * win32/common/libgstreamer.def:
3406           Add new functions.
3407
3408 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3409
3410         * plugins/elements/gstidentity.c: (gst_identity_event),
3411         (gst_identity_start):
3412         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3413         event after processing some data. Fixes bug #526042.
3414
3415 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3416
3417         * docs/gst/gstreamer-sections.txt:
3418         * gst/gstquery.c: (gst_query_parse_latency),
3419         (gst_query_set_buffering_percent),
3420         (gst_query_parse_buffering_percent),
3421         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3422         * gst/gstquery.h:
3423         Rename _avail -> _range
3424         API: gst_query_set_buffering_range
3425         API: gst_query_parse_buffering_range
3426
3427 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3428
3429         * docs/design/part-buffering.txt:
3430         * gst/gstquark.c:
3431         * gst/gstquark.h:
3432         * gst/gstquery.c: (gst_query_parse_latency),
3433         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3434         (gst_query_parse_buffering_percent):
3435         * gst/gstquery.h:
3436         Add busy field and quark for the buffering query so that the app can
3437         only use the query to see if buffering is in progress.
3438
3439 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3440
3441         * docs/gst/gstreamer-sections.txt:
3442         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3443         (gst_message_parse_buffering_stats):
3444         * gst/gstmessage.h:
3445         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3446         (gst_query_parse_latency), (gst_query_new_buffering),
3447         (gst_query_set_buffering_percent),
3448         (gst_query_parse_buffering_percent),
3449         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3450         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3451         * gst/gstquery.h:
3452         Reorder the message docs and headers for clarity.
3453         Add aditional buffering stats API for messages.
3454         Add buffering query.
3455         Convert some leftover queries to use GstQuark.
3456         API: gst_message_set_buffering_stats
3457         API: gst_message_parse_buffering_stats
3458         API: GST_QUERY_BUFFERING
3459         API: GstBufferingMode
3460         API: gst_query_new_buffering
3461         API: gst_query_set_buffering_percent
3462         API: gst_query_parse_buffering_percent
3463         API: gst_query_set_buffering_stats
3464         API: gst_query_parse_buffering_stats
3465
3466 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3467
3468         * gst/gstmessage.c: (gst_message_new_error),
3469         (gst_message_new_warning), (gst_message_new_info),
3470         (gst_message_new_buffering), (gst_message_new_state_changed),
3471         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3472         (gst_message_new_new_clock), (gst_message_new_segment_start),
3473         (gst_message_new_segment_done), (gst_message_new_duration),
3474         (gst_message_new_async_start), (gst_message_parse_buffering),
3475         (gst_message_parse_state_changed),
3476         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3477         (gst_message_parse_new_clock), (gst_message_parse_error),
3478         (gst_message_parse_warning), (gst_message_parse_info),
3479         (gst_message_parse_segment_start),
3480         (gst_message_parse_segment_done), (gst_message_parse_duration),
3481         (gst_message_parse_async_start):
3482         Use GstQuark for messages.
3483
3484 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3485
3486         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3487         * gst/gstquark.h:
3488         Add some more quarks needed for messages and queries.
3489
3490 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3491
3492         * docs/design/part-buffering.txt:
3493         Remove the "none" buffering mode, STREAM is a good default.
3494         Move estimated-time to the avail query, that's when it will be needed.
3495         Other small typo fixes and updates.
3496
3497 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * gst/gstindex.c: (gst_index_resolver_get_type):
3500           Don't put descriptions into the nick field of a GEnumValue: it's not
3501           meant for that and some language bindings rely on the nick field to
3502           construct constants and the like. Fixes #526705.
3503
3504 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3505
3506         * NEWS:
3507         * RELEASE:
3508         * gstreamer.doap:
3509           Merge other changes from 0.10.19 release branch.
3510
3511 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3512
3513         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3514
3515         * configure.ac:
3516         Actually build dlls when cross-compiling with mingw32.
3517         Fixes bug #526247.
3518
3519 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3520
3521         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3522
3523         * gst/gstpoll.c:
3524         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3525
3526 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3527
3528         * docs/design/draft-latency.txt:
3529         Fix typo.
3530
3531         * docs/design/part-buffering.txt:
3532         Update design docs with more buffering ideas.
3533
3534 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3535
3536         * configure.ac:
3537           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3538
3539 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3540
3541         * configure.ac:
3542           Revert part that belongs to the preset patch.
3543
3544 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3545
3546         * configure.ac:
3547           Add qoutes to the define. Fixes # 525961.
3548
3549 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3550
3551         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3552         (gst_file_index_load), (gst_file_index_add_id),
3553         (gst_file_index_get_assoc_entry):
3554         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3555         (gst_mem_index_free_id), (gst_mem_index_add_id),
3556         (gst_mem_index_index_format):
3557         Use GSlice when possible.
3558
3559 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3560
3561         * libs/gst/controller/gstinterpolationcontrolsource.c:
3562         (gst_control_point_free),
3563         (gst_interpolation_control_source_set_internal):
3564         Use GSlice for allocating the control points.
3565
3566 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3567
3568         * plugins/elements/gsttypefindelement.c:
3569         (gst_type_find_element_class_init),
3570         (gst_type_find_element_set_property),
3571         (gst_type_find_element_get_property),
3572         (gst_type_find_element_activate):
3573         * plugins/elements/gsttypefindelement.h:
3574         Cleanup properties.
3575         Fix pad leak when peer query fails.
3576         We can still typefind when the peer returns -1.
3577         Add property to force caps and bypass typefinding. This will be used in
3578         uridecodebin.
3579         API::force-caps
3580
3581 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3582
3583         * configure.ac:
3584         Require GLib 2.12.
3585
3586         * gst/glib-compat-private.h:
3587         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3588         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3589         Unconditionally use GSlice for allocation.
3590
3591         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3592         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3593         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3594         (gst_structure_free):
3595         Use GSlice for allocation.
3596
3597 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3598
3599         * gst/parse/Makefile.am:
3600         * gst/parse/grammar.tab.pre.c:
3601         * gst/parse/grammar.tab.pre.h:
3602         * gst/parse/lex._gst_parse_yy.pre.c:
3603         Require a new enough flex and bison and remove the parser hacks to use
3604         a pre-regenerated version.
3605
3606 2008-04-01  Julien Moutte  <julien@fluendo.com>
3607
3608         patch by: Jason Zhao <E3423C@motorola.com>
3609
3610         * configure.ac: Add a configure switch to disable option parsing
3611         in gst_init.
3612         Fixes #522882.
3613
3614 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3615
3616         * configure.ac:
3617         * gst/gstregistry.c:
3618           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3619           and handle this case.
3620
3621         * gst/gst.c:
3622           Add a comment here describing, why we stat each plugin and not try to
3623           be smart.
3624
3625 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3626
3627         * libs/gst/base/gstbasetransform.c:
3628         (gst_base_transform_prepare_output_buffer):
3629         Also unset the GAP flag on buffers if we're working inplace but
3630         the element is not GAP-aware.
3631
3632         Mark a comment as FIXME 0.11.
3633
3634 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3635
3636         * gst/gst.c:
3637           Fix type in log message and add one to ease seeing how long registry
3638           cache verification takes.
3639
3640         * gst/gstregistry.c:
3641           Only test plugin filenames against G_MODULE_SUFFIX.
3642
3643 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3644
3645         * gst/gstdebugutils.c:
3646           Improve handling ghost/proxy pads.
3647
3648 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3649
3650         * docs/gst/gstreamer-sections.txt:
3651         * gst/gstpad.c:
3652         * gst/gstpad.h:
3653           Expose macro to docs and fix link to it.
3654
3655 2008-03-27  Michael Smith <msmith@fluendo.com>
3656
3657         * libs/gst/dataprotocol/dataprotocol.c:
3658         (gst_dp_packet_from_event_1_0):
3659           When calculating GDP body CRC, use the correct pointer. 
3660           Fixes part of #522401.
3661
3662 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3663
3664         Patch by: Mark Nauwelaerts <manauw at skynet be>
3665
3666         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3667         (gst_identity_init), (gst_identity_prepare_output_buffer):
3668         Identity is not always a passthrough element, it can modify the buffer
3669         timestamps when it has a datarate and operates in single-segment mode.
3670         We therefore make it an in_place filter with a custom buffer prepare
3671         function that conditionally makes the input buffer metadata writable
3672         when needed.  Fixes #523985.
3673
3674 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3675
3676         Patch by: Mark Nauwelaerts <manauw at skynet be>
3677
3678         * gst/gstclock.h:
3679         * libs/gst/base/gstbasesrc.h:
3680         * libs/gst/base/gstbasetransform.c:
3681         * libs/gst/check/gstcheck.c:
3682         Small documentation fixes. Fixes #523978.
3683
3684 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3685
3686         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3687         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3688         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3689
3690 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3691
3692         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3693         (single_queue_underrun_cb):
3694         When trying to make room in the queue, bump the max allowed buffers
3695         bigger than the current amount of buffers in the queue. this fixes some
3696         nasty deadlocks in multiqueue when dynamically changing the limits of
3697         the queue.
3698
3699 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3700
3701         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3702
3703         * gst/gstcaps.c: (gst_caps_set_simple),
3704         (gst_caps_set_simple_valist), (gst_caps_intersect):
3705         * gst/gstcaps.h:
3706         Constify the field gchar * params in set_simple and friends.
3707         Fixes #522326.
3708
3709 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3710
3711         * gst/gstvalue.c: (gst_value_transform_object_string):
3712         Transform a GstObject to a more meaningfull string that includes the
3713         object type in addition to its name.
3714
3715 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3716
3717         * ChangeLog:
3718           ChangeLog surgery to add bugnumber to commit.
3719
3720 2008-03-23  Rene Stadler  <mail@renestadler.de>
3721
3722         * libs/gst/base/gstbasetransform.c:
3723         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3724
3725 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3726
3727         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3728         Rename constant everywhere and don't forget one occurence.
3729
3730 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3731
3732         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3733         Align memory to the pointer size even if the architecture allows
3734         unaligned memory access. Unaligned memory access usually comes with
3735         performance penality.
3736
3737 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3738
3739         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3740         (gst_registry_binary_check_magic),
3741         (gst_registry_binary_load_pad_template),
3742         (gst_registry_binary_load_feature),
3743         (gst_registry_binary_load_plugin):
3744         Align memory to the pointer size instead of always 32 bit. Fixes
3745         unaligned memory accesses on ia64 and friends.
3746
3747         * gst/gstregistrybinary.h:
3748         Bump binary registry format version for this as it changes the
3749         format on those architectures that don't have unaligned access
3750         and 64 bit pointers.
3751
3752 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3753
3754         * docs/pwg/advanced-dparams.xml:
3755         * docs/pwg/building-props.xml:
3756         * docs/pwg/other-source.xml:
3757         * gst/glib-compat.h:
3758         * gst/gstbin.c: (gst_bin_class_init):
3759         * gst/gstclock.c: (gst_clock_class_init):
3760         * gst/gstindex.c: (gst_index_class_init):
3761         * gst/gstobject.c: (gst_object_class_init):
3762         * gst/gstpad.c: (gst_pad_class_init):
3763         * gst/gstpipeline.c: (gst_pipeline_class_init):
3764         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3765         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3766         * libs/gst/base/gstbasetransform.c:
3767         (gst_base_transform_class_init):
3768         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3769         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3770         (_gst_check_fault_handler_sighandler),
3771         (_gst_check_fault_handler_setup), (gst_check_init):
3772         * libs/gst/controller/gstcontroller.c:
3773         (_gst_controller_class_init):
3774         * libs/gst/controller/gstlfocontrolsource.c:
3775         (gst_lfo_control_source_class_init):
3776         * libs/gst/net/gstnetclientclock.c:
3777         (gst_net_client_clock_class_init):
3778         * libs/gst/net/gstnettimeprovider.c:
3779         (gst_net_time_provider_class_init):
3780         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3781         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3782         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3783         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3784         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3785         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3786         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3787         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3788         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3789         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3790         * plugins/elements/gsttee.c: (gst_tee_class_init):
3791         * plugins/elements/gsttypefindelement.c:
3792         (gst_type_find_element_class_init):
3793         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3794         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3795         use it everywhere for GParamSpecs that use static strings (i.e. all).
3796         This gives us less memory usage, fewer allocations and thus less
3797         memory defragmentation. Fixes bug #523806.
3798
3799 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3800
3801         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3802         (gst_param_spec_mini_object):
3803         * gst/gstminiobject.h:
3804         * win32/common/libgstreamer.def:
3805         * docs/gst/gstreamer-sections.txt:
3806         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3807         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3808         GstParamSpecMiniObject into a public header for this.
3809
3810         This make GstMiniObject a bit more consistent with GObject and makes
3811         it possible to extend the param specs.
3812
3813         gst_value_dup_mini_object is mainly useful for set_property methods.
3814
3815         Fixes bug #523798.
3816
3817         * tools/gst-inspect.c: (print_element_properties_info):
3818         Print something useful for GstMiniObject properties and not just
3819         "unknown type".
3820
3821 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3822
3823         * docs/gst/gstreamer-sections.txt:
3824         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3825         (gst_registry_binary_check_magic):
3826         * gst/gstregistrybinary.h:
3827         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3828         and add it to the (private part) of the docs to fix the build.
3829
3830 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3831
3832         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3833         (gst_registry_binary_check_magic),
3834         (gst_registry_binary_read_cache):
3835         * gst/gstregistrybinary.h:
3836         Don't use GST_MAJORMINOR for the binary registry version. Instead
3837         hardcode a value that must be changed whenever the format changes
3838         in an incompatible way.
3839         Also don't GST_ERROR when there is a version mismatch, just
3840         regenerate the registry silently.
3841
3842 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3843
3844         * configure.ac:
3845         Back to development - 0.10.18.1
3846
3847 === release 0.10.18 ===
3848
3849 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3850
3851         * configure.ac:
3852           releasing 0.10.18, "So far away"
3853
3854 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3855
3856         * configure.ac:
3857         * win32/common/config.h:
3858         0.10.17.4 pre-release
3859
3860 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3861
3862         Patch by: Ole André Vadla Ravnås
3863             <ole dot andre dot ravnas at tandberg dot com>
3864
3865         * docs/gst/gstreamer-sections.txt:
3866         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3867         (gst_poll_update_winsock_event_mask),
3868         (gst_poll_prepare_winsock_active_sets),
3869         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3870         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3871         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3872         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3873         (gst_poll_check_ctrl_commands), (gst_poll_wait):
3874         * gst/gstpoll.h:
3875         * win32/common/libgstreamer.def:
3876         Add new function gst_poll_fd_ignored() for improved Windows
3877         compatibility.
3878         Various minor fixes and cleanups. See #520808.
3879
3880 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
3881
3882         * gst/gstindex.c: (gst_index_entry_free):
3883         * gst/gstindex.h:
3884           Don't free key strings which we don't own. Fixes crash in
3885           gst_index_entry_free() (#522741).
3886
3887         * tests/check/Makefile.am:
3888         * tests/check/gst/.cvsignore:
3889         * tests/check/gst/gstindex.c: (test_index_entries),
3890           (gst_index_suite), (gst_index):
3891           Add unit test for the above.
3892
3893 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
3894
3895         * win32/common/libgstreamer.def:
3896         Remove symbols that were removed recently. Fixes bug #521740.
3897
3898 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
3899
3900         * configure.ac:
3901         * win32/common/config.h:
3902         0.10.17.3 pre-release
3903
3904 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3905
3906         Patch by: Ole André Vadla Ravnås
3907             <ole dot andre dot ravnas at tandberg dot com>
3908
3909         * docs/gst/gstreamer-sections.txt:
3910         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3911         (gst_poll_update_winsock_event_mask), (gst_poll_new),
3912         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3913         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3914         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3915         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3916         (gst_poll_fd_can_write), (gst_poll_wait),
3917         (gst_poll_set_controllable), (gst_poll_restart),
3918         (gst_poll_set_flushing):
3919         * gst/gstpoll.h:
3920         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3921         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3922         (gst_net_time_provider_new):
3923         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3924         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3925         * tests/benchmarks/gstpollstress.c: (main):
3926         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3927         Remove GstPollMode from the API, it does not make sense to let the
3928         application control this.
3929         Add support for Win32.
3930         Fix the testsuite. Fixes #520671.
3931
3932 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
3933
3934         Patch by: Ole André Vadla Ravnås
3935             <ole dot andre dot ravnas at tandberg dot com>
3936
3937         * gst/gstregistrybinary.c:
3938         Include io.h for write() and close() when building with MSVC. Fixes
3939         bug #520877.
3940
3941 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
3942
3943         * configure.ac:
3944         * gst/gst_private.h:
3945         * gst/gstconfig.h.in:
3946         * gst/gstregistry.h:
3947         * gst/gstregistrybinary.c:
3948         * win32/common/gstconfig.h:
3949           Move registry backend API to private headers where we can. Add
3950           fixme-0.11 comments for the others. Add stubs for the xml backend when
3951           using the binary to ensure they functions exists (they should not be
3952           used though). Fixes #520756.
3953
3954 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
3955
3956         * configure.ac:
3957         * win32/common/config.h:
3958         0.10.17.2 prelease
3959
3960 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3961
3962         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3963         (gst_registry_binary_read_cache):
3964         * gst/gstregistryxml.c: (gst_registry_save):
3965         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3966         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3967         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3968         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3969         Switch to using portabl gsize/gssize instead of size_t/ssize_t
3970         Fixes #520152
3971
3972 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
3973
3974         * gst/gstminiobject.c:
3975         Import gst_private.h before any other header that might include other
3976         glib headers. This fixes the build on windows using native compilers.
3977
3978 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3979
3980         * win32/common/gstconfig.h:
3981           Add here too, just for completeness.
3982
3983 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3984
3985         * configure.ac:
3986         * gst/gstconfig.h.in:
3987         * gst/gstregistry.h:
3988           Fix broken use of config.h-defined preprocessor directive in a public
3989           header file. Add a corresponding define to gstconfig.h, since we can't
3990           really remove those function declarations from the header file now
3991           (or can we? and why are they there in the first place?).
3992
3993 2008-03-03  Andy Wingo  <wingo@pobox.com>
3994
3995         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3996         the new warning.
3997
3998         * gst/gststructure.c (gst_structure_from_string): Warn if
3999         structure_from_string didn't consume the whole string, but the
4000         caller did not provide an end pointer.
4001
4002 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4003
4004         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4005
4006         * gst/gstregistryxml.c: (read_string), (load_feature):
4007           Strings allocated by libxml2 should be freed with xmlFree(), not
4008           with g_free(). Fixes issues on windows in certain contexts (#519698).
4009
4010 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4011
4012         * gst/gstinterface.c: (gst_element_implements_interface):
4013           Don't crash if the element supports the interface queried, but does
4014           not implement GstImplementsInterface. Fixes #519584.
4015
4016         * tests/check/Makefile.am:
4017         * tests/check/gst/.cvsignore:
4018         * tests/check/gst/gstinterface.c:
4019           Add unit test for the above.
4020
4021 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4022
4023         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4024         Small doc update.
4025
4026 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4027
4028         * gst/gstsegment.c: (gst_segment_set_seek),
4029         (gst_segment_to_stream_time):
4030         Improve some comment.
4031         Update variables where it makes more sense.
4032
4033 2008-02-29  Rene Stadler  <mail@renestadler.de>
4034
4035         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4036         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4037         URIHandlers implemented using language bindings.
4038
4039 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4040
4041         * gst/gstelementfactory.h:
4042         * tests/check/elements/fakesink.c:
4043         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4044         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4045         * tests/check/elements/filesink.c: (setup_filesink):
4046         * tests/check/elements/filesrc.c: (setup_filesrc):
4047         * tests/check/elements/identity.c: (setup_identity):
4048         * tests/check/elements/tee.c:
4049         * tests/check/generic/sinks.c:
4050         * tests/check/generic/states.c: (setup), (teardown):
4051         * tests/check/gst/gst.c:
4052         * tests/check/gst/gstabi.c:
4053         * tests/check/gst/gstbin.c:
4054         * tests/check/gst/gstbus.c: (pull_messages):
4055         * tests/check/gst/gstcaps.c:
4056         * tests/check/gst/gstelement.c:
4057         * tests/check/gst/gstevent.c:
4058         * tests/check/gst/gstghostpad.c:
4059         * tests/check/gst/gstiterator.c:
4060         * tests/check/gst/gstmessage.c:
4061         * tests/check/gst/gstminiobject.c: (my_foo_init):
4062         * tests/check/gst/gstobject.c: (thread_name_object),
4063         (gst_object_suite):
4064         * tests/check/gst/gstpad.c:
4065         * tests/check/gst/gstplugin.c:
4066         * tests/check/gst/gstpoll.c:
4067         * tests/check/gst/gstquery.c:
4068         * tests/check/gst/gstsegment.c:
4069         * tests/check/gst/gststructure.c:
4070         * tests/check/gst/gstsystemclock.c:
4071         * tests/check/gst/gsttask.c:
4072         * tests/check/gst/gstutils.c:
4073         * tests/check/gst/gstvalue.c:
4074         * tests/check/gst/struct_hppa.h:
4075         * tests/check/gst/struct_i386.h:
4076         * tests/check/gst/struct_ppc32.h:
4077         * tests/check/gst/struct_ppc64.h:
4078         * tests/check/gst/struct_x86_64.h:
4079         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4080         * tests/check/libs/basesrc.c:
4081         * tests/check/libs/controller.c: (GST_START_TEST):
4082         * tests/check/libs/gdp.c:
4083         * tests/check/libs/gstnetclientclock.c:
4084         * tests/check/libs/gstnettimeprovider.c:
4085         * tests/check/libs/libsabi.c:
4086         * tests/check/libs/struct_hppa.h:
4087         * tests/check/libs/struct_i386.h:
4088         * tests/check/libs/struct_ppc32.h:
4089         * tests/check/libs/struct_ppc64.h:
4090         * tests/check/libs/struct_x86_64.h:
4091         * tests/check/pipelines/cleanup.c:
4092         * tests/check/pipelines/simple-launch-lines.c:
4093         * tests/check/pipelines/stress.c:
4094         And correct even more valid sparse warnings.
4095
4096         * win32/common/libgstreamer.def:
4097         Add gst_poll_fd_init to the list of symbols.
4098
4099 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4100
4101         * gst/gstconfig.h.in:
4102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4103         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4104         (gst_check_log_critical_func), (gst_check_drop_buffers),
4105         (gst_check_element_push_buffer_list):
4106         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4107         (gst_controller_get_type):
4108         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4109         (gst_object_get_controller), (gst_object_get_control_source):
4110         * libs/gst/controller/gstinterpolationcontrolsource.c:
4111         (gst_interpolation_control_source_new):
4112         * libs/gst/controller/gstlfocontrolsource.c:
4113         (gst_lfo_control_source_new):
4114         * libs/gst/dataprotocol/dataprotocol.c:
4115         (gst_dp_event_from_packet_0_2):
4116         * plugins/elements/gstfdsrc.c:
4117         * plugins/elements/gstmultiqueue.c:
4118         * plugins/elements/gsttee.c:
4119         * plugins/elements/gsttypefindelement.c:
4120         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4121         (gst_file_index_add_association):
4122         * plugins/indexers/gstmemindex.c:
4123         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4124         * tests/check/elements/queue.c: (setup_queue):
4125         * tests/check/gst/gstpipeline.c:
4126         * tests/check/libs/collectpads.c: (setup), (teardown),
4127         (gst_collect_pads_suite):
4128         * tests/examples/adapter/adapter_test.c:
4129         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4130         * tests/examples/xml/createxml.c:
4131         * tests/examples/xml/runxml.c:
4132         * tools/gst-inspect.c:
4133         * tools/gst-run.c:
4134         Correct all relevant warnings found by the sparse semantic code
4135         analyzer. This include marking several symbols static, using
4136         NULL instead of 0 for pointers, not using variable sized arrays
4137         on the stack, moving variable declarations to the beginning of
4138         a block and using "foo (void)" instead of "foo ()" for declarations.
4139
4140 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4141
4142         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4143         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4144         Don't reset GstPollFDs, this is not necessary at all.
4145
4146         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4147         (delayed_restart), (delayed_control):
4148         Use GST_POLL_FD_INIT.
4149
4150 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4151
4152         * gst/gstpoll.c: (gst_poll_fd_init):
4153         * gst/gstpoll.h:
4154         Added Since tags.
4155
4156         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4157         Use some more init macros.
4158
4159 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4160
4161         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4162         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4163         Use init macros and functions.
4164
4165 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4166
4167         * docs/gst/gstreamer-sections.txt:
4168         * gst/gstpoll.c: (gst_poll_fd_init):
4169         * gst/gstpoll.h:
4170         Add INIT macro and _init method for initializing the GstPollFD.
4171
4172 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4173
4174         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4175         (gst_fd_sink_update_fd):
4176         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4177         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4178         (delayed_restart), (delayed_control):
4179         Initialize some uninitialized variables as spotted by valgrind.
4180
4181 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4182
4183         * tests/benchmarks/Makefile.am:
4184         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4185         (main):
4186         Add poll stress test.
4187
4188 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4189
4190         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4191
4192         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4193         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4194         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4195         * plugins/elements/gstfdsink.h:
4196         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4197         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4198         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4199         (gst_fd_src_uri_set_uri):
4200         * plugins/elements/gstfdsrc.h:
4201         Port to GstPoll. See #505417.
4202
4203 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4204
4205         * win32/common/libgstreamer.def:
4206         Add new gst_poll_ symbols to win32 defs.
4207
4208 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4209
4210         * docs/libs/gstreamer-libs-sections.txt:
4211         * libs/gst/net/gstnetclientclock.c:
4212         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4213         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4214         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4215         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4216         * libs/gst/net/gstnetclientclock.h:
4217         * libs/gst/net/gstnettimeprovider.c:
4218         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4219         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4220         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4221         (gst_net_time_provider_new):
4222         * libs/gst/net/gstnettimeprovider.h:
4223         Use a private stuct to not break ABI.
4224
4225 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4226
4227         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4228
4229         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4230         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4231         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4232         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4233         * libs/gst/net/gstnetclientclock.h:
4234         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4235         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4236         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4237         (gst_net_time_provider_new):
4238         * libs/gst/net/gstnettimeprovider.h:
4239         Massive code removal and cleanups because of GstPoll.
4240         Fixes #505417.
4241
4242 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4243
4244         * configure.ac:
4245         Add checks for poll, ppoll and pselect.
4246
4247         * docs/gst/gstreamer-docs.sgml:
4248         * docs/gst/gstreamer-sections.txt:
4249         Add docs for GstPoll.
4250
4251         * gst/Makefile.am:
4252         * gst/gst.h:
4253         * gst/gstpoll.c: (find_index), (selectable_fds),
4254         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4255         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4256         (gst_poll_set_mode), (gst_poll_get_mode),
4257         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4258         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4259         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4260         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4261         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4262         (gst_poll_fd_can_write), (gst_poll_wait),
4263         (gst_poll_set_controllable), (gst_poll_restart),
4264         (gst_poll_set_flushing):
4265         * gst/gstpoll.h:
4266         Add generic poll abstraction. We ideally don't want to have this in core
4267         here but in glib intead...
4268         This code will be used in various network elements and ultimately for
4269         the nanosecond precision monotonic clock (that's why it's here in core).
4270         It'll allow us to implement cancelable socket operations for windows too.
4271
4272         * tests/check/Makefile.am:
4273         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4274         (delayed_stop), (delayed_restart), (delayed_flush),
4275         (delayed_control), (gst_poll_suite):
4276         Add GstPoll unit test.
4277
4278 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4279
4280         * gst/gstfilter.c:
4281           Improve documentation of gst_filter_run(). Fixes #518627.
4282
4283 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4284
4285         * docs/README:
4286           Add a few lines about the new 'check-inspected-versions' target.
4287
4288 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4289
4290         * tests/check/gst/gstevent.c:
4291           Add qos to the event test. Rename tcase/tsuite; is not only about
4292           custom events.
4293
4294 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4295
4296         * plugins/elements/gstqueue.c:
4297           Ensure that buffer metadata is writeable, before modifying. Spotted by
4298           Mike.
4299
4300 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4301
4302         * plugins/elements/gstqueue.c:
4303         * plugins/elements/gstqueue.h:
4304           When dropping buffers in leaky modes, mark next buffers we sent as
4305           DISCONT.
4306
4307 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4310           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4311
4312 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4313
4314         * plugins/elements/Makefile.am:
4315         * plugins/elements/gstbufferstore.c:
4316         * plugins/elements/gstbufferstore.h:
4317         * plugins/elements/gsttypefindelement.h:
4318           Remove GstBufferStore, no idea why we were still building it.
4319           It's not used anywhere and superseded by GstAdapter.
4320
4321         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4322           (gst_file_src_create_mmap):
4323         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4324           Printf format fixes for 64-bit integers.
4325
4326 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4327
4328         * configure.ac:
4329         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4330         We're not in 0.8 times anymore.
4331
4332 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4333
4334         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4335         (gst_check_element_push_buffer_list):
4336         * libs/gst/check/gstcheck.h:
4337         Make the declaration in the header for
4338         gst_check_element_push_buffer_list match the implementation.
4339
4340         Fix up spelling, grammar and wording of the documentation in a few
4341         places, and add the Since keyword to new API functions.
4342         Use g_list_delete_link instead of g_list_remove in
4343         gst_check_drop_buffers, since it's immeasurably more efficient.
4344
4345         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4346         Use new gst_check_drop_buffers function where appropriate.
4347
4348         * win32/common/libgstbase.def:
4349         * win32/common/libgstreamer.def:
4350         Add new symbols gst_collect_pads_take_buffer, 
4351         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4352         exports
4353
4354         Changelog surgery to add API keyword to new gst_check API.
4355
4356 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4357
4358         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4359         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4360         Update pre-generated flex files with flex 2.3.34.
4361
4362 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4363
4364         * gst/gstminiobject.c:
4365           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4366           friendly to subclasses and not require them to know all internals
4367           of their parent class.
4368
4369 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4370
4371         * docs/libs/gstreamer-libs-sections.txt:
4372         * libs/gst/base/gstcollectpads.c:
4373         * libs/gst/base/gstcollectpads.h:
4374           Add sub-buffer functions to collectpads. Fixes #516187.
4375           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4376
4377 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4378
4379         * gst/gstbuffer.c:
4380           Copy selected buffer-flags when creating subbuffers.
4381           Fixes #516395.
4382
4383 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4384
4385         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4386         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4387         * gst/gstmessage.c: (gst_message_class_init),
4388         (gst_message_finalize):
4389         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4390         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4391         (gst_mmap_buffer_finalize):
4392         Properly chain up finalize functions to the parent class.
4393
4394 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4395
4396         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4397
4398         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4399         (gst_index_set_resolver_full):
4400         * gst/gstindex.h:
4401         Add new function with option to dispose of user_data in resolver.
4402         Actually call the dispose function when finalizing the object and not
4403         just when changing the resolver/filter.
4404         API: GstIndex::gst_index_set_resolver_full()
4405
4406         * docs/gst/gstreamer-sections.txt:
4407         Add new function to docs. Fixes #515469.
4408
4409 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4410
4411         * gst/gstindex.c: (gst_index_finalize):
4412         Chain up finalize to the parent class. Fixes leaking the GstObject
4413         name and other things.
4414
4415 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4416
4417         * configure.ac:
4418         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4419         pre-releases or releases.
4420
4421         * docs/faq/gst-uninstalled:
4422         Add gst-plugins-gl
4423
4424         * docs/random/release:
4425         Change one of the steps - we only upload core & base to Gnome FTP
4426
4427 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4428
4429         * gst/gstconfig.h.in:
4430           Add 'id' for example.
4431
4432         * gst/gstpad.c:
4433         * gst/gstutils.c:
4434         * plugins/elements/gstfdsink.c:
4435           Link to signals. Doc and comment fixes.
4436
4437 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4438
4439         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4440         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4441           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4442           unused and unimplemented; finally, it is plugin features, not
4443           plugins, that have ranks.
4444           
4445 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4446
4447         * gst/gstpluginfeature.h:
4448           Clarify GstRank range docs.
4449
4450 2008-02-05  David Schleef  <ds@schleef.org>
4451
4452         * gst/gst.c: Add a separate gst_deinitialized that prevents
4453           gst_init() from being called after gst_deinit().  Fixes #509559
4454
4455 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4456
4457         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4458         (gst_bin_class_init):
4459         * gst/gstelement.c: (gst_element_base_class_init),
4460         (gst_element_class_add_pad_template):
4461         * gst/gstpadtemplate.c: (gst_pad_template_init):
4462         * gst/gstpipeline.c: (gst_pipeline_get_type),
4463         (gst_pipeline_base_init), (gst_pipeline_class_init):
4464         * libs/gst/base/gstbasesink.c:
4465         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4466         (gst_base_src_base_init), (gst_base_src_class_init):
4467         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4468         (gst_capsfilter_class_init):
4469         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4470         (gst_fake_sink_class_init):
4471         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4472         (gst_fake_src_class_init):
4473         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4474         (gst_fd_sink_class_init):
4475         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4476         (gst_fd_src_class_init):
4477         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4478         (gst_file_sink_class_init):
4479         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4480         (gst_file_src_class_init):
4481         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4482         (gst_identity_class_init):
4483         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4484         (gst_multi_queue_class_init):
4485         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4486         (gst_queue_class_init):
4487         * plugins/elements/gsttee.c: (gst_tee_base_init),
4488         (gst_tee_class_init):
4489         * plugins/elements/gsttypefindelement.c:
4490         (gst_type_find_element_base_init),
4491         (gst_type_find_element_class_init):
4492         * tests/check/gst/gstelement.c: (gst_element_suite):
4493         Revert previous changes to the behaviour of GstPadTemplates, etc
4494         and the possiblity to call them in class_init as it breaks too
4495         many elements. Reopens bug #491501.
4496
4497         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4498         several places.
4499
4500 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4501
4502         * tools/gst-launch.c:
4503         Dump one graph per pipeline state-change and state change name
4504         (if GST_DEBUG_DUMP_DOT_DIR is set).
4505
4506 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4507
4508         * gst/gstpad.c:
4509         * tests/check/gst/gstpad.c:
4510         Be sure that we have a new copy of the caps and not
4511         reffed caps from a template
4512
4513 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4514
4515         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4516         * gst/gstpipeline.c: (gst_pipeline_get_type),
4517         (gst_pipeline_class_init):
4518         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4519         (gst_base_sink_class_init):
4520         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4521         (gst_base_src_class_init):
4522         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4523         (gst_base_transform_class_init):
4524         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4525         (gst_collect_pads_class_init):
4526         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4527         * libs/gst/net/gstnettimeprovider.c:
4528         (gst_net_time_provider_base_init),
4529         (gst_net_time_provider_class_init):
4530         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4531         (gst_capsfilter_class_init):
4532         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4533         (gst_fake_sink_class_init):
4534         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4535         (gst_fake_src_class_init):
4536         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4537         (gst_fd_sink_class_init):
4538         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4539         (gst_fd_src_class_init):
4540         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4541         (gst_file_sink_class_init):
4542         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4543         (gst_file_src_class_init):
4544         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4545         (gst_identity_class_init):
4546         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4547         (gst_multi_queue_class_init):
4548         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4549         (gst_queue_class_init):
4550         * plugins/elements/gsttee.c: (gst_tee_base_init),
4551         (gst_tee_class_init):
4552         * plugins/elements/gsttypefindelement.c:
4553         (gst_type_find_element_base_init),
4554         (gst_type_find_element_class_init):
4555         Don't use base_init where not absolutely necessary. For example it's
4556         not necessary anymore for adding pad templates or setting element
4557         details.
4558
4559         Leave empty base_init functions in several places as GST_BOILERPLATE
4560         still defines and uses them.
4561
4562 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4563
4564         * gst/gstelement.c: (gst_element_base_class_init),
4565         (gst_element_class_add_pad_template):
4566         * gst/gstpadtemplate.c:
4567         Make it possible (and recommended) to set element details and add
4568         pad templates in the class_init functions by copying the details/pad
4569         templates in GstElement's base_init.
4570
4571         Also make it possible to replace existing pad templates by adding
4572         a new one with the same name. This was done in a hackish fashion
4573         in same elements before already.
4574
4575         Don't reference pad templates that are added a second time. A
4576         new pad template has a refcount of one and is not floating anymore
4577         and to be owned by the element's class. Make this more explicit by
4578         mentioning it in the docs of gst_element_class_add_pad_template().
4579
4580         These changes are backwards compatible. Fixes bug #491501.
4581
4582         * tests/check/gst/gstelement.c:
4583         Add unit test for setting element details, adding pad templates and
4584         replacing them in a subclass.
4585
4586 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4587
4588         * tools/gst-inspect.c: (print_interfaces),
4589         (print_element_properties_info), (print_pad_info),
4590         (print_signal_info), (print_element_info):
4591         Fix a few memory leaks.
4592
4593 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4594
4595         * docs/libs/gstreamer-libs-sections.txt:
4596         * libs/gst/check/gstcheck.c:
4597         * libs/gst/check/gstcheck.h:
4598         Add more functions for unit testing: gst_check_drop_buffers,
4599         gst_check_caps_equal, gst_check_element_push_buffer_list,
4600         gst_check_element_push_buffer
4601         API: gst_check_drop_buffers
4602         API: gst_check_caps_equal
4603         API: gst_check_element_push_buffer_list
4604         API: gst_check_element_push_buffer
4605
4606 2008-02-01  Julien Moutte  <julien@fluendo.com>
4607
4608         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4609         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4610         (gst_index_finalize), (gst_index_entry_free),
4611         (gst_index_add_association): Fix memory leaks.
4612         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4613         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4614         (gst_mem_index_free_format), (gst_mem_index_free_id),
4615         (gst_mem_index_finalize): Fix memory leaks.
4616         * win32/common/config.h: Updated to CVS HEAD.
4617
4618 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4619
4620         * docs/README:
4621           Some more details about how the plugin docs works.
4622
4623         * docs/plugins/gstreamer-plugins-sections.txt:
4624           Whitespace cleanup.
4625
4626 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4627
4628         * gst/parse/grammar.tab.pre.c:
4629         * gst/parse/grammar.tab.pre.h:
4630         * gst/parse/grammar.y:
4631         * gst/parse/lex._gst_parse_yy.pre.c:
4632           Add delayed set-property. This allows to set properties on dynamicaly
4633           created objects (pads in videomxer). Fixes #509391.
4634
4635 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4636
4637         * gst/gstutils.c:
4638         Check if caps are not NULL (fix bug #510194)
4639
4640 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4641
4642         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4643         (gst_base_sink_get_position_paused):
4644         Add fixme regarding EOS in pull mode.
4645         Fix position reporting in PAUSED for negative rates.
4646
4647 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4648
4649         * gst/gstminiobject.c: (gst_mini_object_replace):
4650         When replacing a miniobject, do a quick equality check first so that we
4651         can avoid a ref/unref pair.
4652
4653 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4654
4655         * docs/design/part-synchronisation.txt:
4656         Update some docs.
4657
4658         * docs/plugins/Makefile.am:
4659         * docs/plugins/gstreamer-plugins-docs.sgml:
4660         * docs/plugins/gstreamer-plugins-sections.txt:
4661         * plugins/elements/gstmultiqueue.c:
4662         Add multiqueue to the docs.
4663
4664 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4665
4666         * configure.ac:
4667           Back to CVS
4668
4669 === release 0.10.17 ===
4670
4671 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4672
4673         * configure.ac:
4674           releasing 0.10.17, "Due Negligence"
4675
4676 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4677
4678         * gst/gstutils.c:
4679         Revert caps != NULL check temporarily for 0.10.17 release.
4680
4681 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4682
4683         * gst/gstutils.c:
4684         Check if caps are not NULL (fix bug #510194)
4685
4686 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4687
4688         * gst/gstutils.c:
4689         Fix compilation on systems that have posix timers but no
4690         monotonic clock.
4691         Fixes: #512715
4692         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4693         dot net>
4694
4695 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4696
4697         * tools/gst-inspect.c:
4698         Revert previous commit in preparation for an impromptu 0.10.17 release
4699
4700 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4701
4702         * tools/gst-inspect.c: (print_interfaces),
4703         (print_element_properties_info), (print_pad_info),
4704         (print_signal_info), (print_element_info):
4705         Fix a few memory leaks.
4706
4707 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4708
4709         * configure.ac:
4710         Back to CVS
4711
4712 === release 0.10.16 ===
4713
4714 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4715
4716         * configure.ac:
4717           releasing 0.10.16, "Special Dispensation"
4718
4719 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * configure.ac:
4722           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4723           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4724           not fail when trying to crosscompile on OpenEmbedded (#511750).
4725
4726 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4727
4728         * docs/manuals.mak:
4729         Use $(MAKE) instead of make to fix the build if GNU make is
4730         called different. Fixes bug #510747.
4731
4732 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4733
4734         * gst/gstplugin.c: (_gst_plugin_initialize):
4735           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4736           again, which I broke two commits ago when changing the API
4737           of gst_plugin_register_static(): the g_list_foreach() in
4738           _gst_plugin_register_static still assumed the old function
4739           signature and would therefore fail (re-fixes #510187).
4740
4741         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4742           (_gst_plugin_register_static), (gst_plugin_register_static):
4743           Revert the (technically correct) change to call g_thread_init() from
4744           the pre-main() constructor. This will break programs which call
4745           g_thread_init() without an if (!g_thread_supported()) guard in their
4746           main function. We could just blame it on GLib or the application, but
4747           it's probably best to just avoid this altogether and simply not use
4748           any GLib functions here and use plain old malloc() with a simple
4749           array to store the plugins to register later when gst_init() is
4750           finally called (re-fixes #510187).
4751
4752         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4753           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4754           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4755           (GST_START_TEST), (gst_plugin_suite):
4756           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4757           works.
4758
4759 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4760
4761         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4762           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4763           This makes gtk-doc complain, but results in slightly better
4764           compiler errors. The old _gst_plugin_register_static() is
4765           still guarded, so there'll be a compiler warning about that
4766           instead. Fixes #510187 too.
4767
4768 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4769
4770         * gst/gst.c: (init_post):
4771         * gst/gstplugin.c: (_gst_plugin_register_static),
4772           (gst_plugin_register_static), (_gst_plugin_initialize):
4773         * gst/gstplugin.h: (GstPluginFilter):
4774           Change API of gst_plugin_register_static() to not take
4775           a GstPluginDesc, but rather just take all the arguments
4776           in a GstPluginDesc directly. This is more intuitive and
4777           avoids certain mistakes when porting code from
4778           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4779           Fixes #510187.
4780
4781         * tests/check/gst/gstplugin.c:
4782           Fix up for changed API.
4783
4784 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4785
4786         * docs/faq/legal.xml:
4787           Update FAQ, Totem actually has an exception these days.
4788
4789 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4790
4791         * win32/common/libgstreamer.def:
4792         Add new API declarations
4793
4794 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4795
4796         * gst/gstminiobject.c:
4797           Spelling fixes for the API docs.
4798
4799 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4800
4801         * libs/gst/base/gstbasetransform.c:
4802           Fix long property description for QoS.
4803
4804 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4805
4806         * gst/gst.c:
4807         _gst_trace_on is already provided by gsttrace.h, no need to declare
4808         it ourselves.
4809
4810         * docs/libs/gstreamer-libs-sections.txt:
4811         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4812         and remove strange tcase_add_test which is outputting a warning.
4813
4814         * libs/gst/check/gstcheck.c:
4815         * libs/gst/check/gstcheck.h:
4816         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4817         and define them in gstcheck.c instead of having every .c file whcih
4818         includes gstcheck.h be defining its own copy and relying on symbol
4819         interposing to marry them all, which doesn't work on Solaris.
4820
4821         * tests/check/elements/identity.c: (GST_START_TEST):
4822         Don't define 'buffers' locally, it comes from libgstcheck.
4823
4824         * tests/check/generic/sinks.c: (send_buffer):
4825         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4826
4827         * tests/check/gst/gststructure.c: (GST_START_TEST):
4828         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4829         * tests/check/gst/gstutils.c: (GST_START_TEST):
4830         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4831         Add a bunch of casts to make various constants fit the types
4832         they're being assigned to.
4833
4834 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4835
4836         * gst/gstchildproxy.c:
4837           Improve docs and add some ideas for making this more general-purpose.
4838
4839 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * gst/gst_private.h: (GST_CAT_TYPES):
4842           Add GST_CAT_TYPES, for consistency, and so that the other
4843           debug categories don't make fun of it. Spotted by Saur on IRC.
4844
4845 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4846
4847         * gst/parse/Makefile.am:
4848           Move types.h from EXTRA_DIST to noinst_HEADERS.
4849
4850 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4851
4852         * autogen.sh:
4853           Add -Wno-portability to the automake parameters to stop warnings
4854           about GNU make extensions being used. We require GNU make in almost
4855           every Makefile anyway.
4856
4857         * configure.ac:
4858           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4859           at the same time is required for per target flags.
4860
4861 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4862
4863         * gst/gstmacros.h:
4864           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4865           __GNUC__ is defined before using it.
4866
4867 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * docs/gst/gstreamer-sections.txt:
4870         * gst/gst.c: (init_post):
4871         * gst/gstplugin.c: (_gst_plugin_register_static),
4872           (gst_plugin_register_static), (_gst_plugin_initialize),
4873           (gst_plugin_register_func):
4874         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4875           API: add gst_plugin_register_static() and deprecate
4876           GST_PLUGIN_DEFINE_STATIC, since it's not portable
4877           (#498924).
4878           Also, in _gst_plugin_register_static(), make sure to call
4879           g_thread_init() before calling GLib functions such as
4880           g_list_append() if we're not initialised yet, since that
4881           may lead to random crashes with older GSlice/GLib versions.
4882
4883         * tests/check/gst/gstplugin.c:
4884           Adapt unit test to above changes.
4885
4886 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4889         * gst/gstcaps.c: (gst_caps_to_string):
4890         * gst/gststructure.c: (GST_ASCII_IS_STRING),
4891           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4892           Yet another gratuitous GString micro-optimisation: add a (private)
4893           function that serialises a structure appending to an existing
4894           GString, so that when we serialise caps we don't need to alloc+free
4895           a throwaway GString for each structure (each of which also entailing
4896           multiple reallocs on the way); also use g_string_sized_new() in
4897           various places with an approximate string length to avoid reallocs
4898           within GString. See #500143.
4899
4900 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4901
4902         * gst/gststructure.c: (gst_structure_id_set_value):
4903           Always check UTF-8 conformance of structure strings and not only
4904           if the debugging system is enabled; reasoning: the behaviour of
4905           the actual code shouldn't really change depending on whether the
4906           debugging system is enabled or not (#508291).
4907
4908 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
4909
4910         * Makefile.am:
4911           Remove old coverage target in favour of "make lcov".
4912
4913 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4914
4915         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4916         (gst_base_src_loop):
4917         The start segment for reverse playback goes from start to last_stop.
4918
4919 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4920
4921         Patch by: Peter Kjellerstedt <pkj axis com>
4922
4923         * gst/gstclock.h:
4924         Cast the results from the timeval/spec_to_time macros to what the
4925         docs say it casts to, a GstClockTime. fixes #508175.
4926
4927 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
4928
4929         * gst/gstbuffer.c:
4930         Update some comments.
4931
4932         * tools/gst-inspect.c: (print_element_properties_info):
4933         Improve printing of flags.
4934
4935 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4936
4937         * libs/gst/base/gstbasetransform.c:
4938           (gst_base_transform_transform_size):
4939           Print element name with g_warning() if there's a problem
4940           with the unit size.
4941
4942 2008-01-07  David Schleef  <ds@schleef.org>
4943
4944         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4945
4946         * libs/gst/controller/gstcontroller.h:
4947         * libs/gst/controller/gstcontrolsource.h:
4948         * libs/gst/controller/gstinterpolationcontrolsource.h:
4949         * libs/gst/controller/gstlfocontrolsource.h:
4950         * libs/gst/dataprotocol/dataprotocol.h:
4951           Fix empty prototypes.  Fixes bug #507957.
4952
4953 2008-01-07  David Schleef  <ds@schleef.org>
4954
4955         * docs/faq/dependencies.xml: Fix typo.
4956
4957 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4958
4959         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4960         (gst_base_src_loop):
4961         Don't update the last_stop position in do_seek, that's the position we
4962         did a seek to.
4963         Read backwards when we have a negative rate.
4964
4965         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4966         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4967         (filesrc_suite):
4968         Add check for reverse reading.
4969
4970 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
4971
4972         Patch by: Alexis Ballier <aballier at gentoo org>
4973
4974         * tests/check/gst/gstabi.c:
4975         * tests/check/gst/struct_ppc64.h:
4976         * tests/check/libs/libsabi.c:
4977         * tests/check/libs/struct_ppc64.h:
4978           Decide which header to include based on the userland ABI target
4979           and not the kernel/cpu. Fix up structure sizes of ppc64 header
4980           for 64-bit userland (#503590).  Might need something similar for
4981           x86 too.
4982
4983 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4984
4985         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4986           Log the reason why fopen fails in addition to the fact that it failed.
4987           
4988 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
4989
4990         * gst/parse/parse.l:
4991         Use "%option never-interactive" to prevent useless calls to isatty()
4992         on every input when parsing. Also use "%option noinput" to not define
4993         the static input/yyinput functions which we don't use anyway. This
4994         removes a compiler warning with gcc 4.3 and saves some bytes in the
4995         library.
4996         
4997         * gst/parse/lex._gst_parse_yy.pre.c:
4998         Regenerated for the above change.
4999
5000 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5001
5002         * gst/gstpad.c: (fixate_value):
5003         Don't crash when trying to fixate and empty list.
5004         Fixes #506643.
5005
5006 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5007
5008         * docs/faq/gst-uninstalled:
5009         Clarify the comments to make the usage of this script and what it
5010         does easier to understand.
5011
5012 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5013
5014         * tools/gst-plot-timeline.py:
5015         Add more options to gst-plot-timeline
5016
5017 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5018
5019         * docs/design/part-synchronisation.txt:
5020         Some more info on how the stream_time in GstBaseSink is done.
5021
5022 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5023
5024         * tests/check/generic/sinks.c: (gst_sinks_suite):
5025           Put back the tcase_set_timeout(), apparently it's needed after
5026           all; fix it up in a way that makes things work with valgrind too.
5027
5028 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5029
5030         * gst/gstdebugutils.c:
5031           Add warning when failed to open file for writing.
5032
5033 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5034
5035         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5036
5037         * gst/gstvalue.c: (gst_value_is_fixed):
5038           Optimisation: bail out of the loop as early as possible (#500143).
5039
5040 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5041
5042         * gst/gstcaps.c: (gst_caps_to_string):
5043         * gst/gstinfo.c: (gst_debug_construct_term_color):
5044         * gst/gstparse.c: (gst_parse_launchv):
5045         * gst/gstutils.c: (gst_util_dump_mem):
5046         * gst/gstvalue.c: (gst_value_serialize_any_list),
5047           (gst_value_transform_any_list_string):
5048           Bunch of gratuitous nano-optimisations.
5049
5050 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5051
5052         * tests/check/generic/sinks.c: (async_done_func),
5053           (async_done_eos_func):
5054           Fix leak in unit test (bus sync handler must unref the message
5055           if it returns GST_BUS_DROP). Don't fiddle with the default test
5056           timeout, this is smaller than the current preconfigured value
5057           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5058           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5059
5060 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5061
5062         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5063
5064         * configure.ac:
5065         Check for stdio_ext.h for the filesink changes.
5066
5067         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5068         (gst_file_sink_class_init), (gst_file_sink_init),
5069         (gst_file_sink_dispose), (gst_file_sink_set_property),
5070         (gst_file_sink_get_property), (gst_file_sink_open_file),
5071         (gst_file_sink_close_file):
5072         * plugins/elements/gstfilesink.h:
5073         Add two properties to control the buffering mode and size.
5074         API: GstFileSink::buffer-mode
5075         API: GstFileSink::buffer-size
5076         Fixes #500150.
5077
5078 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5079
5080         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5081         Add some more docs to explain why a FIXME was wrongly added. 
5082
5083 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5084
5085         * gst/gstobject.c:
5086           Fix typo in the gst_object_{ref,unref} documentation.
5087
5088 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5089
5090         * tests/check/libs/controller.c:
5091         * tests/check/libs/typefindhelper.c:
5092         * tests/check/pipelines/parse-launch.c:
5093           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5094           going to be deprecated (see #498924).
5095
5096 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * gst/gsttypefind.c: (gst_type_find_register):
5099           Make gst_type_find_register work for static typefind functions,
5100           ie. allow passing plugin == NULL (prerequisite for #498924).
5101
5102         * gst/gstelementfactory.c: (gst_element_register):
5103           Small docs addition.
5104
5105 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5106
5107         * gst/gstpad.c: (gst_pad_dispose):
5108         Really unlink the peer pad instead of setting the peer pointer to NULL
5109         when we dispose the pad.
5110         This correctly calls the unlink functions and makes sure that the peer
5111         does not have a handle to invalid memory. See #504671.
5112
5113         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5114         Add testsuite for above case.
5115
5116 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5117
5118         Patch by: Peter Kjellerstedt <pkj axis com>
5119
5120         * libs/gst/check/gstcheck.h:
5121           Fix detection of the check version we're compiling against (would
5122           otherwise break if check goes v0.10.0); correctly report the
5123           name of the failed test again in case of failure, instead of
5124           just 'tf' (fixes #504499).
5125
5126 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5127
5128         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5129         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5130         (gst_base_src_loop), (gst_base_src_set_flushing),
5131         (gst_base_src_change_state):
5132         Allow sending EOS to the source to make it send out an EOS event from
5133         the streaming thread.
5134         Update docs and deprecate the old NULL/READY shutdown method.
5135
5136         * tests/check/libs/basesrc.c: (GST_START_TEST),
5137         (gst_basesrc_suite):
5138         Add unit test for controlled shutdown.
5139
5140 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5141
5142         * docs/design/part-synchronisation.txt:
5143         Small updates.
5144
5145         * gst/gstsegment.c: (gst_segment_set_seek),
5146         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5147         (gst_segment_to_running_time):
5148         The seek format can be different from the segment format when the start
5149         and stop values are not to be updated, when we only do a rate change for
5150         example.
5151
5152         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5153         (gst_segment_suite):
5154         Add a testcase for the rate-only seeks, checking that the format is
5155         correctly ignored when start and stop are not updated.
5156
5157 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5158
5159         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5160
5161         * win32/vs8/grammar.vcproj:
5162         * win32/vs8/libgstcontroller.vcproj:
5163         * win32/vs8/libgstreamer.vcproj:
5164         Fix compilation with VS8 and include some missing files.
5165
5166 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5167
5168         * gst/gsttaglist.c:
5169           Small docs addition: mention that the strings returned by
5170           gst_tag_list_get_string*() are in UTF-8 encoding.
5171
5172 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5173
5174         * Makefile.am:
5175           The check-exports stuff moved to common/win32.mak, so include that.
5176
5177 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5178
5179         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5180         (gst_base_src_perform_seek), (gst_base_src_get_range),
5181         (gst_base_src_set_playing), (gst_base_src_change_state):
5182         Make _wait_playing() not check any variables so that we can call this
5183         function from subclasses. Move the checks elsewhere similar to
5184         _wait_preroll() in basesink.
5185         Add some debugging.
5186         Only signal the LIVE cond when we are going back to PLAYING.
5187
5188 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5191           Use g_remove() and g_rename(). Check result of g_rename(), and
5192           don't leak the open file descriptor if we error out when writing.
5193
5194         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5195           Must check the return value of close() after writing out the new
5196           registry file.  Sometimes write problems such as out-of-diskspace
5197           are only reported when the file is closed and not already during
5198           the write.  This may have caused partial/broken registry files in
5199           some rare circumstances. Should fix #503675.
5200
5201 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5202
5203         * docs/gst/.cvsignore:
5204         * docs/libs/.cvsignore:
5205         * docs/plugins/.cvsignore:
5206         Ignore files generated by new common/* modifications
5207
5208 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5209
5210         * win32/common/libgstbase.def:
5211           Yes, you can also have a <TAB> if you want.
5212
5213 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5214
5215         * win32/common/libgstbase.def:
5216           Add new basetransform API to win export file.
5217
5218 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5219
5220         * tests/check/gst/gstbin.c:
5221           Adjust the test to the refcount change two days ago.
5222
5223 2007-12-14  David Schleef  <ds@schleef.org>
5224
5225         * docs/faq/getting.xml: Fix typo.
5226
5227 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5228
5229         * docs/libs/gstreamer-libs-sections.txt:
5230         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5231           (gst_base_transform_prepare_output_buffer),
5232           (gst_base_transform_set_gap_aware):
5233         * libs/gst/base/gstbasetransform.h:
5234           API: Add gst_base_transform_set_gap_aware() to control whether
5235           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5236           get buffers with this flag at all. Fixes #503231.
5237
5238 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5239
5240         * libs/gst/base/gstbasesink.c:
5241         * libs/gst/base/gstbasesrc.c:
5242         * libs/gst/base/gstbasetransform.c:
5243           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5244           thread. Correct log message in gstbasesrc.c.
5245
5246 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * gst/gstutils.c: (element_find_unconnected_pad):
5249           Fix possible compiler warning (#503417).
5250
5251 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5254           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5255
5256 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5257
5258         * tools/gst-inspect.c: (print_element_properties_info):
5259           Add support for GstFraction properties.
5260
5261 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         * Makefile.am:
5264           Add check-exports target and run it as part of 'make check'
5265           (see #499140 and #493983).
5266
5267         * gst/gst_private.h:
5268         * gst/gstelementfactory.h:
5269         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5270         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5271           (_priv_gst_in_valgrind):
5272         * gst/gstinfo.h: (GstLogFunction):
5273         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5274           (gst_type_find_register):
5275         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5276           (gst_type_find_factory_get_type):
5277         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5278           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5279           (gst_controller_new_valist), (gst_controller_new_list),
5280           (_gst_controller_dispose), (_gst_controller_class_init):
5281         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5282         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5283           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5284           (gst_object_get_controller), (gst_object_set_controller),
5285           (gst_object_suggest_next_sync), (gst_object_sync_values),
5286           (gst_object_set_control_source), (gst_object_get_control_source),
5287           (gst_object_get_value_arrays), (gst_object_get_value_array),
5288           (gst_object_get_control_rate), (gst_object_set_control_rate):
5289         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5290         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5291           Make some functions that should be static static; rename some
5292           private symbols so that they don't get exported; add some FIXME
5293           comments so we can move accidentally exported functions into
5294           our private section in 0.11.
5295
5296         * win32/common/libgstreamer.def:
5297           Add gst_utils_get_timestamp().
5298
5299 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5300
5301         * gst/gstvalue.c:
5302         * gst/gstvalue.h:
5303           Add more missing "Since:" tags to docs.
5304
5305 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5306
5307         * gst/gstutils.c:
5308           Add mising "Since:" to docs.
5309
5310 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5311
5312         * gst/gstplugin.c:
5313           Include "glib-compat-private.h" to fix the build on system with
5314           glib < 2.10. Fixes #503131.
5315
5316 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5317
5318         * gst/gstutils.c:
5319         * gst/gstutils.h:
5320           Actually its not PURE as it gets the time from elsewhere.
5321
5322 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5323
5324         * docs/gst/gstreamer-sections.txt:
5325         * gst/gstclock.h:
5326         * gst/gstdebugutils.c:
5327         * gst/gstinfo.c:
5328         * gst/gstutils.c:
5329         * gst/gstutils.h:
5330         * libs/gst/base/gstbasesink.c:
5331         * tools/gst-launch.c:
5332           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5333           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5334           Thanks Tim for spotting.
5335           API: gst_util_get_timestamp
5336
5337 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5338
5339         * configure.ac:
5340           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5341
5342 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5343
5344         * gst/gststructure.c: (gst_structure_validate_name),
5345           (gst_structure_new_valist), (gst_structure_parse_value),
5346           (gst_structure_from_string):
5347           Don't crash in _from_string() if the structure name is not valid
5348           (fixes #501560).  Allow structure names to start with a number
5349           again (this apparently broke the ubuntu codec installer).
5350
5351         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5352           (GST_START_TEST):
5353           Add unit test for the crash; update unit tests for new behaviour.
5354
5355 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5356
5357         * gst/gstutils.c:
5358         Clarify gst_element_get_compatible_pad() documentation.
5359         Fixes #500919.
5360
5361 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5362
5363         * tests/check/Makefile.am:
5364           Don't forget to dist {gst,libs}/struct_hppa.h.
5365
5366 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5367
5368         * libs/gst/base/gstbasesink.c:
5369           Use new API to get elapsed time.
5370
5371 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5372
5373         * gst/gstdebugutils.c:
5374         * gst/gstinfo.c:
5375           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5376
5377         * tools/gst-launch.c:
5378           Use new API to get elapsed time.
5379
5380 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5381
5382         * docs/gst/gstreamer-sections.txt:
5383         * gst/gstclock.h:
5384         * gst/gstdebugutils.c:
5385         * gst/gstinfo.c:
5386           Rename new API + ChangeLog surgery to remove old name from last entry..
5387
5388 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5389
5390         * docs/gst/gstreamer-sections.txt:
5391         * gst/gstclock.h:
5392         * gst/gstdebugutils.c:
5393         * gst/gstinfo.c:
5394           Now hide the different clock stuff behind a macro.
5395
5396 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5397
5398         * configure.ac:
5399         * gst/gstdebugutils.c:
5400         * gst/gstinfo.c:
5401           Apply the posix-timer check from #361155. Conditionally use the posix
5402           timer for logging. This gives better timestamp precission, less
5403           overhead and no ntp jitter.
5404
5405 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5406
5407         * gst/gstminiobject.c: (gst_mini_object_get_type),
5408         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5409         (gst_mini_object_finalize), (gst_mini_object_copy),
5410         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5411         (gst_mini_object_replace), (param_mini_object_validate),
5412         (gst_param_spec_mini_object_get_type):
5413         Some cleanup and checking against invalid function parameters.
5414
5415 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5416
5417         * docs/gst/gstreamer-sections.txt:
5418         * gst/gstclock.h:
5419         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5420         (gst_systemclock_suite):
5421         Start merging in the easy bits of #361155, the monotonic clock patch.
5422         This one adds a few handy macros with docs and a testsuite.
5423
5424 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5425
5426         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5427         Be a bit smarter when seeking, like, don't try to do a seek when it's
5428         not needed. This avoids errors when the file is not seekable.
5429         Fixes #499771.
5430
5431 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5432
5433         * docs/gst/gstreamer-docs.sgml:
5434         * docs/gst/gstreamer-sections.txt:
5435         * docs/gst/gstreamer.types.in:
5436         * gst/Makefile.am:
5437         * gst/gst.h:
5438         * gst/gstpreset.c:
5439         * gst/gstpreset.h:
5440         * plugins/elements/gstqueue.c:
5441           Due to popular request remove preset interface again. :-(.
5442
5443 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * tools/gst-inspect.c:
5446           Print 'default value' for enums and flags too.
5447
5448 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5449
5450         * docs/random/ensonic/profiling.txt:
5451           More ideas.
5452
5453         * gst/gstbin.c:
5454           Fix typo and give better log output.
5455
5456         * gst/gstdebugutils.c:
5457         * gst/gstdebugutils.h:
5458           More ideas, make graphs a bit smaller and fix param name in macro.
5459
5460 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * gst/gstpreset.c:
5463           Try harder to use the return value from fgets().
5464
5465 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5466
5467         * gst/gstpreset.c:
5468           For theses two fgets we handle the error below.
5469
5470 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5471
5472         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5473         Only send upstream events upstream. Fixes #498746.
5474
5475 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5476
5477         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5478
5479         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5480         (gst_identity_init), (gst_identity_transform_ip),
5481         (gst_identity_set_property), (gst_identity_get_property):
5482         * plugins/elements/gstidentity.h:
5483         Add property to disable handoff signal emission. Fixes #498694.
5484         API: GstIdentity::signal-handoffs
5485
5486 2007-11-21  Julien Moutte  <julien@fluendo.com>
5487
5488         * docs/faq/gst-uninstalled: Yet another missing library for the
5489         uninstalled script (fft)
5490
5491 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5492
5493         * docs/faq/developing.xml:
5494         Add a question about how to submit new translations.
5495
5496         * docs/random/release:
5497         Update the contact email address for the Translation Project
5498
5499         * plugins/elements/gstfdsrc.c:
5500         The parent_class for fdsrc is pushsrc, not GstElement.
5501
5502 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5503
5504         * gst/gstpreset.c:
5505           Plug a leak and fix saving.
5506
5507 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5508
5509         * docs/gst/gstreamer-sections.txt:
5510         Add new gst_preset__get_property_names() function to the docs
5511         to fix the build.
5512
5513 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5514
5515         * gst/gstpreset.c:
5516         * gst/gstpreset.h:
5517           Change _get_preset_names API to return a strv with copies. Add
5518           _get_property_names to allow implementations to filter and provide
5519           good default implementation.
5520
5521 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5522
5523         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5524         script (sdp).
5525
5526 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5527
5528         * gst/gstpreset.c:
5529           More cleanups, docs, and TODOs from comments that now slowly come in.
5530
5531 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5532
5533         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5534         search path.
5535
5536 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5537
5538         * gst/gstpreset.c:
5539           Fix bogus warning and make the property type specific code more
5540           similar.
5541
5542 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5543
5544         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5545         it build on OS X.
5546
5547 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5548
5549         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5550         (gst_bin_add_func), (gst_bin_remove_func),
5551         (gst_bin_change_state_func), (gst_bin_continue_func):
5552         Change email, cleanups add some more debug and comments.
5553         Also set bus and clock on new elements when the pipeline was in error.
5554
5555 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5556
5557         * gst/gstbin.c:
5558         * gst/gstdebugutils.c:
5559           Fix build with --disable-gst-debug. Fixes #497859.
5560           Spotted by Sameer Naik.
5561
5562 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5563
5564         * gst/gstevent.c:
5565           Little documentation improvment.
5566
5567         * gst/gstpreset.c:
5568           More TODO cleanups. Remove c++ comments.
5569
5570         * libs/gst/controller/gstcontroller.c:
5571           Add TODO and use quark from static string.
5572
5573         * tests/check/gst/gstmessage.c:
5574         * tests/check/gst/gststructure.c:
5575           Use quark from static string.
5576
5577 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5578
5579         * gst/gstpreset.c:
5580           Add some comments and TODOs.
5581
5582         * gst/gstpreset.h:
5583           Add padding for future changes.
5584
5585         * plugins/elements/gstqueue.c:
5586           Implement the iface.    
5587
5588 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5589
5590         * docs/gst/gstreamer-docs.sgml:
5591         * docs/gst/gstreamer-sections.txt:
5592         * docs/gst/gstreamer.types.in:
5593         * gst/Makefile.am:
5594         * gst/gst.h:
5595         * gst/gstpreset.c:
5596         * gst/gstpreset.h:
5597           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5598
5599 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5600
5601         * configure.ac:
5602
5603         Back to CVS
5604
5605 === release 0.10.15 ===
5606
5607 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5608
5609         * configure.ac:
5610           releasing 0.10.15, "October"
5611
5612 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5613
5614         * win32/vs6/libgstreamer.dsp:
5615         Convert line endings back to DOS.
5616
5617 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * docs/design/draft-tagreading.txt:
5620         * docs/random/ensonic/profiling.txt:
5621         Update fast tagreading draft and performance profiling ideas.
5622
5623 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5624
5625         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5626         Don't hold the object lock when unreffing a buffer because it could
5627         cause a deadlock when the finalize function wants to grab the object
5628         lock too. Fixes #495133.
5629
5630 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5631
5632         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5633         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5634         Also accumulate time correctly when doing reverse playback. Fixes
5635         #488201,
5636         When converting to running and stream time, use default values for
5637         start/stop/time/accum when comparing different formats. Fixes #494245.
5638
5639         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5640         Do running/stream time in TIME format.
5641
5642         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5643         (gst_segment_suite):
5644         2 new unit tests for segment accumulation.
5645
5646 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5647
5648         * gst/gst.c: (init_pre):
5649         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5650           (_gst_debug_bin_to_dot_file):
5651           Move getenv() back into gst_init, so everyone can live happily
5652           ever after. Make sure the symbol isn't exported though.
5653
5654 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5655
5656         Patch by: Sebastien Moutte  <sebastien moutte net>
5657
5658         * win32/common/gstenumtypes.c:
5659         * win32/common/gstenumtypes.h:
5660           Update enum types.
5661
5662         * win32/vs6/libgstreamer.dsp:
5663           Update vs6 project files (#494343).
5664
5665 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5666
5667         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5668         (gst_base_src_perform_seek), (gst_base_src_default_event),
5669         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5670         (gst_base_src_activate_pull):
5671         Unify flushing code, remove some old unlock code that is no longer used.
5672         Take the streaming lock when seeking to avoid races. Fixes #492729.
5673         Added some more comments.
5674
5675 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5676
5677         * gst/gst.c: (_gst_disable_segtrap):
5678           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5679           we can use gst_segtrap_is_enabled() there now that we have that API.
5680           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5681           to do the getenv here (and export the variable).
5682
5683         * gst/gstdebugutils.c: (debug_dump_element),
5684           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5685           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5686
5687         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5688           (gst_debug_log_default):
5689           Rename _gst_info_start_time to priv_gst_info_start_time so it
5690           doesn't get exported (was never in any header).
5691
5692         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5693           (gst_plugin_loading_mutex):
5694           Make static mutex gst_plugin_loading_mutex really static (was never
5695           in any header), and use gst_segtrap_is_enabled() instead of
5696           _gst_disable_segtrap.
5697
5698         * gst/gsttrace.c: (_gst_trace_default):
5699           Make local _gst_trace_default static (was never in any header).
5700
5701 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5702
5703         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5704
5705         * win32/common/libgstbase.def:
5706         * win32/common/libgstcontroller.def:
5707         * win32/common/libgstdataprotocol.def:
5708         * win32/common/libgstnet.def:
5709         * win32/common/libgstreamer.def:
5710           Add more missing symbols, remove some duplicates, and sort
5711           as the 'sort' command sorts it (partially fixes #493983).
5712
5713 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5714
5715         * gst/gstelement.c: (gst_element_set_state_func):
5716         Only change the state cookie if a different state was set on the
5717         element. See #492729.
5718
5719 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * gst/gstvalue.c:
5722           Remove unused and uninitialised type variables that were still
5723           exported for some reason (they were never in any header files
5724           though).
5725
5726 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5727
5728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5729         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5730         (gst_base_sink_event), (gst_base_sink_get_position_last),
5731         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5732         (gst_base_sink_change_state):
5733         Don't try to report a 0 position when we don't know, return -1 and FALSE
5734         instead. This mostly happens when we are prerolling.
5735         Make sure we can report the right position before we post the ASYNC_DONE
5736         message so that a message handler can query position without races.
5737
5738         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5739         (async_done_handoff), (async_done_func), (send_buffer),
5740         (async_done_eos_func), (gst_sinks_suite):
5741         Add two tests for the above.
5742
5743 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5744
5745         * MAINTAINERS:
5746         Update with new email address.
5747
5748         * docs/design/part-TODO.txt:
5749         Add some more info about future pad-block and negotiation changes.
5750
5751         * docs/design/part-buffering.txt:
5752         Add some ideas about buffering reporting.
5753
5754 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5755
5756         * tests/check/gst/gstobject.c:
5757         Disable silly racy test that always fails on this combination of CPU
5758         and kernel.
5759
5760 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5761
5762         Patch by: Murray Cumming  <murrayc@murrayc.com>
5763
5764         * gst/gstobject.c:
5765           Corrected the registration of the parent-set and parent-unset
5766           signals: The parameter is a GstObject, not a GObject (#493134).
5767
5768 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5769
5770         * gst/gst_private.h:
5771         * gst/gstbuffer.h:
5772         * gst/gstevent.h:
5773         * gst/gstformat.h:
5774         * gst/gstmessage.h:
5775         * gst/gstplugin.h:
5776         * gst/gstquery.h:
5777         * gst/gsttaglist.h:
5778         * gst/gstvalue.h:
5779           Move declaration of private _gst_foo_initialize() functions into
5780           our private header file where they should have been all along.
5781
5782 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * docs/plugins/gstreamer-plugins-sections.txt:
5785         * gst/gstdebugutils.h:
5786         * gst/gstxml.h:
5787         * plugins/elements/gstqueue.c:
5788           gtk-doc fixes; trailing-comma-in-enum fix.
5789
5790 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5791
5792         * gst/gst.c: (gst_deinit):
5793           Clean up on deinit (not the external ones though, doesn't seem to be
5794           needed for some reason).
5795
5796 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5797
5798         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5799           Remove __declspec(dllimport) for MSVC that was copied over into core
5800           from a plugin, obviously without ever having been tested (note the
5801           single underscore in _declspec in the initial commit), and that doesn't
5802           really make sense.  See #492077.
5803
5804 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5805
5806         * gst/gst.c: (init_post):
5807         * gst/gstevent.c: (_gst_event_initialize):
5808         * gst/gstquery.c: (_gst_query_initialize):
5809         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5810           g_type_class_ref() other types as well, see #349410 and #64764.
5811
5812         * gst/gstbuffer.c: (_gst_buffer_initialize):
5813         * gst/gstmessage.c: (_gst_message_initialize):
5814           Simplify existing g_type_class_ref().
5815
5816 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5817
5818         * gst/gstformat.c: (_gst_format_initialize):
5819           g_type_class_ref() our GstFormat type to make sure we avoid the
5820           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5821           bug #64764. Should fix intermittent tee unit test failures (#474823).
5822
5823 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5824
5825         * tests/check/elements/tee.c: (test_num_buffers):
5826           Simplify, simplify, simplify - or not.  Rewrite unit test
5827           not to use gst_parse_launch(); allow N sub-streams. Increasing
5828           the number of sub-streams seems to reproduce #474823 more easily.
5829
5830 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5833
5834         * gst/gsttrace.c:
5835         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5836         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5837         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5838           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5839           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5840           so use _pipe() directly (#492077).
5841
5842         * win32/common/dirent.c: (_treaddir):
5843           Add a couple of casts to make it build without warnings with MSVC.
5844
5845         * win32/common/libgstreamer.def:
5846           Add some more symbols that need to be exported.
5847
5848 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         * tests/examples/metadata/read-metadata.c: (message_loop):
5851           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5852           arriving in a second or third tag message are added to
5853           the tag list as well.
5854
5855 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5856
5857         * libs/gst/base/gstbasesrc.c:
5858           Its "Since:" and not "@Since:". And remove an superflous cast.
5859
5860 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5861
5862         * docs/libs/gstreamer-libs-sections.txt:
5863         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5864         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5865         (gst_base_sink_get_property), (gst_base_sink_render_object),
5866         (gst_base_sink_preroll_object),
5867         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5868         (gst_base_sink_change_state):
5869         * libs/gst/base/gstbasesink.h:
5870         Add a new last-buffer property that contains the last buffer used in
5871         basesink for preroll or rendering. useful for making snapshots.
5872         API: gst_base_sink_get_last_buffer()
5873         API: GstBaseSink::last-buffer
5874
5875 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5876
5877         * docs/gst/running.xml:
5878         * gst/gst.c:
5879         * gst/gstdebugutils.c:
5880         * gst/gstdebugutils.h:
5881         * tools/gst-launch.c:
5882           Improve bin graph dumping, by using the envvar to specify a path.
5883           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5884
5885 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
5886
5887         * plugins/elements/gsttypefindelement.c:
5888           (gst_type_find_element_handle_event),
5889           (gst_type_find_element_activate):
5890           Post special error message if we can't determine the type of a stream
5891           because it's empty.
5892
5893 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
5894
5895         * docs/gst/running.xml:
5896         * gst/gstdebugutils.c:
5897           Document new env-var. Add one log-line after dumpng a graph.
5898
5899 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5900
5901         * configure.ac:
5902           Ugly hack to put the (recently removed and non-portable, apparently)
5903           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5904           GNU ld, because without that 'make check' fails miserably on my debian
5905           stable box.  Someone with more knowledge of linker intricacies and
5906           portability issues than me fix this properly please.
5907
5908 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
5909
5910         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5911         Reset last seen position after flushing so that we don't report the old
5912         position anymore.
5913
5914 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5915
5916         * gst/gstelementfactory.c: (gst_element_register):
5917         * gst/gsturi.h:
5918         Patch from Alessandro Decina adding get_type_full and
5919         get_protocols_full private vfuncs to the URIHandler interface
5920         to allow bindings to support creating URI handlers. 
5921         Partially fixes: #339279
5922         API: GstURIHandlerInterface::get_type_full
5923         API: GstURIHandlerInterface::get_protocols_full
5924
5925 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5926
5927         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5928         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5929         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5930         Make it so that pads are considered linked until a buffer is pushed
5931         and discovered otherwise. This avoids problems with decodebin2 hanging
5932         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5933         case.
5934
5935         Make sure we lock the multiqueue when updating the max-size properties.
5936         
5937         Fix a crash on Solaris in a debug statement in get_request_pad that
5938         passes a NULL string to GST_DEBUG. 
5939
5940         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5941         (run_output_order_test):
5942         Fix the test to allow the first buffer on not-linked pads to come out
5943         of sequence while multiqueue discovers that they are not-linked.
5944
5945 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
5946
5947         * configure.ac:
5948         * libs/gst/check/Makefile.am:
5949         Use a custom export symbol regex for libgstcheck, as it needs
5950         to export symbols that don't match the standard GStreamer gst_*
5951         pattern, and  --export-dynamic is not portable (only works on 
5952         GNU ld)
5953
5954         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5955         (gst_check_setup_sink_pad):
5956         Make sure to pass a message parameter to the fail_* macros.
5957
5958         * tests/check/gst/gstinfo.c: (GST_START_TEST):
5959         Fix some compiler warnings.
5960
5961 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
5962
5963         * tests/check/gst/gststructure.c: (test_to_string):
5964           Disable test that checks that white spaces are not allowed
5965           in structure names or field names, since we need to
5966           support that for now for backwards compatibility reasons.
5967
5968 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5969
5970         * docs/gst/gstreamer-sections.txt:
5971         * gst/gsttaglist.c:
5972         * gst/gsttaglist.h:
5973           API: add GST_TAG_ARTIST_SORTNAME
5974           API: add GST_TAG_ALBUM_SORTNAME
5975           API: add GST_TAG_TITLE_SORTNAME
5976           Add tag variants for sorting (#414539).
5977
5978 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
5979
5980         * gst/gststructure.c:
5981           Also allow white space for names so we don't break
5982           backwards compatibility.
5983
5984 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
5985
5986         * docs/design/part-TODO.txt:
5987         * docs/design/part-segments.txt:
5988         * docs/design/part-streams.txt:
5989         Small updates.
5990
5991 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
5992
5993         * docs/gst/gstreamer-sections.txt:
5994          Fixed documentation from my previous commit (added new API add
5995          gst_value_set_structure(), add gst_value_get_structure() and
5996          GST_VALUE_HOLDS_STRUCTURE).
5997
5998 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
5999
6000         * gst/gstdebugutils.c:
6001           Reflow code to fix uninitialized variable warning.
6002
6003 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6004
6005         * gst/gstcaps.c: (gst_caps_to_string),
6006         (gst_caps_from_string_inplace):
6007         * gst/gststructure.c: (gst_structure_get_abbrs),
6008         (gst_structure_to_string), (gst_structure_from_string):
6009         * gst/gstvalue.c: (gst_value_set_structure),
6010         (gst_value_get_structure), (gst_value_serialize_structure),
6011         (gst_value_deserialize_structure), (_gst_value_initialize):
6012         * gst/gstvalue.h:
6013         * tests/check/gst/gststructure.c: (GST_START_TEST),
6014         (gst_structure_suite):
6015         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6016          Added GstStructure to gst_value_table and its related functions.
6017          Changed gst_structure_to_string to print ';' in the end.
6018          Changed gst_caps_to_string to not print ';' beteween its
6019          fields (structures) anymore and remove the lastes ';' from latest
6020          structure. Now it is possible to have nested structures.
6021          In addition, backward compatibilty is assured by accepting '\0' as
6022          end delimiter. Fixes: #487969.
6023          API: add gst_value_set_structure()
6024          API: add gst_value_get_structure()
6025          API: add GST_VALUE_HOLDS_STRUCTURE
6026
6027 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6028
6029         * gst/gstbus.c:
6030           When no GSource callback has been set up, tell developer
6031           to use a function that actually exists.
6032
6033 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6034
6035         * docs/gst/gstreamer-sections.txt:
6036         * gst/Makefile.am:
6037         * gst/gst.c:
6038         * gst/gst.h:
6039         * gst/gstdebugutils.c:
6040         * gst/gstdebugutils.h:
6041         * gst/gstinfo.c:
6042         * gst/gstinfo.h:
6043         * tools/gst-launch.c:
6044           Allow dumping pipelines as dot graphs. Fixes #456573.
6045
6046 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6047
6048         * gst/gststructure.c:
6049           Allow '+' as well, it can be part of media or mime types
6050           such as image/svg+xml.
6051
6052 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         * docs/gst/gstreamer-sections.txt:
6055         * gst/gstbus.c:
6056         * gst/gstbus.h:
6057           API: add gst_bus_pop_filtered
6058           API: add gst_bus_timed_pop_filtered
6059           Two new functions for waiting for specific message types on the
6060           bus for a specified amount of time without iterating any main
6061           loops or main contexts.
6062
6063         * tests/check/gst/gstbus.c:
6064           Some tests for the new functions.
6065
6066 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6067
6068         * docs/libs/gstreamer-libs-sections.txt:
6069           Make gtk-doc ignore stuff it should ignore.
6070
6071 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * libs/gst/check/gstcheck.c:
6074         * libs/gst/check/gstcheck.h:
6075           Allow runtime selection of unit tests to run via the GST_CHECKS
6076           environment variable (test case function names, comma-separated).
6077
6078 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6079
6080         * gst/gststructure.c:
6081         * tests/check/gst/gststructure.c:
6082           Revert serialisation change and constrain structure-names after
6083           consensus on irc. Update api documentation to reflect the change.
6084
6085 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6086
6087         * gst/gststructure.c:
6088           Improve serialization and fix tests.
6089
6090         * tests/check/gst/gststructure.c:
6091           Add another test that covers why I actually did the previous structure
6092           change.
6093
6094 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6095
6096         * tools/gst-inspect.c: (print_element_info):
6097         Don't crash when inspecting an element.
6098
6099 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6100
6101         * tests/check/gst/gststructure.c:
6102           Add unit test for escaping of structure name when serialising
6103           and deserialising to/from strings.
6104
6105 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6106
6107         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6108         (gst_single_queue_new):
6109         * plugins/elements/gstqueue.c: (gst_queue_init),
6110         (gst_queue_push_one):
6111         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6112         upstream is tricked into thinking it can suggest a format downstream
6113         while downstream does not support that format. The real problem is that
6114         core calls acceptcaps when pushing a buffer with new caps, for which we
6115         do a little workaround by setting the caps on the srcpad ourselves
6116         before pushing the buffer (until this is figured out). Fixes #486758.
6117
6118 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6119
6120         * gst/gststructure.c:
6121         * gst/gstvalue.c:
6122           Add some more comments and debug output. Quote structure name to fix
6123           deserialisation of some strings.
6124
6125 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6126
6127         * gst/gstbuffer.h:
6128           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6129           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6130
6131 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6132
6133         * tools/gst-inspect.c:
6134           Save approx. 400 1 byte allocs when printing. Use API to acces element
6135           details.
6136
6137         * tools/gst-run.c:
6138           Avoid a strdup.
6139
6140         * tools/gst-xmlinspect.c:
6141           Use API to acces element details.
6142
6143 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6144
6145         * gst/gstinfo.c:
6146           Fix some spelling errors.
6147
6148 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6149
6150         * gst/gstbin.c: (bin_handle_async_done):
6151         Correctly set the next state if all of our async children commited their
6152         state. This makes sure we can actually cancel the state change in
6153         progress. Fixes a regression in Rhythmbox when seeking.
6154
6155 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         * gst/gstbin.c:
6158           Don't shadow local variable.
6159
6160         * gst/gstinfo.c:
6161           Don't shadow global function name.
6162
6163 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6164
6165         * gst/gstelementfactory.c:
6166         * gst/gstpluginfeature.c:
6167         * gst/gstpluginfeature.h:
6168         * gst/gstregistrybinary.c:
6169         * gst/gstregistryxml.c:
6170         * gst/gsttypefind.c:
6171           Use already-interned string for the private GstPluginFeature
6172           plugin_name field.
6173
6174 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         * docs/libs/gstreamer-libs-sections.txt:
6177           Add new API to docs; fixes the build.
6178
6179 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6180         
6181         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6182
6183         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6184         (gst_base_sink_event):
6185         * libs/gst/base/gstbasesink.h:
6186         Add function to wait for EOS, subclasses can use this to correctly wait
6187         for devices to drain before performing the EOS logic. Fixes #485343.
6188         API: gst_base_sink_wait_eos()
6189
6190 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6191
6192         * gst/gstplugin.h:
6193           Cast description string constants in GST_PLUGIN_DEFINE macros
6194           to a (gchar*) to make C++ code using these macros compile
6195           without warning with g++-4.2 (see #462737).  Even if slightly
6196           ugly, this seems preferable to putting the description strings
6197           into the GLib quark table or making the structure member a
6198           const gchar * and doing casts in core code that allocs and
6199           frees these strings, or requiring a cast in the C++ code.
6200
6201 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6202
6203         * gst/gstinfo.h:
6204           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6205           to print the entire class/function signature into the log
6206           file for C++ code.  This only affects C++ code, for C code
6207           everything remains the same.
6208
6209 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6210
6211         * gst/gstbin.c: (remove_from_queue):
6212         Work around a problem with pipelines containing (semi)loops until a
6213         proper, more complicated solution is ready. See #475455.
6214
6215 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         * gst/gstplugin.c:
6218         * gst/gstplugin.h:
6219         * gst/gstregistrybinary.c:
6220         * gst/gstregistryxml.c:
6221           Put more strings into the GLib quark table. No need to keep
6222           a hundred-something copies of identical version strings,
6223           license strings, package name strings and package origin
6224           strings around. 
6225
6226 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * docs/manual/advanced-dataaccess.xml:
6229           Don't imply that it's okay to unconditionally change
6230           buffer data or buffer metadata in a pad probe callback,
6231           and a bunch of other comments. Fixes #430031.
6232
6233 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6234
6235         * win32/common/gstenumtypes.c:
6236         * win32/common/gstenumtypes.h:
6237         * win32/common/gstversion.h:
6238           Update generated files.
6239
6240 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6241
6242         * docs/manual/advanced-autoplugging.xml:
6243           Prefix section with broken code with a warning (see #342432).
6244
6245 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6246
6247         * docs/manual/appendix-integration.xml:
6248         * docs/manual/basics-init.xml:
6249           Call g_thread_init() before g_option_context_new() to
6250           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6251
6252 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6253
6254         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6255         (gst_base_sink_queue_object_unlocked),
6256         (gst_base_sink_queue_object), (gst_base_sink_event),
6257         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6258         When we received EOS and are waiting for when to post the EOS message,
6259         our state is prerolled and we should not return ASYNC.
6260         Reorganize some code paths to implement this behavior.
6261
6262         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6263         (gst_sinks_suite):
6264         Add unit test to verify above EOS fix.
6265
6266 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6267
6268         * plugins/elements/gsttypefindelement.c:
6269         (gst_type_find_element_have_type), (gst_type_find_element_init),
6270         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6271         Move detecting the input caps of the sinkpad to the setcaps function.
6272         This allows us to update the output caps when we receive new input caps
6273         instead of always using the first detected caps.
6274
6275 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6276
6277         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6278         (gst_base_sink_get_position):
6279         Don't try to preroll non-async elements after a flush.
6280         Subtract latency form clock times when reporting position.
6281
6282 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6283
6284         * gst/gstpad.c: (gst_pad_pause_task):
6285         * gst/gstutils.c:
6286         Small comment and documentation update.
6287
6288 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6289
6290         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6291         (gst_base_src_set_live), (gst_base_src_is_live),
6292         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6293         (gst_base_src_default_event), (gst_base_src_wait),
6294         (gst_base_src_do_sync), (gst_base_src_get_range),
6295         (gst_base_src_pad_get_range), (gst_base_src_loop),
6296         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6297         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6298         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6299         (gst_base_src_change_state):
6300         Rework the locking of basesrc in a similar fashion to basesink. We
6301         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6302         us to handle live sources and semi live ones much better.
6303         Simplify flushing.
6304         Fix unlocking when seeking, shutting down and pausing in live sources.
6305
6306 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6307
6308         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6309         Fix compilation again.
6310
6311 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6312
6313         * gst/gstelement.c:
6314           Use meaningful categories for the logs to clean the default one.
6315
6316 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6317
6318         * tests/check/pipelines/cleanup.c:
6319           Print message name and not just number.
6320
6321 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * docs/design/draft-tagreading.txt:
6324           Add some more thoughts.
6325
6326 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * tests/check/pipelines/simple-launch-lines.c:
6329           Print message name and not just number.
6330
6331 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6332
6333         * libs/gst/base/gsttypefindhelper.c:
6334           Speedup typefinding. This is work in progress (see #459862).
6335
6336 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6337
6338         * gst/gstplugin.c:
6339           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6340           Spotted by Josep Torra Valles <josep@fluendo.com>.
6341
6342 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6343
6344         * gst/gstclock.h:
6345           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6346           field has moved to GstObject.
6347
6348 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6349
6350         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6351         (gst_base_src_get_range), (gst_base_src_change_state):
6352         Call unlock for live sources so that they can't get stuck in _create and
6353         produce a buffer before they are set back to PLAYING.
6354
6355 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6356
6357         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6358         (gst_queue_locked_dequeue):
6359         Comment the segment-related code... in the PROPER function.
6360         See #482147 and my commit from yesterday.
6361
6362 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6363
6364         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6365         Also initialize the counter that calculates the first timestamp on a
6366         buffer correctly for non-live sources.
6367
6368 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6369
6370         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6371         Disable code that's breaking the current-time-level reporting.
6372         See #482147
6373
6374 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6375
6376         * docs/gst/gstreamer-sections.txt:
6377         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6378         as they shouldn't show up. Fixes the docs build.
6379
6380 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6381         
6382         * gst/gstinfo.h:
6383         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6384         Define M_PI which is used in files which are including gstinfo.h. 
6385         VS6 includes doesn't define it.
6386         * win32/common/libgstbase.def:
6387         * win32/common/libgstcontroller.def:
6388         * win32/common/libgstreamer.def:
6389         Add new exported functions and variables.
6390         * win32/vs6/libgstcontroller.dsp:
6391         * win32/vs6/libgstreamer.dsp:
6392         Update the list of files to build.
6393         
6394 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6395
6396         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6397
6398         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6399         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6400         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6401         Improve debugging. Fixes #480858.
6402
6403 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6404
6405         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6406
6407         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6408         First patch of code cleanups, use the macros and right arguments in the
6409         macros to signal and lock the queue. See #480858.
6410
6411 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6412
6413         * gst/gstbus.c: (poll_func):
6414         Improve debugging when dealing with _poll().
6415
6416 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * gst/gstregistryxml.c:
6419           Fix memory leak I introduced a few days ago.
6420
6421 2007-09-26  Michael Smith <msmith@fluendo.com>
6422
6423         * gst/gstbuffer.c: (gst_buffer_finalize):
6424           Make it once again possible to free GstBuffers in the default
6425           build.
6426           The poisoning scribbles on parts of the miniobject we need in
6427           order to free it.
6428           Fixes #480341
6429
6430 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6431
6432         * docs/gst/gstreamer-sections.txt:
6433         * gst/gsttaglist.c:
6434         * gst/gsttaglist.h:
6435         API: add GST_TAG_COMPOSER, fixes #459809.
6436
6437 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6438
6439         * gst/gstplugin.c:
6440         * gst/gstplugin.h:
6441         Add the 3-clause BSD license and the MIT/X11 license to the license
6442         list. Fixes #479784.
6443
6444 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6445
6446         * docs/faq/getting.xml:
6447           Add Q+A about different GStreamer versions (#364056).
6448
6449 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6450
6451         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6452         (gst_base_sink_event), (gst_base_sink_change_state):
6453         Return correct gboolean from query function.
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_query),
6459         (gst_base_sink_change_state):
6460         Simplify latency query.
6461         When not synchronizing, we can report latency without querying the peer
6462         element.
6463
6464 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6465
6466         * gst/gstobject.h:
6467         * gst/gstvalue.c:
6468         Fix small typos in the docs.
6469
6470 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6471
6472         * docs/design/draft-latency.txt:
6473         * docs/design/draft-push-pull.txt:
6474         * docs/design/draft-tagreading.txt:
6475         * docs/design/part-MT-refcounting.txt:
6476         * docs/design/part-activation.txt:
6477         * docs/design/part-block.txt:
6478         * docs/design/part-element-source.txt:
6479         * docs/design/part-events.txt:
6480         * docs/design/part-gstbin.txt:
6481         * docs/design/part-gstelement.txt:
6482         * docs/design/part-gstobject.txt:
6483         * docs/design/part-gstpipeline.txt:
6484         * docs/design/part-messages.txt:
6485         * docs/design/part-preroll.txt:
6486         * docs/design/part-push-pull.txt:
6487         * docs/design/part-qos.txt:
6488         * docs/design/part-query.txt:
6489         * docs/design/part-scheduling.txt:
6490         * docs/design/part-seeking.txt:
6491         * docs/design/part-segments.txt:
6492         * docs/design/part-states.txt:
6493         Documentation updates and typo fixes.
6494
6495 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6496
6497         * plugins/elements/gstfakesink.c:
6498           Add some debug text to error message to indicate that
6499           we errored out on request.
6500
6501         * tools/gst-launch.c:
6502           When the state change to PLAYING fails, check for an
6503           error message on the bus and print it.
6504
6505 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6506
6507         translated by: Jorge González González <aloriel@gmail.com>
6508
6509         * po/LINGUAS:
6510         * po/es.po:
6511           Added Spanish translation.
6512
6513 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6514
6515         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6516         Fix printf arguments.
6517
6518 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6519
6520         * tests/check/generic/states.c:
6521           Improved state change unit test.
6522
6523 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6524
6525         * gst/gstbin.h:
6526           Move priv to the right place.
6527
6528         * gst/gstsystemclock.c:
6529           Add FIXME: and improve log.
6530
6531         * tests/check/Makefile.am:
6532         * tests/examples/manual/Makefile.am:
6533           Work with all types of registries.
6534
6535 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6536
6537         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6538         Don't unref the event after pushing it. Fixes #478401.
6539
6540 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6541
6542         * .cvsignore:
6543         * tests/examples/manual/.cvsignore:
6544           Ignore registries in any format.
6545
6546 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6547
6548         * gst/glib-compat-private.h:
6549           Add compatibility macro for g_intern_string() for
6550           GLib-2.8 (any reason we can't just bump the
6551           requirement to at least 2.10?)
6552
6553         * gst/gstpadtemplate.h:
6554         * gst/gstelementfactory.c:
6555         * gst/gstregistryxml.c:
6556         * gst/gstregistrybinary.c:
6557           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6558           up the internal code accordingly.  This shouldn't be a problem, since
6559           there is no reason external code could ever assume the string in such
6560           a structure is dynamically allocated unless it did that itself;  the
6561           use of g_strdup() is private to element factories.  The new code also
6562           saves some memory by putting pad template name strings into the GLib
6563           quark table instead of allocating them dynamically.
6564           Declaring this field constant fixes warnings with g++-4.2 when using
6565           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6566
6567 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6568
6569         * gst/gstelementfactory.c:
6570           Release static caps. Fixes #475723.
6571
6572 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6573
6574         * gst/gstinfo.c:
6575         * gst/gstinfo.h:
6576           Make some internal API take const gchar * instead of just
6577           gchar * to avoid compiler warnings with g++-4.2.2 when
6578           passing string constants (partially fixes #478092).
6579
6580 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6581
6582         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6583         A latency query fails when one of the sinks fail.
6584
6585         * gst/gstelement.c: (gst_element_set_base_time):
6586         Improve debugging.
6587
6588 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6589
6590         * gst/gstbin.c: (gst_bin_continue_func):
6591         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6592         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6593         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6594
6595         Fix minor compilation warnings shown with Forte.
6596
6597 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6598
6599         * plugins/elements/gstqueue.c: (apply_buffer),
6600         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6601         Measure queue level based on the diff between head and tail timestamps
6602         even when pushing the first buffer.
6603
6604 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6605
6606         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6607         (gst_base_sink_event), (gst_base_sink_change_state):
6608         Sinks that don't preroll can always be queried for the latency.
6609         Don't post ASYNC start when we are not async.
6610
6611 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6612
6613         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6614         (gst_queue_handle_sink_event), (gst_queue_chain),
6615         (gst_queue_push_one), (gst_queue_handle_src_query),
6616         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6617         * plugins/elements/gstqueue.h:
6618         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6619         push more buffers but allow pushing of EOS and NEWSEGMENT.
6620         Add some more debug info here and there. Fixes #476514.
6621
6622 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6623
6624         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6625         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6626         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6627         (gst_base_sink_set_flushing), (gst_base_sink_query),
6628         (gst_base_sink_change_state):
6629         Latency query is allowed after we are prerolled. Introduce a new flag
6630         for this and stop abusing other variables.
6631
6632 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6633
6634         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6635         Push OOB events downstream when we get them in send_event. This allows
6636         the application to insert events in the pipeline.
6637         Add some more comments.
6638
6639 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6642         (do_bin_latency), (gst_bin_change_state_func):
6643         * gst/gstpipeline.c: (gst_pipeline_change_state):
6644         Move latency query from GstPipeline to GstBin so that we can also
6645         use it when async-handling is enabled on bins.
6646
6647 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6648
6649         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6650         (gst_base_src_do_sync), (gst_base_src_change_state):
6651         Update docs.
6652         Clean up the timestamping and syncing code for pseudo live sources.
6653
6654 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6655
6656         Patch by: Steve Fink  <sphink gmail com>
6657
6658         * docs/manual/appendix-checklist.xml:
6659           Mention less -R switch in the section about debug output (#474055).
6660
6661 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6662
6663         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6664         Queue can latency to the pipeline up to the configured max size in time.
6665         Report this fact in the latency query.
6666
6667 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6668
6669         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6670
6671         * libs/gst/controller/gstinterpolation.c:
6672         * libs/gst/controller/gstlfocontrolsource.c:
6673         Use gst_guint64_to_gdouble() when converting from a uint64 or
6674         GstClockTime to double to fix the build on win32. Fixes #474371.
6675
6676 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6677
6678         * gst/gstbuffer.c: (gst_buffer_finalize):
6679         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6680         When finalizing a buffer the complete struct is filled with 0xff,
6681         thus making a use of the buffer after the final unref impossible.
6682
6683 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6684
6685         * tests/check/libs/controller.c: (GST_START_TEST):
6686         Use fail_unless_equals_int(a, b) instead of
6687         fail_unless_equals (a == b) to get better output on failures.
6688
6689 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6690
6691         * tests/check/gst/gsturi.c:
6692           Also check for the other file URI variant on win32.
6693
6694 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6695
6696         * gst/gsturi.c: (gst_uri_get_location):
6697           If there's no hostname, we want to return 'c:/foo/bar.txt'
6698           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6699
6700         * tests/check/gst/gsturi.c:
6701           Unit test for the above and a few more things.
6702
6703 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6704
6705         * docs/design/part-live-source.txt:
6706         Add docs on how live sources should timestamp.
6707
6708         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6709         Add some more debug info.
6710         For subclasses that are live and like to sync, add aditional startup
6711         latency to sync time and timestamps so that we timstamp according to the
6712         design doc.
6713
6714 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6715
6716         * gst/gstbuffer.c:
6717           Also do a g_type_class_ref() for the subbuffer type in
6718           the init function.
6719
6720 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6721
6722         * docs/gst/gstreamer-sections.txt:
6723         * gst/gstpad.c: (gst_pad_peer_query):
6724         * gst/gstpad.h:
6725         Add function to perform a query on the peer of a pad.
6726         API: gst_pad_peer_query()
6727
6728 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6729
6730         * tests/check/gst/gstsystemclock.c:
6731           Cleanup the test a little (use gst-logging and not g_message). Improve
6732           test to check if a wait reached the target.
6733
6734 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * docs/libs/gstreamer-libs-sections.txt:
6737           Add new API to docs and fix the build.
6738
6739 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6740
6741         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6742         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6743         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6744         (gst_base_src_get_property), (gst_base_src_do_sync):
6745         * libs/gst/base/gstbasesrc.h:
6746         Add property to make the basesrc timestamp buffers based on the current
6747         running time.
6748         API: GstBaseSrc::do-timestamp
6749         API: gst_base_src_set_do_timestamp()
6750         API: gst_base_src_get_do_timestamp()
6751
6752 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6753
6754         * docs/random/release:
6755           Really make sure translations are up-to-date before
6756           a release (#465010).
6757
6758 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6759
6760         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6761         Always destroy the timer, also in error cases.
6762
6763 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6764
6765         * docs/manual/highlevel-xml.xml:
6766         Fix XML example code. Fixes #472714.
6767
6768 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6769
6770         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6771         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6772         (gst_base_sink_query):
6773         Protect eos and have_preroll with the OBJECT lock so we don't need to
6774         take the PREROLL lock when querying the latency. Fixes #473846.
6775
6776 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6777
6778         * gst/gstelement.c:
6779           Give some log-messages a category.
6780
6781 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6782
6783         * gst/gststructure.c:
6784         (gst_structure_fixate_field_nearest_fraction):
6785         Fix fraction list fixation code. Take the fraction with the smallest
6786         difference with the target instead of the first one in the list.
6787
6788         * tests/check/gst/gststructure.c: (GST_START_TEST),
6789         (gst_structure_suite):
6790         Added test to verify correct fraction list fixation behaviour.
6791
6792 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6793
6794         * win32/common/libgstreamer.def:
6795           Export gst_bus_add_signal_watch too.
6796
6797 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6798
6799         * docs/libs/gstreamer-libs-sections.txt:
6800         Add new methods to docs.
6801
6802         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6803         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6804         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6805         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6806         * libs/gst/base/gstbasesink.h:
6807         Add ts-offset property to fine-tune the synchronisation.
6808         API: GstBaseSink::ts-offset property
6809         API: gst_base_sink_set_ts_offset()
6810         API: gst_base_sink_get_ts_offset()
6811
6812 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6813
6814         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6815         (gst_base_sink_init), (gst_base_sink_set_sync),
6816         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6817         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6818         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6819         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6820         (gst_base_sink_get_property), (gst_base_sink_change_state):
6821         * libs/gst/base/gstbasesink.h:
6822         Add async property to instruct the sink never to inform the parent about
6823         ASYNC state changes, update docs.
6824         Check argument with g_return_* for the public functions.
6825         API: GstBaseSink::async property
6826         API: gst_base_sink_set_async_enabled()
6827         API: gst_base_sink_is_async_enabled()
6828
6829 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6830
6831         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6832         Improve debugging.
6833
6834         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6835         (gst_base_src_default_query), (gst_base_src_wait),
6836         (gst_base_src_do_sync), (gst_base_src_change_state):
6837         Rearrange some code so that we can add support for measuring the 
6838         startup latency.
6839
6840 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6841
6842         * docs/random/ensonic/dynlink.txt:
6843           More thoughs on this.
6844
6845         * plugins/elements/gstcapsfilter.c:
6846           Add bugzilla ticket number to FIXME comment.
6847
6848 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6849
6850         * docs/design/part-TODO.txt:
6851         * docs/design/part-block.txt:
6852         Update some docs.
6853
6854 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6855
6856         * gst/Makefile.am:
6857           Revert patch which uses $(gst_headers) instead of $^ because it
6858           breaks make dist.
6859
6860 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6861
6862         * tests/check/gst/gstbin.c: (GST_START_TEST):
6863           Fix leaks in the new unit test.
6864
6865 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6866
6867         * gst/gst.c:
6868           Don't use GST_INFO before the debug system is actually initialised
6869           (shouldn't do any harm, but won't print anything either, so we can
6870           just as well remove it).
6871
6872         * gst/gstinfo.h:
6873           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6874           compilers that don't support variadic macros (such as MSVC), should
6875           check for debug_level <= __gst_debug_min as well, since that's the
6876           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6877           inline helper functions. Should improve performance a bit, but also
6878           makes sure uses of GST_INFO et.al are ignored if the debugging
6879           system isn't initialised yet (instead of printing an assertion
6880           failure).
6881
6882 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
6883
6884         patch by: David Nečas <yeti@physics.muni.cz>
6885
6886         * gst/Makefile.am:
6887           Replace some non portable makefile constructs.
6888
6889 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
6890
6891         * common/gtk-doc-plugins.mak:
6892           Grrrrr. Don't remove the types file on make clean.
6893
6894 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
6895
6896         * tools/gst-launch.1.in:
6897         Add colorspace to example pipeline. Fixes #458274.
6898
6899 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
6900
6901         * docs/random/release:
6902           The release manager should run 'make download-po' before making a
6903           release to make sure translations are up-to-date.
6904
6905         * po/LINGUAS:
6906         * po/be.po:
6907         * po/pl.po:
6908         * po/rw.po:
6909           Add some new translations.
6910
6911 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
6912
6913         * tools/gst-launch.c: (event_loop), (main):
6914         Don´t try to do any state management when a live pipeline posts
6915         buffering messages.
6916         Also make the buffering string translatable.
6917
6918 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6919
6920         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6921         (bin_handle_async_start), (gst_bin_handle_message_func):
6922         Improve debugging.
6923         When adding elements, insert messages into the bus of the newly added
6924         element and make sure the element is the source of the message. This
6925         allows the parent bin to intercept the message and do the
6926         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6927         messages to the app (which is not allowed).
6928         Update some docs.
6929
6930         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6931         Fix testsuite so that is does not work around messages that should not
6932         have been posted in the first place.
6933
6934 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6935
6936         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6937         (update_degree), (gst_bin_sort_iterator_next):
6938         Fix annoying bug in the sorted iterator where a sink that is not really
6939         a sink (when it has downstream links) screwed up the iterator.
6940
6941         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6942         Unit test to verify the fix.
6943
6944 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
6945
6946         * gst/gstmessage.h:
6947         Add some more docs for the messages.
6948
6949         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6950         (gst_base_sink_query):
6951         Add some more debugging.
6952
6953         * tools/gst-launch.c: (event_loop):
6954         When interrupting, don't try to set pipeline to PAUSED twice.
6955
6956 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6957
6958         
6959         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6960         (bin_handle_async_start), (gst_bin_handle_message_func):
6961         Move ASYNC_START message posting to where it belongs, similar to
6962         async_done. 
6963         Don't post ASYNC_START when we are in error. 
6964         Post ASYNC_START when we added an async element to a bin.
6965
6966 2007-08-14  Julien MOUTTE  <julien@moutte.net>
6967
6968         * gst/gstindex.c: (gst_index_add_association): Fix index entry
6969         generation from vargs. Fixes #466595.
6970
6971 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
6972
6973         * gst/gstbin.c: (gst_bin_element_set_state):
6974         Always change the state of a NO_PREROLL element even if it has ASYNC
6975         elements inside (in case of a bin).
6976
6977         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6978         Unit test for this case.
6979
6980 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
6981
6982         * libs/gst/check/gstbufferstraw.c:
6983         * libs/gst/check/gstcheck.h:
6984         * libs/gst/controller/gstcontroller.c:
6985         * libs/gst/controller/gstcontrolsource.h:
6986         * libs/gst/controller/gstlfocontrolsource.h:
6987         * plugins/elements/gstcapsfilter.h:
6988         * plugins/elements/gstfdsink.h:
6989         * plugins/elements/gstfdsrc.h:
6990           Add more missing docs.
6991
6992 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6993
6994         * gst/gststructure.c:
6995         Add Since tag to docs.
6996
6997 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
6998
6999         * docs/gst/gstreamer-sections.txt:
7000         * gst/gststructure.c: (gst_structure_get_uint):
7001         * gst/gststructure.h:
7002         Add function to get uint from a structure.
7003         API: gst_structure_get_uint()
7004
7005 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7006
7007         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7008         (gst_caps_intersect):
7009         Fix proper check for simple caps.
7010
7011 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7012
7013         * docs/gst/Makefile.am:
7014         * docs/libs/Makefile.am:
7015           Remove cruft and do some cleanups.
7016
7017         * docs/gst/gstreamer-docs.sgml:
7018         * docs/libs/gstreamer-libs-docs.sgml:
7019           Prepare for comming gtkdoc features (rebase against online docs).
7020
7021 2007-08-10  Michael Smith <msmith@fluendo.com>
7022
7023         * docs/gst/gstreamer-sections.txt:
7024           Add gst_registry_add_path to docs.
7025
7026 2007-08-10  Michael Smith <msmith@fluendo.com>
7027
7028         * gst/gstregistry.h:
7029           Add gst_registry_add_path, which was missing from this header.
7030
7031 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * libs/gst/controller/gstlfocontrolsource.c:
7034           Printf format fix.
7035
7036 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7037
7038         * libs/gst/base/gstbasesink.c:
7039           Don't send an async_start message during downwards state change if 
7040           target state is less than READY
7041
7042 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7043
7044         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7045
7046         * po/LINGUAS:
7047         * po/hu.po:
7048           Added Hungarian translation.
7049
7050 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7051
7052         * po/fi.po:
7053         * po/it.po:
7054         * po/nl.po:
7055         * po/sv.po:
7056         * po/uk.po:
7057           Updated translations.
7058
7059 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7060
7061         * libs/gst/controller/Makefile.am:
7062         Dist gstlfocontrolsourceprivate.h
7063
7064 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7065
7066         * docs/libs/gstreamer-libs.types:
7067         Don't register the enum type gst_lfo_waveform_get_type() in the
7068         .types file - only GObject derived types belong.
7069
7070 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7071
7072         Patch by: <arenevier at fdn dot fr>
7073
7074         * gst/gstbuffer.h:
7075         Remove comma from last element in enum to avoid compile errors when
7076         using -pendantic. Fixes #464366.
7077
7078 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7079
7080         * docs/design/part-TODO.txt:
7081         Add some more TODO items
7082
7083         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7084         Improve debugging.
7085
7086         * gst/gstcaps.c: (gst_caps_intersect):
7087         Optimize trivial intersection case between identical caps pointers.
7088
7089         * gst/gstelement.c: (gst_element_continue_state),
7090         (gst_element_set_state_func):
7091         * gst/gstpad.c:
7092         Fix spelling and grammar mistakes.
7093
7094 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7095
7096         * po/POTFILES.in:
7097         * po/POTFILES.skip:
7098           Update POTFILES. Fixes #461599.
7099
7100 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7101
7102         * gst/gst.c:
7103         Fix confusing typo in debug output.
7104
7105 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7106
7107         reviewed by: Stefan Kost <ensonic@users.sf.net>
7108
7109         * libs/gst/controller/Makefile.am:
7110         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7111         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7112         (gst_lfo_control_source_new),
7113         (gst_lfo_control_source_set_waveform),
7114         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7115         (gst_lfo_control_source_finalize),
7116         (gst_lfo_control_source_dispose),
7117         (gst_lfo_control_source_set_property),
7118         (gst_lfo_control_source_get_property),
7119         (gst_lfo_control_source_class_init):
7120         * libs/gst/controller/gstlfocontrolsource.h:
7121         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7122         API: Add GstLFOControlSource, a control source that gives values
7123         for specific timestamps based on several periodic waveforms.
7124         Fixes #459717.
7125
7126         * tests/check/libs/controller.c: (GST_START_TEST),
7127         (gst_controller_suite):
7128         * docs/libs/gstreamer-libs-docs.sgml:
7129         * docs/libs/gstreamer-libs-sections.txt:
7130         * docs/libs/gstreamer-libs.types:
7131         Add documentation and unit tests for GstLFOControlSource.
7132
7133 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7134
7135         * configure.ac:
7136         Back to CVS
7137
7138 === release 0.10.14 ===
7139
7140 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7141
7142         * configure.ac:
7143           releasing 0.10.14, "Breathing Vacuum"
7144
7145 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7146
7147         * gst/gstelement.c: (gst_element_class_set_details_simple):
7148         * gst/gstelement.h:
7149           Make strings passed to gst_element_class_set_details_simple()
7150           constant, as they should be (#462752).
7151
7152 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7153
7154         * gst/gstbin.c: (gst_bin_change_state_func),
7155         (bin_handle_async_done), (gst_bin_handle_message_func):
7156         Don't forget about the fact that some element went ASYNC even after a
7157         resync. This makes us post the ASYNC_DONE message correctly.
7158         Fixes #462558.
7159
7160 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7161
7162         * gst/gstregistry.c: (gst_registry_add_feature):
7163         When replacing an existing feature in the registry, make sure to
7164         continue holding a reference until we've replaced the name string
7165         within our feature hash table. Make sure to use g_hash_table_replace
7166         instead of g_hash_table_insert to ensure the new name string is used
7167         as a key instead of the old one that we're about to free.
7168         Fixes: #462085
7169
7170 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7171
7172         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7173         (gst_plugin_feature_set_name):
7174         Revert patch from #459466 until after the release and we can work
7175         out exactly what the problem is (if any).
7176
7177 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7178
7179         * docs/gst/gstreamer-sections.txt:
7180         * gst/gsttaglist.c:
7181         * gst/gsttaglist.h:
7182           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7183
7184 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7185
7186         * docs/libs/Makefile.am:
7187         Include our build-prefix libs and includes before the generic ones to
7188         avoid linking against the installed libs when we want the build-tree
7189         ones.
7190
7191 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7192
7193         Patch by: Steve Fink  <sphink gmail com>
7194
7195         * docs/pwg/building-testapp.xml:
7196           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7197           if people try to build or install the example from the plugin
7198           template against a GStreamer from package using the configure
7199           defaults.
7200
7201 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7202
7203         Patch by: Steve Fink  <sphink gmail com>
7204
7205         * tools/gst-inspect.1.in:
7206           Document --print-all and --print-plugin-auto-install-info command
7207           line options in man page.
7208
7209 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7210
7211         * docs/gst/gstreamer-sections.txt:
7212         Add docs for new api function.
7213
7214 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7215
7216         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7217         * gst/gstelementfactory.h:
7218         API: gst_element_factory_has_interface()
7219         Added method to check if an element factory implements a named
7220         interface.
7221
7222 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7223
7224         * configure.ac:
7225         * docs/gst/gstreamer.types.in:
7226           Another conditional doc check.
7227
7228         * gst/gstmessage.c:
7229         * gst/gstparamspecs.h:
7230         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7231         * gst/gstvalue.c:
7232         * gst/gstxml.h:
7233           API-doc fixes.
7234
7235 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7236
7237         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7238         (gst_registry_binary_load_feature),
7239         (gst_registry_binary_load_plugin),
7240         (gst_registry_binary_read_cache):
7241           Print error just once and with additional info.
7242
7243 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7244
7245         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7246         (helper_find_suggest), (helper_find_get_length),
7247         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7248         (gst_type_find_helper_for_buffer):
7249           Cleanup the typefindhelper code and add private doc comments.
7250
7251 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7252
7253         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7254         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7255         Fix capsfilter for cases where the caps set on capsfilter will provide
7256         additional information.
7257         Fixes #449197
7258
7259 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7260
7261         * gst/gsttypefindfactory.c:
7262           Fix docs that recommened wrong function to use.
7263
7264 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7265
7266         * tools/gst-inspect.c: (print_plugin_features):
7267           Also give media-type for typefinders in element output.
7268
7269 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7270
7271         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7272         (gst_registry_remove_features_for_plugin_unlocked),
7273         (gst_registry_add_feature), (gst_registry_remove_feature),
7274         (gst_registry_lookup_feature_locked):
7275         * gst/gstregistry.h:
7276           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7277           Fixes #459501.
7278
7279 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7280
7281         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7282         (gst_plugin_feature_set_name):
7283           Avoid double memory usage for pluginfeature names. Fixes #459466.
7284
7285 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7286
7287         * gst/gstpad.h:
7288           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7289           driving the pipeline may need to explicitly check for NOT_LINKED as
7290           well, since IS_FATAL doesn't cover that.
7291
7292 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7293
7294         * docs/pwg/advanced-types.xml:
7295           Fix typo and duplicate entry in video formats list.
7296
7297 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7298
7299         * libs/gst/controller/gstinterpolation.c:
7300         Also round to the nearest int when using cubic interpolation.
7301
7302 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7303
7304         * libs/gst/controller/gstinterpolation.c:
7305         When linearly interpolating integer types, round to the nearest int
7306         by adding 0.5. Don't do it for float/double types.
7307         Fixes the failing controller test on my machine, which is somehow
7308         rounding differently than on the buildbots.
7309
7310 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7311
7312         * tools/gst-plot-timeline.py:
7313           Better log parsing (categories can have -). Adjust text vs. lines, so
7314           that they span the same y-range.        
7315
7316 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * docs/random/ensonic/audiobaseclasses.txt:
7319         * docs/random/ensonic/dynlink.txt:
7320         * docs/random/ensonic/profiling.txt:
7321           Save my thoughts.
7322
7323         * docs/random/moving-plugins:
7324           Add note to use g_assert type macros.
7325
7326 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7327
7328         * configure.ac:
7329         * libs/gst/check/Makefile.am:
7330           Add libm check as we use in for plugins.
7331
7332 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7333
7334         * gst/gstbin.c: (gst_bin_continue_func):
7335         Check that the state_cookie hasn't changed since the continue_func
7336         was scheduled. Avoids problems where the state changes back to
7337         something it shouldn't be because it was changed in the meantime.
7338
7339 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7340
7341         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7342         (gst_registry_binary_save_string),
7343         (gst_registry_binary_save_pad_template),
7344         (gst_registry_binary_save_feature),
7345         (gst_registry_binary_save_plugin),
7346         (gst_registry_binary_load_feature),
7347         (gst_registry_binary_load_plugin),
7348         (gst_registry_binary_read_cache):
7349           Fix memory leak. Be less verbose in the log.
7350
7351 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7352
7353         * tests/check/elements/.cvsignore:
7354         Add file to cvsignore as commanded.
7355
7356 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7357
7358         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7359         (mq_dummypad_event), (run_output_order_test):
7360         Use a GStaticMutex to protect all cases where libcheck
7361         fail_if/fail_unless macros might be called from multiple threads
7362         simultaneously to avoid errors like:
7363           "check_pack.c:107: :-1081725400:Bad message type arg"
7364
7365 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7366
7367         * tests/check/pipelines/stress.c: (GST_START_TEST):
7368         Make sure we set the pipeline back to the NULL state before
7369         dropping our final reference.
7370
7371 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7372
7373         * tests/check/elements/tee.c: (GST_START_TEST):
7374         Make the tee stress-test a little less stressful so it doesn't just
7375         time out on slow-machines, and remove a small race when it's starting 
7376         up by adding a get_state() call.
7377
7378 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7379
7380         * gst/gst.c:
7381           Avoid reading registry twice on startup. Fixes #457322.
7382
7383 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7384
7385         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7386         * pkgconfig/gstreamer-check.pc.in:
7387         Substitute the CFLAGS for libcheck into our .pc file too so that
7388         dependent modules will pick it up properly if libcheck is installed
7389         into some other prefix.
7390
7391 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7392
7393         * configure.ac:
7394         Revert the pkg-config check for libcheck, since it pulls in the
7395         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7396         a proper solution, either from the check project, or something else.
7397
7398 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7399
7400         * configure.ac:
7401           Use pkg-config to locate check.
7402
7403 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7404
7405         * gst/gsttaglist.c:
7406           Fix doc syntax.
7407
7408         * gst/gstutils.c:
7409         * gst/gstutils.h:
7410           Add deprecation guards.
7411
7412         * libs/gst/base/gstcollectpads.h:
7413           Don't document object (this is implicitly private).
7414
7415 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7416
7417         * gst/gststructure.c: (gst_structure_parse_value):
7418           When deserialising foo=bar without a type cast, check if it's a
7419           boolean before falling back to a string type, otherwise things like
7420           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7421           because the filtercaps end up having a signed=(string)true field,
7422           which causes problems later when intersection caps.
7423
7424         * tests/check/gst/gststructure.c: (GST_START_TEST):
7425           Add a unit test for this.
7426
7427 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7428
7429         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7430
7431         * libs/gst/controller/Makefile.am:
7432         * libs/gst/controller/gstcontroller.c:
7433         (gst_controlled_property_add_interpolation_control_source),
7434         (gst_controlled_property_new), (gst_controlled_property_free),
7435         (gst_controller_find_controlled_property),
7436         (gst_controller_new_valist), (gst_controller_new_list),
7437         (gst_controller_new), (gst_controller_remove_properties_valist),
7438         (gst_controller_remove_properties_list),
7439         (gst_controller_remove_properties),
7440         (gst_controller_set_property_disabled),
7441         (gst_controller_set_disabled), (gst_controller_set_control_source),
7442         (gst_controller_get_control_source), (gst_controller_get),
7443         (gst_controller_sync_values), (gst_controller_get_value_array),
7444         (_gst_controller_dispose), (gst_controller_get_type),
7445         (gst_controlled_property_set_interpolation_mode),
7446         (gst_controller_set), (gst_controller_set_from_list),
7447         (gst_controller_unset), (gst_controller_unset_all),
7448         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7449         * libs/gst/controller/gstcontroller.h:
7450         * libs/gst/controller/gstcontrollerprivate.h:
7451         * libs/gst/controller/gstcontrolsource.c:
7452         (gst_control_source_class_init), (gst_control_source_init),
7453         (gst_control_source_get_value),
7454         (gst_control_source_get_value_array), (gst_control_source_bind):
7455         * libs/gst/controller/gstcontrolsource.h:
7456         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7457         (gst_object_get_control_source):
7458         * libs/gst/controller/gstinterpolation.c:
7459         (gst_interpolation_control_source_find_control_point_node),
7460         (gst_interpolation_control_source_get_first_value),
7461         (_interpolate_none_get), (interpolate_none_get),
7462         (interpolate_none_get_boolean_value_array),
7463         (interpolate_none_get_enum_value_array),
7464         (interpolate_none_get_string_value_array),
7465         (_interpolate_trigger_get), (interpolate_trigger_get),
7466         (interpolate_trigger_get_boolean_value_array),
7467         (interpolate_trigger_get_enum_value_array),
7468         (interpolate_trigger_get_string_value_array):
7469         * libs/gst/controller/gstinterpolationcontrolsource.c:
7470         (gst_control_point_free), (gst_interpolation_control_source_reset),
7471         (gst_interpolation_control_source_new),
7472         (gst_interpolation_control_source_set_interpolation_mode),
7473         (gst_interpolation_control_source_bind),
7474         (gst_control_point_compare), (gst_control_point_find),
7475         (gst_interpolation_control_source_set_internal),
7476         (gst_interpolation_control_source_set),
7477         (gst_interpolation_control_source_set_from_list),
7478         (gst_interpolation_control_source_unset),
7479         (gst_interpolation_control_source_unset_all),
7480         (gst_interpolation_control_source_get_all),
7481         (gst_interpolation_control_source_get_count),
7482         (gst_interpolation_control_source_init),
7483         (gst_interpolation_control_source_finalize),
7484         (gst_interpolation_control_source_dispose),
7485         (gst_interpolation_control_source_class_init):
7486         * libs/gst/controller/gstinterpolationcontrolsource.h:
7487         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7488         API: Refactor GstController into the core controller which can take
7489         a GstControlSource for providing actual values for timestamps.
7490         Implement a interpolation control source and use this for backward
7491         compatibility, deprecate a bunch of functions that are now handled
7492         by GstControlSource or GstInterpolationControlSource.
7493         Make it possible to disable the controller completely or only for
7494         specific properties. Fixes #450711.
7495         * docs/libs/gstreamer-libs-docs.sgml:
7496         * docs/libs/gstreamer-libs-sections.txt:
7497         * docs/libs/gstreamer-libs.types:
7498         Add new functions and classes to the docs.
7499         * tests/check/libs/controller.c: (GST_START_TEST),
7500         (gst_controller_suite):
7501         * tests/examples/controller/audio-example.c: (main):
7502         Port unit test and example to the new API and add some new
7503         unit tests.
7504
7505 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7506
7507         Patch by: Mark Nauwelaerts <manauw at skynet be>
7508
7509         * plugins/elements/gstmultiqueue.c:
7510         (gst_multi_queue_get_internal_links), (apply_buffer),
7511         (single_queue_overrun_cb), (gst_single_queue_new):
7512         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7513         the pipeline layout can be tracked correctly. Fixes #453732.
7514
7515 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7516
7517         * docs/gst/Makefile.am:
7518         * docs/libs/Makefile.am:
7519         * docs/plugins/Makefile.am:
7520           Simplify --extra-dir as gtkdoc scans recursively.
7521
7522 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7523
7524         * tools/gst-launch.c: (main):
7525         When we got an error, there is no point in waiting for preroll when
7526         shutting down.
7527
7528 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7529
7530         * plugins/elements/gsttee.c: (gst_tee_base_init),
7531         (gst_tee_request_new_pad), (gst_tee_release_pad),
7532         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7533         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7534         (gst_tee_chain):
7535         Be a lot smarter when deciding what srcpad to use for proxying
7536         the buffer_alloc. Also handle pad added/removed when doing so.
7537         Fixes #357959.
7538         Keep track of what pads we already pushed on in case we have pads
7539         added/removed while pushing. Fixes #374639 
7540
7541         * tests/check/Makefile.am:
7542         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7543         (tee_suite):
7544         Added unit test for pad resync.
7545
7546 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7547
7548         * po/nl.po:
7549         * po/sv.po:
7550           Updated translations.
7551
7552 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7553
7554         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7555
7556         * po/LINGUAS:
7557         * po/fi.po:
7558           Added new Finnish translation.
7559
7560 2007-06-28  Wim Taymans  <wim@fluendo.com>
7561
7562         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7563         (single_queue_overrun_cb):
7564         When figuring out when a queue is filled, use our internal time estimate
7565         based on segments, just like check_full does.
7566
7567 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7568
7569         * gst/gstminiobject.c: (gst_mini_object_get_type):
7570           Remove 3 do-nothing methods.
7571
7572 2007-06-27  Wim Taymans  <wim@fluendo.com>
7573
7574         Patch by: Tim Angus <tim at ngus dot net>
7575
7576         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7577         (gst_capsfilter_set_property):
7578         Take a reference instead of a copy when setting "caps".
7579         Fix documentation to clarify this behaviour. Fixes #449414.
7580
7581 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7582
7583         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7584         * gst/gstplugin.c: (gst_plugin_init):
7585         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7586         * gst/gstquery.c: (gst_query_get_type):
7587         * gst/gstregistry.c: (gst_registry_init):
7588         * gst/gsturi.c: (gst_uri_handler_base_init):
7589           Remove empty instance_init() functions to save relocs and lessen the
7590           noise. Remove some of the function prototypes that are doubled by
7591           G_DEFINE_TYPE.
7592           
7593 2007-06-27  Wim Taymans  <wim@fluendo.com>
7594
7595         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7596
7597         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7598         Add peer and direction in the XML serialisation of ghostpads.
7599         Fixes #449226.
7600
7601 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * configure.ac:
7604           Preserve useful information, thanks Tim.
7605
7606 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7607
7608         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7609         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7610         (gst_single_queue_push_one), (gst_multi_queue_loop),
7611         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7612         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7613         (compute_high_id), (gst_single_queue_new):
7614         * plugins/elements/gstmultiqueue.h:
7615         Take the multiqueue lock when updating the fill level so we don't get
7616         confused. 
7617
7618         After applying a buffer or event on the src pad segment, make sure to
7619         call gst_data_queue_limits_changed() to get the data queue to unblock
7620         and check the filled state again.
7621         
7622         Rework the not-linked pad handling so the logic is that not-linked 
7623         pads can push as fast as they like, but only so they never get 
7624         ahead of any linked pads.
7625
7626         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7627         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7628         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7629
7630         Add a test to check that not-linked pads always stay behind
7631         linked pads.
7632
7633         Fixes: #430682
7634
7635 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7636
7637         * docs/random/release:
7638           Some updates to the release procedure.
7639
7640 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7641
7642         * gst/gstelementfactory.c: (__gst_element_details_clear):
7643           Microoptimization that saves stunning 80 bytes.
7644
7645 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7646
7647         * docs/plugins/gstreamer-plugins.args:
7648         * docs/plugins/inspect/plugin-coreelements.xml:
7649         * docs/plugins/inspect/plugin-coreindexers.xml:
7650           Update docs with caps info.
7651
7652 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7653
7654         * po/it.po:
7655           Updated Italian translation.
7656
7657 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7658
7659         * ChangeLog:
7660         * po/vi.po:
7661           Update Vietnamese translations.
7662
7663 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7664
7665         * libs/gst/base/gstbasesink.c:
7666           Remove unused signal enum.
7667
7668 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7669
7670         * docs/gst/gstreamer-sections.txt:
7671         * gst/gstelement.c:
7672         * gst/gstutils.c: (gst_type_register_static_full):
7673         Beef up and include the docs for gst_type_register_static_full and
7674         gst_element_class_set_details_simple and add the API keyword
7675         in the ChangeLog.
7676
7677 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7678
7679         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7680         (update_time_level), (gst_single_queue_push_one),
7681         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7682         (single_queue_overrun_cb), (single_queue_underrun_cb),
7683         (single_queue_check_full):
7684         Fix setting max-* properties after adding queues.
7685         Use IS_FILLED for checking visible items.
7686         Signal overrun if multiple queues overrun.
7687         Add extra debug output.
7688         Patch by: Wim Taymans <wim@fluendo.com>
7689
7690 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7691
7692         * gst/gstelement.c: (gst_element_class_set_details_simple):
7693         * gst/gstelement.h:
7694         * gst/gstutils.c: (gst_type_register_static_full):
7695         * gst/gstutils.h:
7696         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7697         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7698         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7699         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7700         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7701         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7702         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7703         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7704         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7705         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7706         (apply_buffer), (gst_queue_chain):
7707         * plugins/elements/gsttee.c: (gst_tee_base_init):
7708         * plugins/elements/gsttypefindelement.c:
7709         (gst_type_find_element_base_init),
7710         (gst_type_find_element_class_init):
7711           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7712           API: add gst_type_register_static_full
7713           API: add gst_element_class_set_details_simple
7714
7715 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7716
7717         * docs/pwg/advanced-types.xml:
7718           Fix typo in iana.org URI.
7719
7720 2007-06-19  Andy Wingo  <wingo@pobox.com>
7721
7722         * tests/check/pipelines/simple-launch-lines.c
7723         (test_state_change_returns): Enable pull-mode tests now that
7724         basesink has been fixed.
7725
7726         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7727         Changed from gst_base_sink_is_prerolled, reversing the sense of
7728         the return value. Returns FALSE also if the sink is in pull mode,
7729         in which case it needs no preroll.
7730         (gst_base_sink_query, gst_base_sink_change_state): Update for
7731         needs_preroll change.
7732         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7733         chaining up, in which we return SUCCESS directly if we activated
7734         in pull mode instead of ASYNC. Involves countering an async_start
7735         message sent before chaining up; not sure if this is correct, in
7736         an ideal world we only send async-start when activating in push
7737         mode.
7738
7739         * tests/check/pipelines/simple-launch-lines.c
7740         (test_state_change_returns): New test, partially disabled until
7741         basesink is fixed.
7742
7743 2007-06-19  Wim Taymans  <wim@fluendo.com>
7744
7745         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7746         (gst_multi_queue_sink_event):
7747         Fix event leak.
7748
7749 2007-06-19  Wim Taymans  <wim@fluendo.com>
7750
7751         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7752         (gst_bin_change_state_func), (bin_push_state_continue),
7753         (bin_handle_async_start), (bin_handle_async_done),
7754         (gst_bin_handle_message_func):
7755         Move the common code for posting state-change messages into
7756         one function.
7757         Broadcast the state signal after we posted the messages.
7758         Mark the bin as busy when it's doing a state-change.
7759         Make sure async-start/done messages don't interfere with the bin's
7760         state when it's busy.
7761         After the state change, let the bin check which elements completed the
7762         state change while it was busy so that it can update its state.
7763
7764 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7765
7766         * docs/random/release:
7767         Add a note about updating the doap file to the release checklist
7768
7769 2007-06-18  Wim Taymans  <wim@fluendo.com>
7770
7771         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7772         (gst_single_queue_push_one), (gst_multi_queue_chain),
7773         (gst_multi_queue_sink_event):
7774         Make sure we don't reference the buffer/event after we have given away
7775         ownership in the queue.
7776
7777 2007-06-18  Wim Taymans  <wim@fluendo.com>
7778
7779         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7780         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7781         Update queue state _after_ adding the item in the queue because else we
7782         could end up being full without the element added yet.
7783
7784 2007-06-18  Wim Taymans  <wim@fluendo.com>
7785
7786         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7787         (gst_bin_remove_func), (gst_bin_get_state_func),
7788         (gst_bin_element_set_state), (gst_bin_continue_func),
7789         (bin_push_state_continue), (bin_handle_async_start),
7790         (bin_handle_async_done), (gst_bin_handle_message_func):
7791         * gst/gstbin.h:
7792         Immediatly commit the toplevel bin state when receiving an async-done
7793         message. This enables us to avoid spawning a thread to commit the state
7794         in some common cases and it also avoids some races.
7795         Avoid spawning a state thread when adding/removing async elements to a
7796         toplevel bin. Instead we immediatly update the bin state.
7797         Get rid of iterating all the children when getting the state in the bin
7798         because it is now always up-to-date.
7799         Fix bug where locked elements would always return _SUCCESS even it they
7800         returned NO_PREROLL before being locked.
7801         Fix the order of the state_change, async-start/done messages that was
7802         sometimes incorrect.
7803         Mark the state_dirty field as deprecated, we don't need it anymore as we
7804         are always up-to-date.
7805
7806         * gst/gstelement.c: (gst_element_get_state_func),
7807         (gst_element_continue_state):
7808         Small debug inprovements.
7809         Return the previous element state return when nothing is pending instead
7810         of blindly returning SUCCESS.
7811
7812         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7813         (gst_sinks_suite):
7814         Add a whole bunch of new testcases.
7815
7816 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7817
7818         * po/uk.po:
7819         * po/vi.po:
7820           Update translations.
7821
7822 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7823
7824         * gst/gstpad.c:
7825         Fix typo in the docs.
7826
7827 2007-06-15  Wim Taymans  <wim@fluendo.com>
7828
7829         * docs/libs/gstreamer-libs-sections.txt:
7830         Add docs for new methods.
7831
7832 2007-06-15  Wim Taymans  <wim@fluendo.com>
7833
7834         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7835         (gst_multi_queue_item_new):
7836         Don't use GSlice because we don't depend on >= 2.10 yet.
7837
7838 2007-06-15  Wim Taymans  <wim@fluendo.com>
7839
7840         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7841         (update_time_level), (apply_segment), (apply_buffer),
7842         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7843         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7844         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7845         (single_queue_underrun_cb), (single_queue_check_full):
7846         Remove debug printf.
7847
7848 2007-06-15  Wim Taymans  <wim@fluendo.com>
7849
7850         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7851         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7852         (gst_data_queue_set_flushing), (gst_data_queue_push),
7853         (gst_data_queue_pop), (gst_data_queue_drop_head),
7854         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7855         * libs/gst/base/gstdataqueue.h:
7856         Various cleanups.
7857         Added methods to get the current levels and to inform the queue that the
7858         'full' limits changed.
7859
7860         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7861         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7862         (gst_single_queue_flush), (update_time_level), (apply_segment),
7863         (apply_buffer), (gst_single_queue_push_one),
7864         (gst_multi_queue_item_steal_object),
7865         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7866         (gst_multi_queue_loop), (gst_multi_queue_chain),
7867         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7868         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7869         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7870         (single_queue_underrun_cb), (single_queue_check_full),
7871         (gst_single_queue_new):
7872         Keep track of time in the queue by measuring the difference between
7873         running_time on input and output. This gives more accurate results and
7874         can compensate for segments correctly.
7875         Make a queue by default only 5 buffers deep. We will now increase the
7876         buffer size depending on the filledness of the other queues.
7877         Factor out commong flush code.
7878         Make sure we don't add additional refcounts to buffers when we can avoid
7879         it.
7880         Propagate GstFlowReturn differently.
7881         Use GSlice for intermediate GstMultiQueueItems.
7882         Keep track of EOS.
7883         Resize queues on over and underruns based on filled level of other
7884         queues.
7885         When checking if the queue is filled, prefer to measure in time if we
7886         can and fall back to bytes when no time is known.
7887
7888         * plugins/elements/gstqueue.c:
7889         Fix return value.
7890
7891 2007-06-15  Wim Taymans  <wim@fluendo.com>
7892
7893         * libs/gst/base/gstbasetransform.c:
7894         (gst_base_transform_sink_event):
7895         Work around the brokenness of the event vmethod in basetransform. Prefer
7896         to return TRUE when the subclass returned FALSE (meaning don't forward
7897         the event). 
7898
7899         * libs/gst/base/gstbasetransform.h:
7900         Clarify the docs.
7901
7902 2007-06-15  Wim Taymans  <wim@fluendo.com>
7903
7904         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7905         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7906         (gst_base_src_default_query), (gst_base_src_get_range),
7907         (gst_base_src_start):
7908         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7909         Improve debugging.
7910
7911 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7912
7913         * docs/pwg/advanced-types.xml:
7914           Added more formats to caps table.
7915
7916 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
7917
7918         * tools/gst-launch.c: (main):
7919           Remove crufy code. GOption does not need this workaround.
7920
7921 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7922
7923         * libs/gst/controller/gstcontroller.c:
7924         (gst_controlled_property_set_interpolation_mode):
7925           Fix wrong getter for enums in controller.
7926
7927 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7928
7929         * libs/gst/check/gstcheck.c: (gst_check_init):
7930           Intercept criticals and warnings in the Gst-Phonon log domain, so
7931           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7932           well.
7933         
7934 2007-06-14  Edward Hervey  <edward@fluendo.com>
7935
7936         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7937         Since this file doesn't include "gst.h" it will not go through the
7938         macros that disable GST_LOG if debugging was disabled.
7939
7940 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7941
7942         * libs/gst/check/Makefile.am:
7943         * libs/gst/check/gstcheck.h:
7944         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7945         * pkgconfig/gstreamer-check.pc.in:
7946           Ugly 'fix' for the controller unit test on the p5 bot: in
7947           fail_unless_equals_float() check whether the values are 'almost
7948           equal' by allowing a small absolute error, which should be good
7949           enough for our use cases (normal numbers and values close to 0).
7950           Proper fixage left to floating point arithmetic aficionados.
7951
7952 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7953
7954         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7955         (gst_base_sink_render_object), (gst_base_sink_get_position):
7956           Add two breaks thats where missing.
7957
7958 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7959
7960         * docs/libs/gstreamer-libs-sections.txt:
7961         * libs/gst/check/gstcheck.h:
7962           API: add fail_unless_equals_float() and assert_equals_float().
7963           Add documentation for some of the macros.
7964
7965         * tests/check/libs/controller.c: (GST_START_TEST):
7966           Use newly-added asserts.
7967
7968 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7971           Show the caps change in the log to help spotting the case of not
7972           exactly matching caps.
7973
7974 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * docs/pwg/building-boiler.xml:
7977           Fix typos, spotted by Thijs Vermeir (#447190).
7978
7979 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7980
7981         * docs/plugins/tmpl/.cvsignore:
7982         Ignore file to keep the buildbots happy
7983
7984 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
7985
7986         * docs/plugins/Makefile.am:
7987         * docs/plugins/gstreamer-plugins-docs.sgml:
7988         * docs/plugins/gstreamer-plugins-sections.txt:
7989         Pull fdsink into the docs too.
7990
7991 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
7992
7993         * libs/gst/controller/gstinterpolation.c:
7994         Actually use the new functions with min/max checks for the trigger and
7995         none interpolation modes for get() and get_value_array() instead of
7996         just the latter.
7997
7998 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
7999
8000         * libs/gst/controller/gstcontroller.c:
8001         (gst_controlled_property_free):
8002         Unset the minimum and maximum GValues when freeing the corresponding
8003         GstControllerProperty struct.
8004
8005 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8006
8007         * libs/gst/controller/gstcontroller.c:
8008         (gst_controlled_property_new):
8009         * libs/gst/controller/gstcontrollerprivate.h:
8010         * libs/gst/controller/gstinterpolation.c:
8011         (gst_controlled_property_find_control_point_node),
8012         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8013         (interpolate_none_get_string_value_array),
8014         (interpolate_trigger_get),
8015         (interpolate_trigger_get_enum_value_array),
8016         (interpolate_trigger_get_string_value_array):
8017         Protect against values larger or smaller than the minimum or maximum
8018         allowed value for the property when using values that can be compared.
8019
8020         Optimize trigger interpolator a bit by taking the last requested value
8021         into account instead of always looping through the complete list.
8022
8023         Fix coding style a bit, everywhere else we use "return foo" instead
8024         of "return (foo)".
8025         
8026         * tests/check/libs/controller.c: (GST_START_TEST),
8027         (gst_controller_suite):
8028         Add unit test for the protection against too large or too small
8029         values.
8030
8031 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8032
8033         * docs/random/slomo/controller.txt:
8034         Add some thoughts about the future of the controller.
8035
8036 2007-06-08  Wim Taymans  <wim@fluendo.com>
8037
8038         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8039         Don't overflow in retimestamping code.
8040
8041 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8042
8043         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8044         Use gst_util_guint64_to_gdouble for conversions.
8045         * win32/common/libgstreamer.def:
8046         Add new exported functions.
8047
8048 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8049
8050         * gst/gstutils.c:
8051           Small docs addition.
8052
8053 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8054
8055         * README:
8056           Remove that test line again.
8057
8058 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8059
8060         * README:
8061           Test commit mail sending.
8062
8063 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8064
8065         * configure.ac:
8066           Fix typo and test commit mail sending.
8067
8068 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8069
8070         * tests/examples/controller/audio-example.c:
8071           Improve comment and test commit mail sending.
8072
8073 2007-06-07  Wim Taymans  <wim@fluendo.com>
8074
8075         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8076         (gst_bin_remove_func), (gst_bin_element_set_state),
8077         (bin_handle_async_start), (bin_handle_async_done),
8078         (gst_bin_handle_message_func):
8079         Add helper function to find messages.
8080         Generate the async-done messages together with the state change
8081         messages.
8082         Small cleanups in handling toplevel bins.
8083
8084 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8085
8086         * libs/gst/base/gstdataqueue.c:
8087         * libs/gst/base/gstdataqueue.h:
8088         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8089         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8090         (gst_multi_queue_sink_event):
8091         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8092           Fix multiqueue leaking buffers and events when downstream or the
8093           queue are flushing. Make refcounting assumptions explicit and
8094           document them (shouldn't break existing code that uses it other than
8095           maybe leak miniobjects, but that already happens anyway). Add unit
8096           test for the most common flushing case. Fixes #423700.
8097           
8098 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8099
8100         * libs/gst/controller/gstcontroller.c:
8101         Clarify docs: The get_all, get_value_array(s) functions
8102         don't modify the GObject properties.
8103
8104 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8105
8106         * libs/gst/controller/gstcontroller.c:
8107         (gst_controlled_property_set_interpolation_mode),
8108         (gst_controlled_property_prepend_default),
8109         (gst_controlled_property_new), (gst_controller_set_unlocked),
8110         (gst_controller_set), (gst_controller_set_from_list),
8111         (gst_controller_unset), (gst_controller_unset_all):
8112         * libs/gst/controller/gstcontrollerprivate.h:
8113         * libs/gst/controller/gstinterpolation.c:
8114         Factor out the 'set' logic into gst_controller_set_unlocked for the
8115         gst_controller_set and gst_controller_set_from_list functions.
8116
8117         To make life of the interpolators easier always add a control point
8118         at timestamp zero with the default value.
8119
8120         In the linear interpolator make things more obvious by better variable
8121         naming (slope).
8122
8123         Implement cubic interpolation mode (by using a natural cubic spline)
8124         and map the quadratic interpolation mode to this too (as quadratic
8125         doesn't make much sense, see discussion on the list).
8126
8127         * tests/check/libs/controller.c: (GST_START_TEST),
8128         (gst_controller_suite):
8129         Add unit test for the cubic interpolation mode and check everywhere
8130         if the interpolation mode could be set as expected.
8131
8132 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8135           Don't use GLib-2.10 functions, we still depend on
8136           GLib-how-old-is-it-again-2.8.
8137
8138 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * docs/gst/gstreamer-sections.txt:
8141         * gst/Makefile.am:
8142         * gst/gst.c:
8143         * gst/gst.h:
8144         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8145         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8146         (_gst_param_fraction_values_cmp),
8147         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8148         * gst/gstparamspecs.h:
8149         * gst/gstvalue.c:
8150         * tests/check/Makefile.am:
8151         * tests/check/gst/.cvsignore:
8152         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8153         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8154         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8155         (GST_START_TEST), (gst_param_spec_suite):
8156           API: add GstParamSpecFraction, so elements can have fraction
8157           properties without lots of painful string parsing (#444648).
8158
8159 2007-06-05  Wim Taymans  <wim@fluendo.com>
8160
8161         * gst/gstobject.c: (gst_object_class_init):
8162         Fix signal signature.
8163
8164         * gst/gstsegment.c:
8165         Add small clarification in the api docs.
8166
8167         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8168         States are protected with object lock.
8169
8170 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8171
8172         * AUTHORS:
8173         I should probably be listed as an author by now.
8174
8175         * docs/random/release:
8176         Update the release doc
8177
8178 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8179
8180         * gst/gstvalue.c:
8181           Make docs for gst_value_compare() mention return enums that
8182           actually exist.
8183
8184 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8185
8186         * configure.ac:
8187           Back to CVS
8188
8189 === release 0.10.13 ===
8190
8191 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8192
8193         * configure.ac:
8194           releasing 0.10.13, "With or without you"
8195
8196 2007-05-25  Wim Taymans  <wim@fluendo.com>
8197
8198         * gst/gstbin.c: (bin_handle_async_done):
8199         Make sure that the child bin stops after completing the async state
8200         change so that the parent can continue the state change to PLAYING.
8201         Fixes #441159.
8202
8203 2007-05-25  Wim Taymans  <wim@fluendo.com>
8204
8205         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8206         (unref_data), (gst_collect_pads_remove_pad),
8207         (gst_collect_pads_check_pads):
8208         Use additional refcounting to avoid crashes when dynamically adding and
8209         removing pads. Fixes #420206.
8210
8211 2007-05-24  Wim Taymans  <wim@fluendo.com>
8212
8213         * tools/gst-launch.c: (event_loop):
8214         When buffering goes from a two digit to a single digit number, make sure
8215         to remove the old second digit by writing a blank over it.
8216
8217 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8218
8219         * libs/gst/base/gstdataqueue.c:
8220           Eliminate tabs and trailing comma in enum list; fix some typos.
8221
8222 2007-05-24  Wim Taymans  <wim@fluendo.com>
8223
8224         * tests/check/gst/gstbin.c: (GST_START_TEST):
8225         Allow refcount of 3 and 4 because some state thread might still be busy
8226         with it.
8227
8228 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8229
8230         * plugins/elements/Makefile.am:
8231         * plugins/elements/gstmultiqueue.h:
8232         * plugins/elements/gstqueue.h:
8233           These are not installed headers, no need for padding.
8234
8235 2007-05-24  Wim Taymans  <wim@fluendo.com>
8236
8237         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8238         (gst_bin_continue_func):
8239         Enable latency for next release.
8240         Restore STATE_LOCK around recalc_state that was left out during the
8241         rewrite and could result in racy behaviour when _get_state and
8242         recalc_state are run concurrently. See #440463.
8243
8244 2007-05-23  Wim Taymans  <wim@fluendo.com>
8245
8246         * tests/check/gst/gstsystemclock.c: (store_callback),
8247         (GST_START_TEST):
8248         Improve test_async_order to also work when both timers are already
8249         expired when we get scheduled to check it.
8250
8251 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8252
8253         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8254         (gst_bin_set_property), (gst_bin_get_property),
8255         (gst_bin_remove_func), (gst_bin_handle_message_func):
8256         * gst/gstbin.h:
8257           'private' is a c++ keyword, let's not use that in header files,
8258           otherwise c++ compilers will throw a tantrum.
8259
8260 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8261
8262         * plugins/elements/gstelements.c:
8263         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8264         (gst_file_sink_get_current_offset):
8265         * plugins/indexers/gstindexers.c: (plugin_init):
8266           Use #ifdef for HAVE_XYZ for consistency.
8267
8268         * tests/check/Makefile.am:
8269         * tests/check/elements/.cvsignore:
8270         * tests/check/elements/filesink.c: (setup_filesink),
8271         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8272           Add some unit tests for filesink.
8273
8274 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8275
8276         Patch by: Mark Nauwelaerts <manauw at skynet be>
8277
8278         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8279         (gst_file_sink_query), (gst_file_sink_do_seek),
8280         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8281         * plugins/elements/gstfilesink.h:
8282           Fix position reporting; rename data_written member to current_pos to
8283           reflect its real meaning (fixes #412648).
8284
8285 2007-05-22  Edward Hervey  <edward@fluendo.com>
8286
8287         * docs/gst/gstreamer-sections.txt:
8288         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8289         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8290         (gst_bin_remove_func), (gst_bin_handle_message_func):
8291         * gst/gstbin.h:
8292         Add a property for bins that handle the state change of their childs.
8293         Fixes #435880
8294
8295 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8296
8297         * libs/gst/controller/gstinterpolation.c:
8298         Use an array of the correct type when using _get_value_array with
8299         linear interpolation.
8300
8301 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8302
8303         * gst/gstelement.c (gst_element_requires_clock,
8304           gst_element_provides_clock, gst_element_request_pad,
8305           gst_element_class_set_details, gst_element_class_set_details_simple,
8306           gst_element_default_send_event, gst_element_abort_state,
8307           gst_element_continue_state, gst_element_set_state,
8308           gst_element_set_state_func, iterator_activate_fold_with_resync):
8309         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8310           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8311           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8312           gst_pad_get_range, gst_pad_pull_range):
8313         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8314           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8315           GstPadActivateModeFunction, GstPadChainFunction,
8316           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8317           GstPadFixateCapsFunction, GstPadTemplate):
8318         * gst/gstpipeline.c (gst_pipeline_change_state,
8319           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8320           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8321           gst_pipeline_get_delay):
8322           Whitespace and docs fixes.
8323
8324 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8325
8326         * libs/gst/controller/gstinterpolation.c:
8327         (interpolate_trigger_get_enum_value_array),
8328         (interpolate_trigger_get_string_value_array):
8329         Add support for retrieving value arrays when using the trigger
8330         interpolation mode. 
8331
8332 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8333
8334         * libs/gst/controller/gstcontroller.c:
8335         (gst_controller_get_value_array):
8336         * libs/gst/controller/gstcontroller.h:
8337         Clarify the docs of gst_controller_get_value_array(): The array where
8338         the values should be written to must be allocated as there seems to be
8339         no way to get the size of a random GType. This doesn't change any
8340         behaviour. Also fix some typos all over the place and remove an unused,
8341         commented function that is not necessary as g_object_set() could be
8342         used instead.
8343         * tests/check/libs/controller.c: (GST_START_TEST),
8344         (gst_controller_suite):
8345         Add unit test for gst_controller_get_value_array().
8346
8347 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8348
8349         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8350
8351         Disable part of the gst_buffer_try_new_and_alloc test, because
8352         it can happily succeed on 64-bit systems where there's more address
8353         space available.
8354
8355 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8356
8357         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8358         Add unit test for the improved caps checking from bug #421543.
8359
8360 2007-05-21  Wim Taymans  <wim@fluendo.com>
8361
8362         * docs/design/part-synchronisation.txt:
8363         Small addition.
8364
8365         * gst/gstbin.c: (gst_bin_query):
8366         * plugins/elements/gstqueue.c: (apply_segment):
8367         Improve debugging.
8368
8369         * gst/gstmessage.h:
8370         Improve docs.
8371
8372 2007-05-21  Wim Taymans  <wim@fluendo.com>
8373
8374         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8375         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8376         (gst_pad_configure_src):
8377         Added simple version of improved caps checking. It was previously
8378         assumed that a setcaps function would check the validity of the caps but
8379         people prefer us to check caps against the template automatically. 
8380         Fixes #421543.
8381
8382 2007-05-21  Wim Taymans  <wim@fluendo.com>
8383
8384         * libs/gst/base/gstbasetransform.h:
8385         Fix macro for locking/unlocking the transform lock.
8386
8387 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * docs/plugins/tmpl/.cvsignore:
8390           Ignore more.
8391
8392 2007-05-18  Edward Hervey  <edward@fluendo.com>
8393
8394         * plugins/elements/gstqueue.c: (gst_queue_loop):
8395         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8396         for the subtle art of warning a potentially blocking thread that it
8397         should check the source pad return value, and relay the information
8398         upstream.
8399
8400 2007-05-18  Edward Hervey  <edward@fluendo.com>
8401
8402         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8403         Release the queue lock !
8404
8405 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8406
8407         * docs/libs/gstreamer-libs-sections.txt:
8408         Add the two new controller functions to the appropiate places.
8409
8410 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8411
8412         reviewed by: Stefan Kost <ensonic@users.sf.net>
8413
8414         * libs/gst/controller/gstcontroller.c:
8415         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8416         (_gst_controller_get_property), (_gst_controller_set_property),
8417         (_gst_controller_init), (_gst_controller_class_init):
8418         * libs/gst/controller/gstcontroller.h:
8419         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8420         (gst_object_get_control_rate), (gst_object_set_control_rate):
8421         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8422         Add API that provides sync suggestion timestamps for elements that
8423         call gst_object_sync_values() from which those elements can subdivide
8424         their processing loop to get the best results for the controlled
8425         properties. For now it just suggests last_sync + control_rate as
8426         new timestamp but this will be improved in the future.
8427
8428         While doing that change the control-rate property to a GstClockTime
8429         from guint and change it's meaning from samples to nanoseconds as
8430         the GstController doesn't know anything about sampling rate. Strictly
8431         speaking this breaks ABI but as the control-rate property didn't do
8432         anything in the past and as such couldn't be used this should be no
8433         problem.        
8434
8435 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8436
8437         reviewed by: Stefan Kost <ensonic@users.sf.net>
8438
8439         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8440         (gst_controller_unset_all):
8441         * libs/gst/controller/gstcontrollerprivate.h:
8442         * libs/gst/controller/gstinterpolation.c:
8443         (gst_controlled_property_find_control_point_node):
8444         Save last synced value from the list to continue searching from there
8445         in future syncs. This speeds everything up a bit.
8446         
8447 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8448
8449         reviewed by: Stefan Kost <ensonic@users.sf.net>
8450
8451         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8452         (gst_control_point_find), (gst_controlled_property_new),
8453         (gst_control_point_free), (gst_controlled_property_free),
8454         (gst_controller_set), (gst_controller_set_from_list),
8455         (gst_controller_unset), (gst_controller_unset_all),
8456         (gst_controller_sync_values):
8457         * libs/gst/controller/gstcontroller.h:
8458         * libs/gst/controller/gstcontrollerprivate.h:
8459         * libs/gst/controller/gstinterpolation.c:
8460         (gst_controlled_property_find_control_point_node),
8461         (interpolate_none_get), (interpolate_trigger_get):
8462         Add a new private GstControlPoint struct which "inherits" from
8463         GstTimedValue to allow different interpolators to store internal
8464         values next to each control point. From the outside everything is
8465         still a GstControlPoint so we don't loose binary compatibility.
8466         Also fixup all the GValue handling to not leak GValues or list nodes.
8467         * tests/check/libs/controller.c: (GST_START_TEST):
8468         Free the list nodes and GValues in the controller_misc test.
8469
8470 2007-05-17  Edward Hervey  <edward@fluendo.com>
8471
8472         * gst/gstsegment.c:
8473         Small doc fix.
8474
8475 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8476
8477         * gst/gstplugin.c: (gst_plugin_load_file):
8478           If we fail to load a plugin because of unresolved symbols or missing
8479           libraries and spew a warning to stderr, we may just as well mention
8480           which plugin it was that failed to load.
8481
8482 2007-05-13  David Schleef  <ds@schleef.org>
8483
8484         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8485           handles the case when ENABLE_GTK_DOC is false, and installs
8486           the prebuilt documentation.  So gtk-doc subdirs are 
8487           unconditionally enabled.  Fixes: #349099.
8488
8489 2007-05-13  David Schleef  <ds@schleef.org>
8490
8491         * gst/gstutils.h: Reword some documentation.
8492
8493 2007-05-12  David Schleef  <ds@schleef.org>
8494
8495         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8496           do anything with the passed "module" parameter, so remove it.
8497           Allows removal of additional vestigal code.
8498
8499 2007-05-12  David Schleef  <ds@schleef.org>
8500
8501         * gst/gstplugin.c:
8502           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8503           Switch to using g_stat() because it's more portable.
8504
8505 2007-05-12  David Schleef  <ds@schleef.org>
8506
8507         * gst/gst.c:
8508           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8509           parsing for embedded systems.
8510         * gst/gstelementfactory.c:
8511           Allow gst_element_register() to be called with plugin==NULL.
8512           Did nobody notice that static elements were broken?
8513
8514 2007-05-12  Wim Taymans  <wim@fluendo.com>
8515
8516         * tools/gst-launch.c: (event_loop):
8517         Give more interesting info when buffering starts and stops.
8518         Fix case where buffering starts but we fail to update the buffering flag
8519         because the target state is not PLAYING.
8520
8521 2007-05-12  Wim Taymans  <wim@fluendo.com>
8522
8523         * plugins/elements/gstqueue.c: (gst_queue_init),
8524         (gst_queue_finalize), (update_time_level), (apply_segment),
8525         (apply_buffer), (gst_queue_locked_flush),
8526         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8527         (gst_queue_handle_sink_event), (gst_queue_chain),
8528         (gst_queue_push_one), (gst_queue_loop):
8529         * plugins/elements/gstqueue.h:
8530         Refactor an cleanup queue a bit.
8531         Do better time level calculations that also work when the srcpad is not
8532         yet running.
8533         Remove some unneeded debug lines.
8534
8535         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8536         Added testcase for time level measurement.
8537         Try to make some stuff more racefree.
8538
8539 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8540
8541         * gst/gsturi.c: (gst_element_make_from_uri):
8542           Don't leak plugin feature.
8543
8544         * tests/check/Makefile.am:
8545         * tests/check/gst/.cvsignore:
8546         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8547           Add brain-dead unit test.
8548
8549 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8550
8551         Patch by: Jeroen Wouters <woutersj at gmail com>
8552
8553         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8554           Treat protocol strings in a case-insensitive way (#437563).
8555
8556 2007-05-11  Michael Smith <msmith@fluendo.com>
8557
8558         * gst/gstplugin.c: (gst_plugin_load_file):
8559         * gst/gstregistry.c: (gst_registry_scan_path_level):
8560           Don't print a g_warning for any failure to load a shared object.
8561           Instead, push this down into gstplugin.c, and warn _only_ if we
8562           failed to open the module (i.e. failure to link).
8563           Avoids warnings on normal, working, non-plugin .so files.
8564
8565 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8566
8567         * gst/gstplugin.c (gst_plugin_load_file):
8568         * gst/gstregistry.c (GST_CAT_DEFAULT,
8569           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8570           Print a g_warning if there was an error when loading a plugins during
8571           registry scan. The shuld help beginners starting with gst-plugin
8572           template.
8573
8574 2007-05-10  Wim Taymans  <wim@fluendo.com>
8575
8576         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8577         (update_time_level), (gst_queue_locked_flush),
8578         (gst_queue_handle_sink_event), (gst_queue_chain),
8579         (gst_queue_push_one), (gst_queue_loop):
8580         * plugins/elements/gstqueue.h:
8581         Be smarter when calculating the current amount of data in the queue by
8582         measuring the difference between start and end timestamps (in running
8583         time) inside the queue. Fixes #432876.
8584         API: GstQueue::pushing to notify elements that we are pushing data again
8585         since the running signal is rather broken for this purpose.
8586
8587 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8588
8589         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8590           gst_queue_base_init, gst_queue_init):
8591           use GST_BOILERPLATE
8592
8593 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8594
8595         * win32/common/libgstreamer.def:
8596         Add new exported functions.
8597         * win32/vs6/grammar.dsp:
8598         Use grammar pre-generated files.
8599
8600 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8601
8602         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8603
8604         * gst/Makefile.am:
8605         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8606         * gst/gstparse.h:
8607         * gst/gstutils.c: (gst_parse_bin_from_description):
8608         * gst/gstutils.h:
8609           Maintain API and ABI when --disable-parse is used. Now that
8610           we have an appropriate error code, we can just return NULL and the
8611           appropriate error when gst_parse_launch() is used despite it having
8612           been disabled (#342564).
8613
8614         * tests/check/Makefile.am:
8615         * tests/check/pipelines/.cvsignore:
8616         * tests/check/pipelines/parse-disabled.c:
8617           Make sure these functions exist and return NULL plus a GError when
8618           --disable-parse is used.
8619
8620 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8621
8622         * tests/benchmarks/complexity.c: (main):
8623         * tests/benchmarks/mass-elements.c: (main):
8624           Set a good example and don't leak messages.
8625
8626 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8627
8628         * docs/gst/Makefile.am:
8629         * docs/libs/Makefile.am:
8630           Correct fixxrefs options.
8631
8632         * docs/plugins/Makefile.am:
8633         * docs/plugins/gstreamer-plugins-docs.sgml:
8634         * docs/plugins/gstreamer-plugins-sections.txt:
8635         * plugins/elements/Makefile.am:
8636         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8637         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8638           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8639           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8640           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8641           _GstCapsFilterClass, trans_class):
8642         * plugins/elements/gstelements.c (name, rank, type, _elements):
8643         * plugins/elements/gstidentity.c
8644           (gst_identity_check_imperfect_timestamp,
8645           gst_identity_check_imperfect_offset):
8646           Document capsfilter and add doc-blurb to identity.
8647
8648 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8649
8650         * libs/gst/controller/gstcontroller.c:
8651         (gst_controlled_property_set_interpolation_mode):
8652         * libs/gst/controller/gstinterpolation.c:
8653           Don't crash if someone tries to set an interpolation mode that
8654           is invalid or that isn't supported yet. Fixes #422295.
8655
8656         * tests/check/libs/controller.c: (GST_START_TEST),
8657         (gst_controller_suite):
8658           Add a test case for the above.
8659
8660 2007-05-03  Edward Hervey  <edward@fluendo.com>
8661
8662         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8663         Properly set the last_stop position on GstSegment. This will only happen
8664         if there is a buffer to push out.
8665
8666 2007-05-03  Wim Taymans  <wim@fluendo.com>
8667
8668         * libs/gst/base/gstbasetransform.c:
8669         (gst_base_transform_buffer_alloc):
8670         always_in_place does not mean that the sink and source caps are the
8671         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8672
8673 2007-05-03  Wim Taymans  <wim@fluendo.com>
8674
8675         * docs/libs/gstreamer-libs-sections.txt:
8676         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8677         (gst_base_src_default_query), (gst_base_src_get_range):
8678         * libs/gst/base/gstbasesrc.h:
8679         API: gst_base_src_query_latency(). Added method so that subclasses can
8680         easily get the latency values of the base source class.
8681
8682 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8683
8684         * tools/gst-inspect.c (print_implementation_info):
8685         Remove 0.8 cruft.
8686
8687 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8688
8689         * tools/Makefile.am:
8690         * tools/gst-launch.1.in:
8691           Don't create a customised man page based on the host architecture,
8692           describe the default registry path generically. That way the man
8693           page is the same for all architectures and packagers have one
8694           multilib issue less to deal with. Fixes #434926.
8695
8696 2007-05-02  Wim Taymans  <wim@fluendo.com>
8697
8698         * gst/gstpad.c:
8699         Fix documentation as spotted by rg on IRC. 
8700
8701 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8702
8703         * gst/gstutils.c:
8704           Improve docs for gst_element_{link,unlink}.
8705
8706 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8707
8708         * docs/design/part-events.txt:
8709         * docs/design/part-overview.txt:
8710         * gst/gstevent.c:
8711         * gst/gsturi.c:
8712         * gst/gsturi.h:
8713         * libs/gst/base/gstbasesink.c:
8714           Typo fixes; minor docs addition.
8715
8716 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8717
8718         * docs/gst/gstreamer-sections.txt:
8719         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8720         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8721         * gst/gsturi.h:
8722         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8723         or src that supports a given URI protocol exists.
8724
8725 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8726
8727         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8728         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8729         Set the location to NULL if "file://" is set as URI. Otherwise
8730         some random previous URI would still be set if "file://" is
8731         set on an already used filesink/filesrc.
8732
8733 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8734
8735         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8736         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8737         Special case the "file://" URI as as this is used by some
8738         applications to test with gst_element_make_from_uri if there's
8739         an element that supports the URI protocol.
8740         Also move the g_path_is_absolute() check for the location part
8741         of the URI to also check this for "file://localhost/bla" URIs.
8742
8743 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8744
8745         * docs/gst/gstreamer-sections.txt:
8746         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8747         * gst/gstbuffer.h:
8748         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8749         (gst_buffer_suite):
8750           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8751
8752 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8753
8754         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8755         (gst_registry_binary_load_pad_template),
8756         (gst_registry_binary_load_plugin),
8757         (gst_registry_binary_read_cache):
8758         * gst/gstregistrybinary.h:
8759           Implement no-mmap alternative for registry reading. Do code cleanups.
8760           Add more comments about avoiding strdups for all text data. Comments
8761           welcome.
8762
8763 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8764
8765         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8766           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8767           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8768           Comment structs and reformat to fix the build (that stuff should go
8769           into a priv. header).
8770
8771 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8772
8773         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8774         (gst_registry_binary_load_feature):
8775         * gst/gstregistrybinary.h:
8776           Refactor so that we can implement multiple features. Add support for
8777           TypeFindFactory features.
8778
8779 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8780
8781         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8782
8783         * configure.ac:
8784           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8785
8786 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8787
8788         * gst/gstbin.c: (gst_bin_element_set_state),
8789         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8790         (bin_handle_async_done), (gst_bin_handle_message_func):
8791           Fix build with --gst-disable-gst-debug
8792
8793 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8794
8795         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8796           Make sure streaming has finished before calling the ::stop() vfunc,
8797           since that vfunc might clear state which is being used in the
8798           streaming thread. This fixes a race that caused crashes in
8799           audioresample when shutting down a pipeline (#420106).
8800
8801 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8802
8803         * docs/gst/gstreamer-sections.txt:
8804           That was one byte missing.
8805
8806 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8807
8808         * configure.ac:
8809         * docs/gst/gstreamer-sections.txt:
8810         * gst/Makefile.am:
8811         * gst/gstconfig.h.in:
8812         * gst/gstobject.c: (gst_object_class_init),
8813         (gst_signal_object_class_init):
8814         * gst/gstobject.h:
8815           2nd attempt to have a xml-less build as a joined effort of #413123
8816           and #421480.
8817
8818 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8819
8820         * docs/design/draft-tagreading.txt:
8821           Added open issues/thoughts to draft.
8822
8823 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8824
8825         * gst/parse/grammar.tab.pre.c:
8826         * gst/parse/grammar.tab.pre.h:
8827         * gst/parse/lex._gst_parse_yy.pre.c:
8828         Update the prebuild parser sources.
8829
8830 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8831
8832         * gst/parse/Makefile.am:
8833         And now fix the building of the flex sources. Now everything should
8834         work as expected.
8835
8836 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8837
8838         * gst/parse/Makefile.am:
8839         Now hopefully fix the build failures by setting proper rule
8840         dependencies and moving instead of copying.
8841
8842 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8843
8844         * tests/benchmarks/complexity.gnuplot:
8845         * tests/benchmarks/complexity.scm:
8846         * tests/benchmarks/mass-elements.gnuplot:
8847         * tests/benchmarks/mass-elements.scm:
8848           Total licensification.
8849
8850 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8851
8852         * gst/parse/Makefile.am:
8853           Fix the build by correcting the rule that gave wrong files to flex.
8854
8855 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8856
8857         * tests/benchmarks/complexity.c:
8858         * tests/benchmarks/mass-elements.c:
8859           Change licence to LGPL as granted by Benjamin and Andy.
8860
8861 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8862
8863         * gst/parse/Makefile.am:
8864         Add correct grammar.tab.h dependency if compiling without new enough
8865         flex. Fixes #431150.
8866
8867 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8868
8869         * gst/parse/Makefile.am:
8870         Fix typo and use outdated sources if the flex/bison sources are newer
8871         than the pregenerated ones but flex is too old. Print a warning in
8872         that case. This should fix the build on the build bot.
8873
8874 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8875
8876         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8877         * gst/parse/Makefile.am:
8878         * gst/parse/grammar.y:
8879         * gst/parse/parse.l:
8880         Make the parser reentrant and recursively callable. This requires flex
8881         >= 2.5.31, for older versions pregenerated sources are used as we
8882         can't bump the build dependency. Finally fixes #349180.
8883
8884         * gst/gstparse.c: (gst_parse_launch):
8885         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8886         now anyway.
8887
8888         * docs/gst/Makefile.am:
8889         * docs/gst/Makefile.am:
8890         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8891         (__gst_parse_strfree), (__gst_parse_link_new),
8892         (__gst_parse_link_free), (__gst_parse_chain_new),
8893         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8894         (gst_parse_element_set), (gst_parse_free_link),
8895         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8896         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8897         (_gst_parse_launch):
8898         * gst/parse/grammar.tab.pre.h:
8899         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8900         (yy_get_previous_state), (yy_try_NUL_trans), (input),
8901         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8902         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8903         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8904         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8905         (_gst_parse_yypop_buffer_state),
8906         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8907         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8908         (yy_fatal_error), (_gst_parse_yyget_extra),
8909         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8910         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8911         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8912         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8913         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8914         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8915         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8916         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8917         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8918         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8919         (_gst_parse_yyfree):
8920         If the installed flex version is too old use pre-generated parser
8921         sources. These pre-generated parser sources are always updated when
8922         the actual flex/bison sources change but require everybody who wants
8923         to change something in the parser to have flex >= 2.5.31 installed.
8924
8925 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
8926
8927         * common/m4/gst-gettext.m4:
8928         * gst/gst-i18n-lib.h:
8929           Make --disable-nls to work
8930
8931 2007-04-17  Wim Taymans  <wim@fluendo.com>
8932
8933         * gst/gstconfig.h.in:
8934         Revert previous change that broke the build.
8935
8936 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * configure.ac:
8939         * gst/Makefile.am:
8940         * gst/gstconfig.h.in:
8941           Drop libxml2 dependency when building with 
8942           --enable-binary-registry --disable-loadsave
8943
8944 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
8945
8946         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8947         (gst_registry_binary_read_cache):
8948         * gst/gstregistrybinary.h:
8949           Remove unnecessary <sys/mman.h> include which broke the win32 build
8950           with MingW; move includes from header file to .c file, even if the
8951           header file isn't installed; use g_strerror() where UTF-8 strings
8952           are expected, such as in GST_DEBUG messages.
8953
8954 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8955
8956         * docs/libs/gstreamer-libs-sections.txt:
8957         Remove bogus addition for API I didn't end up keeping.
8958
8959         * libs/gst/base/gstbasesrc.h:
8960         Mention Since: 0.10.13 in the documentation.
8961
8962         Add the API keyword to the previous ChangeLog entry.
8963
8964 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8965
8966         * docs/libs/gstreamer-libs-sections.txt:
8967         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8968         (gst_base_src_default_prepare_seek_segment),
8969         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8970         * libs/gst/base/gstbasesrc.h:
8971         Allow basesrc derived classes to execute seeks in other formats
8972         by providing a prepare_seek_segment vmethod. Sub-classes can choose
8973         to prepare the GstSegment in any format that their perform_seek method
8974         will be able to understand. The default implementation provides the
8975         old behaviour of attempting to convert the seek offsets to the 
8976         configured native format.
8977
8978         API: basesrc::prepare_seek_segment vmethod.
8979
8980 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8981
8982         * gst/gstelement.c: (gst_element_get_state_func):
8983         Don't output the same debug statement twice.
8984
8985         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8986         (gst_adapter_peek), (gst_adapter_take_buffer):
8987         Optimise the case where we have buffers at the head of the queue that
8988         can be joined quickly (because they're contiguous sub-buffers) by
8989         merging them together rather than copying data out into new memory.
8990
8991         * gst/parse/grammar.y:
8992         * tests/check/pipelines/parse-launch.c:
8993         Fix a leak in an error path for parse_launch, and add a check 
8994         for it to the testsuite.
8995
8996 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
8997
8998         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8999           Don't deadlock when releasing a pad - gst_pad_set_active may try
9000           and take the multiqueue lock too.
9001
9002 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9003
9004         * gst/gsterror.c: (_gst_core_errors_init):
9005         * gst/gsterror.h:
9006           API: add GST_CORE_ERROR_DISABLED (#392804).
9007
9008 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9009
9010         * docs/faq/gst-uninstalled:
9011           don't get empty paths on the PATH variables
9012         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9013           Don't format for the uncommon terminal width of 84 characters.
9014
9015 2007-04-06  Wim Taymans  <wim@fluendo.com>
9016
9017         * gst/gstpipeline.c: (reset_stream_time),
9018         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9019         Only try to select a different pipeline clock when we went back to
9020         PAUSED and not when we merely got flushed.
9021
9022 2007-04-05  Michael Smith  <msmith@fluendo.com>
9023
9024         * tools/gst-launch.1.in:
9025           fractions are better supported in gstreamer than ractions, so
9026           suggest using those.
9027
9028 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9029
9030         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9031
9032         * po/LINGUAS:
9033         * po/da.po:
9034           Added Danish translation.
9035
9036 2007-04-05  Wim Taymans  <wim@fluendo.com>
9037
9038         * libs/gst/base/gstbasesink.c:
9039         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9040         Fix leak caused when refusing newsegment after EOS.
9041
9042         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9043         (gst_fake_sink_init), (gst_fake_sink_set_property),
9044         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9045         (gst_fake_sink_render), (gst_fake_sink_change_state):
9046         * plugins/elements/gstfakesink.h:
9047         Add num-buffers property to make the element generate EOS after a
9048         configurable amount of buffers.
9049         API: fakesink::num-buffers property.
9050
9051         * tests/check/elements/fakesink.c: (GST_START_TEST),
9052         (fakesink_suite):
9053         Fix GstBus leak in test.
9054         Test for fakesink num-buffers.
9055
9056 2007-04-05  Wim Taymans  <wim@fluendo.com>
9057
9058         * libs/gst/base/gstbasesink.c:
9059         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9060         (gst_base_sink_change_state):
9061         Don't accept anything after an EOS, return UNEXPECTED instead.
9062
9063         * tests/check/elements/fakesink.c: (GST_START_TEST),
9064         (fakesink_suite):
9065         Unit test for new EOS behaviour.
9066
9067 2007-04-05  Wim Taymans  <wim@fluendo.com>
9068
9069         * gst/gstelement.c: (gst_element_get_request_pad):
9070         Make padtemplates also work when they don't contain %s or %d.
9071
9072 2007-04-05  Wim Taymans  <wim@fluendo.com>
9073
9074         * docs/gst/gstreamer-sections.txt:
9075         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9076         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9077         * gst/gstclock.h:
9078         Improve _adjust_unlocked() so that it overflows less.
9079         Add gst_clock_unadjust_unlocked to convert from external time to
9080         internal time based on calibration.
9081         Add some more debug.
9082         API: GstClock::gst_clock_unadjust_unlocked()
9083
9084 2007-04-03  Wim Taymans  <wim@fluendo.com>
9085
9086         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9087
9088         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9089         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9090         when releasing sink pad. Fixes #425400.
9091
9092 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9093
9094         * docs/random/ensonic/dynlink.txt:
9095           More work on proposal for new core api.
9096
9097         * docs/libs/gstreamer-libs-sections.txt:
9098         * libs/gst/base/gstbasetransform.h:
9099           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9100           
9101         * libs/gst/controller/gstcontroller.c:
9102         (on_object_controlled_property_changed),
9103         (gst_controller_sync_values),
9104         (gst_controller_set_interpolation_mode):
9105         * libs/gst/controller/gstcontroller.h:
9106           Less verbose logging add docs for unimplemented parts and correctly
9107           return when using unavailable parts.
9108
9109 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9110
9111         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9112         Move all the debug to the CLOCK category, and associate it with
9113         the clock object.
9114
9115 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9116
9117         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9118         Make take_buffer a bit quicker by removing redundant checks
9119         caused by calling gst_adapter_take.
9120
9121 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9122
9123         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9124           Don't leak GCond.
9125
9126         * tests/check/Makefile.am:
9127         * tests/check/elements/.cvsignore:
9128         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9129         (GST_START_TEST), (multiqueue_suite):
9130           Add some dead simple unit tests for the 'multiqueue' element
9131           (some bits don't work yet and are disabled for now).
9132
9133 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * gst/gstelement.c: (gst_element_get_request_pad),
9136         (gst_element_class_get_request_pad_template):
9137           Make gst_element_get_request_pad() create request pads only for
9138           request pad templates and not for, say, sometimes pad templates.
9139
9140 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9141
9142         * docs/design/draft-klass.txt:
9143           Add example that needs more thinking.
9144         
9145         * docs/design/draft-missing-plugins.txt:
9146           More thoughts about wrapper plugins.
9147         
9148         * docs/random/ensonic/embedded.txt:
9149         * docs/random/ensonic/profiling.txt:
9150           More design work.
9151
9152 2007-03-25  Wim Taymans  <wim@fluendo.com>
9153
9154         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9155         (gst_base_src_loop):
9156         Only push the segment events in the PLAYING state for live sources.
9157
9158 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9159
9160         * gst/gstpipeline.c: (gst_pipeline_change_state):
9161         Modify the clock distribution path in PAUSED->PLAYING so that we 
9162         never attempt to choose a new clock unless we're actually leaving
9163         the PAUSED state for the first time. This prevents choosing a
9164         different clock when the state_change gets called for a 2nd time due
9165         to some element doing an async state change.
9166
9167 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9168
9169         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9170         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9171         (gst_pad_chain_unchecked), (gst_pad_push):
9172         Revert last commit. This needs some more thoughts.
9173
9174 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9175
9176         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9177         (gst_pad_chain_unchecked), (gst_pad_push):
9178         Check in set_caps if the caps are compatible with the pad and remove
9179         two functions that are redundant now. Fixes #421543.
9180
9181 2007-03-22  Wim Taymans  <wim@fluendo.com>
9182
9183         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9184         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9185         Unref some more to make valgrind happy.
9186
9187 2007-03-22  Wim Taymans  <wim@fluendo.com>
9188
9189         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9190         (gst_system_clock_id_wait_jitter),
9191         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9192         Fix anoying regression that survived a few releases. When adding an
9193         async entry while blocking on a sync entry, the sync entry will unblock
9194         but still be busy, so it should continue to wait instead of returning
9195         _BUSY to the app.
9196         Add some comments here and there.
9197
9198         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9199         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9200         Add testcase for this.
9201
9202 2007-03-22  Wim Taymans  <wim@fluendo.com>
9203
9204         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9205         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9206         WRONG_STATE and can silently pause the task. All other cases should
9207         error out.
9208
9209 2007-03-22  Wim Taymans  <wim@fluendo.com>
9210
9211         Patch by: Ville Syrjala <syrjala at sci dot fi>
9212
9213         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9214         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9215         Improve debugging.
9216
9217 2007-03-21  Michael Smith  <msmith@fluendo.com>
9218
9219         * docs/pwg/advanced-types.xml:
9220           Fix some errors in the typefinding docs pointed out on irc.
9221
9222 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9223
9224         * libs/gst/base/gstbasesrc.c:
9225         Clarify FIXME comment in the face of having added unlock_stop()
9226
9227 2007-03-21  Wim Taymans  <wim@fluendo.com>
9228
9229         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9230         Prepare for release where we warn against possible app breakage in the
9231         case of live pipelines along with an env var to enable/disable live
9232         preroll mode (GST_COMPAT=[no-]live-preroll).
9233
9234 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9235
9236         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9237         So we should use correct constants for checking for None offset.
9238
9239 2007-03-20  Wim Taymans  <wim@fluendo.com>
9240
9241         * docs/design/part-block.txt:
9242         Mention the fact that the newly switched element should be set to at
9243         least PAUSED.
9244
9245 2007-03-20  Wim Taymans  <wim@fluendo.com>
9246
9247         * gst/gst.c:
9248         Fix compilation with registry disabled as spotted by Saur.
9249
9250 2007-03-20  Wim Taymans  <wim@fluendo.com>
9251
9252         Patch by: Olivier Crete <tester at tester dot ca>
9253
9254         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9255         Look at the pending state too when syncing the element state to the
9256         parent. Fixes #420133.
9257
9258 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9259
9260         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9261         (gst_base_sink_change_state):
9262         * libs/gst/base/gstbasesink.h:
9263         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9264         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9265         (gst_base_src_deactivate):
9266         * libs/gst/base/gstbasesrc.h:
9267         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9268         for sub-classes to correctly clear any state they set trying to
9269         unlock, such as clearing out unlock commands from a command fd.
9270         API: basesrc::unlock_stop
9271         API: basesink::unlock_stop
9272
9273         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9274         (gst_fd_sink_render), (gst_fd_sink_unlock),
9275         (gst_fd_sink_unlock_stop):
9276         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9277         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9278         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9279
9280         Implement unlock_stop in fdsrc and fdsink.
9281         Implement seeking in fdsrc when a seekable fd is passed, as in
9282         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9283
9284 2007-03-19  Wim Taymans  <wim@fluendo.com>
9285
9286         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9287
9288         * gst/gstelement.c: (gst_element_class_init):
9289         Fix pad-added and pad-removed signal signatures so that the pad type is
9290         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9291
9292 2007-03-19  Wim Taymans  <wim@fluendo.com>
9293
9294         * docs/gst/gstreamer-sections.txt:
9295         Add new element field and method.
9296
9297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9298         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9299         (gst_bin_recalc_state), (gst_bin_get_state_func),
9300         (gst_bin_element_set_state), (gst_bin_change_state_func),
9301         (gst_bin_continue_func), (bin_bus_handler),
9302         (bin_push_state_continue), (bin_handle_async_start),
9303         (bin_handle_async_done), (gst_bin_handle_message_func):
9304         Make async state changes a bit smarter by using new ASYNC_START and
9305         ASYNC_DONE messages. This reduces the number of times we run the state
9306         recalculation thread.
9307         Don't change state of element with a pending ASYNC_START message.
9308         Deprecate STATE_DIRTY messages.
9309         
9310         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9311         (gst_element_get_state_func), (gst_element_continue_state),
9312         (gst_element_lost_state), (gst_element_set_state_func),
9313         (gst_element_change_state):
9314         * gst/gstelement.h:
9315         Keep the state that was last set by the app in a new element field.
9316         Don't allow state changes when handling an element event.
9317         Post ASYNC_START and ASYNC_DONE messages.
9318         Change lost_state so that we go to PAUSED and wait for the parent to set
9319         us to PLAYING again (so latency calculation can be performed)
9320         Export gst_element_change_state() method so that subclasses can use it.
9321         API: gst_element_change_state()
9322         API: GST_STATE_TARGET
9323
9324         * gst/gstpipeline.c: (gst_pipeline_class_init),
9325         (reset_stream_time), (gst_pipeline_change_state),
9326         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9327         Using the new ASYNC_START message we can reset the base_time when
9328         needed. This can then be used to implement base_time redistribution in
9329         flushing seeks so that we can remove the explicit seek handling.
9330         Perform latency query and configuration when going to PLAYING.
9331
9332         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9333         (gst_base_sink_query), (gst_base_sink_change_state):
9334         Post new ASYNC_START/ASYNC_DONE messages.
9335
9336         * tests/check/generic/sinks.c: (GST_START_TEST):
9337         Fix test because the bin will not set the async element to PLAYING right
9338         away.
9339
9340         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9341         Make the message check a little stronger.
9342         Handle ASYNC messages.
9343
9344         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9345         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9346         Expect ASYNC_DONE messages.
9347
9348 2007-03-19  Wim Taymans  <wim@fluendo.com>
9349
9350         * docs/gst/gstreamer-sections.txt:
9351         * gst/gstmessage.c: (gst_message_new_async_start),
9352         (gst_message_new_async_done), (gst_message_parse_info),
9353         (gst_message_parse_async_start):
9354         * gst/gstmessage.h:
9355         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9356         support.
9357
9358 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9359
9360         * tools/gst-inspect.c:
9361         (print_plugin_automatic_install_info_codecs):
9362           Now that we don't check for the 'Codec' keyword any longer in the
9363           klass, we shouldn't spew a warning if the klass isn't a decoder or
9364           encoder (since it might be a Source/Network, for example).
9365
9366 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9367
9368         * tools/gst-inspect.c:
9369         (print_plugin_automatic_install_info_codecs):
9370           Don't require decoder/demuxer/depayloader elements or
9371           encoder/muxer/paylader elements to have 'Codec' as part of their
9372           factory class string when introspecting a plugin's capabilities.
9373           draft-klass.txt mentions that it might be removed in future, and
9374           flump3dec doesn't have it as part of its class string, so chances
9375           are others might also not have it.
9376
9377 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9378
9379         * po/af.po:
9380         * po/az.po:
9381         * po/bg.po:
9382         * po/ca.po:
9383         * po/cs.po:
9384         * po/de.po:
9385         * po/en_GB.po:
9386         * po/fr.po:
9387         * po/it.po:
9388         * po/nb.po:
9389         * po/nl.po:
9390         * po/ru.po:
9391         * po/sq.po:
9392         * po/sr.po:
9393         * po/sv.po:
9394         * po/tr.po:
9395         * po/uk.po:
9396         * po/vi.po:
9397         * po/zh_CN.po:
9398         * po/zh_TW.po:
9399           Update translations from translation project
9400
9401 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9402
9403         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9404         (gst_child_proxy_set_property):
9405           Invert precondition check to be alike the ones in the mimiced gobject
9406           api.
9407
9408 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9409
9410         * docs/design/draft-tagreading.txt:
9411         * docs/random/ensonic/audiobaseclasses.txt:
9412           Do some Architect work.
9413
9414         * gst/gstobject.c: (gst_object_set_name):
9415           Add a WARNING.
9416
9417         * gst/gstpad.c:
9418           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9419
9420 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9421
9422         * gst/gstsystemclock.c: (gst_system_clock_init),
9423         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9424         Defer starting the async system clock thread until the first async
9425         wait is scheduled. Fixes #414986.
9426
9427 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9428
9429         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9430         (gst_single_queue_free):
9431           Fix small leak (free GstSingleQueue structure too, not only contents).
9432
9433 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9434
9435         * gst/gstbin.c:(gst_bin_add):
9436         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9437         * win32/common/libgstbase.def:
9438         * win32/common/libgstreamer.def:
9439         Add new exported functions.
9440
9441 2007-03-09  Wim Taymans  <wim@fluendo.com>
9442
9443         * docs/plugins/gstreamer-plugins-sections.txt:
9444         Fix GstTee docs.
9445
9446 2007-03-09  Wim Taymans  <wim@fluendo.com>
9447
9448         * docs/gst/gstreamer-sections.txt:
9449         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9450         * gst/gstbuffer.h:
9451         Add metadata copy functions. Fixes #393099.
9452         API: gst_buffer_copy_metadata()
9453
9454         * gst/gstutils.c: (gst_buffer_stamp):
9455         * libs/gst/base/gstbasetransform.c:
9456         (gst_base_transform_prepare_output_buffer):
9457         Use new metadata copy functions.
9458
9459 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9460
9461         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9462         (gst_identity_init), (gst_identity_check_perfect),
9463         (gst_identity_check_imperfect_timestamp),
9464         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9465         (gst_identity_set_property), (gst_identity_get_property):
9466         * plugins/elements/gstidentity.h:
9467         Separate out check-imperfect-timestamp and check-imperfect-offset.
9468         Put back check-perfect as it was to keep compatibility.
9469
9470 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9471
9472         * gst/gstelement.c: (gst_element_dispose):
9473         There's no need to warn if VOID_PENDING is not NONE here, as
9474         long as the state is NULL it's ok, and that's checked immediately
9475         above.
9476
9477 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9478
9479         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9480         Fix check for perfect stream to ignore buffers with -1 
9481         offsets/offset ends when checking data contiguity.
9482
9483 2007-03-08  Wim Taymans  <wim@fluendo.com>
9484
9485         * tools/gst-launch.c: (event_loop):
9486         Print INFO messages.
9487
9488 2007-03-08  Wim Taymans  <wim@fluendo.com>
9489
9490         * libs/gst/base/gstbasetransform.c:
9491         (gst_base_transform_sink_eventfunc),
9492         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9493         (gst_base_transform_activate):
9494         * libs/gst/base/gstbasetransform.h:
9495         Add support for dropping buffers with custom GstFlowReturn.
9496         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9497         buffers or dropped buffers.
9498
9499         * docs/libs/gstreamer-libs-sections.txt:
9500         docs for new custom return code.
9501
9502         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9503         Use drop support in base class to implement drop-probability.
9504
9505 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9506
9507         * gst/gst.c: (load_plugin_func):
9508         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9509         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9510         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9511           Remove newlines at end of debug log strings.
9512
9513 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9514
9515         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9516         Only post bus message at max, once per buffer received.
9517
9518 2007-03-07  Wim Taymans  <wim@fluendo.com>
9519
9520         * docs/design/Makefile.am:
9521         * docs/design/part-synchronisation.txt:
9522         Add doc about synchronisation
9523
9524         * docs/design/draft-latency.txt:
9525         * docs/design/part-TODO.txt:
9526         * docs/design/part-clocks.txt:
9527         * docs/design/part-events.txt:
9528         * docs/design/part-gstbus.txt:
9529         * docs/design/part-gstpipeline.txt:
9530         * docs/design/part-live-source.txt:
9531         * docs/design/part-messages.txt:
9532         * docs/design/part-overview.txt:
9533         * docs/design/part-streams.txt:
9534         * docs/design/part-trickmodes.txt:
9535         Documentation updates.
9536
9537 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9538
9539         * gstreamer.doap:
9540         Update the doap file.
9541
9542 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9543
9544         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9545         Rename non-perfect to imperfect for Mike and for the sanctity of the
9546         language.
9547         Also make sure bus message gets emitted for data-incontiguities.
9548
9549 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9550
9551         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9552         (gst_identity_start):
9553         * plugins/elements/gstidentity.h:
9554         Emit bus message if check-perfect is true and we encounter a
9555         non-perfect stream between 2 consecutive buffers.
9556         Fixes #415394.
9557
9558 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9559
9560         * configure.ac:
9561         Back to CVS
9562
9563 === release 0.10.12 ===
9564
9565 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9566
9567         * configure.ac:
9568           releasing 0.10.12, "Inevitable Demise"
9569
9570 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9571
9572         * configure.ac:
9573          Version 0.10.11.2 (0.10.12 pre-release)
9574          Bump libtool versioning.
9575
9576 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9577
9578         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9579           Log flow-names and not numbers.
9580
9581 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9582
9583         * configure.ac:
9584           Convert to new AG_GST style.
9585
9586 2007-02-28  Wim Taymans  <wim@fluendo.com>
9587
9588         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9589         Don't unref query twice.
9590
9591 2007-02-28  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/gstvalue.c: (gst_value_transform_object_string),
9594         (_gst_value_initialize):
9595         Implement GstObject -> string transform so we print object names
9596         when serializing GValues containing GstObjects.
9597
9598 2007-02-28  Wim Taymans  <wim@fluendo.com>
9599
9600         * docs/gst/gstreamer-sections.txt:
9601         Add new stuff to docs.
9602
9603 2007-02-28  Wim Taymans  <wim@fluendo.com>
9604
9605         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9606         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9607         (gst_base_sink_change_state):
9608         Improve latency query code.
9609         Don't leak latency events.
9610
9611         * tests/check/gst/gstbin.c: (GST_START_TEST):
9612         Improve debugging.
9613
9614 2007-02-28  Wim Taymans  <wim@fluendo.com>
9615
9616         * gst/gstelement.c: (gst_element_message_full),
9617         (gst_element_get_state_func):
9618         * gst/gstelement.h:
9619         Improve docs a little. Added Since: for new macro.
9620
9621         * gst/gstobject.c: (gst_object_sink):
9622         * gst/gstpipeline.c: (gst_pipeline_change_state),
9623         (gst_pipeline_set_new_stream_time):
9624         * gst/gstpipeline.h:
9625         Improve debugging and docs.
9626
9627         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9628         Improve debugging.
9629
9630 2007-02-28  Wim Taymans  <wim@fluendo.com>
9631
9632         * gst/gstelement.c: (gst_element_message_full),
9633         (gst_element_set_locked_state), (gst_element_get_state_func),
9634         (gst_element_change_state):
9635         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9636         Documentation updates.
9637         Small code cleanups.
9638
9639         * gst/gstmessage.c: (gst_message_new_info),
9640         (gst_message_parse_info):
9641         * gst/gstmessage.h:
9642         API: gst_message_new_info()
9643         API: gst_message_parse_info()
9644         Add INFO message create and parse code.
9645
9646 2007-02-28  Wim Taymans  <wim@fluendo.com>
9647
9648         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9649         (bin_query_latency_done):
9650         Also report the live parameter of a latency query.
9651
9652 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9653
9654         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9655           Copy the current generic/states example from -base and adapt so
9656           we can use the exact same code everywhere.
9657           Check a STATES_IGNORE_ELEMENTS env var which can be used
9658           to ignore certain element factories for this test, which is
9659           what is being done in -base
9660         * tests/check/Makefile.am:
9661           Mention this environment variable.
9662
9663 2007-02-27  Wim Taymans  <wim@fluendo.com>
9664
9665         * docs/gst/gstreamer-sections.txt:
9666         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9667         (gst_bus_timed_pop), (gst_bus_pop):
9668         * gst/gstbus.h:
9669         API: gst_bus_timed_pop()
9670         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9671         message to arrive on the bus.
9672
9673         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9674         (gst_bus_suite):
9675         Two unit tests for new _timed_pop() function.
9676
9677 2007-02-23  Wim Taymans  <wim@fluendo.com>
9678
9679         * gst/gstpipeline.c: (gst_pipeline_change_state),
9680         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9681         Don't ref a NULL clock in _provide_clock_func().
9682         Don't allow an INVALID delay.
9683         Don't try to calculate base_time with an invalid start_time.
9684         Also distribute and notify a NULL clock when it was selected.
9685
9686         * tools/gst-launch.c: (event_loop):
9687         Don't crash when a NULL clock was selected in the pipeline.
9688
9689 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9690
9691         * docs/design/Makefile.am:
9692         * docs/design/draft-missing-plugins.txt:
9693         * docs/random/draft-missing-plugins.txt:
9694           Some small updates: update plugin system identifier prefix
9695           ('gstreamer.net' to 'gstreamer'), mention our new install
9696           API in libgstbaseutils rather than libgimme-codec, add
9697           reference to the online docs.
9698
9699 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9700
9701         * win32/common/config.h:
9702           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9703           use moap cl ci to only check in what is mentioned in the ChangeLog.
9704
9705 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9706
9707         * docs/gst/gstreamer-sections.txt:
9708         * gst/gstelement.h:
9709           Fix up documentation to link to the correct GstGError section.
9710           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9711
9712 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9713
9714         * tools/gst-launch.c: (event_loop):
9715           Make sure that we actually show the important message part of a
9716           warning message.
9717           No need to check if the gerror is not NULL to free; first of all
9718           g_free accepts NULL; and second the default error handler would
9719           segfault if gerror was NULL.
9720
9721 2007-02-21  Wim Taymans  <wim@fluendo.com>
9722
9723         * docs/gst/gstreamer-sections.txt:
9724         Removed docs as well.
9725
9726 2007-02-21  Wim Taymans  <wim@fluendo.com>
9727
9728         * gst/gstmessage.c: (gst_message_parse_duration):
9729         * gst/gstmessage.h:
9730         Remove new messages for release.
9731
9732 2007-02-20  Wim Taymans  <wim@fluendo.com>
9733
9734         * docs/design/part-gstghostpad.txt:
9735         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9736         (gst_ghost_pad_new_full):
9737         Make the ghostpad a parent of the internal pad again for better backward
9738         compatibility. Don't write code that relies on this however.
9739
9740         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9741         (gst_pad_link_check_hierarchy):
9742         Require that parents should be GstElements in the hierarchy check.
9743
9744 2007-02-20  Wim Taymans  <wim@fluendo.com>
9745
9746         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9747         (gst_bin_change_state_func), (bin_query_min_max_init),
9748         (bin_query_latency_fold), (bin_query_latency_done),
9749         (gst_bin_query):
9750         Improve debug info.
9751         Implement latency query.
9752
9753 2007-02-20  Wim Taymans  <wim@fluendo.com>
9754
9755         * docs/design/part-gstghostpad.txt:
9756         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9757         (gst_ghost_pad_internal_do_activate_push),
9758         (gst_ghost_pad_internal_do_activate_pull),
9759         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9760         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9761         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9762         Do not set the internal pad as a parent anymore so we can avoid
9763         hierarchy linking errors when the ghostpad has no parent yet. This also
9764         fixes failed activation because of unlinked internal pads, which in
9765         turn fixes the impossible case where you have to activate a pad before
9766         you can add it to a running element.
9767         Also fix the docs.
9768
9769         * gst/gstpad.c: (pre_activate), (post_activate),
9770         (gst_pad_set_active), (gst_pad_activate_pull),
9771         (gst_pad_activate_push), (gst_pad_check_pull_range):
9772         Add some more debug info.
9773         Mark activation mode in pre_activate so that we don't try to activate in
9774         endless loops. Fixes #385084.
9775
9776 2007-02-19  Wim Taymans  <wim@fluendo.com>
9777
9778         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9779         (gst_base_transform_check_get_range):
9780         Implement a checkgetrange function instead of relying on the default
9781         core behaviour that assumes we can operate in pull mode if we have a
9782         getrange function. First step at fixing #385084.
9783
9784 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9785
9786         * gst/gstchildproxy.h:
9787         * libs/gst/base/gstbasesink.h:
9788         * libs/gst/base/gstbasesrc.h:
9789         * libs/gst/base/gstbasetransform.h:
9790         More docs coverage and some ChangeLog surgery (add missing names)
9791
9792 2007-02-15  Wim Taymans  <wim@fluendo.com>
9793
9794         * docs/design/part-TODO.txt:
9795         * docs/design/part-activation.txt:
9796         * docs/design/part-block.txt:
9797         * docs/design/part-buffering.txt:
9798         * docs/design/part-clocks.txt:
9799         * docs/design/part-element-source.txt:
9800         * docs/design/part-events.txt:
9801         * docs/design/part-gstbin.txt:
9802         * docs/design/part-gstbus.txt:
9803         * docs/design/part-gstpipeline.txt:
9804         * docs/design/part-live-source.txt:
9805         * docs/design/part-messages.txt:
9806         * docs/design/part-overview.txt:
9807         * docs/design/part-qos.txt:
9808         * docs/design/part-query.txt:
9809         * docs/design/part-states.txt:
9810         * docs/design/part-trickmodes.txt:
9811         Some doc updates. Start renaming from stream_time to running_time where
9812         it was used wrongly.
9813
9814 2007-02-15  Wim Taymans  <wim@fluendo.com>
9815
9816         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9817         Answer LATENCY query.
9818
9819 2007-02-15  Wim Taymans  <wim@fluendo.com>
9820
9821         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9822         (GST_START_TEST):
9823         Improve debugging.
9824
9825 2007-02-15  Wim Taymans  <wim@fluendo.com>
9826
9827         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9828         (gst_pad_dispatcher):
9829         Improve debugging of default pad dispatcher and query functions.
9830
9831 2007-02-15  Wim Taymans  <wim@fluendo.com>
9832
9833         * docs/gst/gstreamer-sections.txt:
9834         Remove old unused method.
9835
9836 2007-02-13  Wim Taymans  <wim@fluendo.com>
9837
9838         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9839         Fix check
9840
9841 2007-02-13  Wim Taymans  <wim@fluendo.com>
9842
9843         * docs/design/part-seeking.txt:
9844         Some small update.
9845
9846         * gst/gstsegment.c: (gst_segment_set_seek):
9847         Revert old bogus change that should make seeking work again.
9848
9849 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9850
9851         * docs/random/ensonic/dynlink.txt:
9852         * docs/random/ensonic/interfaces.txt:
9853         * docs/random/ensonic/receipies.txt:
9854           Possible dynamic reconnection api, plus some type fixes the other two
9855           docs.
9856
9857 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9858
9859         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9860         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9861         Also check for an absolute path following file:// in the filesrc
9862         element. Remove redundant check and call g_path_is_absolute() on the
9863         unescaped location.
9864
9865 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9866
9867         * docs/design/draft-klass.txt:
9868           Add existing category analysis.
9869           
9870         * gst/gstcaps.c:
9871           Fix doc example, framerate is a fraction.
9872
9873 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9874
9875         * configure.ac:
9876         * docs/gst/Makefile.am:
9877         * docs/gst/gstreamer-sections.txt:
9878         * docs/libs/Makefile.am:
9879           Erm, forgot a bunch of --extra-dir.
9880
9881 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
9882
9883         * configure.ac:
9884         * docs/gst/Makefile.am:
9885         * docs/libs/Makefile.am:
9886         * docs/plugins/Makefile.am:
9887           Add crossreferences to glib/gobject docs.
9888
9889 2007-02-12  Wim Taymans  <wim@fluendo.com>
9890
9891         * docs/design/draft-latency.txt:
9892         Small update.
9893
9894         * docs/libs/gstreamer-libs-sections.txt:
9895         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9896         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9897         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9898         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9899         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9900         (gst_base_sink_get_position), (gst_base_sink_query),
9901         (gst_base_sink_change_state):
9902         * libs/gst/base/gstbasesink.h:
9903         API: gst_base_sink_query_latency() to let subclasses query the upstream
9904         latency.
9905         API: gst_base_sink_get_latency() to let subclasses query the configured
9906         latency in the sink.
9907         Implement query and set latency.
9908         Update some docs.
9909         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9910         don't continue preroll when we are flushing. Fixes #405284.
9911
9912         * tests/check/pipelines/stress.c: (change_state_timeout),
9913         (quit_timeout), (GST_START_TEST), (stress_suite):
9914         Test for #405284.
9915
9916 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9917
9918         Patch by: René Stadler <mail at renestadler de>
9919
9920         * docs/gst/gstreamer-sections.txt:
9921         * gst/gsttaglist.c: (_gst_tag_initialize):
9922         * gst/gsttaglist.h:
9923           API: add GST_TAG_REFERENCE_LEVEL (#403597).
9924
9925 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
9926
9927         * docs/libs/Makefile.am:
9928           Fix path to core docs.
9929
9930         * gst/gstbin.c: (gst_bin_get_by_interface),
9931         (gst_bin_iterate_all_by_interface):
9932           Refix docs by also renaming 'interface' to 'iface' in implementation.
9933
9934         * docs/gst/gstreamer-sections.txt:
9935         * gst/gstcaps.c:
9936         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9937         * gst/gstchildproxy.h:
9938         * gst/gstelementfactory.c:
9939         * gst/gstpadtemplate.h:
9940         * libs/gst/controller/gstcontroller.c:
9941         (gst_controlled_property_new):
9942           Document more.
9943
9944 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
9945
9946         * gst/gstbin.h:(gst_bin_get_by_interface),
9947         (gst_bin_iterate_all_by_interface):
9948         Replace interface parameter name by iface as interface is 
9949         a reserved keyword in Visual Studio for C++ projects so it removes
9950         a build error for application developpers using VS.
9951         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9952         Fix a bug on Windows in uri format check. Now the prefix checked
9953         is file:// and next we check if the path after file:// is absolute.
9954         * win32/common/libgstbase.def:
9955         * win32/common/libgstdataprotocol.def:
9956         * win32/common/libgstgstreamer.def:
9957         Add new exported functions.
9958
9959 2007-02-09  Andy Wingo  <wingo@pobox.com>
9960
9961         * tests/check/pipelines/simple-launch-lines.c
9962         (simple_launch_lines_suite, test_tee): Disable tee test until I
9963         have time to fix it :-(
9964
9965         * tests/check/Makefile.am (noinst_HEADERS): 
9966         * tests/check/libs/libsabi.c: 
9967         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9968         * tests/check/gst/gstabi.c: 
9969         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9970
9971         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9972         tests for push and pull tee behavior.
9973
9974         * plugins/elements/gsttee.h: 
9975         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9976         mark as deprecated as well as unimplemented. It was a crack idea.
9977         Add support for tee operating in pull mode, off by default.
9978
9979         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9980         normal-case logs down to LOG, raise errors to WARNING.
9981         (gst_registry_xml_read_cache): Don't log before calling a function
9982         that logs.
9983
9984         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9985         exit (registry finalize).
9986         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9987         DEBUG log when we emit signals that people don't even have the
9988         chance to connect to.
9989         (gst_registry_scan_path_level): Less logging in the normal case.
9990
9991 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
9992
9993         Patch by: Michal Benes <michal dot benes at itonis dot tv>
9994
9995         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9996         Correctly generate EOS for non-seekable files. We don't have a total
9997         length for them and would get an unexpected end of file if we only
9998         special-cased for regular files. (Fixes: #404569)
9999
10000 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10001
10002         * tests/check/elements/filesrc.c: (GST_START_TEST),
10003         (filesrc_suite):
10004         Add unit test for the GstURIHandler interface in filesrc. This also
10005         tests the newly added file://localhost/foo/bar support.
10006
10007 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10008
10009         * gst/gstelementfactory.h:
10010           The klass string is not a hierarchy. Add reference to the design doc
10011           for more information and common types.
10012
10013 2007-02-02  Wim Taymans  <wim@fluendo.com>
10014
10015         * gst/gstquery.c: (gst_query_new_latency):
10016         Remove old structure field.
10017
10018 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10019
10020         * tools/gst-launch.1.in:
10021           Give example for network streaming (#351998)
10022
10023 2007-02-02  Wim Taymans  <wim@fluendo.com>
10024
10025         * docs/gst/gstreamer-sections.txt:
10026         Add docs for new methods.
10027
10028         * gst/gstevent.c: (gst_event_new_latency),
10029         (gst_event_parse_latency):
10030         * gst/gstevent.h:
10031         Add new LATENCY event to configure latency in a pipeline.
10032         API: gst_event_new_latency
10033         API: gst_event_parse_latency
10034
10035         * gst/gstmessage.c: (gst_message_new_buffering),
10036         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10037         (gst_message_new_latency), (gst_message_parse_buffering),
10038         (gst_message_parse_lost_preroll):
10039         * gst/gstmessage.h:
10040         Added messages used in draft-latency.
10041         API: gst_message_new_lost_preroll
10042         API: gst_message_parse_lost_preroll
10043         API: gst_message_new_prerolled
10044         API: gst_message_new_latency
10045
10046         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10047         (gst_query_parse_latency):
10048         * gst/gstquery.h:
10049         Implemented new latency query as in design doc.
10050         API: gst_query_new_latency
10051         API: gst_query_set_latency
10052         API: gst_query_parse_latency
10053
10054 2007-02-02  Wim Taymans  <wim@fluendo.com>
10055
10056         * docs/design/draft-latency.txt:
10057         Slight redesign to allow for dynamic latency adjustments.
10058
10059         * docs/design/part-negotiation.txt:
10060         Fix some typos.
10061
10062 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10063
10064         reviewed by: Wim Taymans <wim@fluendo.com>
10065
10066         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10067         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10068         Allow file://localhost/foo/bar URLs and correctly fail for every other
10069         hostname that one sets. This was gnomevfssrc is linked for those if
10070         installed as it can handle it (#403172)
10071
10072 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10073
10074         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10075
10076         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10077         (unref_data), (gst_collect_pads_add_pad_full):
10078         * libs/gst/base/gstcollectpads.h:
10079         Don't put the previously added destroy notify in the GstCollectData
10080         struct as all it's padding is already used and we don't want to break
10081         ABI. Instead put in the pad's GObject data for now. This should be
10082         cleaned up for 0.11 (#402393).
10083
10084 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10085
10086         reviewed by: Wim Taymans <wim@fluendo.com>
10087
10088         * docs/libs/gstreamer-libs-sections.txt:
10089         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10090         (unref_data), (gst_collect_pads_add_pad),
10091         (gst_collect_pads_add_pad_full):
10092         * libs/gst/base/gstcollectpads.h:
10093         API: Add function to specify a destroy notification for custom
10094         GstCollectData when adding new pads in GstCollectPads (#402393).
10095
10096 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10097
10098         * po/sv.po:
10099           Update Swedish translation (#378255).
10100
10101 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10102
10103         * docs/design/draft-klass.txt:
10104           Fix the previous change, this is a list of categories and not a hierarchy.
10105
10106 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10107
10108         * docs/design/draft-klass.txt:
10109           Add info about how to get a list of used classes.
10110
10111 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10112
10113         * plugins/elements/gsttypefindelement.c:
10114         (gst_type_find_element_chain_do_typefinding),
10115         (gst_type_find_element_change_state):
10116           Don't leak found caps in chain function (no idea why that never
10117           showed up as a leak anywhere).
10118
10119 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10120
10121         * gst/gstplugin.h:
10122           Fix and expand GstPluginDesc API docs.
10123
10124 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10125
10126         * gst/gstcaps.c:
10127         * gst/gstelementfactory.c:
10128         * gst/gstpadtemplate.h:
10129           api doc fixes
10130
10131         * libs/gst/controller/gstcontroller.c:
10132         (gst_controlled_property_new):
10133         * tests/examples/controller/audio-example.c:
10134           comment fixes
10135
10136 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10137
10138         * configure.ac:
10139           comment about refining the xml deps
10140
10141         * docs/manuals.mak:
10142           comments about moving away from jade for docs
10143         
10144         * gst/gst.c:
10145           recommit the ifdefs to use the binary registry
10146         
10147         * gst/gstbin.c: (gst_bin_change_state_func):
10148           this break is obsolete
10149
10150         * gst/gstelementfactory.h:
10151           better GST_ELEMENT_DETAILS docs, add comment about translation
10152
10153         * gst/gstinfo.h:
10154           remove eol slash
10155
10156         * gst/gstobject.c: (gst_signal_object_get_type):
10157           add G_UNLIKELY as usual
10158
10159         * gst/gstpad.c: (gst_pad_event_default):
10160           add fall trhu comment
10161
10162         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10163         (gst_registry_binary_initialize_magic),
10164         (gst_registry_binary_save_string),
10165         (gst_registry_binary_save_pad_template),
10166         (gst_registry_binary_save_feature),
10167         (gst_registry_binary_save_plugin),
10168         (gst_registry_binary_write_cache),
10169         (gst_registry_binary_check_magic),
10170         (gst_registry_binary_load_pad_template),
10171         (gst_registry_binary_load_feature),
10172         (gst_registry_binary_load_plugin),
10173         (gst_registry_binary_read_cache):
10174           comment typo and formatting
10175
10176         * gst/gstutils.c: (gst_element_state_get_name),
10177         (gst_element_state_change_return_get_name):
10178           remove obsolete breaks
10179
10180         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10181           add FIXME 0.11 and remove cpp comment
10182
10183 2007-01-29  Edward Hervey  <edward@fluendo.com>
10184
10185         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10186         Fix print statement in an even more portable way.
10187
10188 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10189
10190         * docs/gst/gstreamer-sections.txt:
10191         * gst/gstutils.h:
10192           API: add GST_ROUND_DOWN_* macros (#401781).
10193
10194 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10195
10196         * docs/gst/gstreamer.types.in:
10197         * gst/gstregistry.c: (gst_registry_class_init):
10198           Document registry signals and make gtk-doc pick them up (#401381).
10199
10200 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10201
10202         * docs/pwg/building-testapp.xml:
10203           Add some audioconverts and audioresample to the pipeline, and some
10204           more comments and error handling.
10205
10206 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10207
10208         * docs/manual/manual.xml:
10209         * docs/pwg/pwg.xml:
10210           Fix typo (#400987).
10211
10212 2007-01-26  Wim Taymans  <wim@fluendo.com>
10213
10214         * gst/gstcaps.c: (gst_static_caps_get):
10215         Init caps flags too.
10216
10217 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10218
10219         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10220
10221         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10222         If not using mmap'ed files try to seek to the end instead of the
10223         start to determine whether we can seek at all. This fixes the case
10224         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10225         seeks for everything afterwards fail. Fixes #400656
10226
10227 2007-01-25  Wim Taymans  <wim@fluendo.com>
10228
10229         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10230         Add some refcount debugging.
10231         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10232         in multiple streaming threads.
10233
10234 2007-01-25  Wim Taymans  <wim@fluendo.com>
10235
10236         Patch by: David Schleef <ds at schleef dot org>
10237
10238         * docs/libs/gstreamer-libs-sections.txt:
10239         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10240         * libs/gst/base/gstadapter.h:
10241         API: gst_adapter_copy() that can reduce the amount of memcpy when
10242         getting data from the adapter. Fixes #388201.
10243
10244 2007-01-25  Edward Hervey  <edward@fluendo.com>
10245
10246         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10247         In print statements, "%x" is for guint. Fixes build on macosx.
10248
10249 2007-01-24  Edward Hervey  <edward@fluendo.com>
10250
10251         * plugins/elements/gstmultiqueue.c:
10252         (gst_multi_queue_loop):
10253         Small fix.
10254         (single_queue_overrun_cb), (single_queue_underrun_cb),
10255         (single_queue_check_full), (gst_single_queue_new):
10256         Implement single queue growth system.
10257         This uses the extra-size properties, and will grow single queues by
10258         that much if one goes full whereas there are others empty. This is
10259         called extra-mode in the code.
10260         When a single queue's levels go back below the initial max-size
10261         limits, it is no longer in extra-mode. This is to ensure we don't
10262         consume too much memory.
10263         Fixes #399875
10264
10265 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10266
10267         * gst/gst.c: (gst_init_get_option_group):
10268           Make warning about late g_thread_init() calls a bit more explicit,
10269           so that it's more obvious to application developers what they need
10270           to do if a user files a bug against their application.
10271
10272 2007-01-22  Edward Hervey  <edward@fluendo.com>
10273
10274         * plugins/elements/gstmultiqueue.c:
10275         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10276         Remove previous hack of unsetting the flushing flag for the source pad
10277         instead of activating it. Instead, fix the source pad activate function
10278         so that it no longer depends on having a parent set or not.
10279
10280 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10281
10282         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10283
10284         * docs/manual/basics-bus.xml:
10285           Fix example code, gst_element_unref() doesn't exist any longer.
10286
10287 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10288
10289         Patch by: Mark Nauwelaerts <manauw at skynet be>
10290
10291         * gst/gstpad.c:
10292           Fix two docs typoes (#399094).
10293
10294 2007-01-19  Edward Hervey  <edward@fluendo.com>
10295
10296         * docs/faq/gst-uninstalled:
10297         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10298         depending on libgstbaseutils can work in uninstalled environment.
10299
10300 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10301
10302         * gst/gsttaglist.h:
10303         * gst/gsttagsetter.c:
10304         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10305         statement for new tag.
10306
10307 2007-01-17  Edward Hervey  <edward@fluendo.com>
10308
10309         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10310         When dynamically creating single queues, activate sinkpad before adding
10311         it.
10312         We should be doing the same thing for the source pad, but we can't
10313         since it would call a method which needs the parent to be set in order
10314         to work propertly. Instead of activating the source pad, we just unset
10315         the flushing flag, which is the minimal requirement for adding a pad
10316         to an element in a state greater than READY.
10317
10318 2007-01-17  Edward Hervey  <edward@fluendo.com>
10319
10320         * docs/faq/gst-uninstalled:
10321         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10322         Mac OS X.
10323
10324 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10325
10326         * tests/check/gst/gstabi.c:
10327         * tests/check/gst/struct_hppa.h:
10328         * tests/check/libs/libsabi.c:
10329         * tests/check/libs/struct_hppa.h:
10330           Add ABI structs for HPPA (see #393796).
10331
10332 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10333
10334         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10335           Actually write ABI structs to the file specified in the GST_ABI
10336           environment variable, as the message we print claims we would.
10337
10338 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10339
10340         * tests/check/gst/gsttask.c:
10341           Fix header comment.
10342
10343 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10344
10345         * gst/gsttaglist.c: (_gst_tag_initialize):
10346           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10347           previous two entries.
10348
10349 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10350
10351         * docs/gst/gstreamer-sections.txt:
10352         * gst/gsttaglist.c: (_gst_tag_initialize):
10353         * gst/gsttaglist.h:
10354           Add tag support for beat-per-minute.
10355
10356 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10357
10358         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10359         (gst_registry_binary_initialize_magic),
10360         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10361         (gst_registry_binary_save_pad_template),
10362         (gst_registry_binary_save_feature),
10363         (gst_registry_binary_save_plugin),
10364         (gst_registry_binary_write_cache),
10365         (gst_registry_binary_check_magic),
10366         (gst_registry_binary_load_pad_template),
10367         (gst_registry_binary_load_feature),
10368         (gst_registry_binary_load_plugin),
10369         (gst_registry_binary_read_cache):
10370         * gst/gstregistrybinary.h:
10371           Use glib types, cleanup comments, impement interfaces and uri-types.
10372
10373 2007-01-13  Andy Wingo  <wingo@pobox.com>
10374
10375         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10376         getrange() to return buffers with other caps, while we fix
10377         demuxers and typefind, or otherwise change part-negotiation.txt.
10378
10379 2007-01-12  Andy Wingo  <wingo@pobox.com>
10380
10381         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10382         Factor start/stop into this private function instead of partially
10383         in activate functions and partially in the change_state function.
10384         Fixes setup before the element has changed from READY->PAUSED, as
10385         is the case in pull-mode pipelines.
10386         (gst_base_transform_sink_activate_push)
10387         (gst_base_transform_src_activate_pull): Refactor to use
10388         gst_base_transform_activate().
10389         (gst_base_transform_change_state): Removed, not needed any more.
10390
10391         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10392         Truncate before fixating.
10393         
10394         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10395         Don't set_caps() if the result of fixating is ANY, as it's not
10396         supported, and not necessary in the case of a link with no
10397         template caps on either side. Fixes tests/check/libs/basesrc in
10398         some pull-mode tests.
10399
10400         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10401         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10402         (gst_base_transform_src_activate_pull): 
10403         Track the activation mode.
10404         (gst_base_transform_setcaps): In pull mode, when activating the
10405         src pad, after activating the sink pad, activate the sink pad's
10406         peer, as discussed in part-negotiation.txt.
10407
10408         * libs/gst/base/gstbasesrc.h: 
10409         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10410         vmethod, as in basesink.
10411
10412         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10413
10414         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10415         mode, first proxy the setcaps to the peer pad.
10416         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10417         new fixate vmethod.
10418         (gst_base_sink_default_activate_pull): Rename from
10419         gst_base_sink_activate_pull.
10420         (gst_base_sink_negotiate_pull): New function, performs negotiation
10421         in pull mode before calling ::activate_pull().
10422         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10423         vmethod instead of the default implementation. I have no idea how
10424         this worked before. Negotiate before calling activate_pull.
10425
10426         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10427         sink pads in pull mode. In addition to being correct, fixes
10428         filesrc ! decodebin ! identity ! fakesink.
10429         (gst_pad_get_range, gst_pad_pull_range): Don't call
10430         gst_pad_set_caps() if the caps changes; instead error out with
10431         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10432
10433 2007-01-12  Andy Wingo  <wingo@pobox.com>
10434
10435         * docs/design/part-negotiation.txt: Update with more policy.
10436
10437 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10438
10439         * libs/gst/check/gstbufferstraw.h:
10440         * libs/gst/check/gstcheck.h:
10441           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10442           belongs.
10443
10444 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10445
10446         * tests/check/Makefile.am:
10447         * tests/check/gst/.cvsignore:
10448         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10449         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10450         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10451         (GST_START_TEST), (gst_tag_setter_suite):
10452           Add minimal unit test for beforementioned GstTagSetter bug.
10453
10454 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10455
10456         Patch by: René Stadler <mail at renestadler dot de>
10457
10458         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10459           gst_tag_list_merge() returns a new list, so it's not the best idea
10460           to ingore its return value. Effectively meant that tags could only
10461           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10462           Also add function guard to require a non-NULL taglist as input (has
10463           always been so due to gst_tag_list_copy(), just making it explicit).
10464
10465 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10466
10467         * docs/random/draft-missing-plugins.txt:
10468           Some additions: mention new API that is supposed to be used at the
10469           various stages; short blob about new gst-inspect introspection
10470           option; mention potential future problem with plugins that have
10471           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10472
10473 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10474
10475         * tools/gst-inspect.c:
10476         (print_plugin_automatic_install_info_codecs),
10477         (print_plugin_automatic_install_info_protocols),
10478         (print_plugin_automatic_install_info), (main):
10479         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10480         introspect plugin files and get machine-parsable output that corresponds
10481         to the last bit of the missing-plugin installer string (small gotcha:
10482         doesn't take into account ranks).
10483
10484 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10485
10486         * configure.ac:
10487         * docs/gst/gstreamer-sections.txt:
10488         * gst/Makefile.am:
10489         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10490         (gst_registry_lookup_locked):
10491         * gst/gstregistry.h:
10492         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10493         (gst_registry_binary_initialize_magic),
10494         (gst_registry_binary_save_string),
10495         (gst_registry_binary_save_pad_template),
10496         (gst_registry_binary_save_feature),
10497         (gst_registry_binary_save_plugin),
10498         (gst_registry_binary_write_cache),
10499         (gst_registry_binary_check_magic),
10500         (gst_registry_binary_load_pad_template),
10501         (gst_registry_binary_load_feature),
10502         (gst_registry_binary_load_plugin),
10503         (gst_registry_binary_read_cache):
10504         * gst/gstregistrybinary.h:
10505         * gst/gstregistryxml.c: (load_feature),
10506         (gst_registry_xml_read_cache):
10507           commit binary registry (disabled by default, see #359653)
10508
10509 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10510
10511         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10512           Fix 'make check' too.
10513
10514 2007-01-10  Andy Wingo  <wingo@pobox.com>
10515
10516         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10517         notes.
10518         
10519         * docs/design/part-negotiation.txt: Update with, um, one way that
10520         pull-mode negotiation might work?
10521
10522         * gst/gstpad.h: 
10523         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10524         that the pad must be a src pad; makes sense to call it the other
10525         way in pull mode, and the logic is symmetric anyway.
10526
10527 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10528
10529         * plugins/elements/gstfilesink.c:
10530           Include <stdio.h> for fseeko().
10531
10532 2007-01-10  Wim Taymans  <wim@fluendo.com>
10533
10534         * gst/gstevent.c:
10535         * gst/gstevent.h:
10536         Reserve LATENCY event.
10537
10538 2007-01-09  Wim Taymans  <wim@fluendo.com>
10539
10540         * docs/design/draft-latency.txt:
10541         Updates.
10542
10543 2007-01-09  Wim Taymans  <wim@fluendo.com>
10544
10545         * docs/design/draft-latency.txt:
10546         Updates.
10547
10548         * gst/gstelement.h:
10549         * gst/gststructure.c:
10550         * gst/gsttrace.c:
10551         Small typo fixes.
10552
10553 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10554
10555         * tests/check/.cvsignore:
10556           Ignore test-registry.xml as well.
10557
10558 2007-01-09  Wim Taymans  <wim@fluendo.com>
10559
10560         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10561         unref data at the end when we are done with the pad.
10562
10563 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10564
10565         * docs/gst/gstreamer-sections.txt:
10566         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10567         (init_post), (gst_deinit), (gst_update_registry):
10568         * gst/gst.h:
10569           API: add gst_update_registry() (#391296).
10570
10571         * tests/check/Makefile.am:
10572         * tests/check/gst/gstregistry.c:
10573         * tests/check/gst/.cvsignore:
10574           Simple unit test for the above.
10575
10576 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10577
10578         * gst/gstregistry.c: (gst_registry_scan_path_level):
10579           Plugin extension on HP-UX is .sl, add that to the list of approved
10580           plugin extensions (see #393796).
10581
10582         * tests/check/gst/gstpad.c: (GST_START_TEST):
10583           ulong => gulong. Fixes compilation with HP-UX compiler.
10584
10585         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10586           Fix compilation if valgrind headers are not available.
10587
10588 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10589
10590         * win32/common/libgstreamer.def: 
10591           Add new exported function.
10592         * win32/vs6/libgstbase.dsp: 
10593           Add gstdataqueue.c to the build.
10594         * win32/vs6/libgstcoreelements.dsp:
10595           Add gstmultiqueue.c to the build.
10596         
10597 2007-01-06  Andy Wingo  <wingo@pobox.com>
10598
10599         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10600         activate_pull(), providing for a way to specialize the process of
10601         spawning a thread to pull on the sink pad. There is a default
10602         implementation.
10603
10604         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10605         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10606         (gst_base_sink_init): Renamed pad activation functions (inserting
10607         "_pad" in their names). Refactor to use the new activate_pull
10608         vmethod, as appropriate.
10609         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10610         default activate_pull function to start a task pulling from the
10611         sink pad, as before.
10612
10613         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10614         on the pads if necessary, as in push()/chain(). Update docs.
10615         Shouldn't affect existing pull() usage as it is currently only
10616         being used on buffers without caps.
10617
10618 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10619
10620         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10621         (init_pre):
10622           Call g_thread_init() first thing in gst_init() / gst_check_init().
10623           When initialisation is done via gst_init_get_option_group() and
10624           GOption parsing, issue a warning if the GLib thread system has not
10625           been initialised yet by the time gst_init_get_option_group() is
10626           called, as it's quite likely other GLib functions such as
10627           g_option_context_new() have been called already then, and
10628           g_thread_init() must be called before any other GLib function. The
10629           application in question must be fixed in that case, since memory
10630           corruption might happen otherwise.
10631           We issue the warning because even if the GLib folks decide to work
10632           around the problem on their end in future, this is still an issue
10633           with all GLib versions >= 2.10.0, so we should warn until we depend
10634           on a GLib version we know to be safe.
10635           Update documentation as well.
10636           Closes bug #391278.
10637
10638 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * tools/gst-inspect.c: (main):
10641         * tools/gst-launch.c: (main):
10642         * tools/gst-typefind.c: (main):
10643         * tools/gst-xmlinspect.c: (main):
10644           Call g_thread_init() really really early, before any other GLib
10645           function (see #342564 and recent discussion on gtk-devel-list).
10646
10647 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10648
10649         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10650
10651         * gst/gst_private.h:
10652         * gst/gstconfig.h.in:
10653         * gst/gstinfo.h:
10654           On win32, all the __declspec stuff for symbol exporting is
10655           apparently only needed with MSVC, but doesn't work with MingW.
10656           Fixes compilation with MingW and #391909.
10657
10658 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10659
10660         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10661           Change some GST_ERROR_OBJECT that aren't really errors to
10662           GST_WARNING_OBJECT in order to reduce terminal spam.
10663
10664 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10665
10666         * tests/check/Makefile.am:
10667           disable test again, as there seem to be still race problems
10668
10669 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10670
10671         * tests/check/Makefile.am:
10672         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10673         (GST_START_TEST), (queue_suite):
10674           enable queue test again, add tests for the leaky behaviour
10675
10676 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10677
10678         * configure.ac:
10679         * tests/examples/Makefile.am:
10680           Compile adapter test/example only if the required headers are
10681           available (fixes #391915).
10682
10683 2007-01-01  David Schleef  <ds@schleef.org>
10684
10685         * gst/gstplugin.c:
10686           Restore the previous signal handler for SIGSEGV instead of
10687           setting to default, since we may have stolen it away from
10688           someone.  (i.e., Mono)
10689
10690 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10691
10692         * docs/random/draft-missing-plugins.txt:
10693           Some small additions and clarifications.
10694
10695 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10696
10697         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10698           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10699           since that can lead to random memory corruptions and crashes
10700           (may or may not be related to #383244, #386711, and #386711).
10701
10702 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10703
10704         * tests/check/.cvsignore:
10705         * tests/check/Makefile.am:
10706           sync .cvsignome and CLEANFILES
10707
10708 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10709
10710         * tests/check/Makefile.am:
10711           fix distcheck
10712
10713 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10714
10715         * docs/design/part-states.txt:
10716           two tiny additional comments
10717         
10718         * gst/gststructure.c:
10719           doc fixing
10720
10721         * tests/check/Makefile.am:
10722         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10723         (GST_START_TEST):
10724           disable test for now, unless it gets fixed
10725
10726 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10727
10728         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10729         (GST_START_TEST):
10730           fix race in underrun test
10731
10732 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * tests/check/elements/.cvsignore:
10735           ignore more
10736
10737         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10738         (GST_START_TEST):
10739           try to narrow test failure
10740
10741 2006-12-21  David Schleef  <ds@schleef.org>
10742
10743         * plugins/elements/gstfakesrc.c:
10744           Use g_random_int_range(), since it produces better random
10745           numbers in a range than almost-correct floating point code.
10746
10747 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10748
10749         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10750         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10751         (gst_check_teardown_sink_pad):
10752           do not automatically (de)activate pads
10753
10754         * tests/check/Makefile.am:
10755         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10756         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10757           add new, yet simple tests for queue
10758
10759         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10760         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10761         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10762         (GST_START_TEST):
10763         * tests/check/elements/identity.c: (cleanup_identity):
10764           consistent pad (de)activation
10765
10766 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         Patch by: Sebastian Dröge  <slomo ubuntu com>
10769
10770         * libs/gst/base/gstcollectpads.c:
10771           Fix two doc typos (#387866).
10772
10773 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * docs/manual/advanced-dparams.xml:
10776           Fix typo (g_object_control_properties() doesn't exist).
10777
10778 2006-12-19  Edward Hervey  <edward@fluendo.com>
10779
10780         * gst/gstsegment.c: (gst_segment_set_seek):
10781         Fine tune the cases where the segment start/stop values are really
10782         updated.
10783         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10784         Add tests for the return values of gst_segment_set_seek().
10785
10786 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10787
10788         * gst/gst.c:
10789           Docs typo fix.
10790
10791         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10792         (gst_queue_init):
10793           Fix incorrect documentation and flesh it out a bit more.
10794           Set default values for the max properties on the GParamSpec as well,
10795           so it shows up correctly in gst-inspect.
10796
10797 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10798
10799         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10800           Correct docs of queue, add more detail and crosslink it more.
10801
10802 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10805           Print additional debug info when the stream isn't perfectly
10806           timestamped; don't try to use invalid durations.
10807
10808 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * docs/design/Makefile.am:
10811           Dist new design docs.
10812
10813 2006-12-16  Wim Taymans  <wim@fluendo.com>
10814
10815         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10816
10817         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10818         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10819         (gst_collect_pads_stop), (gst_collect_pads_event),
10820         (gst_collect_pads_chain):
10821         * libs/gst/base/gstcollectpads.h:
10822         Add refcounting to the collectpads data so we can track when it's safe
10823         to free the data. Fixes #383382.
10824
10825 2006-12-15  Wim Taymans  <wim@fluendo.com>
10826
10827         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10828         (gst_collect_pads_remove_pad):
10829         Automatically activate/deactivate pads when they are added to a
10830         started/stoped collectpads.
10831
10832 2006-12-15  Wim Taymans  <wim@fluendo.com>
10833
10834         * gst/gstelement.c: (gst_element_add_pad):
10835         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10836         * gst/gstpad.c: (gst_pad_init):
10837         Set pads to FLUSHING when they are created. Check, warn and fix when a
10838         demuxer adds an inactive pad to itself when running. Fixes #339326.
10839
10840 2006-12-15  Wim Taymans  <wim@fluendo.com>
10841
10842         * gst/gstelement.c: (gst_element_class_init),
10843         (gst_element_default_send_event), (gst_element_send_event),
10844         (gst_element_default_query), (gst_element_query):
10845         Expose default element send_event and query handling as vmethods that
10846         subclasses can chain up to.
10847
10848 2006-12-15  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/gstelement.c: (gst_element_set_state_func):
10851         Small documentation fixes.
10852
10853 2006-12-15  Wim Taymans  <wim@fluendo.com>
10854
10855         * docs/design/draft-latency.txt:
10856         Checked in draft for handling latency in pipelines.
10857
10858 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10859
10860         * Makefile.am:
10861         * gstreamer.doap:
10862         * gstreamer.spec.in:
10863           adding .doap file
10864
10865 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10866
10867         * gst/gst.c: (init_pre), (init_post):
10868           init_pre() and init_post() might be called via our GOptionGroup or
10869           from gst_init(), and we should skip both of them if we've already
10870           been initialised, otherwise we will init some things twice or add
10871           two default log functions.
10872
10873 2006-12-13  Edward Hervey  <edward@fluendo.com>
10874
10875         * docs/manual/basics-bus.xml:
10876         No, gst_main_loop does not exist. Its g_main_loop.
10877         Discovered by somebody who abused the copy-paste technique of coding :)
10878
10879 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10880
10881         * gst/gstghostpad.c:
10882           Log ghostpad debug stuff to the GST_PADS category as well rather
10883           than just to the default category.
10884
10885 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * configure.ac:
10888         * gst/gst.c: (init_pre):
10889           Add some basic system details such as OS and architecture
10890           to the debug output if possible, courtesy of uname().
10891
10892 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10893
10894         * docs/gst/running.xml:
10895           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10896           environment variables.
10897
10898 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10899
10900         * tests/check/gst/gstbin.c: (GST_START_TEST):
10901         It is acceptable to have a refcount of 2 or 3 at this point in the
10902         test, because the pipeline might be just posting its state_change
10903         message. The next line then waits for that message to appear using
10904         bus_poll, so that should be fine too.
10905
10906 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
10907
10908         * gst/gst.c: (ensure_current_registry_forking):
10909         Ignore EINTR when reading from the child registry pipe.
10910         Explicitly ignore the return value from close, since it makes no
10911         difference.
10912
10913         * gst/gstminiobject.c: (gst_mini_object_ref),
10914         (gst_mini_object_unref):
10915         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10916
10917         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10918         When removing cached plugins, remove their features too, so they're
10919         not visible after they've disappeared.
10920
10921         * gst/gstutils.c: (prepare_link_maybe_ghosting):
10922         In the unlikely case that we are linking pads with no parents, don't
10923         crash trying to get the non-existent parent bin.
10924
10925         * gst/parse/grammar.y:
10926         Output debug in the PIPELINE category
10927
10928 2005-03-08  Wim Taymans  <wim@fluendo.com>
10929
10930         Patch by: René Stadler <mail at renestadler dot de>
10931
10932         * gst/gstclock.c: (gst_clock_new_periodic_id):
10933         Reject invalid clock times for interval of periodic ids.
10934         Fixes ##383506.
10935
10936 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10937
10938         * gst/gstelementfactory.c: (gst_element_factory_create):
10939         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10940         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10941         * tools/gst-inspect.c: (print_element_info):
10942         Fix refcounting of gst_plugin_feature_load to match the docs. 
10943         Fixes: #380129
10944
10945 2006-12-07  Wim Taymans  <wim@fluendo.com>
10946
10947         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10948         (gst_base_sink_get_position):
10949         Improve debugging of events.
10950
10951 2006-12-07  Wim Taymans  <wim@fluendo.com>
10952
10953         Patch by: René Stadler <mail at renestadler dot de>
10954
10955         * gst/gstclock.c: (gst_clock_id_wait):
10956         Make period ids add the interval to the origial requested time instead
10957         of the possibly updated time which can be wrong when there are multiple
10958         waiters for the same id. Fixes #382592.
10959
10960         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10961         (gst_system_clock_id_wait_jitter_unlocked),
10962         (gst_system_clock_id_wait_jitter):
10963         Fix restart in the async notify thread when an async entry is added to
10964         the front of the list. Fixes #381492. 
10965
10966         * tests/check/gst/gstsystemclock.c: (store_callback),
10967         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10968         Added test for multiple async waits.
10969         Added test for async wait order.
10970
10971 2006-12-07  Wim Taymans  <wim@fluendo.com>
10972
10973         * gst/gstbin.c: (gst_bin_query):
10974         Add some more docs about the POSITION query.
10975
10976 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
10977
10978         * configure.ac:
10979         Bump version nano - back to CVS.
10980
10981 === release 0.10.11 ===
10982
10983 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
10984
10985         * configure.ac:
10986           releasing 0.10.11, "Love never runs on time"
10987
10988 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
10989
10990         * win32/common/libgstbase.def:
10991         * win32/common/libgstreamer.def:
10992         * win32/vs8/libgstbase.vcproj:
10993         * win32/vs8/libgstcoreelements.vcproj:
10994         * win32/vs8/libgstreamer.vcproj:
10995         Fix compilation on win32 under VS8
10996         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10997         Partially fixes #381175
10998
10999 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11000
11001         * gst/gstvalue.c: (gst_value_compare_fraction):
11002         If someone is foolish enough to compare 2 fractions with denominator =
11003         0, return UNORDERED rather than aborting.
11004
11005 2006-11-28  Edward Hervey  <edward@fluendo.com>
11006
11007         * libs/gst/base/Makefile.am:
11008         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11009         (gst_data_queue_base_init), (gst_data_queue_class_init),
11010         (gst_data_queue_init), (gst_data_queue_new),
11011         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11012         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11013         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11014         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11015         (gst_data_queue_set_flushing), (gst_data_queue_push),
11016         (gst_data_queue_pop), (gst_data_queue_drop_head),
11017         (gst_data_queue_set_property), (gst_data_queue_get_property):
11018         * libs/gst/base/gstdataqueue.h:
11019         New GstDataQueue object for threadsafe queueing. Most useful for
11020         elements that need some queueing functionnality.
11021         * docs/libs/gstreamer-libs-docs.sgml:
11022         * docs/libs/gstreamer-libs-sections.txt:
11023         Insert documentation for GstDataQueue
11024         * plugins/elements/Makefile.am:
11025         * plugins/elements/gstelements.c:
11026         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11027         (gst_multi_queue_class_init), (gst_multi_queue_init),
11028         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11029         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11030         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11031         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11032         (gst_multi_queue_loop), (gst_multi_queue_chain),
11033         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11034         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11035         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11036         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11037         (wake_up_next_non_linked), (compute_next_non_linked),
11038         (single_queue_overrun_cb), (single_queue_underrun_cb),
11039         (single_queue_check_full), (gst_single_queue_new):
11040         * plugins/elements/gstmultiqueue.h:
11041         New multiqueue element, using GstDataQueue. Used for queuing multiple
11042         streams.
11043         Closes #344639 and #347785
11044
11045 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11046
11047         * docs/pwg/advanced-types.xml:
11048           add more missing type details
11049
11050         * tools/gst-run.c: (main):
11051           remove unused variable
11052
11053 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11054
11055         * docs/libs/Makefile.am:
11056         * docs/libs/gstreamer-libs.types:
11057           add types of base classes to enable gobject specific stuff in the docs
11058
11059         * docs/random/ensonic/embedded.txt:
11060           more ideas about isolating platform specific things
11061
11062 2006-11-20  Wim Taymans  <wim@fluendo.com>
11063
11064         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11065
11066         * libs/gst/check/gstcheck.h:
11067         Fix compilation and running against 0.9.4. Fixes #377332.
11068
11069 2006-11-20  Wim Taymans  <wim@fluendo.com>
11070
11071         * gst/gstsegment.c: (gst_segment_set_seek),
11072         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11073         (gst_segment_to_running_time):
11074         Fix boundary checking in to_running_time() and to_stream_time().
11075         Fixes #377183.
11076
11077         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11078         stream and running time can now be calculated for the complete
11079         clipped segment.
11080
11081 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11082
11083         * gst/gstpad.c: (gst_pad_push_event):
11084           Can't access event structure after giving away ownership of
11085           the event.
11086
11087 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11088
11089         * docs/random/ensonic/embedded.txt:
11090         * docs/random/ensonic/profiling.txt:
11091         * docs/random/ensonic/receipies.txt:
11092           more thinking
11093
11094 2006-11-13  Wim Taymans  <wim@fluendo.com>
11095
11096         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11097
11098         * gst/gstpad.c:
11099         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11100
11101 2006-11-13  Wim Taymans  <wim@fluendo.com>
11102
11103         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11104
11105         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11106         Store new length in segment duration so we don't keep on calling the
11107         potentially expensize get_size() call. Fixes #370865.
11108
11109 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11110
11111         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11112
11113         * win32/common/libgstreamer.def:
11114           Add two missing symbols (#366492).
11115
11116 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11117
11118         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11119         (gst_adapter_take_buffer):
11120         Fix format string to use all its arguments.
11121         Remove useless >= check on a guint
11122
11123 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11124
11125         * tests/examples/adapter/.cvsignore:
11126         Ignore build file as commanded by the build-bot
11127
11128 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11129
11130         * tests/examples/adapter/Makefile.am:
11131         * tests/examples/adapter/adapter_test.c: (run_test_take),
11132         (run_test_take_buffer), (run_tests), (main):
11133
11134         Add new files from the previous commit
11135
11136 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11137
11138         * Makefile.am:
11139         * configure.ac:
11140         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11141         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11142         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11143         * libs/gst/base/gstadapter.h:
11144         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11145         (GST_START_TEST), (gst_adapter_suite):
11146         * tests/examples/Makefile.am:
11147         Do some optimisation work in GstAdapter to avoid copies in more cases.
11148         It could still do slightly better by merging buffers when
11149         gst_buffer_is_span_fast is true, but is already faster. 
11150
11151         Also, avoid traversing a single-linked list to append each incoming 
11152         buffer inside the adapter.
11153
11154         Add simple test app that times the adapter behaviour in different
11155         situations, and extend the unit test to check that bytes enter and
11156         exit the adapter in their original order.
11157
11158 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11159
11160         * docs/random/draft-missing-plugins.txt:
11161           Update: use element message instead of adding a new message
11162           type to the core; don't provide GStreamer API to initiate the
11163           plugin download, just provide API to compose the strings needed
11164           and let an external libgimmestuff handle the rest.
11165
11166 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11167
11168         * tools/gst-inspect.c: (print_element_properties_info):
11169         Print a string instead of 'unknown type' for GValueArray properties
11170
11171 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11172
11173         * docs/random/draft-missing-plugins.txt:
11174         More small fixes.
11175
11176 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11177
11178         * tests/examples/typefind/typefind.c: (type_found), (main):
11179           Make typefind element example work again (#371894); add a
11180           license header.
11181
11182 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11183
11184         * docs/random/draft-missing-plugins.txt:
11185           Commit initial draft about how to deal with missing plugins,
11186           needs work (API too).
11187
11188 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * docs/pwg/advanced-types.xml:
11191           documents the new caps elements (see #363118)
11192
11193 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11194
11195         * gst/gstplugin.c: (gst_plugin_load_file):
11196         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11197         (gst_file_src_map_region), (gst_file_src_start):
11198         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11199         (gst_file_index_commit):
11200           Use g_strerror() instead of strerror() - we want UTF-8.
11201
11202 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11203
11204         Patch by: Peter Kjellerstedt <pkj at axis com>
11205
11206         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11207           Another printf fix (#371493).
11208
11209 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11210
11211         * tests/check/gst/gsttag.c:
11212           relicence (okay with author=company)
11213
11214 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11215
11216         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11217         (gst_pad_push_event):
11218           Enhance debug and improve docs
11219         
11220         * gst/gsturi.c:
11221           Fix docs
11222
11223 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11224
11225         * docs/random/ensonic/distributed.txt:
11226         * docs/random/ensonic/profiling.txt:
11227           more ideas
11228
11229 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * docs/gst/gstreamer-sections.txt:
11232           add new API and fix the build
11233           
11234         * gst/gstbin.c: (gst_bin_recalc_state):
11235         * gst/gstelement.c: (gst_element_message_full),
11236         (gst_element_get_state_func), (gst_element_set_state_func):
11237           use new API and improve logging
11238         
11239         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11240         * gst/gstutils.h:
11241           API: add function to get StateChangereturn names to improve logs 
11242
11243 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11244
11245         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11246           I'm considering shooting the next person to put strerror stuff
11247           in the translateable part of the message.
11248
11249 2006-11-03  Wim Taymans  <wim@fluendo.com>
11250
11251         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11252         Get the type and printf conversion specifiers right.
11253
11254 2006-11-03  Wim Taymans  <wim@fluendo.com>
11255
11256         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11257
11258         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11259         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11260         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11261         Some small cleanups. Improve debugging.
11262         * gst/gstpad.h:
11263         Signal all waiting threads with a broadcast instead of just one.
11264         Fixes #369942.
11265
11266 2006-11-03  Wim Taymans  <wim@fluendo.com>
11267
11268         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11269         (gst_fd_src_create):
11270         Add some debugging. 
11271         Only update fd when it's different from the old.
11272
11273 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11276           Printf fixes for PPC/OSX, take two (#369366).
11277
11278 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11279
11280         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11281
11282         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11283         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11284         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11285           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11286           don't cast to long long for portability reasons, but use
11287           GLib's types instead.
11288
11289 2006-10-30  Michael Smith  <msmith@fluendo.com>
11290
11291         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11292           Get the arguments to lseek() the right way around.
11293           Fixes 367677.
11294
11295 2006-10-30  Wim Taymans  <wim@fluendo.com>
11296
11297         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11298
11299         * gst/gstinfo.h:
11300         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11301
11302 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11303
11304         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11305
11306         * docs/design/part-MT-refcounting.txt:
11307         * docs/random/wtay/capsnego2-docs:
11308         * gst/gstclock.c:
11309         * gst/gstxml.c:
11310           Typo fixes (#366212).
11311
11312 2006-10-28  Wim Taymans  <wim@fluendo.com>
11313
11314         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11315
11316         * gst/gst.c:
11317         * win32/common/libgstbase.def:
11318         * win32/common/libgstreamer.def:
11319         * win32/vs8/libgstbase.vcproj:
11320         * win32/vs8/libgstcontroller.vcproj:
11321         Add needed entries in .def files.
11322         Use HAVE_UNISTD_H.
11323         Rearrange def files in vs8 solutions. Fixes #366286.
11324
11325 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11326
11327         * win32/common/gstconfig.h:
11328           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11329           hand-made win32 gstconfig.h. Fixes #366321.
11330
11331 2006-10-27  Wim Taymans  <wim@fluendo.com>
11332
11333         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11334         (gst_ghost_pad_new_full):
11335         Make acceptcaps return TRUE when we don't have a target, just like
11336         setcaps does.
11337
11338 2006-10-27  Wim Taymans  <wim@fluendo.com>
11339
11340         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11341         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11342
11343 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11344
11345         * gst/gststructure.c: (gst_structure_id_set_value):
11346           If someone tries to set a non-UTF8 string field on a structure,
11347           don't just print a warning, but also ignore the request and do
11348           not change/add that field to the structure.
11349
11350         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11351           Test for the above.
11352
11353 2006-10-25  David Schleef  <ds@schleef.org>
11354
11355         * gst/gstinfo.c:
11356           g_hash_table_insert() needs a cast to a non-const pointer duh.
11357
11358 2006-10-25  David Schleef  <ds@schleef.org>
11359
11360         * gst/gstinfo.c:
11361         * gst/gstinfo.h:
11362           Change name parameter of _gst_debug_register_funcptr to const
11363           to reflect the constness of its use in the function as well
11364           as to quiet a gcc warning.
11365
11366 2006-10-25  Edward Hervey  <edward@fluendo.com>
11367
11368         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11369         Don't push the buffer if it's empty.
11370         Closes #363095
11371
11372 2006-10-24  Wim Taymans  <wim@fluendo.com>
11373
11374         * gst/gstevent.h:
11375         Add small comment.
11376
11377         * libs/gst/base/gstbasetransform.c:
11378         (gst_base_transform_sink_eventfunc):
11379         Debug segment values *after* updating them as this is more
11380         interesting.
11381
11382 2006-10-23  Wim Taymans  <wim@fluendo.com>
11383
11384         * docs/design/part-events.txt:
11385         Update some docs.
11386
11387         * docs/design/part-block.txt:
11388         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11389         (gst_pad_push_event):
11390         Revert BLOCKING patch, it tries to be smart without really having a
11391         clear idea what or how. So, now we discard all FLUSHING events again on
11392         a blocking pad. Should fix gnonlin again.
11393
11394 2006-10-23  Wim Taymans  <wim@fluendo.com>
11395
11396         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11397
11398         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11399         (gst_base_src_start), (gst_base_src_activate_push):
11400         Make sure size is always initialized. Fixes #364388.
11401
11402 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11403
11404         * docs/random/ensonic/distributed.txt:
11405           add some ideas about doing distributed processing
11406
11407         * docs/random/ensonic/profiling.txt:
11408           get_rusage look promising
11409
11410 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11411
11412         * docs/manual/basics-helloworld.xml:
11413           Add a cast in example to fix compile warning
11414
11415 2006-10-18  Wim Taymans  <wim@fluendo.com>
11416
11417         * gst/gstsegment.c: (gst_segment_set_last_stop),
11418         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11419         Relax arg checking again, -1 is allowed.
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         _set_last_stop() must be with a value != -1
11426         A _TYPE_SET to -1 means seek to 0.
11427         Calc last_stop correctly for negative rates.
11428         Make sure we work with positive durations when updating a segment.
11429
11430 2006-10-18  Wim Taymans  <wim@fluendo.com>
11431
11432         * docs/design/part-live-source.txt:
11433         * gst/gstclock.h:
11434         Small docs fixes.
11435
11436 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11437
11438         * gst/gstbuffer.h:
11439           Add an explicit cast to GstBuffer** to keep old code that added an
11440           explicit cast to GstMiniObject** for gst_mini_object_replace()
11441           compiling without warning.
11442
11443 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11444
11445         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11446           check for validity of dates
11447
11448 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11449
11450         * docs/gst/gstreamer-sections.txt:
11451           Forgot this one, makes gtk-doc shut up.
11452
11453 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11454
11455         Patch by: Peter Kjellerstedt <pkj at axis com>
11456
11457         * gst/gstobject.h:
11458           Don't define xmlNodePtr to gpointer if the core was built with
11459           --disable-loadsave and --disable-registry, this will break
11460           applications that want to use libxml2 but are buildling against a
11461           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11462           instead so we don't have to mess with the libxml2 namespace
11463           (#361675).
11464
11465 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11466
11467         * gst/gstbuffer.h:
11468           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11469           type-punned pointer warnings.
11470
11471 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11472
11473         * gst/gstelement.h:
11474           Add casts to the correct return type to state <=> state transition
11475           macros.
11476
11477 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11478
11479         * docs/design/part-live-source.txt:
11480           describe howto handle latency
11481         
11482         * docs/random/ensonic/profiling.txt:
11483           more ideas
11484
11485         * tools/gst-plot-timeline.py:
11486           fix log parsing for solaris, remove unused function
11487
11488 2006-10-16  Wim Taymans  <wim@fluendo.com>
11489
11490         * docs/design/part-trickmodes.txt:
11491         * gst/gstevent.c:
11492         Update some docs regarding reverse playback.
11493
11494 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11495
11496         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11497
11498         * win32/vs8/grammar.vcproj:
11499           Error out with a warning if glib-genmarshal.exe is not in path,
11500           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11501
11502 2006-10-13  Wim Taymans  <wim@fluendo.com>
11503
11504         * gst/gstsegment.c: (gst_segment_set_seek):
11505         When seeking to stop -1, set last_stop (current position) to the
11506         duration of the segment.
11507
11508 2006-10-13  Wim Taymans  <wim@fluendo.com>
11509
11510         * gst/gstelement.h:
11511         Clarify _NO_PREROLL a bit more.
11512
11513         * gst/gstevent.c:
11514         Fix docs.
11515
11516         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11517         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11518         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11519         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11520         due to wrong locking order. Fixes #361769.
11521         Remove some redundant/misplaced checks in pad_block.
11522
11523         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11524         For negative rates, count backwards from the duration.
11525
11526 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11527
11528         * gst/gsterror.c: (_gst_library_errors_init):
11529           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11530           up with something better).
11531
11532 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11533
11534         * win32/vs6/libgstreamer.dsp:
11535         * win32/vs7/libgstreamer.vcproj:
11536         * win32/vs8/libgstreamer.vcproj:
11537           Don't reference glib-compat.c which is currently not used and not
11538           disted; add gstquark.c which was recently added. Fixes #361730.
11539
11540 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11541
11542         * win32/common/libgstbase.def:
11543         * win32/common/libgstcontroller.def:
11544         * win32/common/libgstreamer.def:
11545           Add gst_caps_merge() and a bunch of other recently-added functions.
11546           Fixes #361732.
11547
11548 2006-10-11  Wim Taymans  <wim@fluendo.com>
11549
11550         * docs/plugins/gstreamer-plugins.args:
11551         * docs/plugins/inspect/plugin-coreelements.xml:
11552         * docs/plugins/inspect/plugin-coreindexers.xml:
11553         Update element args.
11554
11555         * gst/gstsystemclock.c:
11556         Small comment update.
11557
11558         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11559         (gst_tee_request_new_pad), (gst_tee_release_pad),
11560         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11561         (gst_tee_sink_activate_pull):
11562         * plugins/elements/gsttee.h:
11563         Some tee loving:
11564         Add default property defines.
11565         Implement release pad function.
11566         Give properties better blubs etc.
11567         Activate pads before adding them to a running tee.
11568         Do simple buffer_alloc on the first requested pad.
11569         Post error when activation fails.
11570
11571 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11572
11573         * gst/gst.c: (ensure_current_registry_forking):
11574           Check return value of write() to make compiler happy.
11575
11576 2006-10-11  Wim Taymans  <wim@fluendo.com>
11577
11578         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11579
11580         * plugins/elements/gstqueue.c: (gst_queue_chain):
11581         Recheck queue filledness after signalling the overrun when we're about
11582         to leak downstream because we released the lock when emitting the signal
11583         and the queue could be empty again. Fixes #352345.
11584
11585 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11586
11587         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11588           Fix refcounting here too, just like we did for _new_valist() a few
11589           days ago (#357180) (thanks to René Stadler). Also remove all those
11590           'Since: 0.9' from the gtk-doc blobs.
11591
11592         * tests/check/libs/controller.c: (controller_refcount_new_list),
11593         (gst_controller_suite):
11594           Unit test for the above.
11595
11596 2006-10-10  Wim Taymans  <wim@fluendo.com>
11597
11598         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11599
11600         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11601         (gst_pad_save_thyself):
11602         Update some docs.
11603         Write pad direction in XML output. Fixes #345496.
11604
11605 2006-10-10  Wim Taymans  <wim@fluendo.com>
11606
11607         Patch by: René Stadler <mail at renestadler dot de>
11608
11609         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11610         (gst_controller_new_list), (_gst_controller_dispose),
11611         (_gst_controller_finalize), (_gst_controller_class_init):
11612         Take ref to controlled object so that it cannot disappear. 
11613         Fixes #357432.
11614
11615 2006-10-10  Wim Taymans  <wim@fluendo.com>
11616
11617         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11618         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11619         (gst_check_teardown_sink_pad):
11620         Activate/deactivate pads in setup/teardown respectively.
11621
11622 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11623
11624         Patch by: Josep Torra Valles <josep@fluendo.com>
11625
11626         * gst/Makefile.am:
11627         Cast values when making gstenumtypes.h.  This pacifies Forte
11628         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11629         in the enumeration.
11630
11631 2006-10-09  Wim Taymans  <wim@fluendo.com>
11632
11633         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11634         Rename some more @cur to @start to fix docs. 
11635
11636         * gst/gstsegment.c: (gst_segment_set_seek):
11637         Fix typo.
11638         time and start must always stay in sync as defined in design doc.
11639
11640         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11641         Rename param to fix docs.
11642
11643         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11644         Check that start and time are in sync.
11645
11646         * tests/check/pipelines/parse-launch.c:
11647         (gst_parse_test_element_change_state):
11648         Activate pad before adding to the element.
11649
11650 2006-10-09  Wim Taymans  <wim@fluendo.com>
11651
11652         * docs/design/part-qos.txt:
11653         Fix typo.
11654
11655         * gst/gstevent.c:
11656         * gst/gstevent.h:
11657         Update seek event docs regarding negative rates.
11658         Rename @cur to @start. 
11659
11660         * gst/gstsegment.c: (gst_segment_set_seek):
11661         * gst/gstsegment.h:
11662         Update set_seek docs regarding negative rates.
11663         Correctly update last_stop to @stop when dealing with negative
11664         rates.
11665         Rename @cur to @start. 
11666
11667         * tests/check/gst/gstpad.c: (GST_START_TEST):
11668         Activate pads before trying to use them.
11669
11670         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11671         (gst_segment_suite):
11672         Add simple check for segments and negative rates.
11673
11674 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11677         * gst/gsttaglist.h:
11678         * docs/gst/gstreamer-sections.txt:
11679           API: add gst_tag_list_is_empty() (#360467).
11680
11681         * tests/check/gst/gsttag.c: (GST_START_TEST):
11682           And a test case.
11683
11684 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11685
11686         * gst/gstmessage.h:
11687         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11688         a value that doesn't fit on enumeration.
11689
11690 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11691
11692         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11693         Remove local debugging system and use Gstreamer's instead.
11694
11695 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11696
11697         Patch by: Josep Torra Valles <josep@fluendo.com>
11698
11699         * common/m4/gst-error.m4:
11700         Disable warning of statement not reached on Forte.
11701         * gst/gstmessage.h:
11702         Fix warning on Forte (value doesn't fit on enumeration).
11703         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11704         Fix warning on Forte (value doesn't fit on enumeration).
11705         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11706         DEBUG macro says it takes minimum of 2 args and so Forte
11707         complains about the use with just 1 arg.
11708         * plugins/elements/gstfdsink.c:
11709         * plugins/elements/gstfdsrc.c:
11710         * plugins/elements/gstfilesink.c:
11711         * plugins/elements/gstfilesrc.c:
11712         Use correct return type for the uri handler implementations.
11713
11714         All these fix warnings in Forte.  Fixes bug #360860.
11715
11716 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * gst/gstelement.h:
11719           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11720           format string, so don't use G_GNUC_PRINTF for those versions.
11721
11722 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * gst/gsttaglist.c: (gst_is_tag_list):
11725         * gst/gsttaglist.h:
11726           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11727
11728         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11729           Small test for the above.
11730
11731 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11732
11733         * gst/gsttaglist.h:
11734           Less tabs, more spaces.
11735
11736 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11737
11738         * gst/gstinfo.h:
11739           Those two function declarations do actually belong there, revert
11740           commit from yesterday that turned them intro macros.
11741
11742 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11743
11744         Patch by: Josep Torra Valles <josep@fluendo.com>
11745
11746         * gst/gst.c: (gst_init_get_option_group):
11747         Fix empty declaration and type mismatch.
11748         * gst/gstbin.c: (gst_bin_change_state_func):
11749         Fix type mismatch.
11750         * gst/gstelement.c: (gst_element_continue_state),
11751         (gst_element_set_state_func), (gst_element_change_state),
11752         (gst_element_change_state_func):
11753         Fix type mismatches.
11754         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11755         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11756         Cast as appropriate.
11757         * gst/gstobject.c: (gst_class_signal_connect):
11758         Cast as appropriate.  The function pointer parameter really
11759         has the wrong type but would break API if we change it.
11760         * gst/gstquery.c:
11761         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11762         order of including string.h.
11763         * gst/gstutils.c: (gst_element_state_get_name):
11764         Remove unreachable line.
11765         * gst/gstxml.c: (gst_xml_parse_doc):
11766         Fix type mismatch.
11767         All these caught by Forte.
11768
11769 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11770
11771         Patch by: Josep Torra Valles <josep@fluendo.com>
11772
11773         * common/m4/gst-error.m4:
11774         Fixed bug #360151.
11775         We need to disable warnings on Forte for empty declarations
11776         due to gst-indent adding ;s to lines that just use macros
11777         where the macro actually doesn't need a ; at end to end
11778         statement.
11779
11780 2006-10-06  Wim Taymans  <wim@fluendo.com>
11781
11782         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11783         (gst_file_sink_close_file), (gst_file_sink_event),
11784         (gst_file_sink_render):
11785         Add some FIXME for the NEWSEGMENT handling.
11786
11787 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11788
11789         * gst/parse/grammar.y:
11790         Remove static function gst_parse_element_lock as all it does
11791         is return.  Looks like cruft from 0.8.
11792
11793 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11794
11795         Patch by: Josep Torra Valles <josep@fluendo.com>
11796
11797         * common/m4/gst-error.m4:
11798         * configure.ac:
11799         * libs/gst/net/Makefile.am:
11800         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11801         libresolv.
11802
11803 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         * gst/gstpad.c: (pre_activate):
11806         * gst/gstregistry.c: (gst_registry_scan_path_level):
11807         * gst/gstregistryxml.c: (load_plugin):
11808         * libs/gst/controller/gstcontroller.c:
11809         (gst_controlled_property_set_interpolation_mode):
11810         * libs/gst/dataprotocol/dataprotocol.c:
11811         (gst_dp_packet_from_event_1_0):
11812         * libs/gst/net/gstnetclientclock.c:
11813         (gst_net_client_clock_observe_times):
11814         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11815           Printf fixes.
11816
11817 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         * configure.ac:
11820         * docs/gst/gstreamer-sections.txt:
11821         * gst/gstconfig.h.in:
11822         * gst/gstelement.h:
11823         * gst/gstinfo.h:
11824           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11825           whether we can use G_GNUC_PRINTF in other header files and at
11826           least check the printf format/arguments of debug messages and
11827           GST_ELEMENT_ERROR messages when the printf extension is not
11828           being used.
11829           Replace more tabs with spaces in gstinfo.h and remove two spurious
11830           function declarations in GST_DISABLE_DEBUG part with macros.
11831
11832 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11833
11834         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11835           More docs for the sync-message signal (mention that it is not
11836           emitted by default); log message structures of messages posted on
11837           the bus as well.
11838
11839 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11840
11841         * gst/gst.c: (ensure_current_registry_forking):
11842         Use a pipe pair to receive status results from the forked child, and
11843         ignore the result from waitpid. Fixes #355499
11844
11845 2006-10-02  Wim Taymans  <wim@fluendo.com>
11846
11847         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11848         (gst_ghost_pad_suite):
11849         Fix leak in check.
11850
11851 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * gst/gstpad.c:
11854           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11855
11856 2006-10-02  Edward Hervey  <edward@fluendo.com>
11857
11858         * docs/design/part-block.txt:
11859         Further explain the use of flushing on blocked pads.
11860         * docs/gst/gstreamer-sections.txt:
11861         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11862         (gst_pad_push_event):
11863         * gst/gstpad.h:
11864         Added new GstPadFlag : GST_PAD_BLOCKING.
11865         Adds the notion of pads really blocking, which enables to properly
11866         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11867         Fixes #358999
11868         API: gst_pad_is_blocking()
11869         API: GST_PAD_IS_BLOCKING() macro
11870         API: GST_PAD_BLOCKING GstPadFlag
11871         
11872 2006-10-02  Wim Taymans  <wim@fluendo.com>
11873
11874         Patch by: mrcgran <mrc.gran at gmail dot com>
11875
11876         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11877         Filter the proxied caps against the padtemplate if we have one.
11878
11879         * gst/gstquery.c: (gst_query_new_segment):
11880         Add include for gstinfo.h so that compilation with
11881         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11882
11883 2006-10-02  Wim Taymans  <wim@fluendo.com>
11884
11885         Patch by: Alessandro Decina  <alessandro at nnva org>
11886
11887         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11888         (gst_file_sink_set_location), (gst_file_sink_open_file),
11889         (gst_file_sink_close_file), (gst_file_sink_event),
11890         (gst_file_sink_render):
11891         Set file to NULL when closing filesink so that we can set a new filename
11892         in READY. Fixes #358613.
11893
11894 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11895
11896         Patch by: Alessandro Decina  <alessandro at nnva org>
11897
11898         * gst/gstevent.c: (_gst_event_copy):
11899           Fix gst_mini_object_make_writable() and gst_event_copy() for events
11900           with event structures by setting the parent refcount address of the
11901           copied structure to the address of the refcount member of the newly
11902           copied event rather than the address of the refcount member of the
11903           original event. Fixes #358737.
11904
11905         * tests/check/gst/gstevent.c: (GST_START_TEST):
11906           Unit test for the above.
11907
11908 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
11909
11910         * docs/design/Makefile.am:
11911           Dist some more files.
11912
11913 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11914
11915         * tests/check/libs/controller.c: (GST_START_TEST),
11916         (gst_controller_suite):
11917           Add test for the previous fix; add some more tests
11918           for correct refcounting behaviour; fix a few leaks
11919           in test cases; call gst_controller_init() at start
11920           of all tests.
11921
11922 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11923
11924         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11925         (gst_controller_set_from_list):
11926           Don't g_return_val_if_fail() on timed values with invalid timestamps
11927           inside a critical section without unlocking the mutex. Spotted by
11928           René Stadler. (#357617)
11929           Also, fix up refcounting properly: when returning an existing
11930           controller, we should increase the reference only once and not
11931           once per property and when trying to control a property again
11932           we should also increase the refcount.
11933
11934 2006-09-29  Wim Taymans  <wim@fluendo.com>
11935
11936         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11937         * libs/gst/net/gstnettimeprovider.c:
11938         (gst_net_time_provider_thread):
11939         Stop reading commands when EOF as well.
11940
11941         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11942         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11943         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11944         Unify description of the dump property.
11945
11946 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11947
11948         * tests/examples/manual/.cvsignore:
11949         OK, so it's actually cvsignore that needs changing. Stop laughing.
11950
11951 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11952
11953         * tests/examples/manual/Makefile.am:
11954         Gah, declare vars *before* using them
11955
11956 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11957
11958         * gst/gst.c: (init_pre), (scan_and_update_registry),
11959         (ensure_current_registry_nonforking),
11960         (ensure_current_registry_forking), (ensure_current_registry),
11961         (init_post), (gst_debug_help), (gst_deinit):
11962         * gst/gst_private.h:
11963         * gst/gstregistry.c: (gst_registry_finalize),
11964         (gst_registry_remove_features_for_plugin_unlocked),
11965         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11966         (gst_registry_scan_path),
11967         (_priv_gst_registry_remove_cache_plugins),
11968         (_priv_gst_registry_cleanup):
11969         * gst/gstregistry.h:
11970         Re-commit the registry changes, along with an extra fix:
11971           When a cached plugin is encountered at a different file path,
11972           update the stored path in the registry cache so that the parent
11973           process knows where it actually is now when it re-reads the registry
11974           cache. Fixes the thing that broke distcheck with the previous commit.
11975
11976         * tests/check/Makefile.am:
11977         Clean up files named 'core' too when running make clean.
11978
11979         * tests/examples/manual/Makefile.am:
11980         Set up a registry path for running these tests, and clean it properly
11981         for distcheck.
11982
11983 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
11984
11985         * configure.ac:
11986         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11987         want gmodule-no-export-2.0.pc instead so that we don't drag in
11988         --export-dynamic on every project that links to GStreamer.
11989
11990         Also, make our export regex only match the start of symbols, rather 
11991         than any symbol that contains '_gst' somewhere.
11992
11993         * libs/gst/check/Makefile.am:
11994         The libgstcheck we build does however need export-dynamic, as it
11995         produces some symbols that don't match our _gst... style regex.
11996         Fixes: #318031
11997
11998 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
11999
12000         * gst/gst.c: (init_pre), (scan_and_update_registry),
12001         (ensure_current_registry_nonforking),
12002         (ensure_current_registry_forking), (ensure_current_registry),
12003         (init_post), (gst_debug_help), (gst_deinit):
12004         * gst/gst_private.h:
12005         * gst/gstregistry.c: (gst_registry_finalize),
12006         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12007         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12008         (_gst_registry_cleanup):
12009         * gst/gstregistry.h:
12010           Revert previous change until I figure out why it breaks distcheck.
12011
12012 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12013
12014         * gst/gst.c: (init_pre), (scan_and_update_registry),
12015         (ensure_current_registry_nonforking),
12016         (ensure_current_registry_forking), (ensure_current_registry),
12017         (init_post), (gst_debug_help), (gst_deinit):
12018
12019           Make init_pre and init_post take the full complement of GOptionFunc
12020           args so they can return useful GErrors. Make the registry updating
12021           functions do so.
12022
12023           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12024           ensure that the registry we're about to write out doesn't contain
12025           stale information about old-deleted plugin files.
12026
12027           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12028           that deletion of plugin files is considered a registry change.
12029
12030         * gst/gst_private.h:
12031         * gst/gstregistry.c: (gst_registry_finalize),
12032         (gst_registry_remove_features_for_plugin_unlocked),
12033         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12034         (gst_registry_scan_path),
12035         (_priv_gst_registry_remove_cache_plugins),
12036         (_priv_gst_registry_cleanup):
12037         * gst/gstregistry.h:
12038         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12039         by adding _priv prefix, so that they won't appear in the global
12040         symbol table. They still do atm though because of #318031. Move the
12041         prototypes to gst_private.h
12042
12043         When removing a plugin, remove all features for that plugin too. 
12044         Fixes #340878.
12045
12046 2006-09-27  Wim Taymans  <wim@fluendo.com>
12047
12048         * docs/random/moving-plugins:
12049         Make it clear that the "compiled-in descriptions" really mean
12050         the element details.
12051
12052         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12053         (gst_base_sink_wait_preroll):
12054         Update docs.
12055
12056         * docs/libs/gstreamer-libs-sections.txt:
12057         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12058         (gst_base_src_get_range), (gst_base_src_activate_push):
12059         * libs/gst/base/gstbasesrc.h:
12060         Added function to block while waiting for PLAYING, this function
12061         is used by live sources that block on the clock.
12062         API: gst_base_src_wait_playing()
12063
12064 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12065
12066         Patch by: Peter Kjellerstedt <pkj at axis com>
12067
12068         * Makefile.am:
12069           gst-element-check.m4 is generated and should therefore be
12070           copied from the build dir rather than the source dir (#357593).
12071           'make distcheck' hasn't noticed this because we were disting
12072           the file as well, so stop doing that.
12073
12074 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12075
12076         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12077           Add some tests for gst_caps_intersect().
12078
12079         * tools/gst-launch.c: (event_loop):
12080           Print all buffering percentages we get, even the 100% one.
12081
12082 2006-09-26  Wim Taymans  <wim@fluendo.com>
12083
12084         * tools/gst-inspect.c: (print_element_properties_info),
12085         (print_signal_info):
12086         Fix printing of flags to match the look of enums.
12087
12088 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * gst/gstelementfactory.c:
12091           Fix typo in docs blurb.
12092
12093 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12094
12095         * gst/gsturi.c: (search_by_entry):
12096           Don't assert/crash here if a uri handler doesn't return any
12097           supported protocols. The list of protocols could be generated
12098           dynamically at runtime or at plugin registration, and an error
12099           in the underlying library shouldn't be fatal (#353301).
12100
12101 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12102
12103         * gst/gstinfo.c:
12104           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12105           (spotted by Peter Kjellerstedt).
12106
12107 2006-09-23  Wim Taymans  <wim@fluendo.com>
12108
12109         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12110
12111         * libs/gst/base/gstbasesrc.c:
12112         (gst_base_src_default_check_get_range), (gst_base_src_start),
12113         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12114         (gst_base_src_change_state):
12115         Match _start/_stop calls in the activate functions. Remove redundant
12116         _stop call from the state change function. Fixes #356910.
12117         Turn failure DEBUG into ERROR. 
12118
12119 2006-09-22  Wim Taymans  <wim@fluendo.com>
12120
12121         * docs/design/part-buffering.txt:
12122         * gst/gstmessage.c: (gst_message_new_buffering),
12123         (gst_message_parse_buffering):
12124         Update docs about buffering.
12125
12126         * docs/design/part-trickmodes.txt:
12127         Fix typo.
12128
12129 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12130
12131         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12132         (gst_controller_new_list):
12133           Ref instances when returning them again (fixes #357180)
12134
12135 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12136
12137         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12138           Don't forget to release proxy lock when there's an error.
12139
12140 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12141
12142         * gst/gstcaps.h:
12143           Add extra initialisers for Caps things, to fix some plugin warnings
12144           when using -Wextra
12145
12146 2006-09-18  Wim Taymans  <wim@fluendo.com>
12147
12148         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12149           Also set template on the internal pad so that a getcaps from the 
12150           target pad returns the template caps.
12151
12152 2006-09-18  Wim Taymans  <wim@fluendo.com>
12153
12154         * gst/gstelement.c: (gst_element_post_message),
12155         (gst_element_dispose):
12156         Use _DEBUG_OBJECT some more.
12157
12158         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12159         Avoid typechecks.
12160
12161         * tools/gst-launch.c: (main):
12162         If the toplevel element is not a GstPipeline, it must be put in a
12163         pipeline so that a bus and clock is selected.
12164
12165 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12166
12167         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12168           JITTER, RATE, and LATENCY query should be handled by the
12169           default case and not by the CONVERT query code.
12170
12171 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12172
12173         * gst/gstformat.c: (gst_format_register):
12174           Fix locking order (must take lock before using n_values).
12175
12176         * gst/gstvalue.c: (gst_value_serialize_enum),
12177         (gst_value_deserialize_enum_iter_cmp),
12178         (gst_value_deserialize_enum):
12179           Fix serialisation/deserialisation of custom registered GstFormats.
12180
12181         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12182           Unit test for custom format serialisation/deserialisation.
12183
12184 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12185
12186         * docs/pwg/building-boiler.xml:
12187         * plugins/elements/gstcapsfilter.c:
12188         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12189         section.
12190
12191 2006-09-16  Edward Hervey  <edward@fluendo.com>
12192
12193         * libs/gst/base/gstbasetransform.c:
12194         (gst_base_transform_buffer_alloc):
12195         Check if requested caps are the same as the sinks caps IF
12196         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12197         is FALSE.
12198         This fixes the renegotiation issues stated in #352827.
12199
12200 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12201
12202         * configure.ac:
12203         * docs/manual/advanced-autoplugging.xml:
12204         * tests/examples/Makefile.am:
12205         * tests/examples/manual/.cvsignore:
12206         * tests/examples/manual/Makefile.am:
12207         * tests/examples/manual/extract.pl:
12208           Extract the manual examples again like we used to do.
12209           Fix one of them.
12210
12211 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12212
12213         * win32/common/config.h:
12214           update for version
12215
12216 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12217
12218         * gst/gsterror.c:
12219           Documents how to receive errors.
12220
12221 2006-09-15  Wim Taymans  <wim@fluendo.com>
12222
12223         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12224         (event_loop), (main):
12225         Added some comments here and there.
12226         Post an application message when an interrupt is caught instead of doing
12227         an uncontrolled state change.
12228         Clean up the event loop.
12229         Handle buffering messages, pause/resume the pipeline.
12230         Make shutdown because of an interrupt more reliable.
12231
12232 2006-09-15  Wim Taymans  <wim@fluendo.com>
12233
12234         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12235         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12236         (gst_base_sink_preroll_object):
12237         Make sure that our internal state is correct when we commit our state
12238         asynchronously. This solves a race where a state change to PLAYING
12239         could cause the sink to remain blocked in preroll in some situations.
12240
12241 2006-09-15  Wim Taymans  <wim@fluendo.com>
12242
12243         * tools/gst-inspect.c: (print_element_properties_info),
12244         (print_signal_info):
12245         List flags as hex so it's easier to deal with.
12246
12247 2006-09-15  Wim Taymans  <wim@fluendo.com>
12248
12249         * docs/libs/gstreamer-libs-sections.txt:
12250         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12251         (gst_base_sink_do_sync):
12252         * libs/gst/base/gstbasesink.h:
12253         Expose logic to wait for preroll so that subclasses such as audiosink
12254         can also use this method.
12255         API: gst_base_sink_wait_preroll()
12256
12257 2006-09-15  Wim Taymans  <wim@fluendo.com>
12258
12259         * gst/gstobject.c: (gst_object_set_parent):
12260         * gst/gstpipeline.c: (do_pipeline_seek):
12261         Small cleanups in docs and code.
12262
12263         * gst/gstsegment.c: (gst_segment_clip):
12264         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12265         if stop == start and start is in the segment, no clipping should be
12266         done. Also add a test for this.
12267
12268 2006-09-15  Wim Taymans  <wim@fluendo.com>
12269
12270         * docs/design/part-buffering.txt:
12271         * docs/gst/gstreamer-sections.txt:
12272         * gst/gstmessage.c: (gst_message_new_buffering),
12273         (gst_message_parse_buffering):
12274         * gst/gstmessage.h:
12275         Added methods to create and parse BUFFERING messages.
12276         Added preliminary docs about buffering.
12277         API: gst_message_new_buffering
12278         API: gst_message_parse_buffering
12279
12280 2006-09-06  Wim Taymans  <wim@fluendo.com>
12281
12282         * gst/gstbin.c:
12283         Update documentation.
12284
12285         * gst/gstelement.c: (gst_element_class_init),
12286         (gst_element_release_request_pad), (gst_element_set_clock),
12287         (gst_element_get_index), (gst_element_add_pad),
12288         (gst_element_remove_pad), (gst_element_get_random_pad),
12289         (gst_element_send_event), (gst_element_get_query_types),
12290         (gst_element_query), (gst_element_post_message),
12291         (gst_element_message_full), (gst_element_continue_state),
12292         (gst_element_lost_state), (gst_element_save_thyself),
12293         (gst_element_restore_thyself):
12294         Documentation updates.
12295         Rename last bit of the new-pad -> pad-added signal rename.
12296         Fix the case where an element query would only work if the source
12297         pad was linked.
12298         Avoid some useless type checking in message handling.
12299
12300         * gst/gstevent.c:
12301         * gst/gstevent.h:
12302         * gst/gstutils.c:
12303         Documentation updates.
12304
12305 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12306
12307         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12308           add an INFO line for when we actually update the fd
12309
12310 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12311
12312         * configure.ac:
12313           back to TRUNK
12314
12315 === release 0.10.10 ===
12316
12317 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12318
12319         * configure.ac:
12320           releasing 0.10.10, "Pais"
12321
12322 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12323
12324         * docs/manual/advanced-position.xml:
12325           Fix typo in sample code.
12326
12327 2006-09-05  Wim Taymans  <wim@fluendo.com>
12328
12329         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12330         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12331         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12332         * libs/gst/net/gstnetclientclock.h:
12333         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12334         * libs/gst/net/gstnettimepacket.h:
12335         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12336         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12337         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12338         * libs/gst/net/gstnettimeprovider.h:
12339         Make stuff compile on windows. Fixes #345295.
12340
12341 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12342
12343         * gst/gst.c: (ensure_current_registry_forking):
12344           Print better details when child was terminated by signal.
12345
12346 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12347
12348         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12349           Print a warning rather than g_assert() if a plugin feature
12350           is a URI handler but returns no protocols (#353976).
12351
12352 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12353
12354         * docs/random/moving-plugins:
12355         Fix two typos.         
12356
12357 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12358
12359         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12360           Fix locking order, handle NULL function values properly.
12361
12362         * gst/gstinfo.h:
12363           Fix docs.
12364
12365         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12366           Initialise variable before using it and fix debug statement to
12367           print the address of the function rather than the address of the
12368           variable on the stack holding the address of the function.
12369
12370 2006-09-01  Wim Taymans  <wim@fluendo.com>
12371
12372         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12373         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12374         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12375         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12376         (gst_ghost_pad_parent_unset),
12377         (gst_ghost_pad_internal_do_activate_push),
12378         (gst_ghost_pad_internal_do_activate_pull),
12379         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12380         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12381         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12382         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12383         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12384         (gst_ghost_pad_new_no_target_from_template),
12385         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12386         More cleanups.
12387         Avoid needless typechecking in macros.
12388         Since the internal pad is always present and never changes, there is
12389         no need to locking or ref when retrieving it.
12390         Improve debugging a bit.
12391         Handle link errors when setting the target. Fixes #341029.
12392
12393 2006-09-01  Wim Taymans  <wim@fluendo.com>
12394
12395         * docs/libs/gstreamer-libs-sections.txt:
12396         * docs/plugins/gstreamer-plugins-sections.txt:
12397         Fix docs some more.
12398
12399         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12400         (gst_collect_pads_event):
12401         * libs/gst/base/gstcollectpads.h:
12402         Documentation updates.
12403         Free queued buffer when removing a pad.
12404
12405 2006-08-31  Michael Smith  <msmith@fluendo.com>
12406
12407         * gst/gstutils.c: (gst_element_link_pads),
12408         (gst_element_link_pads_filtered):
12409           Ensure that we set a capsfilter to NULL if we failed to link it
12410           when doing filtered linking, to avoid criticals.
12411
12412           No need to check for unreffing srcpad, which is explicly NULLed
12413           above (a trivial code cleanup).
12414
12415 2006-08-31  Wim Taymans  <wim@fluendo.com>
12416
12417         * docs/design/part-gstghostpad.txt:
12418         Update ascii art in documentation.
12419
12420         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12421         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12422         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12423         (gst_ghost_pad_internal_do_activate_push),
12424         (gst_ghost_pad_internal_do_activate_pull),
12425         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12426         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12427         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12428         (gst_ghost_pad_set_target):
12429         Small cleanups and leak fixes.
12430         Remove some checks now that the internal pad is never NULL.
12431         Fix the case where linking pads without a target would create nasty
12432         criticals. Fixes #341029.
12433         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12434         value of _set_target().
12435
12436         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12437         (gst_ghost_pad_suite):
12438         Some more tests for creating and linking untargeted ghostpads.
12439
12440 2006-08-31  Edward Hervey  <edward@fluendo.com>
12441
12442         * docs/gst/gstreamer-sections.txt:
12443         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12444         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12445         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12446         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12447         (gst_ghost_pad_new_from_template),
12448         (gst_ghost_pad_new_no_target_from_template):
12449         * gst/gstghostpad.h:
12450         Refactored *_new() functions.
12451         Templates are now used as a g_object_new() parameter.
12452         Use template in _do_getcaps() if we don't have a target.
12453         Small documentation cleanups.
12454         Added two new constructors:
12455         gst_ghost_pad_new_from_template()
12456         gst_ghost_pad_new_no_target_from_template()
12457         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12458         (gst_ghost_pad_suite):
12459         Added tests for new ghostpad instanciation functions.
12460
12461         API additions: gst_ghost_pad_new_from_template,
12462         gst_ghost_pad_new_no_target_from_template
12463
12464 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12465
12466         * docs/random/ensonic/profiling.txt:
12467           Ideas about qos profiling.
12468
12469 2006-08-29  Wim Taymans  <wim@fluendo.com>
12470
12471         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12472         Code cleanups.
12473         Fix memleak.
12474
12475 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12476
12477         * gst/gstxml.c:
12478           Improve and detypofy docs.
12479
12480         * tests/check/Makefile.am:
12481         * tests/check/gst/.cvsignore:
12482         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12483           Add a basic test suite for GstXML.
12484
12485 2006-08-29  Wim Taymans  <wim@fluendo.com>
12486
12487         * gst/gstelement.c: (activate_pads), (clear_caps),
12488         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12489         Clear the pad caps when the element shut down all of the pads and
12490         is not streaming data that could modify the caps. 
12491         Fixes #352958.
12492
12493 2006-08-28  Michael Smith  <msmith@fluendo.com>
12494
12495         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12496           Revert previous change; I misunderstood single-segment mode.
12497
12498 2006-08-28  Michael Smith  <msmith@fluendo.com>
12499
12500         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12501           Unset DISCONT on buffers when using single-segment mode.
12502
12503 2006-08-28  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/gstcaps.c: (gst_caps_merge_structure):
12506         * gst/gstcaps.h:
12507         Fix docs and indentation again.
12508
12509         * tests/check/gst/gstquery.c: (GST_START_TEST):
12510         Fix leak in tests and add some more tests.
12511
12512 2006-08-28  Edward Hervey  <edward@fluendo.com>
12513
12514         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12515         Inform GstSegment of the last stop position in order for the current
12516         segment to have a proper duration if it doesn't have a specific stop
12517         position from which a duration could be calculated.
12518         This bug was noticeable when a non-flushing, non-update new segment was
12519         followed by another segment (all buffers from the new segment were being
12520         dropped).
12521
12522 2006-08-28  Wim Taymans  <wim@fluendo.com>
12523
12524         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12525         Small comment update.
12526
12527         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12528         (gst_identity_transform_ip):
12529         Drop-probability is broken, mention this in the code with a 
12530         FIXME and also in the property description.
12531         Make silent also be silent about the drop messages.
12532
12533 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12534
12535         * docs/manual/appendix-win32.xml:
12536           Remove mention of popt, we don't depend on that any
12537           longer (#353136). Add some comments pointing out that
12538           this section is slightly outdated.
12539
12540 2006-08-28  Wim Taymans  <wim@fluendo.com>
12541
12542         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12543
12544         * gst/gstquery.c: (gst_query_new_segment):
12545         * tests/check/gst/gstquery.c: (GST_START_TEST):
12546         Initialize variables when creating a new segment query.
12547         Fixes #353121.
12548
12549 2006-08-28  Wim Taymans  <wim@fluendo.com>
12550
12551         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12552
12553         * gst/gstelement.c: (gst_element_get_bus):
12554         * tests/check/gst/gstelement.c: (GST_START_TEST):
12555         Check for NULL before _reffing the bus. Fixes #353122.
12556
12557 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12558
12559         * docs/manual/basics-bus.xml:
12560           Docs update: fix wrong callback return value explanation; add
12561           some lines about the implicit relationship between main loop
12562           and main context; remove duplicate main loop variable declaration.
12563
12564 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12565
12566         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12567           Don't leak caps in unit test; add a few more simple
12568           checks. 
12569
12570 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * docs/gst/gstreamer-sections.txt:
12573         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12574         (gst_caps_structure_is_subset), (gst_caps_merge),
12575         (gst_caps_merge_structure):
12576         * gst/gstcaps.h:
12577         * libs/gst/base/gstbasetransform.c:
12578         (gst_base_transform_transform_caps):
12579         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12580           implement caps merging (fixes #352580)
12581
12582 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12583
12584         * tools/Makefile.am:
12585         * tools/gst-plot-timeline.py:
12586           add debug-log plotting developer tool (#340674)
12587
12588 2006-08-23  Wim Taymans  <wim@fluendo.com>
12589
12590         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12591         (gst_pad_stop_task):
12592         Improve debugging for task functions.
12593
12594         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12595         (gst_task_start), (gst_task_pause), (gst_task_join):
12596         Make sure that the task function started and finished after a 
12597         join(). 
12598         Don't try to push the task function on the threadpool multiple
12599         times.
12600         Improve the g_warning message with some useful suggestions
12601         about how to fix the problem. 
12602
12603 2006-08-23  Wim Taymans  <wim@fluendo.com>
12604
12605         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12606         Handle RESYNC correctly in _proxy_getcaps.
12607
12608 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12609
12610         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12611         (gst_xml_parse_memory), (gst_xml_get_element):
12612           Chain up to parent class in dispose function and also
12613           unref the elements in the toplevel_elements GList.
12614           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12615           Always return a reference in gst_xml_get_element() rather
12616           than only sometimes.
12617
12618         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12619           Don't leak GstXml object.
12620
12621 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12622
12623         * docs/gst/gstreamer-sections.txt:
12624         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12625         (gst_caps_merge):
12626         * gst/gstcaps.h:
12627         * libs/gst/base/gstbasetransform.c:
12628         (gst_base_transform_transform_caps):
12629           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12630           in a better way
12631
12632 2006-08-21  Edward Hervey  <edward@fluendo.com>
12633
12634         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12635         Implement GObject::dispose virtual method in GstXML so we can free the
12636         top_elements GList.
12637
12638 2006-08-21  Wim Taymans  <wim@fluendo.com>
12639
12640         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12641         (gst_buffer_create_sub):
12642         Copy duration/offset_end/caps when creating a subbuffer of the
12643         complete parent.
12644         Make the subbuffer read-only when we make the metadata writable for
12645         now. Fixes #351768.
12646
12647         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12648         Added check for metadata copy when creating subbuffers.
12649
12650 2006-08-21  Edward Hervey  <edward@fluendo.com>
12651
12652         * libs/gst/base/gstbasetransform.c:
12653         (gst_base_transform_buffer_alloc):
12654         Only call downstream buffer_alloc if transform element is passthrough
12655         or always_in_place. Closes #350449.
12656
12657 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12658
12659         * ChangeLog:
12660           ChangeLog surgery to add comments to previous changes
12661
12662 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12663
12664         * gst/gst.c:
12665           Add comments
12666
12667         * gst/gstpad.c: (gst_pad_set_active):
12668           Be more verbose in the log
12669
12670         * libs/gst/base/gstbasetransform.c:
12671         (gst_base_transform_transform_caps):
12672           Simplify caps to get rid of duplicates, fixes #345444
12673
12674 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12675
12676         * gst/gstvalue.c:
12677         * gst/gstvalue.h:
12678           Use these optimizations only internally.
12679
12680 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12681
12682         * gst/gstvalue.c: (gst_value_compare_list),
12683         (gst_value_compare_fraction_range),
12684         (gst_value_intersect_fraction_fraction_range),
12685         (gst_value_intersect_fraction_range_fraction_range),
12686         (gst_value_subtract_fraction_fraction_range),
12687         (gst_value_subtract_fraction_range_fraction_range),
12688         (gst_value_get_compare_func), (gst_value_compare),
12689         (gst_value_compare_with_func):
12690         * gst/gstvalue.h:
12691           Saves the expensive lookup of the compare function in many cases
12692          (#345444)
12693
12694 2006-08-18  Edward Hervey  <edward@fluendo.com>
12695
12696         * tests/check/gst/gstinfo.c: (gst_info_suite):
12697         Disable test that require gstdebug if it wasn't built in core.
12698
12699 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12700
12701         * docs/random/ensonic/logging.txt:
12702           update ideas
12703           
12704         * gst/gstinfo.c: (gst_debug_log_default):
12705           reorder fields, save some columns, add optional color codes for log
12706           levels
12707
12708 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12709
12710         * docs/random/ensonic/logging.txt:
12711           add ideas about making the logs a bit more useful
12712
12713 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12714
12715         * docs/pwg/advanced-events.xml:
12716         * docs/pwg/titlepage.xml:
12717           Update for 0.10 API (#340627). Add myself
12718           to authors list.
12719
12720 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12721
12722         * docs/libs/gstreamer-libs-docs.sgml:
12723         * docs/libs/gstreamer-libs-sections.txt:
12724         * libs/gst/check/gstbufferstraw.c:
12725           Make gstcheck stuff show up in docs (still needs to
12726           be documented properly though).
12727
12728 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12729
12730         * docs/gst/gstreamer-sections.txt:
12731         * gst/Makefile.am:
12732         * gst/gst.c: (init_post):
12733         * gst/gst_private.h:
12734         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12735         * gst/gstquark.h:
12736         * gst/gstquery.c: (gst_query_new_position),
12737         (gst_query_set_position), (gst_query_parse_position),
12738         (gst_query_new_duration), (gst_query_set_duration),
12739         (gst_query_parse_duration), (gst_query_new_convert),
12740         (gst_query_set_convert), (gst_query_parse_convert),
12741         (gst_query_new_segment), (gst_query_set_segment),
12742         (gst_query_parse_segment), (gst_query_new_seeking),
12743         (gst_query_set_seeking), (gst_query_parse_seeking):
12744         Add internal helpers for pre-registering quarks from static strings
12745         and using the quark values directly instead of looking them up when
12746         creating and parsing queries. Can be used for event construction too.
12747         Closes #350432.
12748
12749 2006-08-16  Wim Taymans  <wim@fluendo.com>
12750
12751         * gst/gstbin.c:
12752         Fix bogus docs.
12753
12754 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12755
12756         * gst/gstutils.c: (gst_util_set_value_from_string):
12757           Fix memleak (#351502).
12758
12759         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12760           Add unit test for most of gst_util_set_value_from_string()
12761           (not that one would want to encourage use of this function).
12762
12763 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12764
12765         * libs/gst/check/gstcheck.h:
12766           Use const gchar * variables in fail_unless_equals_string
12767           macro to avoid compiler warnings (and don't use tabs for
12768           indenting).
12769
12770 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * tools/gst-launch.c: (print_tag):
12773           More space on the left for the tag names, to cater
12774           for the 'extended comment' tag (not touching the
12775           string for the first line since it's translated).
12776
12777 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12778
12779         * libs/gst/check/gstcheck.h:
12780           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12781           print something when they fail.
12782
12783 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12784
12785         * docs/gst/gstreamer-sections.txt:
12786         * gst/gsttaglist.c: (_gst_tag_initialize):
12787         * gst/gsttaglist.h:
12788           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12789           Also change merge function for GST_TAG_COMMENT to
12790           use_first.
12791
12792 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12793
12794         * gst/gstinfo.c: (gst_debug_print_object):
12795           Make GST_PTR_FORMAT print messages as well.
12796
12797         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12798         (GST_START_TEST), (gst_info_suite):
12799           More tests.
12800
12801 2006-08-14  Edward Hervey  <edward@fluendo.com>
12802
12803         * gst/gstelementfactory.c: (gst_element_register):
12804         If the GstElementClass doesn't have a GstElementDetails with all fields
12805         filled up correctly (longname, description AND author), then error out
12806         nicely instead of crashing.
12807
12808 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12809
12810         * gst/gststructure.c:
12811           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12812
12813         * gst/gstvalue.h:
12814           Expand on the difference between arrays and lists as we use them.
12815           
12816 2006-08-14  Wim Taymans  <wim@fluendo.com>
12817
12818         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12819         If the parent state change function failed, don't assume we can safely
12820         stop the source, this will be done when the pads are deactivated.
12821
12822 2006-08-14  Wim Taymans  <wim@fluendo.com>
12823
12824         * gst/gstbuffer.c:
12825         * gst/gsttask.c: (gst_task_join):
12826         Small doc updates.
12827
12828         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12829         (gst_pad_stop_task):
12830         When pad (de)activation failed for some reason, restore the old
12831         activation mode and set the pad to flushing instead of assuming the
12832         pad is deactivated.
12833         If the _task_join() failed, reinstall the task on the pad so that it can
12834         be stopped later and return an error.
12835
12836 2006-08-11  Andy Wingo  <wingo@pobox.com>
12837
12838         * configure.ac:
12839         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12840         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12841         is only for users of API that don't want to see deprecated
12842         functions in the headers; people that want to compile out
12843         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12844         CFLAGS. Fixes the build of multifdsink, or will soon..
12845
12846 2006-08-11  Wim Taymans  <wim@fluendo.com>
12847
12848         * docs/gst/gstreamer-sections.txt:
12849         Add GstClockClass vmethod docs.
12850
12851         * gst/gstcaps.h:
12852         Mark #endif with comment for associated #if
12853
12854         * gst/gstclock.c: (gst_clock_id_wait):
12855         * gst/gstclock.h:
12856         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12857         most clock implementations.
12858         Document vmethods.
12859         Flesh out docs about resolution methods.
12860         API: GstClockClass::wait_jitter
12861
12862         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12863         (gst_system_clock_async_thread),
12864         (gst_system_clock_id_wait_jitter_unlocked),
12865         (gst_system_clock_id_wait_jitter):
12866         Use base class wait_jitter variant for improved performance
12867         due to less clock polling.
12868
12869 2006-08-11  Edward Hervey  <edward@fluendo.com>
12870
12871         * gst/gst.c: (gst_init_check), (init_post):
12872         Set gst as being initialized before scanning/updating the registry,
12873         since there might be my python plugin loader that calls gst_init() and
12874         we don't want to loop back in.
12875         Closes #350879
12876
12877 2006-08-11  Wim Taymans  <wim@fluendo.com>
12878
12879         * docs/design/part-qos.txt:
12880         Bring docs in line with the code. Mostly the sign of the jitter was
12881         wrong in the docs. Fixes #349943.
12882
12883         * gst/gstclock.c:
12884         Fix the docs for the jitter.
12885
12886         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12887         (gst_event_parse_tag), (gst_event_new_buffer_size),
12888         (gst_event_parse_buffer_size), (gst_event_parse_qos),
12889         (gst_event_new_seek), (gst_event_parse_seek),
12890         (gst_event_new_navigation):
12891         Make sure the GstStructure has no parent when creating custom
12892         events.
12893         Add some more argument checking so that we avoid 0.0 rates.
12894         Flesh out the docs for the QoS event some more.
12895
12896 2006-08-11  Wim Taymans  <wim@fluendo.com>
12897
12898         * docs/gst/gstreamer-sections.txt:
12899         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12900         (ensure_current_registry_forking), (ensure_current_registry),
12901         (parse_one_option), (parse_goption_arg), (gst_deinit),
12902         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12903         * gst/gst.h:
12904         Doc updates.
12905         Added API and command line option to disable registry forking in
12906         addition to the environment variable.
12907         Constify some static arrays.
12908         Added some more debug.
12909         Don't deinit twice.
12910         API: gst_registry_fork_is_enabled()
12911         API: gst_registry_fork_set_enabled()
12912         API: --gst-disable-registry-fork command line option
12913         Fixes #348918.
12914
12915 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
12916
12917         * gst/gst.c: (gst_init):
12918           Fix typo in error message.
12919
12920 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12921
12922         * libs/gst/controller/gstcontroller.h:
12923           fix ABI size-correction
12924
12925         * tests/check/libs/gdp.c: (gst_dp_suite):
12926           make tests that use deprecated API conditional
12927
12928 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
12929
12930         * docs/libs/gstreamer-libs-sections.txt:
12931         * libs/gst/controller/gstcontroller.c:
12932         (_gst_controller_get_property), (_gst_controller_set_property),
12933         (_gst_controller_init), (_gst_controller_class_init):
12934         * libs/gst/controller/gstcontroller.h:
12935         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12936         (gst_object_set_control_rate):
12937           API: add gst_object_{s,g}et_control_rate(), add private data section,
12938           fix docs
12939
12940         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12941         * libs/gst/dataprotocol/dataprotocol.h:
12942           add deprecation guards to make gtk-doc happy and allow disabling cruft
12943
12944 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12945
12946         * tests/check/Makefile.am:
12947         * tests/check/gst/.cvsignore:
12948           Let's enable the new unit test as well.
12949
12950 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12951
12952         * configure.ac:
12953         * docs/gst/gstreamer-sections.txt:
12954         * gst/gstconfig.h.in:
12955         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12956         (_gst_info_printf_extension_ptr),
12957         (_gst_info_printf_extension_segment):
12958           API: add GST_SEGMENT_FORMAT, which is a printf extension we
12959           register that lets us easily dump GstSegments into debug
12960           logs (#350419).
12961
12962         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12963         (info_segment_format_printf_extension), (gst_info_suite):
12964           Add simple unit test that logs a bunch of different segments (not
12965           valgrinded at the moment because of leaks in
12966           gst_debug_add_log_function).
12967
12968 2006-08-09  Edward Hervey  <edward@fluendo.com>
12969
12970         * libs/gst/base/gstbasetransform.c:
12971         (gst_base_transform_buffer_alloc):
12972         Even if we can't figure out the proper format to request downstream,
12973         call buffer_alloc() downstream with the input parameters without setting
12974         the caps on the srcpad. This will force negotiation in the chain
12975         function.
12976         Closes #350449
12977
12978 2006-08-08  Edward Hervey  <edward@fluendo.com>
12979
12980         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12981         Unlinking from a pad without a target is now a perfectly valid case
12982         which should NOT raise an assertion.
12983         This case would happen if a linked ghostpad its target set to NULL after
12984         it was previously linked.
12985
12986 2006-08-08  Edward Hervey  <edward@fluendo.com>
12987
12988         * tests/check/libs/gdp.c:
12989         Also comment out the test (see below).
12990
12991 2006-08-08  Edward Hervey  <edward@fluendo.com>
12992
12993         * tests/check/libs/gdp.c: (gst_dp_suite):
12994         Use the architecture information from config.h and not gcc macros
12995         in order to properly disable a test that fails on PPC64.
12996
12997 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
12998
12999         * gst/gstelement.c: (gst_element_remove_pad):
13000           Don't crash printing the warning if the pad has no parent.
13001
13002 2006-08-02  Wim Taymans  <wim@fluendo.com>
13003
13004         * libs/gst/dataprotocol/dataprotocol.c:
13005         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13006         (gst_dp_crc), (gst_dp_header_payload_length),
13007         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13008         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13009         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13010         (gst_dp_event_from_packet), (gst_dp_validate_header),
13011         (gst_dp_validate_payload):
13012         Make debug category static
13013         Constify the crc table.
13014         Do some more arg checking in public functions.
13015         Fix some docs and do some small cleanups.
13016
13017         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13018         Add some more checks to see if GDP deals with bogus input.
13019
13020 2006-07-31  Wim Taymans  <wim@fluendo.com>
13021
13022         * gst/gstvalue.c: (gst_value_compare_list):
13023         Fix GstValueList comparison code. Fixes #347293.
13024
13025         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13026         Check to test GstValueList comparison.
13027
13028 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13029
13030         * gst/gstelementfactory.c: (gst_element_factory_create):
13031         Remove unnecessary ref/unref pair
13032
13033         * gst/parse/grammar.y:
13034         Make sure to free the parse buffer on all code paths.
13035         Move a g_free up to the error handler where it's easier to see.
13036
13037         * tests/check/gst/gstevent.c: (test_event):
13038         Extending timeout for downstream travelling events to 10 seconds to
13039         hopefully avoid intermittent failure on the buildbots.
13040
13041         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13042         Don't manually set the state of the src element - it will happen as a
13043         natural consequence of the pipeline changing state, and that way it
13044         will do it in the right order too.
13045
13046 2006-07-31  Wim Taymans  <wim@fluendo.com>
13047
13048         * libs/gst/base/gstbasetransform.c:
13049         (gst_base_transform_buffer_alloc):
13050         Use OBJECT_LOCK and refcounting to get the pad caps in the
13051         buffer_alloc function because the caps could change while we are
13052         busy with them. Fixes #349105
13053
13054 2006-07-31  Wim Taymans  <wim@fluendo.com>
13055
13056         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13057         Protect _PAD_CAPS with OBJECT_LOCK.
13058
13059 2006-07-31  Wim Taymans  <wim@fluendo.com>
13060
13061         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13062         (gst_pad_get_property), (gst_pad_activate_pull),
13063         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13064         (gst_pad_set_activate_function),
13065         (gst_pad_set_activatepull_function),
13066         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13067         (gst_pad_set_getrange_function),
13068         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13069         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13070         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13071         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13072         (gst_pad_set_acceptcaps_function),
13073         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13074         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13075         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13076         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13077         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13078         (gst_pad_configure_sink), (gst_pad_configure_src),
13079         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13080         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13081         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13082         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13083         (gst_pad_send_event):
13084         Use _DEBUG_OBJECT when it makes sense.
13085         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13086         Small cleanups and code reflows.
13087         Avoid caps refcounting in _accept_caps.
13088         Refactor alloc_buffer so that the code performed on the peer is in a
13089         separate function. Also if the pad does not implement a buffer alloc
13090         function, we should still check if the pad is flushing before falling
13091         back to the default allocator.
13092
13093 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13094
13095         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13096         Make all uses of identity and fakesink have silent=true to avoid
13097         serialising every passing data structure, which is breaking tests
13098         on FC4 for some unknown reason.
13099
13100 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13101
13102         * gst/parse/Makefile.am:
13103         * gst/parse/grammar.y:
13104         * gst/parse/parse.l:
13105           Reverted previous patch as it required to bump the flex dependency to
13106           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13107
13108 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13109
13110         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13111
13112         * gst/parse/Makefile.am:
13113         * gst/parse/grammar.y:
13114         * gst/parse/parse.l:
13115           push & pop the state of the lexer for reentrant use case
13116           Fixes #349180
13117
13118 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13119
13120         * libs/gst/base/gstbasesrc.h:
13121           Note in the docs that the ::newsegment vfunc is not actually used by
13122           GstBaseSrc.
13123
13124 2006-07-28  Wim Taymans  <wim@fluendo.com>
13125
13126         * libs/gst/base/gstcollectpads.c:
13127         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13128         (gst_collect_pads_clear), (gst_collect_pads_flush),
13129         (gst_collect_pads_event), (gst_collect_pads_chain):
13130         When flushing a pad, also clear the queued buffer so that we don't
13131         accidentally use it when we shouldn't.
13132         Fix leaks by inreffing incomming buffer.
13133         Flush out queued buffers in case of errors.
13134         Fixes #347452.
13135
13136 2006-07-28  Wim Taymans  <wim@fluendo.com>
13137
13138         * docs/random/phonon-gst:
13139         Random notes about a Phonon backend.
13140
13141 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13142
13143         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13144         Extra debug output
13145         * tests/check/libs/gdp.c: (gst_dp_suite):
13146         Take a whack at fixing the ppc compile using a different define to
13147         disable the broken test.
13148
13149         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13150         Remove excess g_print()
13151
13152 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13153
13154         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13155         Oops, meant to uncomment this line too to dampen the noise a bit.
13156
13157 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13158
13159         * gst/parse/grammar.y:
13160         * gst/parse/parse.l:
13161         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13162         (GST_START_TEST), (parse_suite):
13163         Fix some of the leaks exposed by extending the parse-launch testsuite,
13164         and move the 3 I can't figure out into a separate test that won't run
13165         the pipelines unless the appropriate line is uncommented.
13166
13167 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13168
13169         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13170           Requesting 0 bytes before the end of the file should result in
13171           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13172           unit test.
13173
13174 2006-07-27  Wim Taymans  <wim@fluendo.com>
13175
13176         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13177         Fix useless assert, a uint is always positive.
13178
13179         * gst/gststructure.c: (gst_structure_nth_field_name),
13180         (gst_structure_foreach), (gst_structure_map_in_place):
13181         Check input arguments for public functions to avoid obvious crashes.
13182
13183         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13184         * plugins/elements/gstfakesink.h:
13185         Do less useless typechecking.
13186
13187 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13188
13189         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13190           Do not use mmap() by default since there are a number of error
13191           conditions that we would like to handle in a non-fatal way that
13192           will result in a SIGBUS if we use mmap(). Examples: external
13193           devices (USB harddrive, portable music player) being unplugged
13194           while in use; file on mounted CD/DVD that can't be read because
13195           the medium is partly damaged. Fixes #348455 and #348475.
13196
13197 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13198
13199         * gst/gstquery.h:
13200         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13201         rates are a gdouble
13202
13203 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13204
13205         * gst/gstregistry.c:
13206           Move big documentation comment into class section header, so that it
13207           appears in the API docs.
13208
13209 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13210
13211         * docs/gst/gstreamer-sections.txt:
13212         Oops. Commit the docs additions too for new API.
13213         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13214
13215 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13216
13217         * gst/gststructure.c: (gst_structure_id_set),
13218         (gst_structure_id_set_valist):
13219         * gst/gststructure.h:
13220         Add API for setting values into structures without performing
13221         a quark lookup, if the appropriate quark is already known.
13222
13223         API: gst_structure_id_set
13224         API: gst_structure_id_set_valist
13225
13226         * gst/parse/grammar.y:
13227         * gst/parse/parse.l:
13228         Remove some dead code shown by the coverage information.
13229         Don't throw a critical g_warning when encountering a syntax error,
13230         just warn and let the normal error path handle it.
13231
13232         * plugins/elements/gstelements.c:
13233         Bump the rank of filesink up to PRIMARY so that it is preferred over
13234         gnomevfssink for file:// sink uri's
13235
13236         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13237         (GST_START_TEST), (run_delayed_test),
13238         (gst_parse_test_element_base_init),
13239         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13240         (gst_parse_test_element_change_state),
13241         (gst_register_parse_element), (parse_suite):
13242         Beef up the tests for parse syntax to check that more error cases
13243         fail as they are supposed to. Increases the test coverage a bit.
13244
13245 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13246
13247         * docs/manual/basics-elements.xml:
13248           Fix gst_element_link() example.
13249
13250         * gst/gstutils.c:
13251           Mention in API docs that one should usually gst_bin_add()
13252           elements to a bin or pipeline before doing the linking.
13253           
13254 2006-07-26  Wim Taymans  <wim@fluendo.com>
13255
13256         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13257         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13258         Avoid function call for known types by keeping the buffer and
13259         subbuffer GType global.
13260
13261         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13262         Random silly optimisations in read() path.
13263
13264 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13265
13266         * tools/gst-launch.c: (main):
13267           If the top-level of the parse is a normal bin, it doesn't do the
13268           right logic to run as a top-level element, so place it inside a
13269           pipeline.
13270
13271 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13272
13273         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13274           Remove superfluous g_object_notify() calls, GObject does
13275           that for us automatically.
13276
13277 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13278
13279         * gst/gstinfo.h:
13280           on Win32, use dllspec to export the debug category symbols
13281
13282 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         * gst/gsttaglist.c: (_gst_tag_initialize):
13285           Allow more than one GST_TAG_IMAGE per taglist.
13286
13287 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13288
13289         * gst/gstminiobject.c:
13290           update docs
13291         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13292         (gst_fd_src_create):
13293           log recurring events at LOG level
13294           add more debug for when the fd gets set
13295
13296 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13297
13298         * gst/gstparse.c: (gst_parse_launch):
13299           Also remove reentrance checks if flex is MT safe (#348179)
13300          Fix my empty ChangeLog entry below
13301
13302 2006-07-21  Andy Wingo  <wingo@pobox.com>
13303
13304         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13305
13306         * libs/gst/check/Makefile.am
13307         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13308         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13309         * libs/gst/check/gstbufferstraw.h:
13310         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13311         functions, thus proving I am still a GStreamer haxor. OK I wrote
13312         them a long time ago, but anyways.
13313
13314 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13315
13316         * configure.ac:
13317         * gst/gstparse.c: (gst_parse_launch):
13318           Check for flex version and omit mutex if we have a MT save flex
13319           (fixes #348179)
13320
13321 2006-07-21  Wim Taymans  <wim@fluendo.com>
13322
13323         * gst/gstparse.c: (gst_parse_launch):
13324         Protect recursive calls to _parse with a recursive mutex
13325         and busy flag.
13326
13327 2006-07-21  Wim Taymans  <wim@fluendo.com>
13328
13329         * tests/check/gst/gstpad.c: (GST_START_TEST):
13330         Fix leak in test.
13331
13332 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13333
13334         * gst/gstparse.c: (gst_parse_launch):
13335           Do not hang on recursive usage of gst_parse_launch()
13336
13337 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13338
13339         * gst/gsttaglist.c:
13340           Add some more docs, comments and FIXME 0.11s here and there
13341           and also fix some typos.
13342
13343 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13344
13345         * gst/gstsegment.h:
13346           Convert tabs to spaces for better readability. 
13347
13348 2006-07-20  Edward Hervey  <edward@fluendo.com>
13349
13350         * tests/check/libs/gdp.c: (gst_dp_suite):
13351         the test_buffer test fails at line 140 on ppc64 at the following
13352         check:
13353         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13354                 GST_BUFFER_FLAG_IN_CAPS),
13355                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13356         See bug #348114 for more details.
13357
13358 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13359
13360         * docs/pwg/advanced-scheduling.xml:
13361         * gst/gstpad.c:
13362           Fix typos (#348000).
13363
13364 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13365
13366         * docs/pwg/intro-basics.xml:
13367           Fix wrong links (#347927).
13368
13369 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13370
13371         * gst/gstregistry.h:
13372         * gst/gstregistryxml.c: (load_feature),
13373         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13374         * win32/common/config.h:
13375           make --disable-index work (#342564)
13376
13377 2006-07-18  Wim Taymans  <wim@fluendo.com>
13378
13379         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13380
13381         * gst/Makefile.am:
13382         * gst/gsttrace.h:
13383         The attached patch adds two missing defines to gsttrace.h when tracing
13384         is disabled.  It also corrects one existing define.
13385         Fixes #347756.
13386
13387 2006-07-17  Wim Taymans  <wim@fluendo.com>
13388
13389         * docs/gst/gstreamer-sections.txt:
13390         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13391         * gst/gst.h:
13392         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13393         Add two functions to check and change the SIGSEGV behaviour
13394         when loading plugins.
13395         Don't mess with the SIGSEGV handler when we were told not to.
13396         Fixes #347794.
13397         API: gst_segtrap_is_enabled
13398         API: gst_segtrap_set_enabled
13399
13400 2006-07-14  Wim Taymans  <wim@fluendo.com>
13401
13402         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13403         * tests/check/elements/filesrc.c: (GST_START_TEST):
13404         Revert fix for regression in #347408 after release.
13405
13406 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13407
13408         Patch by: Antoine Tremblay <hexa00 at gmail com>
13409
13410         * gst/gstutils.c: (gst_element_unlink):
13411           Free iterator when done (#347311).
13412
13413         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13414           And add a test case for this.
13415
13416 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13417
13418         * configure.ac:
13419         Bump nano back to CVS
13420
13421 === release 0.10.9 ===
13422
13423 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13424
13425         * configure.ac:
13426           releasing 0.10.9, "On the road again"
13427
13428 2006-07-13  Wim Taymans  <wim@fluendo.com>
13429
13430         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13431         * tests/check/elements/filesrc.c: (GST_START_TEST):
13432         Revert pull-0 fix for release. Disable check. Fixes #347408.
13433
13434 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * libs/gst/dataprotocol/dataprotocol.c:
13437         (gst_dp_event_from_packet_1_0):
13438           Fixes #347337: failure to deserialize event packets with
13439           empty payload (only event type)
13440
13441 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13442
13443         * gst/Makefile.am:
13444           do not install a .c file in the header directory
13445
13446 2006-07-13  Edward Hervey  <edward@fluendo.com>
13447
13448         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13449         GhostPad no longer implicitely use the padtemplates of the targets.
13450         Fixes #347384
13451
13452 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13453
13454         * gst/gstvalue.c: (gst_value_compare_list),
13455         (gst_value_compare_array), (_gst_value_initialize):
13456         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13457         Make GstValueArray comparison be order dependent as designed.
13458         Add checks for value lists and value array comparisons.
13459         Fixes #347221
13460
13461 2006-07-11  Edward Hervey  <edward@fluendo.com>
13462
13463         * gst/gstbin.c: (activate_pads),
13464         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13465         (gst_bin_change_state_func):
13466         (de)activate src pads before calling state_change on the childs.
13467         This is to avoid the case where a src ghostpad is blocked (holding the
13468         stream lock), which would block the deactivation of the ghostpad's
13469         target pad.
13470         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13471         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13472         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13473         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13474         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13475         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13476         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13477         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13478         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13479         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13480         (gst_ghost_pad_class_init),
13481         (gst_ghost_pad_internal_do_activate_push),
13482         (gst_ghost_pad_internal_do_activate_pull),
13483         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13484         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13485         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13486         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13487         GhostPads now create their internal GstProxyPad at creation (and not
13488         when they're linked, as it was being done previously).
13489         The internal and target pads are linked straight away.
13490         The data will also travel through the other pad in order to make
13491         pad blocking and probes non-hackish (the probe/block now really happens
13492         on the GhostPad and not on the target).
13493         * gst/gstpad.c: (gst_pad_set_blocked_async),
13494         (gst_pad_link_prepare), (gst_pad_push_event):
13495         Remove previous ghostpad cruft.
13496         * gst/gstutils.c: (gst_pad_add_data_probe),
13497         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13498         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13499         (gst_pad_remove_buffer_probe):
13500         Remove previous ghost pad cruft.
13501         Added more detailed debug statements.
13502         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13503         Fix the testsuite for refcounting changes.
13504         The comments about who has references were correct, but the refcount
13505         being checked wasn't the same (!?!).
13506
13507         Fixes #341029
13508
13509 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13510
13511         * docs/gst/gstreamer-sections.txt:
13512         * gst/gstconfig.h.in:
13513         More docs for configuration options, add docs to gtk-doc.
13514
13515 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13516
13517         * gst/Makefile.am:
13518         * gst/gstconfig.h.in:
13519         * win32/common/config.h:
13520         Fix build when disabling tracing (fixes #344016). Also start to document
13521         the defines that disable the sub-systems.
13522
13523 2006-07-10  Edward Hervey  <edward@fluendo.com>
13524
13525         * gst/gst.c: (ensure_current_registry_forking):
13526         let's make valgrind happy...
13527
13528 2006-07-09  Wim Taymans  <wim@fluendo.com>
13529
13530         * gst/gstelement.c: (activate_pads),
13531         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13532         Better pad activation code: Reset the collect value too on resync.
13533         Add some comments.
13534
13535 2006-07-09  Wim Taymans  <wim@fluendo.com>
13536
13537         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13538         (gst_pad_activate_push):
13539         Use some more macros where it makes sense.
13540         Allow pad mode switching instead of asserting. When a pad
13541         is activated in one mode and we activate it in another, 
13542         deactivate it first before activating it in a different mode.
13543         Fixes #329198.
13544
13545 2006-07-08  Andy Wingo  <wingo@pobox.com>
13546
13547         * tools/gst-launch.c (main): Handle err == NULL.
13548
13549         * gst/gst.c (init_post, ensure_current_registry)
13550         (ensure_current_registry_forking)
13551         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13552         factoring out the registry scanning into separate functions. Don't
13553         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13554         Better environment var name/interface suggestions accepted.
13555
13556 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13557
13558         * gst/gstobject.c: (gst_object_set_name_default),
13559         (gst_object_set_name):
13560           Random micro-optimisation: don't use a hash table
13561           with strings as keys and the usual strdup/strcmp
13562           involved, but rather just use the GQuark of the
13563           type name as key, since it needs to be looked up
13564           anyway to get the type name string.
13565
13566         * tests/check/gst/gstobject.c: (GST_START_TEST):
13567           Fix various leaks.
13568
13569 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13570
13571         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13572         (gst_bin_iterate_all_by_interface):
13573           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13574           GTypes are gulongs and thus the top 4 bytes might be cut
13575           off on some platforms when doing GPOINTER_TO_INT, leading
13576           to invalid GTypes and bad things happening (see RH bug #179654).
13577           Also add a check to make sure the type passed in is really
13578           an interface type.
13579
13580 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13581
13582         * .cvsignore:
13583           Ignore more.
13584
13585 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13586
13587         * Makefile.am:
13588         * configure.ac:
13589         * gst-element-check.m4:
13590         * gst-element-check.m4.in:
13591           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13592           instead of the unversioned gst-inspect (#324176, #168659).
13593
13594 2006-07-06  Wim Taymans  <wim@fluendo.com>
13595
13596         * gst/gstmessage.h:
13597         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13598         warnings.
13599
13600 2006-07-06  Wim Taymans  <wim@fluendo.com>
13601
13602         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13603         (gst_base_src_wait), (gst_base_src_update_length),
13604         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13605         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13606         (gst_base_src_loop), (gst_base_src_start),
13607         (gst_base_src_activate_pull):
13608         Update docs.
13609         blocksize == 0 now means the default blocksize when working in push
13610         based mode.
13611         Remove some pointless asserts in _wait function.
13612         Fix offset/length calculations and EOS handling. We can now pull 0
13613         bytes as well, which is allowed.
13614         use _check_get_range() to decide if we can operate in _pull based
13615         mode.
13616         Fix refcounting leak when check_get_range function was not 
13617         implemented.
13618         API GstBaseSrc::blocksize range can be 0 too now (default)
13619
13620         * tests/check/elements/filesrc.c: (GST_START_TEST),
13621         (filesrc_suite):
13622         Added check to test _get_range() behaviour.
13623
13624 2006-07-06  Wim Taymans  <wim@fluendo.com>
13625
13626         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13627         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13628         (gst_pad_pull_range):
13629         * gst/gstpad.h:
13630         Lots of comments and docs added to the pad functions.
13631         Flesh out the expected behaviour of the get_range() functions.
13632
13633 2006-07-06  Wim Taymans  <wim@fluendo.com>
13634
13635         * gst/gstbus.h:
13636         * gst/gstclock.h:
13637         * gst/gstevent.h:
13638         * gst/gstiterator.h:
13639         * gst/gstpad.h:
13640         * gst/gstplugin.h:
13641         * gst/gsttask.h:
13642         Remove comma at end of enumerator list. 
13643
13644 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13645
13646         * win32/common/libgstbase.def:
13647         * win32/common/libgstdataprotocol.def:
13648         * win32/common/libsgtreamer.def:
13649         Add new exported functions.
13650
13651 2006-07-05  Wim Taymans  <wim@fluendo.com>
13652
13653         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13654         Add some more docs here and there.
13655
13656 2006-07-05  Wim Taymans  <wim@fluendo.com>
13657
13658         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13659         (gst_base_sink_loop), (gst_base_sink_get_position):
13660         When operating in pull mode update the offset so that we
13661         read sequentially.
13662
13663 2006-07-05  Wim Taymans  <wim@fluendo.com>
13664
13665         * gst/gstregistryxml.c: (read_string):
13666         Avoid strdup. (will happen in libxml, but hey!)
13667
13668         * gst/gsturi.c:
13669         Add some more docs.
13670
13671 2006-07-05  Wim Taymans  <wim@fluendo.com>
13672
13673         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13674         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13675         (gst_buffer_suite):
13676         No point in checking if the size of the subbuffer > 0, the
13677         code handles it correclty as demonstrated by unit test.
13678         Also add a unit test for the zero sized _new_and_alloc and
13679         _copy. Fixes #346663.
13680
13681 2006-07-05  Wim Taymans  <wim@fluendo.com>
13682
13683         * libs/gst/base/gstbasetransform.c:
13684         (gst_base_transform_prepare_output_buffer),
13685         (gst_base_transform_buffer_alloc),
13686         (gst_base_transform_handle_buffer):
13687         Make sure the buffer we pass to transform_ip has a refcount of
13688         1 and thus is writable. Fixes #343196
13689
13690 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13691
13692         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13693         (gst_file_src_init), (gst_file_src_set_property),
13694         (gst_file_src_get_property), (gst_file_src_map_region):
13695         * plugins/elements/gstfilesrc.h:
13696         Add "sequential" property, off by default, to use madvise and hint
13697         to the kernel that sequential access is desired.
13698         Touch all retrieved pages by default to ensure they are pulled
13699         into memory. (Closes #345720)
13700
13701 2006-07-03  Wim Taymans  <wim@fluendo.com>
13702
13703         * docs/design/part-block.txt:
13704         * docs/design/part-dynamic.txt:
13705         Small docs updates.
13706
13707 2006-07-03  Wim Taymans  <wim@fluendo.com>
13708
13709         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13710         (gst_caps_unref), (gst_static_caps_get),
13711         (gst_caps_append_structure):
13712         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13713         Use GSlice when the glib we build against is >= 2.10
13714
13715 2006-07-03  Wim Taymans  <wim@fluendo.com>
13716
13717         * gst/gstelement.c: (gst_element_pads_activate):
13718         Small cleanup in pad activation code.
13719
13720 2006-07-03  Wim Taymans  <wim@fluendo.com>
13721
13722         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13723
13724         * gst/gst-i18n-app.h:
13725         * gst/gst-i18n-lib.h:
13726         * tools/gst-inspect.c: (print_signal_info):
13727         The attached patch will make the inclusion of gettext.h unconditional in
13728         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13729         libintl.h in tools/gst-inspect.c.
13730         This allows use of --disable-nls again and fixes #344642.
13731
13732 2006-07-03  Edward Hervey  <edward@fluendo.com>
13733
13734         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13735         Implement pad blocking on events according to part-block.txt.
13736         More comments on behaviour.
13737         * tests/check/gst/gstevent.c: (test_event):
13738         Send event to peer pad of blocked pad (else it will block).
13739
13740 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13741
13742         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13743         (gst_check_run_suite):
13744           if we get the wrong message, give us the types as string
13745         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13746           Fix a translatable
13747         * tests/check/elements/filesrc.c: (GST_START_TEST):
13748           add a test for trying to open a non-existing file
13749
13750 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13751
13752         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13753           add a test for adding self
13754
13755 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13756
13757         * libs/gst/check/gstcheck.h:
13758           add some assert_ as alias for fail_unless_*
13759         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13760           increase test coverage
13761
13762 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13763
13764         * Makefile.am:
13765           include lcov.mak for lcov coverage generation
13766         * tools/Makefile.am:
13767           add to CLEANFILES
13768
13769 2006-07-02  Edward Hervey  <edward@fluendo.com>
13770
13771         * tests/check/elements/.cvsignore:
13772         moaping
13773
13774 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13775
13776         * configure.ac:
13777           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13778         * tests/check/Makefile.am:
13779           clean up gcov files
13780
13781 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13782
13783         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13784           remove gst_caps_simplify; it was not declared and not used
13785           and deprecated in 0.8
13786
13787 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13788
13789         * docs/faq/gst-uninstalled:
13790           don't put empty paths on PYTHONPATH
13791         * docs/gst/gstreamer-sections.txt:
13792           remove some symbols that are not there
13793
13794 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13795
13796         * gst/gstcaps.c: (gst_caps_compare_structures):
13797           whitespace fixes
13798         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13799         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13800           add more tests
13801
13802 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13803
13804         * libs/gst/dataprotocol/Makefile.am:
13805           build dataprotocol test by linking to the lib, instead of
13806           compiling the source, so we get coverage
13807         * tests/check/Makefile.am:
13808         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13809         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13810           add a test for filesrc
13811
13812 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13813
13814         * tests/check/gst/gststructure.c: (GST_START_TEST),
13815         (gst_structure_suite):
13816           Push coverage from 59.04% to 70.00%
13817
13818 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13819
13820         * tests/check/Makefile.am:
13821           gst-inspect every element; this makes sure that we also get
13822           coverage on element's get/set functions
13823
13824 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13825
13826         * configure.ac:
13827           set CFLAGS and friends to -O0 if gcov is being used
13828           add GCOV LIBS
13829         * gst/Makefile.am:
13830         * libs/gst/base/Makefile.am:
13831         * libs/gst/check/Makefile.am:
13832         * libs/gst/controller/Makefile.am:
13833         * libs/gst/dataprotocol/Makefile.am:
13834         * libs/gst/net/Makefile.am:
13835         * plugins/elements/Makefile.am:
13836         * plugins/indexers/Makefile.am:
13837           add makefile rules to generate gcov data and clean up
13838         * tests/check/Makefile.am:
13839           add a coverage target that generates an html overview
13840           of coverage data
13841
13842 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13843
13844         * tests/check/elements/fakesink.c:
13845         * tests/check/elements/fakesrc.c:
13846         * tests/check/elements/fdsrc.c:
13847         * tests/check/elements/identity.c:
13848         * tests/check/generic/sinks.c: (gst_sinks_suite):
13849         * tests/check/generic/states.c:
13850         * tests/check/gst/gst.c:
13851         * tests/check/gst/gstabi.c:
13852         * tests/check/gst/gstbin.c:
13853         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13854         * tests/check/gst/gstbus.c: (gst_bus_suite):
13855         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13856         * tests/check/gst/gstelement.c:
13857         * tests/check/gst/gstevent.c: (gst_event_suite):
13858         * tests/check/gst/gstghostpad.c:
13859         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13860         * tests/check/gst/gstmessage.c: (gst_message_suite):
13861         * tests/check/gst/gstminiobject.c:
13862         * tests/check/gst/gstobject.c:
13863         * tests/check/gst/gstpad.c:
13864         * tests/check/gst/gstpipeline.c:
13865         * tests/check/gst/gstplugin.c:
13866         * tests/check/gst/gstquery.c: (gst_query_suite):
13867         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13868         * tests/check/gst/gststructure.c:
13869         * tests/check/gst/gstsystemclock.c:
13870         * tests/check/gst/gsttag.c:
13871         * tests/check/gst/gsttask.c: (gst_task_suite):
13872         * tests/check/gst/gstutils.c:
13873         * tests/check/gst/gstvalue.c:
13874         * tests/check/libs/adapter.c:
13875         * tests/check/libs/basesrc.c:
13876         * tests/check/libs/collectpads.c:
13877         * tests/check/libs/controller.c:
13878         * tests/check/libs/gdp.c: (gst_dp_suite):
13879         * tests/check/libs/gstnetclientclock.c:
13880         * tests/check/libs/gstnettimeprovider.c:
13881         * tests/check/libs/libsabi.c: (libsabi_suite):
13882         * tests/check/libs/typefindhelper.c:
13883         * tests/check/pipelines/cleanup.c:
13884         * tests/check/pipelines/parse-launch.c:
13885         * tests/check/pipelines/simple-launch-lines.c:
13886         * tests/check/pipelines/stress.c: (stress_suite):
13887           use the new macro
13888
13889 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13890
13891         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13892         * libs/gst/check/gstcheck.h:
13893           create a macro and function so that the simple unit test
13894           case can be just one macro to create main()
13895
13896 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
13897
13898         * gst/gstbin.c: (gst_bin_restore_thyself):
13899         * gst/gstxml.c: (gst_xml_make_element):
13900           Fix deserialisation from XML. Set parent manually
13901           instead of using gst_bin_add(), since gst_bin_add()
13902           will unlink all pads of the element being added.
13903           Fixes #341667.
13904
13905 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
13906
13907         Patch by: Peter Kjellerstedt <pkj at axis com>
13908
13909         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13910           Fix missing g_strdup() and double free when using the
13911           --gst-plugin-load command line option (#346097).
13912
13913 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13914
13915         * gst/gstinfo.c:
13916           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13917
13918         * libs/gst/net/gstnetclientclock.c:
13919         * libs/gst/net/gstnettimeprovider.c:
13920           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13921
13922 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
13923
13924         * docs/manual/advanced-dataaccess.xml:
13925           Fix buffer probe example compilation in
13926           ADM (#345708).
13927         
13928 2006-06-22  Edward Hervey  <edward@fluendo.com>
13929
13930         * gst/gstelement.c: (gst_element_pads_activate):
13931         We need to deactivate src pads first and then sink pads.
13932         The reason is the src pads might be blocking while holding the streaming
13933         lock, so we need to deactivate them first so that deactivating the sink
13934         pads doesn't block (since it will require the streaming lock).
13935
13936 2006-06-22  Wim Taymans  <wim@fluendo.com>
13937
13938         * libs/gst/base/gstbasetransform.c:
13939         (gst_base_transform_buffer_alloc):
13940         Forgot to remove two unneeded unrefs.
13941         Simplify a check _is_equal allready checks the obvious case.
13942
13943 2006-06-22  Wim Taymans  <wim@fluendo.com>
13944
13945         * docs/design/part-block.txt:
13946         Some docs about what pad_block should do.
13947
13948 2006-06-22  Wim Taymans  <wim@fluendo.com>
13949
13950         * gst/gstcaps.c: (gst_caps_replace):
13951         Fix crasher when passed NULL. Doc clarification.
13952         Optimize for the trivial case.
13953
13954         * gst/gstpipeline.c: (gst_pipeline_change_state):
13955         Small cleanups.
13956
13957         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13958         Small documentation cleanup.
13959
13960         * libs/gst/base/gstbasetransform.c:
13961         (gst_base_transform_buffer_alloc):
13962         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13963         is what we need and it avoids a whole lot of redundant 
13964         refcount operations.
13965
13966 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
13967
13968         Patch by: Philip Jägenstedt  <philip at lysator liu se>
13969
13970         * docs/manual/advanced-dataaccess.xml:
13971           Fix 'Embedding static elements' section to use
13972           GST_PLUGIN_DEFINE_STATIC (#345607).
13973
13974 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13975
13976         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13977           Attempt to 'fix' spuriously failing test case: it seems like the
13978           timeout of half a second is simply too small when the system is under
13979           load otherwise, and the timeout doesn't really seem to serve any
13980           particular purpose here. Give the pipeline a few seconds to preroll
13981           first, and then give it another half a second to go from PAUSED to
13982           PLAYING and marshal the message into the main thread.
13983
13984 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13985
13986         * tools/gst-feedback-m.m:
13987           Don't only use unversioned tools, try versioned tools as well
13988           (#345086).
13989
13990 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
13991
13992         * gst/gstbus.c: (gst_bus_class_init):
13993           Fix some typos, make docs more explicit.
13994
13995 2006-06-20  Wim Taymans  <wim@fluendo.com>
13996
13997         * tests/check/gst/gstghostpad.c: (block_callback),
13998         (GST_START_TEST), (gst_ghost_pad_suite):
13999         Added some more ghostpad tests, mainly blocking
14000         and probes.
14001
14002 2006-06-16  Wim Taymans  <wim@fluendo.com>
14003
14004         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14005         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14006         (gst_file_sink_event), (gst_file_sink_render):
14007         * plugins/elements/gstfilesink.h:
14008         Check if we can seek in the file instead of assuming
14009         we always can. Post an error when we are asked to seek in a
14010         non-seekable file (like a fifo). Fixes #343312.
14011         Some cleanups.
14012
14013 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14014
14015         * tools/gst-launch.1.in:
14016           Un-garble (fourcc) bit in filtered caps section.
14017
14018 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14019
14020         * docs/manual/advanced-autoplugging.xml:
14021         * docs/manual/basics-helloworld.xml:
14022         * docs/manual/highlevel-components.xml:
14023           Don't leak bus reference in sample code.
14024
14025 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14026
14027         * autogen.sh:
14028           Add default for new --enable-plugin-docs switch.
14029
14030         * configure.ac:
14031           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14032           Fixes #344039.
14033
14034         * docs/Makefile.am:
14035           Use new ENABLE_PLUGIN_DOCS conditional.
14036
14037 2006-06-14  Wim Taymans  <wim@fluendo.com>
14038
14039         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14040         Make it clear with a FIXME and a real define what the #if 0
14041         previously disabled.
14042
14043 2006-06-14  Wim Taymans  <wim@fluendo.com>
14044
14045         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14046         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14047         * libs/gst/base/gstbasetransform.c:
14048         (gst_base_transform_sink_eventfunc):
14049         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14050         Don't randomly and silently reset a segment when the format 
14051         changes as this is a bug somewhere upstream. Fixes #330379.
14052
14053 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14054
14055         Patch by: Wouter Paesen  <wouter at kangaroot net>
14056
14057         * libs/gst/controller/gstcontroller.c:
14058         (gst_controlled_property_new):
14059           Fix controlling of float properties (#344849).
14060
14061         * tests/check/libs/controller.c:
14062         (gst_test_mono_source_get_property),
14063         (gst_test_mono_source_set_property),
14064         (gst_test_mono_source_class_init), (GST_START_TEST):
14065           While we're at it, add some float stuff to unit test.
14066
14067 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14068
14069         * docs/README:
14070         * docs/images/gdp-header.svg:
14071           add a gdp image
14072         * docs/libs/Makefile.am:
14073         * docs/libs/gdp-header.png:
14074         * libs/gst/dataprotocol/dataprotocol.c:
14075           add it to the API docs
14076         * docs/manual/intro-motivation.xml:
14077           fix typo
14078
14079 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14080
14081         * gst/gst.c: (scan_and_update_registry), (init_post):
14082           If the fork()'ed child process can't write the updated registry cache
14083           file to disk for some reason, make it exit with a failure exit code,
14084           so that the parent can then re-scan the plugins itself and update the
14085           registry structures in memory and work with that (rather than failing
14086           when creating elements because seemingly no plugins are available).
14087           Refactor registry scanning code into separate function for this and
14088           also separate fork() and non-fork() code paths. Fixes #344748.
14089
14090 2006-06-13  Wim Taymans  <wim@fluendo.com>
14091
14092         * docs/manual/advanced-dataaccess.xml:
14093         Fix wrong PluginDesc. Fixes #344755.
14094
14095 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14098           Fix silly bug that prevented us from creating
14099           ~/.gstreamer-0.10 and writing the registry in one
14100           go (the first call to g_mkstemp() would overwrite the
14101           placeholder in the template string, so the second call
14102           to g_mkstemp() after creating the missing directory
14103           would then error out with 'invalid argument').
14104
14105 2006-06-13  Edward Hervey  <edward@fluendo.com>
14106
14107         * gst/gst.c: (init_post):
14108         Free string.
14109
14110 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14111
14112         * gst/glib-compat-private.h:
14113         * gst/glib-compat.c:
14114         * gst/glib-compat.h:
14115         * gst/gstvalue.c: (gst_value_serialize_flags):
14116           remove GLib 2.6 compatibility code
14117
14118 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14119
14120         * gst/parse/Makefile.am:
14121           Fix build with 'make -j N' even more (#340016).
14122
14123 2006-06-12  Wim Taymans  <wim@fluendo.com>
14124
14125         * docs/gst/gstreamer-sections.txt:
14126         Fix docs.
14127
14128 2006-06-12  Wim Taymans  <wim@fluendo.com>
14129
14130         * gst/gstsegment.c: (gst_segment_set_duration),
14131         (gst_segment_set_last_stop), (gst_segment_set_seek),
14132         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14133         (gst_segment_to_running_time), (gst_segment_clip):
14134         Use G_UNLIKELY to help the compiler a bit.
14135
14136 2006-06-12  Wim Taymans  <wim@fluendo.com>
14137
14138         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14139
14140         * gst/gstevent.c: (gst_event_get_type):
14141         * gst/gstmessage.c:
14142         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14143         (gst_pad_push):
14144         constify quark registration strings. Fixes #344115
14145         Avoid unneeded type checking is _pad_push() by internally
14146         calling gst_pad_chain_unchecked().
14147
14148 2006-06-12  Wim Taymans  <wim@fluendo.com>
14149
14150         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14151         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14152         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14153         (gst_buffer_is_span_fast), (gst_buffer_span):
14154         Init _type for consistency.
14155         Use _FLAGS macro to avoid type check.
14156         Avoid unneeded type checks in subbufer code.
14157
14158 2006-06-12  Wim Taymans  <wim@fluendo.com>
14159
14160         * gst/gst.c: (gst_debug_help):
14161         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14162         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14163         (gst_plugin_feature_list_free):
14164         * gst/gstregistry.c: (gst_registry_add_plugin),
14165         (gst_registry_add_feature), (gst_registry_plugin_filter),
14166         (gst_registry_feature_filter), (gst_registry_find_plugin),
14167         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14168         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14169         * gst/gstregistryxml.c: (load_feature),
14170         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14171         * gst/gstminiobject.c: (gst_mini_object_unref),
14172         (gst_mini_object_replace), (gst_value_mini_object_free),
14173         (gst_value_mini_object_copy):
14174         Use _CAST macros to avoid unneeded type checking.
14175         Added some more G_UNLIKELY.
14176
14177 2006-06-12  Wim Taymans  <wim@fluendo.com>
14178
14179         * gst/gstbuffer.h:
14180         Avoid unneeded type checking.
14181         API: GST_BUFFER_IS_DISCONT
14182
14183         * gst/gstminiobject.h:
14184         Avoid type check in flag accessor.
14185
14186         * gst/gstelementfactory.h:
14187         * gst/gstplugin.h:
14188         * gst/gstpluginfeature.h:
14189         Add _CAST macros.
14190         API: GST_ELEMENT_FACTORY_CAST
14191         API: GST_PLUGIN_CAST
14192         API: GST_PLUGIN_FEATURE_CAST
14193
14194 2006-06-12  Wim Taymans  <wim@fluendo.com>
14195
14196         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14197         (gst_object_unref):
14198         Add G_UNLIKELY in type registration.
14199         Avoid type check in _ref/_unref since that is also
14200         done in glib.
14201
14202 2006-06-12  Wim Taymans  <wim@fluendo.com>
14203
14204         * gst/gsterror.c: (gst_g_error_get_type):
14205         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14206         (gst_static_pad_template_get_type):
14207         * gst/gsttaglist.c: (gst_tag_list_get_type):
14208         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14209         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14210         * gst/gsturi.c: (gst_uri_handler_get_type):
14211         * gst/gstvalue.c: (gst_date_get_type):
14212         * gst/gstxml.c: (gst_xml_get_type):
14213         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14214         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14215         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14216         Add G_UNLIKELY in type registration.
14217
14218 2006-06-12  Wim Taymans  <wim@fluendo.com>
14219
14220         * tools/gst-inspect.c: (print_signal_info):
14221         Properly print enum values.
14222
14223 2006-06-12  Wim Taymans  <wim@fluendo.com>
14224
14225         * gst/gstinfo.c: (gst_debug_set_active),
14226         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14227         * gst/gstinfo.h:
14228         Add some G_[UN]LIKELY.
14229         Maintain __gst_debug_min to avoid formatting the arguments of
14230         debug messages that will be dropped anyway to avoid a lot of 
14231         overhead from the debugging system.
14232
14233 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14234
14235         * po/POTFILES.in:
14236         * po/POTFILES.skip:
14237           add missing files containing translatable strings, tell intltool about
14238           one exception
14239
14240 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14241
14242         * tests/check/libs/.cvsignore:
14243         add test-binary to ignore list
14244
14245 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14246
14247         * docs/libs/gstreamer-libs-docs.sgml:
14248         reorder (put dp into a chapter) and indent
14249
14250 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14251
14252         * configure.ac:
14253           back to HEAD
14254
14255 === release 0.10.8 ===
14256
14257 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14258
14259         * configure.ac:
14260           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14261
14262 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14263
14264         * gst/gst.c: (init_post):
14265           move pid declaration to declaration block
14266
14267 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14268
14269         * gst/gst.c: (init_post):
14270           use _exit() instead of exit() in our forked child; this ensures
14271           that none of the registered exit handlers from whatever is using
14272           GStreamer get executed.  This fixes gnome-mixer-applet failing
14273           to load, because ORBit would shut down.
14274           Spotted by: Edward Hervey  <edward@fluendo.com>
14275           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14276           Fixes #344474
14277
14278 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14279
14280         * configure.ac:
14281           back to TRUNK
14282
14283 === release 0.10.7 ===
14284
14285 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14286
14287         * configure.ac:
14288           releasing 0.10.7, "Soepeke, ik zie ou"
14289
14290 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14291
14292         * configure.ac:
14293         * po/af.po:
14294         * po/az.po:
14295         * po/bg.po:
14296         * po/ca.po:
14297         * po/cs.po:
14298         * po/de.po:
14299         * po/en_GB.po:
14300         * po/fr.po:
14301         * po/it.po:
14302         * po/nb.po:
14303         * po/nl.po:
14304         * po/ru.po:
14305         * po/sq.po:
14306         * po/sr.po:
14307         * po/sv.po:
14308         * po/tr.po:
14309         * po/uk.po:
14310         * po/vi.po:
14311         * po/zh_CN.po:
14312         * po/zh_TW.po:
14313         * win32/common/config.h:
14314           0.10.6.2 prerelease
14315
14316 2006-06-07  Wim Taymans  <wim@fluendo.com>
14317
14318         * gst/gstindex.c: (gst_index_gtype_resolver):
14319         * tools/gst-xmlinspect.c: (print_plugin_info):
14320         Fix leak spotted by coverity checker. Fixes #343827
14321         Fix another other leak found by paolo borelli.
14322
14323 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14324
14325         * libs/gst/dataprotocol/dataprotocol.c:
14326         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14327         (gst_dp_version_get_type), (gst_dp_init),
14328         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14329         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14330         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14331         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14332         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14333         (gst_dp_packetizer_free):
14334         * libs/gst/dataprotocol/dataprotocol.h:
14335           API: add a GstDPPacketizer object, and create/free functions
14336           API: add GstDPVersion enum
14337           Add 1.0 event function that uses the string serialization
14338           Serialize more useful buffer flags
14339           Fixes #343988
14340
14341 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14342
14343         * tests/check/Makefile.am:
14344         * tests/check/gst/gstabi.c:
14345         * tests/check/gst/struct_ppc64.h:
14346         * tests/check/libs/libsabi.c:
14347         * tests/check/libs/struct_ppc64.h:
14348           add ppc64 structure sizes
14349
14350 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14351
14352         * tests/check/Makefile.am:
14353         * tests/check/gst/gstabi.c:
14354         * tests/check/gst/struct_x86_64.h:
14355         * tests/check/libs/libsabi.c:
14356         * tests/check/libs/struct_x86_64.h:
14357           generate and add structure size lists for x86_64
14358
14359 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14360
14361         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14362         * libs/gst/check/gstcheck.h:
14363           factor out the method from tests that checks size of structures,
14364           and add code to generate the header containing these sizes
14365         * tests/check/gst/gstabi.c: (GST_START_TEST):
14366         * tests/check/gst/struct_i386.h:
14367         * tests/check/libs/libsabi.c: (GST_START_TEST):
14368         * tests/check/libs/struct_i386.h:
14369           use it
14370
14371 2006-06-06  Michael Smith  <msmith@fluendo.com>
14372
14373         * gst/gstsegment.h:
14374           Don't use c++-style comments, fixes #343929
14375
14376 2006-06-05  Edward Hervey  <edward@fluendo.com>
14377
14378         * gst/gst.c:
14379         plugin_paths is not used if we build without registry support.
14380
14381         * gst/gstsegment.c: (gst_segment_copy): 
14382         _copy() was always returning NULL...
14383
14384 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14385
14386         * libs/gst/dataprotocol/dataprotocol.c:
14387         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14388         (gst_dp_packet_from_event):
14389           factor out CRC code
14390
14391 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14392
14393         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14394           make sure we unset caps
14395
14396 2006-06-02  Michael Smith  <msmith@fluendo.com>
14397
14398         * libs/gst/check/gstcheck.c: (gst_check_init),
14399         (gst_check_chain_func):
14400         * libs/gst/check/gstcheck.h:
14401           Add a cond/mutex to the check support lib, signal this whenever we
14402           add to the buffers list. This will allow tests to not busy-wait on
14403           the buffer-list.
14404
14405 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14406
14407         * libs/gst/dataprotocol/dataprotocol.c:
14408         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14409         (gst_dp_packet_from_event):
14410           factor out some common header init code
14411
14412 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14413
14414         * docs/libs/gstreamer-libs-sections.txt:
14415         * docs/libs/tmpl/gstdataprotocol.sgml:
14416         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14417         * libs/gst/dataprotocol/dataprotocol.h:
14418           API: make gst_dp_crc() public
14419
14420 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14421
14422         * plugins/indexers/gstindexers.c: (plugin_init):
14423         conditionally register fileindexer (fixes #343598)
14424
14425 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14426
14427         * gst/gsttagsetter.h:
14428         Can't cast ifaces to a class
14429
14430         * libs/gst/net/gstnetclientclock.h:
14431         * libs/gst/net/gstnettimeprovider.h:
14432         * plugins/elements/gstfakesink.h:
14433         * plugins/elements/gstfakesrc.h:
14434         * plugins/elements/gstfdsink.h:
14435         * plugins/elements/gstfdsrc.h:
14436         * plugins/elements/gstfilesink.h:
14437         * plugins/elements/gstfilesrc.h:
14438         * plugins/elements/gstidentity.h:
14439         * plugins/elements/gstqueue.h:
14440         * plugins/elements/gsttee.h:
14441         * plugins/indexers/gstfileindex.c:
14442         * plugins/indexers/gstmemindex.c:
14443         * tests/old/examples/plugins/example.h:
14444         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14445
14446 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14447
14448         * libs/gst/dataprotocol/dataprotocol.c:
14449         (gst_dp_header_from_buffer):
14450           make sure we zero the whole ABI-compatible area
14451
14452 2006-06-01  Wim Taymans  <wim@fluendo.com>
14453
14454         Patch by: Alessandro Decina <alessandro at nnva dot org>
14455
14456         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14457         Make sure the EOS flag is cleared from pads after a flush
14458         or stop. Fixes #343538.
14459
14460         * tests/check/libs/collectpads.c: (GST_START_TEST),
14461         (gst_collect_pads_suite):
14462         Added test for collectpads reusage after EOS.
14463
14464 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14465
14466         * gst/gst.c:
14467          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14468         * win32/common/libgstbase.def:
14469          export gst_collect_pads_set_flushing
14470         * win32/common/libgstreamer.def:
14471          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14472          gst_value_fraction_multiply
14473         * win32/vs6/gst_inspect.dsp:
14474          add a link to intl.lib
14475
14476 2006-05-30  Wim Taymans  <wim@fluendo.com>
14477
14478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14479         (gst_collect_pads_chain):
14480         Handle the case where a pad is removed from the collection
14481         that could cause the other pads to become collectable.
14482
14483 2006-05-30  Wim Taymans  <wim@fluendo.com>
14484
14485         * gst/gstelement.c:
14486         Clarify the use of _release_request_pad() and
14487         _get_request_pad() a bit better.
14488
14489         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14490         (gst_adapter_take_buffer):
14491         Fix some doc and comment typos.
14492
14493 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14494
14495         * docs/gst/gstreamer-sections.txt:
14496         * docs/libs/gstreamer-libs-sections.txt:
14497           add declared symbols
14498
14499 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14500
14501         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14502         Add debug that can be enabled using a #define at the top of the file,
14503         for dumping stats about how late/early we were when waking up from
14504         waiting on the clock.
14505
14506 2006-05-30  Wim Taymans  <wim@fluendo.com>
14507
14508         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14509         When rebuilding the pad list, don't leak the previous list.
14510
14511 2006-05-30  Wim Taymans  <wim@fluendo.com>
14512
14513         Patch by: Lutz Mueller <lutz at topfrose dot de>
14514
14515         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14516         (gst_base_src_get_query_types), (gst_base_src_update_length):
14517         Publish supported query types.
14518         Update last_stop field in get_range mode so the position
14519         query works. Fixes #342321.
14520
14521 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14522
14523         * docs/gst/gstreamer-sections.txt:
14524         * gst/gsttaglist.c: (_gst_tag_initialize):
14525         * gst/gsttaglist.h:
14526           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14527
14528 2006-05-30  Wim Taymans  <wim@fluendo.com>
14529
14530         Patch by: Alessandro Decina <alessandro at nnva dot org>
14531
14532         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14533         Unlock mutex when removing an unknown pad.
14534         Fixes #343334.
14535
14536         * tests/check/Makefile.am:
14537         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14538         (push_event), (setup), (teardown), (GST_START_TEST),
14539         (gst_collect_pads_suite), (main):
14540         Added collecpads check, disabled for now as check crashes for
14541         some reason.
14542
14543 2006-05-29  Wim Taymans  <wim@fluendo.com>
14544
14545         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14546         Don't leak pads lists.
14547
14548 2006-05-29  Wim Taymans  <wim@fluendo.com>
14549
14550         * docs/libs/gstreamer-libs-sections.txt:
14551         * libs/gst/base/gstcollectpads.c:
14552         (gst_collect_pads_set_flushing_unlocked),
14553         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14554         (gst_collect_pads_stop):
14555         * libs/gst/base/gstcollectpads.h:
14556         API: gst_collect_pads_set_flushing()
14557         Added api to set the pads to flushing, useful for seeking
14558         code in elements using collectpads.
14559         Clear segment when receiving a flush.
14560
14561 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14562
14563         * gst/gst.c: (add_path_func), (init_post):
14564           Don't scan registry paths passed via --gst-plugin-path immediately
14565           (will crash, because absolutely nothing is set up and no types are
14566           registered etc.); do this later in init_post(). Fixes #343057.
14567
14568 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14569
14570         * gst/gst.c: (init_post):
14571           if we have fork, fork while reading/rebuilding the registry
14572           so the parent doesn't take the hit of having all plugins loaded
14573           in memory.  Fixes #342777.
14574         * configure.ac:
14575           Check if we have fork()
14576         * win32/common/config.h.in:
14577           no fork() on win32
14578
14579 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14580
14581         * plugins/elements/gstelements.c:
14582         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14583         (gst_file_src_init), (gst_file_src_set_property),
14584         (gst_file_src_get_property), (gst_file_src_start):
14585         * plugins/elements/gstfilesrc.h:
14586           API: GstFileSrc::use-mmap
14587
14588         Add a use-mmap property to enable easier testing of all code paths.
14589         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14590         in the absence of gnomevfssrc. (Closes #340501)
14591
14592 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14593
14594         * tools/gst-inspect.c:
14595         Add missing include, removes warning of ngettext not being defined on
14596         some arches.
14597
14598 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14599
14600         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14601         Handle NULL input and output pointers silently as a failed conversion,
14602         rather than g_warnings.
14603
14604 2006-05-25  Wim Taymans  <wim@fluendo.com>
14605
14606         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14607         Initialize variable before using. Fixes #342820.
14608
14609 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14610
14611         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14612           Fix off-by-one bug that would only allow peeks of N-1 bytes
14613           from the start even if the buffer to typefind on contains
14614           in fact N bytes of data (makes vorbis typefinding from a
14615           vorbis identification header buffer work).
14616
14617         * tests/check/Makefile.am:
14618         * tests/check/libs/.cvsignore:
14619         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14620         (gst_typefindhelper_suite), (main), (foobar_typefind),
14621         (plugin_init):
14622           Add very basic unit test for gst_type_find_helper_for_buffer()
14623           that checks for the problem fixed above.
14624
14625 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14626
14627         * tools/gst-inspect.c: (print_interfaces),
14628         (print_element_properties_info), (print_element_list), (main):
14629           add more translatable strings
14630
14631 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14632
14633         Patch by: Julien Moutte  <julien at moutte net>
14634
14635         * docs/gst/gstreamer-sections.txt:
14636           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14637           
14638         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14639         (gst_fake_sink_preroll):
14640         * plugins/elements/gstfakesink.h:
14641           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14642
14643 2006-05-23  Wim Taymans  <wim@fluendo.com>
14644
14645         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14646         * gst/gstpad.h:
14647         Added _CUSTOM error and success GstFlowReturn that can be
14648         used be elements internally. 
14649         Added macro to check for SUCCESS flowreturns.
14650         API: GST_FLOW_CUSTOM_SUCCESS
14651         API: GST_FLOW_CUSTOM_ERROR
14652         API: GST_FLOW_IS_SUCCESS
14653
14654         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14655         Added check for GstFlowReturn sanity.
14656
14657 2006-05-23  Wim Taymans  <wim@fluendo.com>
14658
14659         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14660
14661         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14662         (gst_collect_pads_event):
14663         clear/reset segment info in FLUSH_STOP.
14664         Fixes #336929.
14665
14666 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14667
14668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14669         (gst_collect_pads_check_collected):
14670         Flush queued buffer on _stop(), fixes playing again (#342454)
14671
14672 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14673
14674         * tests/check/gst/gststructure.c: (GST_START_TEST),
14675         (gst_structure_suite):
14676           add a test for a complete structure
14677
14678 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14679
14680         * docs/faq/developing.xml:
14681         * docs/faq/faq.xml:
14682         * docs/faq/troubleshooting.xml:
14683         * docs/faq/using.xml:
14684           Some minor FAQ updates that won't change the fact that
14685           our FAQ is badly structured, full of information hardly
14686           anyone new to GStreamer needs to know and lacking lots
14687           of information people constantly ask for.
14688           
14689 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14690
14691         * gst/gstpad.c: (gst_pad_set_caps):
14692           Short-circuit gst_pad_set_caps if setting the existing
14693           caps pointer again, and avoid printing debug and 
14694           reffing/unreffing the caps.
14695
14696         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14697           There's actually no need to set the caps before pushing -
14698           the acceptcaps method will handle it anyway.
14699
14700 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14701
14702         * docs/gst/gstreamer-sections.txt:
14703         * win32/common/libgstreamer.def:
14704         * gst/gstutils.c: (gst_element_seek_simple):
14705         * gst/gstutils.h:
14706           API: add gst_element_seek_simple() (#342238).
14707
14708 2006-05-18  Edward Hervey  <edward@fluendo.com>
14709
14710         * gst/gsttypefind.c: (gst_type_find_get_type):
14711         * gst/gsttypefind.h:
14712         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14713         registered for GstTypeFind pointers. This allows wrapping the structure
14714         in bindings (i.e. gst-python).
14715
14716 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14717
14718         * gst/gsttagsetter.c:
14719           Docs additions and fixes (see #339918).
14720
14721 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14722
14723         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14724         The caps intersection algorithm can produce multiple copies of the
14725         caps. Until that is fixed, we need to simplify the result to be
14726         sure whether the allowed caps are fixed or not.
14727
14728         * plugins/elements/gstqueue.c: (gst_queue_init),
14729         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14730         (gst_queue_push_one):
14731         Proxied buffer alloc should not set the caps on the source pad.
14732         When pushing buffers, we always accept the caps change that triggers.
14733         This prevents negotiation errors caused by caps changing mid-stream 
14734         and then being refused on our source pad (because upstream is now
14735         refusing those caps).
14736
14737 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14738
14739         * tests/examples/helloworld/helloworld.c: (main):
14740           Must plug audioconvert and audioresample between decoder
14741           and audio sink.
14742
14743 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14744
14745         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14746         (load_feature), (load_plugin):
14747         Allow empty strings for some of the plugin fields so we don't 
14748         drop valid plugin entries that were written out correctly
14749         (Fixes #341479)
14750
14751 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14752         
14753         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14754           Use g_remove and g_rename instead of remove and rename that don't 
14755           handle utf8 characters. rename was failing for users who had specific
14756           characters in their name then the registry was built at each 
14757           gstreamer init.
14758         * win32/vs6/gst_inspect.dsp:
14759         * win32/vs6/gst_launch.dsp:
14760         * win32/vs6/libgstbase.dsp:
14761         * win32/vs6/libgstcoreelements.dsp:
14762         * win32/vs6/libgstreamer.dsp:
14763           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14764           build of libgstreamer and clean unused libraries in projects link 
14765           settings.
14766
14767 2006-05-17  Edward Hervey  <edward@fluendo.com>
14768
14769         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14770         The queue is not responsible for pushing an EOS when receiving a fatal
14771         flow error. It's up to the real element driving the pipeline to do that.
14772
14773 2006-05-16  Edward Hervey  <edward@fluendo.com>
14774
14775         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14776         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14777         buffer returned a fatal error. It should just send an EOS and stop
14778         its task.
14779         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14780         when pushing buffers on the queue and will be able to handle the event.
14781
14782 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14783
14784         * docs/manual/basics-bins.xml:
14785         * docs/manual/basics-init.xml:
14786           Fix typos and minor errors in sample code (#341856).
14787
14788 2006-05-16  Wim Taymans  <wim@fluendo.com>
14789
14790         * docs/design/part-qos.txt:
14791         Fix indexes in formulas to make more sense.
14792
14793 2006-05-15  Wim Taymans  <wim@fluendo.com>
14794
14795         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14796         Don't report POSITION based on clock time if sync is
14797         disabled in a sink.
14798
14799 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14800
14801         * gst/gstobject.h:
14802           Add cast to make compiler happy - refcount variable was a gint
14803           in GstObject but is a guint in GObject and g_atomic_int_get()
14804           wants a gint *.
14805
14806 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14807
14808         * gst/parse/Makefile.am:
14809           chain commands using &&, which also makes parallel make work
14810
14811 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14812
14813         * docs/gst/gstreamer-sections.txt:
14814         * gst/gstevent.c:
14815         * gst/gstevent.h:
14816         * gst/gstmessage.h:
14817           Minor docs fixes.
14818
14819 === release 0.10.6 ===
14820
14821 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14822
14823         * configure.ac:
14824           releasing 0.10.6, "Take the cannoli"
14825
14826 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14827
14828         * tools/gst-launch.c: (print_tag):
14829           Fix use of uninitialized variable in the hypothetical
14830           case that some broken plugin creates a GST_TAG_IMAGE
14831           tag containing a NULL buffer (#341667).
14832
14833 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14834
14835         * tools/gst-launch.c: (print_tag):
14836           Print something more intelligible for image tags when
14837           using the -t switch (#341556).
14838
14839 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14840
14841         * Makefile.am:
14842           updates for win32
14843         * configure.ac:
14844           define GST_MAJORMINOR so we have it available in win32/common/config.h
14845           Possibly remove it from our Makefile.am files later
14846         * win32/common/config.h:
14847         * win32/common/config.h.in:
14848           added GST_MAJORMINOR
14849         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14850         * win32/common/gstversion.h:
14851           updated
14852
14853 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14854
14855         * win32/MANIFEST:
14856           Update win32 files listing.
14857         * win32/common/gstversion.h:
14858           Add GST_MAJORMINOR definition.
14859         * win32/common/libgstreamer.def:
14860           Add new exported functions.
14861           
14862 2006-05-12  Michael Smith  <msmith@fluendo.com>
14863
14864         * gst/gstplugin.c: (gst_plugin_load_file):
14865           If an so file has no plugin entry point, unload the module.
14866
14867 2006-05-11  Wim Taymans  <wim@fluendo.com>
14868
14869         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14870         (gst_queue_set_property):
14871         Don't forget to signal the _chain or _loop function 
14872         when the queue size or thresholds change since that might
14873         cause them to make progres again.
14874
14875 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
14876
14877         * gst/gstclock.c: (gst_clock_class_init):
14878         * gst/gstindex.c: (gst_index_class_init):
14879         * gst/gstobject.c: (gst_object_class_init):
14880         * gst/gstpad.c: (gst_pad_class_init):
14881         * gst/gstpipeline.c: (gst_pipeline_class_init):
14882         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14883         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14884         * libs/gst/base/gstbasetransform.c:
14885         (gst_base_transform_class_init):
14886         * libs/gst/net/gstnetclientclock.c:
14887         (gst_net_client_clock_class_init):
14888         * libs/gst/net/gstnettimeprovider.c:
14889         (gst_net_time_provider_class_init):
14890         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14891         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14892         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14893         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14894         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14895         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14896         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14897         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14898         * plugins/elements/gsttee.c: (gst_tee_class_init):
14899         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14900         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14901           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14902
14903 2006-05-11  Wim Taymans  <wim@fluendo.com>
14904
14905         * gst/gstbuffer.c: (_gst_buffer_initialize):
14906         Register subbufer along with the buffer type so that
14907         it does not accidentally gets registered from N
14908         different streaming threads in a non threadsafe way.
14909
14910 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14911
14912         * gst/gstbuffer.h:
14913         * gst/gstevent.h:
14914         * gst/gstmessage.h:
14915           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14916           gst_event_ref() and gst_message_ref() functions again
14917           (ugly hack, please do fix if there's a better way besides
14918           overrides.txt, which doesn't seem to work).
14919
14920 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * libs/gst/check/gstcheck.h:
14923           add an assert for setting state to avoid lots of repetitive code
14924           in the future
14925
14926 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14927
14928         * gst/gstvalue.c: (gst_value_serialize_flags):
14929           fix a leak if no flags are set
14930         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14931           fix leak in tests
14932
14933 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
14934
14935         * docs/manual/basics-pads.xml:
14936           Expand a bit on caps and filtered links and update
14937           examples that were still using the no longer existing
14938           gst_pad_link_filtered() (#338206).
14939
14940 2006-05-10  Wim Taymans  <wim@fluendo.com>
14941
14942         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14943         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14944         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14945         (gst_collect_pads_stop):
14946         * libs/gst/base/gstcollectpads.h:
14947         No need to call _stop in _finalize.
14948         Iterate the main pad list in _finalize.
14949         Added some more debug.
14950         Free lists and data in the right order.
14951         Also free data whem doing _remove_pad when stopped for
14952         backward compatibility protect ::started with PAD_LOCK as
14953         well.
14954
14955 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14956
14957         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14958         (gst_structure_parse_value):
14959           add some comments
14960           rename a method so that it actually says what it does better
14961
14962 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * gst/gstevent.c: (_gst_event_initialize):
14965         * gst/gstformat.c: (_gst_format_initialize):
14966           make sure some essential types used by events are registered
14967           as part of gst_init()
14968         * gst/gstvalue.c: (gst_value_serialize_flags):
14969           if no flags are set, serialize them to a value that represents NONE
14970           so that deserializing them works
14971         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14972           add tests for serialization and deserialization of flags
14973
14974 2006-05-10  Wim Taymans  <wim@fluendo.com>
14975
14976         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14977         (gst_collect_pads_collect_range), (gst_collect_pads_available),
14978         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14979         (gst_collect_pads_event), (gst_collect_pads_chain):
14980         Update docs.
14981         Better debug info.
14982         Catch and return errors from the collect function
14983         Refuse data on eos pads.
14984
14985 2006-05-10  Edward Hervey  <edward@fluendo.com>
14986
14987         * gst/gstinterface.h:
14988         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14989         GInterface type checking.
14990         They were previously using non-defined macros.
14991
14992 2006-05-09  Wim Taymans  <wim@fluendo.com>
14993
14994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14995         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14996         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14997         (gst_collect_pads_start), (gst_collect_pads_stop),
14998         (gst_collect_pads_peek), (gst_collect_pads_pop),
14999         (gst_collect_pads_available), (gst_collect_pads_read),
15000         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15001         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15002         (gst_collect_pads_chain):
15003         * libs/gst/base/gstcollectpads.h:
15004         Clean up the mess that is collectpads, add comments and
15005         FIXMEs where needed.
15006         Maintain a separate pad list so we can add pads while
15007         collecting the other ones. For this we need a new separate 
15008         lock (see comics).
15009         Fix memory leak in finalize.
15010         Refactor some weird code to set/unset pad flushing flags, mark
15011         with comments.
15012         Don't crash in _available, _read, _flush when we're EOS.
15013
15014         * tests/check/libs/.cvsignore:
15015         Ignore adapter check binary.
15016
15017 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15018
15019         * gst/gstindex.c: (gst_index_resolver_get_type):
15020         * plugins/elements/gstfakesink.c:
15021         (gst_fake_sink_state_error_get_type):
15022         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15023         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15024         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15025           Const-ify GEnumValue arrays.
15026
15027 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15028
15029         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15030           Add test case for flags + gst_buffer_make_metadata_writable().
15031
15032 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15033
15034         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15035           gst_buffer_make_metadata_writable() should maintain the
15036           buffer flags (those that make sense at least) (see #340859).
15037
15038 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15039
15040         * tools/gst-inspect.c:
15041         * tools/gst-launch.c:
15042         * tools/gst-typefind.c:
15043         * tools/gst-xmlinspect.c:
15044         * tools/tools.h:
15045           Fix up includes: need to include stdlib.h in tools.h for exit().
15046
15047 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15048
15049         * gst/gsttaglist.c: (_gst_tag_initialize):
15050         * gst/gsttaglist.h:
15051           API: add GST_TAG_IMAGE tag (#340721).
15052
15053 2006-05-08  Wim Taymans  <wim@fluendo.com>
15054
15055         * gst/gstquery.c:
15056         Added some docs for the segment query.
15057
15058 2006-05-08  Wim Taymans  <wim@fluendo.com>
15059
15060         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15061         (gst_base_src_loop), (gst_base_src_change_state):
15062         Always push non-flushing serialized events in the streaming 
15063         thread.
15064
15065 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15066
15067         * gst/gsterror.c: (_gst_stream_errors_init):
15068           Add a missing error string.
15069
15070 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15071
15072         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15073         Add applied_rate to the debug
15074
15075         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15076         Copy applied_rate into the outgoing NEWSEGMENT event
15077
15078 2006-05-08  Wim Taymans  <wim@fluendo.com>
15079
15080         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15081
15082         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15083         (gst_base_sink_change_state):
15084         call ::unlock before taking the PREROLL_LOCK so we can safely
15085         handle elements that lock in ::render.
15086         Fixes #340174.
15087
15088 2006-05-08  Edward Hervey  <edward@fluendo.com>
15089
15090         * autogen.sh: (CONFIGURE_DEF_OPT): 
15091         Darwin's libtoolize is in fact called glibtoolize.
15092         Adding glibtoolize to the list of accepted names for libtoolize.
15093
15094 2006-05-08  Wim Taymans  <wim@fluendo.com>
15095
15096         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15097         Unify error handling, don't post an error message
15098         when a push() returns EOS but perform our normal EOS
15099         handling code. Fixes #340772.
15100
15101 2006-05-08  Wim Taymans  <wim@fluendo.com>
15102
15103         * docs/design/part-overview.txt:
15104         Make upsteam/downstream concepts more clear.
15105         Give an example of serialized/non-serialized events.
15106
15107         * docs/design/part-events.txt:
15108         * docs/design/part-streams.txt:
15109         Mention applied_rate.
15110
15111         * docs/design/part-trickmodes.txt:
15112         Mention applied rate, flesh out some more use cases.
15113
15114         * gst/gstevent.c: (gst_event_new_new_segment),
15115         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15116         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15117         (gst_event_parse_tag), (gst_event_new_buffer_size),
15118         (gst_event_parse_buffer_size), (gst_event_new_qos),
15119         (gst_event_parse_qos), (gst_event_parse_seek),
15120         (gst_event_new_navigation):
15121         * gst/gstevent.h:
15122         Add applied_rate field to NEWSEGMENT event.
15123         API: gst_event_new_new_segment_full()
15124         API: gst_event_parse_new_segment_full()
15125
15126         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15127         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15128         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15129         * gst/gstsegment.h:
15130         Add applied_rate to GstSegment structure.
15131         Make calculation of stream_time and running_time more correct
15132         wrt rate/applied_rate.
15133         Add some more docs.
15134         API: GstSegment::applied_rate field
15135         API: gst_segment_set_newsegment_full();
15136
15137         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15138         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15139         * libs/gst/base/gstbasetransform.c:
15140         (gst_base_transform_sink_eventfunc),
15141         (gst_base_transform_handle_buffer):
15142         Parse and use applied_rate in the GstSegment field.
15143
15144         * tests/check/gst/gstevent.c: (GST_START_TEST):
15145         Add check for applied_rate field.
15146
15147         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15148         (gstsegments_suite):
15149         Add more checks for various GstSegment operations.
15150
15151 2006-05-08  Wim Taymans  <wim@fluendo.com>
15152
15153         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15154         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15155         (gst_base_sink_get_position), (gst_base_sink_change_state):
15156         Store the sync time of the buffer end position separatly in a
15157         new variable eos_rtime so we can properly sync the EOS event.
15158         Fixes #340697.
15159         Fix the docs for gst_base_sink_set_qos_enabled().
15160         Don't set segment start to invalid value when we receive a 
15161         non TIME newsegment.
15162         get closer to handling position reporting for negative rates 
15163         correctly.
15164
15165 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15166
15167         * gst/gstcaps.c:
15168         Docs about how to print caps for debug purposes.
15169
15170         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15171         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15172
15173 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15174
15175         * gst/gstelement.c:
15176           use full enum names and preprend a '%' in docs strings to make recent 
15177           gtk-doc turn that into a link
15178
15179 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15180
15181         * docs/manual/basics-bins.xml:
15182         * docs/manual/basics-bus.xml:
15183         * docs/manual/basics-pads.xml:
15184           Some typo fixes, some additions, some clarifications. 
15185
15186 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15187
15188         * tools/gst-inspect.c: (main):
15189         * tools/gst-launch.c: (main):
15190         * tools/gst-run.c: (main):
15191         * tools/gst-typefind.c: (main):
15192         * tools/gst-xmlinspect.c: (main):
15193           Use the string passed to g_option_context_new() for
15194           what it's intended for - the program name is already
15195           printed elsewhere.
15196
15197 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15198
15199         * tools/Makefile.am:
15200         * tools/gst-inspect.c: (main):
15201         * tools/gst-launch.c: (main):
15202         * tools/gst-xmlinspect.c: (main):
15203         * tools/tools.h:
15204           Add back --version command line option (#340460).
15205
15206         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15207           Add --version option and use GOption for argument parsing; refactor a
15208           bit; accept directories as arguments and recurse into them; lastly,
15209           print a decent error message when things go wrong.
15210
15211 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15212
15213         * docs/manual/basics-bins.xml:
15214         Don't mention GstThread (#340611)
15215         * docs/manual/basics-elements.xml:
15216         Update link to GObject tutorial (#340607)
15217         
15218 2006-05-05  Wim Taymans  <wim@fluendo.com>
15219
15220         * gst/gstbuffer.h:
15221         * gst/gstminiobject.c:
15222         Add note about refcounting and miniobject/buffer writeability
15223         to docs. Fixes #340604
15224
15225         * gst/gstelementfactory.h:
15226         Added some explanation about @klass.
15227
15228 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15229
15230         * docs/manual/intro-motivation.xml:
15231         * docs/manual/manual.xml:
15232         Avoid CORBA & Bonobo references (#340598)
15233
15234 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15235
15236         * docs/manual/basics-bus.xml:
15237         * docs/manual/basics-pads.xml:
15238         Fix up some inaccuracies and omissions (#340609)
15239         
15240 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15241
15242         * gst/gstghostpad.c:
15243           Small typo in docs (#340625)
15244
15245 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15246
15247         * gst/parse/Makefile.am:
15248           Make 'make -j' proof (see #340698).
15249
15250 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15251
15252         * configure.ac:
15253           Require GLib-2.8 here as well.
15254
15255 2006-05-05  Wim Taymans  <wim@fluendo.com>
15256
15257         * gst/glib-compat.c:
15258         * gst/gst.c: (init_pre):
15259         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15260         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15261         (gst_object_dispatch_properties_changed):
15262         * gst/gstobject.h:
15263         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15264         * gst/gststructure.c: (gst_structure_set_valist):
15265         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15266         Remove pre glib2.8 compatibility, fixes #340508
15267
15268 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15269
15270         * gst/gsttaglist.h:
15271           Mention type of tags in doc blurbs.
15272
15273 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15274
15275         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15276         (gst_pad_configure_src), (gst_pad_push):
15277         Restore acceptcaps checking behaviour now that good plugins have
15278         been released.
15279
15280 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15281
15282         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15283
15284         * gst/gst.c:
15285         * gst/gstbus.c:
15286         * gst/gstclock.c:
15287         * gst/gstevent.c:
15288         * gst/gstformat.c:
15289         * gst/gstmessage.c:
15290         * gst/gstparse.c:
15291         * gst/gstquery.c:
15292         * gst/gstutils.c:
15293         * gst/parse/Makefile.am:
15294         * libs/gst/base/gstadapter.c:
15295         * libs/gst/base/gstbasesrc.c:
15296         * libs/gst/base/gstpushsrc.c:
15297         * libs/gst/base/gsttypefindhelper.c:
15298         * plugins/elements/gstfakesrc.c:
15299         * plugins/elements/gstidentity.c:
15300           Make sure gstprivate.h and/or config.h are
15301           always included first, otherwise some of our
15302           defines (like _FILE_OFFSET_BITS) might be
15303           redefined in the system headers. Fixes build
15304           on opensolaris (#340016).
15305
15306 2006-05-04  Wim Taymans  <wim@fluendo.com>
15307
15308         * docs/libs/gstreamer-libs-sections.txt:
15309         API: addition: gst_adapter_take_buffer()
15310         
15311         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15312         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15313         (gst_adapter_available_fast):
15314         * libs/gst/base/gstadapter.h:
15315         Prepare for optimizing the hell out of this hugely inefficient
15316         piece of code. 
15317         Added gst_adapter_take_buffer() so we can at least start thinking
15318         about subbuffering and merging.
15319         Added some comments.
15320
15321         * tests/check/Makefile.am:
15322         * tests/check/libs/adapter.c: (GST_START_TEST),
15323         (gst_adapter_suite), (main):
15324         Added GstAdapter check.
15325
15326 2006-05-04  Wim Taymans  <wim@fluendo.com>
15327
15328         * docs/design/part-overview.txt:
15329         Fix some typos, add blurb about buffer flags.
15330
15331 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15332
15333         * docs/libs/gstreamer-libs-sections.txt:
15334           make sure GstBaseTransformClass shows up in the docs
15335         * libs/gst/base/gstbasetransform.c:
15336         * libs/gst/base/gstbasetransform.h:
15337           move docs so gtk-doc picks it up now
15338
15339 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15340
15341         * docs/libs/gstreamer-libs-sections.txt:
15342           add missing symbols to docs
15343
15344 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15345
15346         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15347           back out the newsegment handling change, see #340060 for ongoing
15348           discussion
15349
15350 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15351
15352         * tools/gst-run.c: (get_candidates), (main):
15353           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15354           work); fix typo in error message. Fixes #340079.
15355
15356 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15357
15358         * common/Makefile.am:
15359         * docs/Makefile.am:
15360         * docs/faq/Makefile.am:
15361         * docs/gst/Makefile.am:
15362         * docs/libs/Makefile.am:
15363         * docs/manual/Makefile.am:
15364         * docs/plugins/Makefile.am:
15365         * docs/pwg/Makefile.am:
15366         * docs/slides/Makefile.am:
15367         * docs/upload.mak:
15368         * common/upload.mak:
15369           move upload.mak to common
15370
15371 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15372
15373         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15374           add more asserts on refcounts
15375           do more cleanup at end of tests
15376           fix test leaks showing in FC5
15377
15378 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15379
15380         * plugins/elements/gsttypefindelement.c:
15381         (gst_type_find_element_handle_event):
15382         reverted wrong change and reflowed code to avoid others falling into
15383         this trap
15384
15385 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15386
15387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15388           fix changelog entry about last collectpads change,
15389           add notes about proper fix
15390
15391 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15392
15393         * gst/gst.c:
15394         * gst/gstregistry.c: (gst_registry_scan_path_level),
15395         (gst_registry_scan_path):
15396         * gst/gstregistry.h:
15397           only write out registry if it has changed, fixes #338339
15398
15399 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15400
15401         * gst/gstbin.c:
15402         * gst/gstpipeline.c:
15403         * plugins/elements/gstcapsfilter.c:
15404         * plugins/elements/gstfakesink.c:
15405         * plugins/elements/gstfakesrc.c:
15406         * plugins/elements/gstfdsink.c:
15407         * plugins/elements/gstfdsrc.c:
15408         * plugins/elements/gstfilesink.c:
15409         * plugins/elements/gstfilesrc.c:
15410         * plugins/elements/gstidentity.c:
15411         * plugins/elements/gstqueue.c:
15412         * plugins/elements/gsttee.c:
15413         * plugins/elements/gsttypefindelement.c:
15414         (gst_type_find_element_handle_event):
15415           make GstElementDetails const
15416
15417 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15418
15419         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15420         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15421         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15422           more detailed debug and formatting cleanup,
15423           forward newsegments to src-pad (so that e.g. adder not eats them)
15424
15425 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15426
15427         * gst/gstutils.c: (gst_element_link_pads):
15428           cleanup double code
15429
15430 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15431
15432         * libs/gst/controller/gstcontroller.c:
15433         (gst_controller_sync_values):
15434           some little tuning
15435         * tests/check/libs/controller.c: (GST_START_TEST),
15436         (gst_controller_suite):
15437           a new test for live value handling
15438
15439 2006-04-28  Wim Taymans  <wim@fluendo.com>
15440
15441         * gst/gstutils.c: (push_and_ref):
15442         Added some more docs.
15443         Fix refcount issue whith gst_element_found_tags() helper 
15444         function. Fixes #338335
15445
15446         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15447         Added testsuite for gst_element_found_tags().
15448
15449 2006-04-28  Michael Smith  <msmith@fluendo.com>
15450
15451         * gst/gstvalue.c: (gst_value_serialize_flags):
15452           Avoid NULL dereference when trying to serialize flags containing
15453           invalid values.
15454
15455 2006-04-28  Michael Smith  <msmith@fluendo.com>
15456
15457         * plugins/elements/gsttypefindelement.c:
15458         (gst_type_find_element_handle_event):
15459           If we get EOS before any data is accumulated, don't use
15460           uninitialised local variables.
15461
15462 2006-04-28  Michael Smith  <msmith@fluendo.com>
15463
15464         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15465         (gst_dp_event_from_packet):
15466           Fixes in reading/writing events over GDP (not currently used?) - 
15467           dereferencing NULL events for unknown/invalid event types, memory
15468           leak, and change g_warning to GST_WARNING.
15469
15470 2006-04-28  Wim Taymans  <wim@fluendo.com>
15471
15472         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15473         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15474         (gst_base_sink_get_position), (gst_base_sink_change_state):
15475         When frame dropping is enabled, we should not ignore frames
15476         without a duration.
15477         Update some documentation.
15478
15479 2006-04-28  Wim Taymans  <wim@fluendo.com>
15480
15481         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15482         (gst_base_src_send_event), (gst_base_src_change_state):
15483         Documentation updates.
15484
15485 2006-04-28  Wim Taymans  <wim@fluendo.com>
15486
15487         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15488         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15489         handle EAGAIN, EINTR and short writes correctly. Also clean
15490         up some error cases, avoid a deadlock on bad file descriptors and
15491         use GST_DEBUG_OBJECT.
15492         Fixes #339843
15493
15494 2006-04-28  Wim Taymans  <wim@fluendo.com>
15495
15496         * gst/gstvalue.c: (gst_value_serialize_buffer),
15497         (gst_value_deserialize_buffer):
15498         Don't try to serialize a GValue with a NULL buffer. 
15499         Fixes #339821.
15500
15501         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15502         Added check for serialisation of NULL buffers.
15503
15504 2006-04-28  Wim Taymans  <wim@fluendo.com>
15505
15506         * gst/gstminiobject.c: (gst_value_take_mini_object):
15507         Taking a NULL miniobject is valid, fix the case where
15508         we try to unref the NULL miniobject.
15509
15510 2006-04-28  Wim Taymans  <wim@fluendo.com>
15511
15512         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15513
15514         * gst/gstbin.c: (gst_bin_handle_message_func):
15515         Update docs.
15516         Don't leak bin refcount when a state recalc is
15517         in progress and we delay another one #339808.
15518
15519 2006-04-28  Wim Taymans  <wim@fluendo.com>
15520
15521         * docs/design/part-TODO.txt:
15522         Mention QoS as an ongoing work item.
15523
15524         * docs/design/part-buffering.txt:
15525         New doc about buffering that needs to be fleshed out
15526         at some point.
15527
15528         * docs/design/part-qos.txt:
15529         More QoS policy for decoders/demuxers/transforms
15530
15531         * docs/design/part-trickmodes.txt:
15532         Small update.
15533
15534 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15535
15536         * configure.ac:
15537           back to HEAD
15538
15539 === release 0.10.5 ===
15540
15541 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15542
15543         * configure.ac:
15544           releasing 0.10.5, "Fogo"
15545
15546 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15547
15548         patch by: Wim Taymans
15549
15550         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15551         (gst_pad_configure_src), (gst_pad_push):
15552         * gst/gstpipeline.c: (gst_pipeline_init):
15553           Fix internal data flow errors.  Fixes #338711.
15554
15555 2006-04-12  Wim Taymans  <wim@fluendo.com>
15556
15557         * tests/check/gst/gstelement.c: (GST_START_TEST):
15558         Don't leak the factory.
15559
15560 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15561
15562         * configure.ac:
15563         * win32/common/config.h:
15564           prerelease
15565
15566 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15567
15568         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15569         (gst_controller_unset_all):
15570           Free allocated GstTimedValues when freeing list nodes.
15571           Should fix leaks 'make check-valgrind' complains about.
15572
15573         * win32/common/libgstcontroller.def:
15574           Add gst_controller_unset_all.
15575
15576 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15577
15578         * docs/libs/gstreamer-libs-sections.txt:
15579         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15580         (gst_controller_unset_all):
15581         * libs/gst/controller/gstcontroller.h:
15582         API: Added new method gst_controller_unset_all()
15583         fixed gst_controller_unset()
15584         * tests/check/libs/controller.c: (GST_START_TEST),
15585         (gst_controller_suite):
15586         Added two testcases for new and fixed method
15587
15588 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15589
15590         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15591           MSG_DONTWAIT is not defined on Cygwin, so work
15592           around that (fixes #317048).
15593           
15594 2006-04-11  Wim Taymans  <wim@fluendo.com>
15595
15596         * gst/gstelementfactory.c: (gst_element_register),
15597         (gst_element_factory_create), (gst_element_factory_make):
15598         Some cleanups.
15599         Fixed a FIXME.
15600         Updated docs (Fixes #131079)
15601
15602         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15603         Small cleanups.
15604
15605         * tests/check/gst/gstelement.c: (GST_START_TEST),
15606         (gst_element_suite):
15607         Added testcase for elementfactory class field.
15608
15609 2006-04-10  Wim Taymans  <wim@fluendo.com>
15610
15611         * gst/gstsegment.c:
15612         Added some more docs.
15613
15614         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15615         (gst_base_sink_reset_qos):
15616         Calculate more accurate rate values.
15617
15618 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15619
15620         * gst/gst_private.h:
15621           add a new #ifdef to use __declspec(dllimport) only for
15622           other modules and not for gstreamer core
15623         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15624           use gst_guint64_to_gdouble for conversion
15625         * win32/common/libgstreamer.def:
15626           add new exported functions
15627         * win32/vs6/gst_inspect.dsp:
15628         * win32/vs6/gst_launch.dsp:
15629         * win32/vs6/libgstbase.dsp:
15630         * win32/vs6/libgstcontroller.dsp:
15631         * win32/vs6/libgstcoreelements.dsp:
15632         * win32/vs6/libgstdataprotocol.dsp:
15633         * win32/vs6/libgstnet.dsp:
15634           update project files
15635
15636 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15637
15638         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15639         * gst/gstclock.c: (gst_clock_class_init):
15640         * gst/gstelement.c: (gst_element_class_init):
15641         * gst/gstindex.c: (gst_index_class_init):
15642         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15643         * gst/gstobject.c: (gst_object_class_init),
15644         (gst_signal_object_class_init):
15645         * gst/gstpad.c: (gst_pad_class_init):
15646         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15647         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15648         * gst/gstregistry.c: (gst_registry_class_init):
15649         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15650         * gst/gsttask.c: (gst_task_class_init):
15651         * gst/gstxml.c: (gst_xml_class_init):
15652         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15653         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15654         (gst_base_src_loop):
15655         * libs/gst/controller/gstcontroller.c:/
15656         (_gst_controller_class_init):
15657         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15658         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15659         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15660         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15661         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15662         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15663
15664 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15665
15666         * gst/gstpad.c: (gst_pad_link):
15667           Must set peer pads before calling the link function, otherwise
15668           a task started from a link function might get a flow-not-linked
15669           result when trying to push because the other thread where the
15670           linking happens hasn't had a chance to set the peers yet. This
15671           might happen for example when a queue gets linked to a downstream
15672           element, as queue starts a streaming task when its source pad
15673           gets linked. Happens in real life when playing back flac/musepack
15674           files in playbin (#332390).
15675           
15676 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15677
15678         * gst/gstindex.h:
15679         * gst/gstxml.h:
15680         * libs/gst/base/gstadapter.h:
15681         * libs/gst/base/gstbasesink.h:
15682         * libs/gst/base/gstbasesrc.h:
15683         * libs/gst/base/gstbasetransform.h:
15684         * libs/gst/base/gstcollectpads.h:
15685         * libs/gst/base/gstpushsrc.h:
15686         Fix broken GObject macros
15687
15688 2006-04-07  Wim Taymans  <wim@fluendo.com>
15689
15690         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15691         Initialize start and stop times, thanks valgrind.
15692
15693 2006-04-07  Wim Taymans  <wim@fluendo.com>
15694
15695         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15696         Be a bit nicer to badly behaving upstream elements that expect
15697         us to deal with non TIME segments and timestamps (such as fakesrc
15698         in the testsuite).
15699
15700 2006-04-07  Wim Taymans  <wim@fluendo.com>
15701
15702         * gst/gstbus.c:
15703         Small documentation clarification about the signal watch.
15704
15705         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15706         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15707         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15708         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15709         (gst_base_sink_get_position_last),
15710         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15711         Convert and store timestamps in stream time and running time, the
15712         raw timestamps are not useful, also document this better.
15713         Use different window sizes for good and bad QoS observations so
15714         we react to badness a little quicker.
15715         Keep track of the amount of rendered and dropped buffers.
15716         Send QoS timestamps in running time.
15717
15718         * libs/gst/base/gstbasetransform.c:
15719         (gst_base_transform_sink_eventfunc),
15720         (gst_base_transform_handle_buffer):
15721         Compare QoS timestamps against running time.
15722
15723 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15724
15725         * gst/gstpad.c:
15726           Typo fixes in docs.
15727
15728 2006-04-06  Michael Smith  <msmith@fluendo.com>
15729
15730         * gst/gstpad.c: (gst_pad_set_property):
15731           Use g_value_get_object() instead of g_value_dup_gst_object(),
15732           to avoid double-reffing the pad template (which we then sink,
15733           so this worked previously if (and only if) the pad template
15734           was floating.
15735
15736         * gst/gstpadtemplate.c: (gst_pad_template_init),
15737         (gst_pad_template_pad_created):
15738           Never return floating references to pad templates, create
15739           them as initially-sunken.
15740
15741           Document an extra function (and make this stop sinking our
15742           pad template, since that is now guaranteed to do nothing,
15743           since we created it sunken).
15744
15745         * gst/gstghostpad.c:
15746           Fix docs typo.
15747
15748 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15749
15750         * gst/gstinfo.c: (__gst_in_valgrind):
15751           Add some newlines.
15752
15753         * plugins/elements/gsttypefindelement.c:
15754         (gst_type_find_element_chain):
15755           Don't leak buffer caps.
15756
15757 2006-04-06  Michael Smith  <msmith@fluendo.com>
15758
15759         * gst/parse/grammar.y:
15760           Fix a leak in parse-launch for any source-or-sink named element 
15761           references used.
15762
15763         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15764           Unref the pipeline if it exists after we've failed parsing.
15765
15766 2006-04-05  Michael Smith  <msmith@fluendo.com>
15767
15768         * gst/gstpipeline.c: (gst_pipeline_init):
15769           When we create a pipeline bus, initially create it in flushing mode.
15770           Fixes leaks in at least one test, and makes a new pipeline work the
15771           same as one that has gone to READY and then back to NULL.
15772
15773         * gst/gstelement.c:
15774           Typo fix in docs.
15775
15776 2006-04-05  Michael Smith  <msmith@fluendo.com>
15777
15778         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15779           Unref a pad we reffed.
15780         * tests/check/gst/gstutils.c: (GST_START_TEST):
15781           Unref bins
15782
15783 2006-04-05  Michael Smith  <msmith@fluendo.com>
15784
15785         * gst/gstquery.c: (gst_query_set_formats),
15786         (gst_query_set_formatsv):
15787           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15788
15789 2006-04-05  Michael Smith  <msmith@fluendo.com>
15790
15791         * tests/check/generic/sinks.c: (GST_START_TEST):
15792           Fix a variety of memleaks in sinks check, which are only sometimes 
15793           shown by running the tests under valgrind (weird?).
15794
15795 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15796
15797         * docs/version.entities.in:
15798           Fix the substituted entity name after thomas' changes on the
15799           weekend.
15800
15801 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15802
15803         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15804         VALGRIND_PRINTF
15805         
15806 2006-04-05  Andy Wingo  <wingo@pobox.com>
15807
15808         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15809
15810         * libs/gst/base/gstbasetransform.c
15811         (gst_base_transform_sink_eventfunc): When resetting our segment on
15812         FLUSH_STOP, also update the flag saying we haven't seen a
15813         newsegment.
15814
15815 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15816
15817         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15818
15819         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15820         (gst_plugin_check_license):
15821           minor clean-ups: G_DEFINE_TYPE already takes care of the
15822           parent_class stuff, no need to do it twice. Mark array of
15823           license strings as constant. (#337103)
15824           
15825 2006-04-04  Michael Smith  <msmith@fluendo.com>
15826
15827         * tools/gst-inspect.c: (print_element_list):
15828           Free the right plugin list; fixes a memory leak.
15829
15830 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15831
15832         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15833
15834         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15835           Don't error out on empty buffers (#336945).
15836           
15837 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15838
15839         * docs/libs/gstreamer-libs-sections.txt:
15840         * gst/gsttaglist.c:
15841         * libs/gst/base/gstbasesink.c:
15842         * libs/gst/base/gstbasesink.h:
15843         * libs/gst/base/gstbasesrc.c:
15844         * libs/gst/base/gstbasesrc.h:
15845           Documentation updates. Make BaseSink and BaseSrc docs contain the
15846           class structure so that people can actually see the prototypes for
15847           virtual functions they're supposed to be overriding.
15848
15849 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15850
15851         * plugins/elements/gsttypefindelement.c:
15852         (gst_type_find_element_chain):
15853           More debug info; when skipping typefinding, send cached
15854           events in all cases.
15855
15856 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15857
15858         * configure.ac:
15859           use new AS_VERSION and AS_NANO macros
15860         * gst/gst-i18n-lib.h:
15861         * gst/gst.c:
15862         * gst/gsterror.c:
15863         * gst/gstversion.h.in:
15864         * win32/common/config.h:
15865         * win32/common/config.h.in:
15866           update accordingly
15867
15868 2006-03-31  Michael Smith  <msmith@fluendo.com>
15869
15870         * plugins/elements/gsttypefindelement.c:
15871         (gst_type_find_element_chain):
15872           Do not typefind content if the buffers already have caps.
15873           Neccesary for icydemux (#333657), and the right thing to do anyway.
15874
15875 2006-03-30  Wim Taymans  <wim@fluendo.com>
15876
15877         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15878         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15879         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15880         (gst_base_sink_record_qos_observation),
15881         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15882         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15883         (gst_base_sink_change_state):
15884         More QoS measurements as described in the design doc.
15885         Get rid of ringbuffer with observations, running average is
15886         more simple and equally good.
15887         Calculates valid proportion now.
15888         Added beginning of flood measurement.
15889
15890 2006-03-29  Wim Taymans  <wim@fluendo.com>
15891
15892         * docs/design/part-qos.txt:
15893         * gst/gstclock.c:
15894         Small documentation updates and additions.
15895
15896 2006-03-29  Wim Taymans  <wim@fluendo.com>
15897
15898         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15899         (gst_base_src_send_event), (gst_base_src_loop),
15900         (gst_base_src_change_state):
15901         Perform the EOS logic when we reach the segment stop position.
15902         Fix compilation on gcc4.1
15903
15904 2006-03-29  Wim Taymans  <wim@fluendo.com>
15905
15906         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15907
15908         * plugins/elements/gstqueue.c: (gst_queue_init),
15909         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15910         (gst_queue_set_property):
15911         * plugins/elements/gstqueue.h:
15912         In queue, when EOS is received, if minimum threshold > max_size -
15913         current_level, there is chance that queue blocks forever in conditional
15914         item del wait. This is because the queue is not emptied completely due
15915         to minimum threshold.  Here is another approach. Instead of setting
15916         cur_levels to max in EOS, just zero all minimum threshold levels. This
15917         should make sure that queue gives out all data. When going to READY
15918         (stop) state, just reset the original minimum threshold levels.
15919         Fixes #336336.
15920
15921 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
15922
15923         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15924         (gst_type_find_element_handle_event),
15925         (gst_type_find_element_send_cached_events),
15926         (gst_type_find_element_change_state):
15927         * plugins/elements/gsttypefindelement.h:
15928           When typefinding is done in push mode, we should cache
15929           events we receive during typefinding instead of just
15930           dropping them (e.g. newsegment, custom events from
15931           dvdreadsrc etc.) and then send them out once we've
15932           determined the type of the stream (and decodebin
15933           has had a chance to plug in a decoder/demuxer).
15934           
15935 2006-03-27  Wim Taymans  <wim@fluendo.com>
15936
15937         * docs/design/part-qos.txt:
15938         First QoS ideas.
15939
15940 2006-03-27  Wim Taymans  <wim@fluendo.com>
15941
15942         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15943
15944         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15945         (gst_base_src_send_event), (gst_base_src_change_state):
15946         Handle element seek correctly when we are streaming.
15947         Fixes #326998.
15948
15949 2006-03-24  Michael Smith  <msmith@fluendo.com>
15950
15951         * docs/faq/gst-uninstalled:
15952           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15953           allow you to correctly run intalled applications built against old 
15954           core, using plugins that require updated core (e.g. running
15955           installed totem against a full uninstalled gstreamer stack)
15956
15957 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15958
15959         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15960         more debug details
15961
15962 2006-03-24  Wim Taymans  <wim@fluendo.com>
15963
15964         * docs/gst/gstreamer-sections.txt:
15965         Rearrange the order of the methods so that related methods
15966         are grouped together in sections.
15967
15968 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15969
15970         * gst/gstelement.c:
15971           Little clarification in the docs
15972
15973 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
15974
15975         * docs/README:
15976         formatting fix
15977         * plugins/elements/gstidentity.c:
15978         * plugins/elements/gstqueue.c:
15979         * plugins/elements/gsttee.c:
15980         * plugins/elements/gsttypefindelement.c:
15981         GST_ELEMENT_DETAILS formatting
15982
15983 2006-03-24  Wim Taymans  <wim@fluendo.com>
15984
15985         * libs/gst/base/gstbasesink.h:
15986         Only add fields, not insert or we break ABI.
15987
15988 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15989
15990         * win32/common/libgstbase.def:
15991         * win32/common/libgstreamer.def:
15992           Update, add recently added functions.
15993
15994 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
15995
15996         * docs/gst/gstreamer-sections.txt:
15997         * gst/gstutils.c: (gst_pad_query_peer_position),
15998         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15999         * gst/gstutils.h:
16000           API: add some new utility functions:
16001            - gst_pad_query_peer_position()
16002            - gst_pad_query_peer_duration()
16003            - gst_pad_query_peer_convert()
16004           
16005 2006-03-23  Wim Taymans  <wim@fluendo.com>
16006
16007         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16008         (gst_base_sink_init), (gst_base_sink_finalize),
16009         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16010         (gst_base_sink_set_property), (gst_base_sink_get_property),
16011         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16012         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16013         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16014         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16015         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16016         (gst_base_sink_preroll_object), (gst_base_sink_event),
16017         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16018         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16019         (gst_base_sink_query), (gst_base_sink_change_state):
16020         Decouple max-lateness and the fact that QoS messages are generated
16021         with a new property (qos).
16022         added API: GstBaseSink::async_play()
16023         Add vmethod so subclasses can be notified of ASYNC playing
16024         state changes.
16025         Collect timestamp start and stop to report better current
16026         position in EOS/PLAYING/PAUSED/READY/NULL.
16027         Refactor QoS/frame dropping and other measurements.
16028         API: GstBaseSrc::qos
16029         Fixes #326311
16030
16031         * libs/gst/base/gstbasesink.h:
16032         Added Private struct.
16033         API: gst_base_sink_set_qos_enabled()
16034         API: gst_base_sink_is_qos_enabled()
16035
16036 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16037
16038         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16039           If compiling against GLib-2.8 or newer, try to read the
16040           registry file using GMappedFile first before falling back
16041           to fopen() + fread() (#332151).
16042
16043 2006-03-22  Wim Taymans  <wim@fluendo.com>
16044
16045         * gst/gstinfo.c: (gst_debug_set_active),
16046         (gst_debug_category_set_threshold):
16047         Disable debugging unless explicitly activated.
16048         Fixes #335480.
16049
16050 2006-03-22  Wim Taymans  <wim@fluendo.com>
16051
16052         * gst/gstelement.c: (gst_element_set_locked_state),
16053         (gst_element_dispose):
16054         Cleanup the error case.
16055
16056         * gst/gstobject.c: (gst_object_dispose):
16057         print a critical when some object was disposed with
16058         a parent, also revive the object since it might
16059         crash the parent.
16060
16061 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16062
16063         * tools/gst-launch.1.in:
16064           Fix another typo.
16065
16066 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16067
16068         * configure.ac:
16069         * tests/check/Makefile.am:
16070           disable some tests when we don't have a registry
16071         * tests/check/gst/gstutils.c: (gst_utils_suite):
16072           don't build the part that needs parsing
16073
16074 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16075
16076         * gst/Makefile.am
16077         * tests/examples/Makefile.am:
16078           fix --disable-parse build
16079
16080 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16081
16082         * tools/gst-feedback.1.in:
16083           Fix typo: s/feeback/feedback/ (#133494).
16084
16085 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16086
16087         * tools/Makefile.am:
16088         * tools/gst-launch.1.in:
16089           Add FILES section and correct entry about GST_REGISTRY_PATH
16090           environment variable (#133495; #133494).
16091
16092 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16093
16094         * tools/Makefile.am:
16095         * tools/gst-md5sum.1.in:
16096         * tools/gst-md5sum.c:
16097           Remove gst-md5sum and man page (the md5sink element
16098           required was removed ages ago)
16099
16100 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16101
16102         * gst/gststructure.c: (gst_structure_id_set_value):
16103           Make sure that string fields in structures/taglists
16104           contain valid UTF-8 - we don't want to pass rubbish to
16105           applications because of a buggy plugin (cp. #334167).
16106
16107 2006-03-21  Edward Hervey  <edward@fluendo.com>
16108
16109         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16110         (gst_bin_handle_message_func):
16111         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16112         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16113         (gst_element_set_bus_func):
16114         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16115         * gst/gstminiobject.c: (gst_value_set_mini_object),
16116         (gst_value_take_mini_object):
16117         * gst/gstpad.c: (gst_pad_set_pad_template):
16118         * gst/gstpipeline.c: (gst_pipeline_dispose),
16119         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16120         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16121         (gst_collect_pads_chain):
16122         * libs/gst/net/gstnettimeprovider.c:
16123         (gst_net_time_provider_set_property):
16124         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16125         It's in fact all issues with gst_*object_replace().
16126
16127 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16128
16129         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16130         
16131         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16132         * pkgconfig/gstreamer-check.pc.in:
16133           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16134
16135 2006-03-21  Edward Hervey  <edward@fluendo.com>
16136
16137         * gst/gstbuffer.h:
16138         * gst/gstevent.h:
16139         * gst/gstmessage.h:
16140         gst_[buffer|event|message]_ref() macros are replaced by a static
16141         inline functions because gcc-4.1 will about if the return value
16142         isn't used.
16143         * tests/check/gst/gstevent.c: (event_probe):
16144         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16145
16146 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16147
16148         * gst/gstutils.h:
16149         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16150         the type' case. (Closes: #335195 for now). In the future, when we
16151         depend on GLib 2.10, we could also intern the type name using
16152         g_intern_static_string()
16153
16154 2006-03-20  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/gstbin.c: (gst_bin_handle_message_func),
16157         (bin_query_max_init), (bin_query_position_fold),
16158         (bin_query_position_done), (gst_bin_query):
16159         Position query should also take max of all streams.
16160
16161 2006-03-20  Wim Taymans  <wim@fluendo.com>
16162
16163         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16164         (gst_fake_src_finalize):
16165         Fix leaks in fakesrc.
16166
16167         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16168         Fix leaks in the testcase.
16169
16170 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16171
16172         * gst/gst_private.h:
16173           add win32 specific import decoration(__declspec(dllimport)) 
16174           for all extern GstDebugCategory * variables
16175         * win32/common/libgstbase.def:
16176         * win32/common/libgstcontroller.def:
16177         * win32/common/libgstreamer.def:
16178           Add some exports, remove empty lines
16179         * win32/common/libgstdataprotocol.def:
16180         * win32/common/libgstdataprotocol.dsp:
16181         * win32/common/libgstnet.def:
16182         * win32/common/libgstnet.dsp:
16183           new project files and exportation files added
16184         
16185 2006-03-19  Wim Taymans  <wim@fluendo.com>
16186
16187         * tests/check/libs/basesrc.c: (eos_event_counter):
16188         Use proper return value for probe.
16189
16190 2006-03-17  Wim Taymans  <wim@fluendo.com>
16191
16192         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16193         (gst_pad_push):
16194         Don't leak buffers, caps and pads on negotiation errors.
16195
16196 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16197
16198         * docs/faq/cvs.xml:
16199         * docs/faq/dependencies.xml:
16200         * docs/faq/developing.xml:
16201         * docs/faq/faq.xml:
16202         * docs/faq/general.xml:
16203         * docs/faq/getting.xml:
16204         * docs/faq/legal.xml:
16205         * docs/faq/troubleshooting.xml:
16206         * docs/faq/using.xml:
16207         Faq review and update.
16208
16209 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16210
16211         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16212         (gst_pad_push):
16213         Don't pound the cpu to pieces by checking get_caps when accept_caps
16214         is called with the same caps as the pad already has.
16215         Use GST_DEBUG_OBJECT when outputting caps change information.
16216
16217 2006-03-15  Wim Taymans  <wim@fluendo.com>
16218
16219         * gst/gstclock.c: (gst_clock_class_init):
16220         Fix docs.
16221
16222 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16223
16224         * gst/gstbuffer.h:
16225         Documentation fix.
16226
16227         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16228         (gst_pad_accept_caps), (gst_pad_configure_sink),
16229         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16230         Make the default acceptcaps behaviour be to check the requested 
16231         caps against the gst_pad_get_caps output. 
16232
16233         Ensure that gst_pad_accept_caps is used to check caps when a pad
16234         doesn't have a setcaps function, so that pads automatically refuse 
16235         caps that they don't allow in their pad template. (Fixes #332986)
16236
16237         When a buffer with attached caps is pushed, ensure that the source 
16238         pad receives those caps even if the element didn't call
16239         gst_pad_set_caps first.
16240
16241 2006-03-15  Wim Taymans  <wim@fluendo.com>
16242
16243         * libs/gst/base/gstadapter.c:
16244         Add some docs.
16245
16246 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16247
16248         * win32/common/libgstbase.def:
16249         * win32/common/libgstcontroller.def:
16250         * win32/common/libgstreamer.def:
16251           Add a whole bunch of missing functions (#334434).
16252
16253 2006-03-14  Wim Taymans  <wim@fluendo.com>
16254
16255         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16256         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16257         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16258         Better debug info when we receive a segment event.
16259         Reorganize a bit so we can pass the get_times() results around.
16260         Use the segment format when calculating the running time.
16261         Don't do QoS is sync is disabled or we have no clock or the
16262         element does not want us to sync to the clock.
16263         Don't drop buffers if QoS is disabled for now.
16264
16265 2006-03-14  Wim Taymans  <wim@fluendo.com>
16266
16267         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16268         Marked the stats property as unimplemented so people don't get
16269         wild ideas.
16270         Add debug message when regression goes wrong.
16271         Added some more docs.
16272
16273 2006-03-14  Wim Taymans  <wim@fluendo.com>
16274
16275         * gst/gstsegment.c: (gst_segment_to_stream_time):
16276         Return correct return type in case of errors.
16277
16278 2006-03-14  Wim Taymans  <wim@fluendo.com>
16279
16280         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16281           Don't segfault on invalid formats.
16282
16283 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16284
16285         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16286           Can't use gst_segment_to_running_time() when the segment
16287           is not in GST_TIME_FORMAT (like with filesink, for example).
16288           Stops flac encoding pipelines from spewing critical warnings
16289           at EOS (#331248).
16290           
16291 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16292
16293         * gst/gstpipeline.c: (gst_pipeline_class_init):
16294           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16295
16296         * plugins/elements/gsttypefindelement.c:
16297         (gst_type_find_element_handle_event):
16298           Don't try to typefind empty streams.
16299
16300 2006-03-14  Wim Taymans  <wim@fluendo.com>
16301
16302         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16303         (gst_base_sink_do_qos):
16304         Separate QoS calculation.
16305         Only drop buffers when lateness is bigger than the 
16306         duration of the buffer.
16307
16308 2006-03-13  Wim Taymans  <wim@fluendo.com>
16309
16310         * gst/gstpipeline.c: (gst_pipeline_set_property),
16311         (gst_pipeline_get_property), (do_pipeline_seek),
16312         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16313         (gst_pipeline_get_delay):
16314         Don't deadlock when reading properties.
16315
16316 2006-03-13  Wim Taymans  <wim@fluendo.com>
16317
16318         * libs/gst/base/gstbasetransform.c:
16319         (gst_base_transform_class_init), (gst_base_transform_init),
16320         (gst_base_transform_sink_event),
16321         (gst_base_transform_sink_eventfunc),
16322         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16323         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16324         (gst_base_transform_set_property),
16325         (gst_base_transform_get_property),
16326         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16327         (gst_base_transform_set_qos_enabled),
16328         (gst_base_transform_is_qos_enabled):
16329         * libs/gst/base/gstbasetransform.h:
16330         Make basetransform virtual method for src events too.
16331         Handle QOS in basetransform.
16332         API: gst_base_transform_update_qos()
16333         API: gst_base_transform_set_qos_enabled()
16334         API: gst_base_transform_is_qos_enabled()
16335
16336 2006-03-13  Wim Taymans  <wim@fluendo.com>
16337
16338         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16339         (gst_base_sink_do_sync):
16340         Small cleanups.
16341         Use QOS debug category.
16342
16343 2006-03-13  Wim Taymans  <wim@fluendo.com>
16344
16345         * plugins/elements/gstqueue.c:
16346         Very small doc update.
16347
16348 2006-03-13  Wim Taymans  <wim@fluendo.com>
16349
16350         * gst/gst_private.h:
16351         * gst/gstinfo.c: (_gst_debug_init):
16352         Added QOS debug category
16353
16354 2006-03-13  Wim Taymans  <wim@fluendo.com>
16355
16356         * docs/gst/gstreamer-sections.txt:
16357         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16358         * gst/gstbin.h:
16359         * gst/gstbus.c: (gst_bus_class_init):
16360         * gst/gstbus.h:
16361         * gst/gstclock.c:
16362         * gst/gstelement.c: (gst_element_set_locked_state):
16363         * gst/gstsegment.c:
16364         Documentation updates.
16365
16366         * gst/gstpipeline.c: (gst_pipeline_get_type),
16367         (gst_pipeline_class_init), (gst_pipeline_init),
16368         (gst_pipeline_dispose), (gst_pipeline_set_property),
16369         (gst_pipeline_get_property), (do_pipeline_seek),
16370         (gst_pipeline_send_event), (gst_pipeline_change_state),
16371         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16372         (gst_pipeline_get_delay):
16373         * gst/gstpipeline.h:
16374         Added methods for setting the delay.
16375         API: gst_pipeline_set_delay()
16376         API: gst_pipeline_get_delay()
16377         Add pipeline debug category
16378         Various cleanups.
16379         Updated docs.
16380         Don't reset stream time when seek failed.
16381
16382 2006-03-13  Wim Taymans  <wim@fluendo.com>
16383
16384         * docs/design/draft-klass.txt:
16385         * docs/design/part-clocks.txt:
16386         * docs/design/part-events.txt:
16387         * docs/design/part-gstbin.txt:
16388         * docs/design/part-gstpipeline.txt:
16389         * docs/design/part-messages.txt:
16390         * docs/design/part-negotiation.txt:
16391         * docs/design/part-overview.txt:
16392         * docs/design/part-preroll.txt:
16393         * docs/design/part-seeking.txt:
16394         * docs/design/part-states.txt:
16395         * docs/design/part-streams.txt:
16396         Documentation updates.
16397
16398 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16399
16400         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16401         us to leak strings...
16402
16403 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16404
16405         * libs/gst/net/gstnettimeprovider.c:
16406           fix docs
16407         * win32/common/config.h:
16408           update
16409
16410 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16411
16412         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16413
16414         * configure.ac:
16415           Don't check for libgnomeui (leftover from old examples
16416           that aren't built or disted any longer) (#334303).
16417           
16418 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16419
16420         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16421         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16422           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16423           there's no space left on the device.
16424
16425 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16426
16427         * gst/gstclock.h:
16428           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16429           to cast the input to GstClockTime before comparing with
16430           another GstClockTime value.
16431
16432 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16433
16434         * configure.ac:
16435           back to trunk
16436
16437 === release 0.10.4 ===
16438
16439 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16440
16441         * configure.ac:
16442           releasing 0.10.4, "Light"
16443
16444 2006-03-10  Michael Smith  <msmith@fluendo.com>
16445
16446         * libs/gst/dataprotocol/dataprotocol.c:
16447           Fix docs for dataprocotol to not get the return types completely
16448           wrong for a few functions.
16449
16450 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16451
16452         * docs/gst/gstreamer-sections.txt:
16453         * gst/gstpipeline.c: (gst_pipeline_class_init),
16454         (gst_pipeline_init), (gst_pipeline_set_property),
16455         (gst_pipeline_get_property), (gst_pipeline_change_state),
16456         (gst_pipeline_set_auto_flush_bus),
16457         (gst_pipeline_get_auto_flush_bus):
16458         * gst/gstpipeline.h:
16459           Add new API: gst_pipeline_set_auto_flush_bus() and
16460           gst_pipeline_get_auto_flush_bus() to disable automatic
16461           flushing of the pipeline's GstBus when going from READY
16462           to NULL state (#332045).
16463
16464 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16465
16466         * docs/gst/gstreamer-sections.txt:
16467         * gst/gsturi.c: (gst_uri_has_protocol):
16468         * gst/gsturi.h:
16469            Add new API: gst_uri_has_protocol() (#333779).
16470
16471 2006-03-09  Wim Taymans  <wim@fluendo.com>
16472
16473         * gst/gstclock.c: (gst_clock_entry_new),
16474         (gst_clock_id_compare_func), (gst_clock_id_wait),
16475         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16476         (gst_clock_init), (gst_clock_get_internal_time),
16477         (gst_clock_set_master), (do_linear_regression),
16478         (gst_clock_add_observation), (gst_clock_set_property):
16479         * gst/gstclock.h:
16480         Review docs.
16481         Small cleanups.
16482         Fix a possible segfault when the window-size is made smaller.
16483         Calculate jitter before performing the clock wait. Ideally
16484         the clock implementation should calculate jitter but we need
16485         API breakage for that.
16486
16487         * gst/gstsystemclock.c: (gst_system_clock_init):
16488         Docs review.
16489         
16490         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16491         Remove leftover else
16492
16493         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16494         (gst_systemclock_suite):
16495         Added check to test GST_CLOCK_DIFF.
16496
16497 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16498
16499         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16500         (gst_type_find_helper_get_range):
16501           If we are provided with the size, we should implement
16502           GstTypeFind::get_length, so that typefind functions who
16503           want to can actually peek at the middle of a file.
16504
16505 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16506
16507         * docs/manual/advanced-dataaccess.xml:
16508           Add some very very basic error checking.
16509
16510         * docs/pwg/appendix-checklist.xml:
16511           Some updates to the list of things to check when writing an element.
16512
16513 2006-03-08  Wim Taymans  <wim@fluendo.com>
16514
16515         * docs/design/part-element-transform.txt:
16516         Added some docs about the design of tranform elements.
16517
16518         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16519         (gst_base_src_loop), (gst_base_src_change_state):
16520         Mark buffers with the DISCONT flag.
16521
16522 2006-03-08  Michael Smith  <msmith@fluendo.com>
16523
16524         * gst/gstregistry.h:
16525         * gst/gstregistryxml.c: (gst_registry_save),
16526         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16527         (gst_registry_xml_save_pad_template),
16528         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16529         (gst_registry_xml_write_cache):
16530           Rewrite registry-saving to avoid race conditions and check for
16531           failed writes.
16532
16533 2006-03-08  Wim Taymans  <wim@fluendo.com>
16534
16535         * libs/gst/base/gstbasetransform.c:
16536         (gst_base_transform_transform_caps),
16537         (gst_base_transform_transform_size),
16538         (gst_base_transform_prepare_output_buffer),
16539         (gst_base_transform_get_unit_size),
16540         (gst_base_transform_buffer_alloc),
16541         (gst_base_transform_handle_buffer),
16542         (gst_base_transform_change_state):
16543         Cleanups, separate normal flow from errors, add sensible
16544         DEBUG lines.
16545         Don't try to renegotiate when allocating an output buffer.
16546         Also copy DISCONT buffer flag when copying a buffer.
16547         Reset the transform after we finish streaming, not during.
16548
16549 2006-03-08  Wim Taymans  <wim@fluendo.com>
16550
16551         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16552         Use last buffer timestamp in qos message.
16553
16554 2006-03-07  Wim Taymans  <wim@fluendo.com>
16555
16556         Patch by: Christophe Fergeau
16557
16558         * docs/pwg/advanced-tagging.xml:
16559         * docs/pwg/building-pads.xml:
16560           fixes #333416
16561
16562 2006-03-07  Wim Taymans  <wim@fluendo.com>
16563
16564         * docs/libs/gstreamer-libs-sections.txt:
16565         Added basesink new methods.
16566
16567         * gst/gstevent.c:
16568         * gst/gstevent.h:
16569         Docs updates. Flesh out the QoS docs.
16570
16571         * libs/gst/base/gstadapter.c:
16572         Small doc clarification about ownership and flushing.
16573
16574         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16575         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16576         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16577         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16578         * libs/gst/base/gstbasesink.h:
16579         API additions: 
16580         Added new methods to allow subclass to control max-lateness 
16581         and sync.
16582         Generate very basic QoS events based on last sync observation.
16583         Updated docs, fix typo, added some QoS blurb.
16584
16585         * libs/gst/base/gstbasesrc.c:
16586         Remove obsolete _get_state() calls from docs.
16587
16588 2006-03-07  Wim Taymans  <wim@fluendo.com>
16589
16590         * docs/libs/gstreamer-libs-sections.txt:
16591         * libs/gst/base/gstbasetransform.h:
16592         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16593         Fix docs for GstBaseSrc.
16594
16595 2006-03-07  Wim Taymans  <wim@fluendo.com>
16596
16597         * docs/gst/gstreamer-sections.txt:
16598         * gst/gstbuffer.h:
16599         * gst/gstvalue.c:
16600         * libs/gst/base/gstbasetransform.h:
16601         Small documentation fixes.
16602
16603 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16604
16605         * gst/gstvalue.c:
16606           Document thread-unsafety of gst_value_register_foo_func()
16607           when used at the same time as gst_value_foo() (#322628).
16608
16609 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16610
16611         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16612         (gst_push_src_check_get_range):
16613           Push sources don't support pull mode by default.
16614
16615 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16616
16617         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16618         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16619         (gst_base_src_default_check_get_range):
16620         * libs/gst/base/gstbasesrc.h:
16621           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16622           provide default implementation, and rename
16623           gst_base_src_check_get_range() to
16624           gst_base_src_pad_check_get_range() for clarity.
16625
16626 2006-03-06  Wim Taymans  <wim@fluendo.com>
16627
16628         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16629         Make property overridable.
16630
16631 2006-03-06  Wim Taymans  <wim@fluendo.com>
16632
16633         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16634         (gst_base_sink_init), (gst_base_sink_set_property),
16635         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16636         * libs/gst/base/gstbasesink.h:
16637         API addition: Make max-lateness a property.
16638
16639 2006-03-06  Wim Taymans  <wim@fluendo.com>
16640
16641         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16642         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16643         Don't ever draw a frame that is >10ms late.
16644
16645 2006-03-06  Michael Smith  <msmith@fluendo.com>
16646
16647         * gst/gstmessage.c: (_gst_message_copy):
16648           When copying a message, set the parent_refcount of the enclosed
16649           structure to point at the copy, not the original message.
16650
16651 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16652
16653         Patch by: Christophe Fergeau
16654
16655         * gst/gstutils.h:
16656           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16657           usable in c++ code (#333417)
16658
16659 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16660
16661         * gst/gstclock.h:
16662           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16663
16664 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16665
16666         * libs/gst/base/gstbasetransform.c:
16667         (gst_base_transform_transform_caps):
16668           Make sure caps are writable before passing them to
16669           gst_caps_append().
16670
16671 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16672
16673         * gst/gsterror.h:
16674           Fix some minor docs errors.
16675
16676 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16677
16678           Patch by: Ross Burton <ross at burtonini dot com>
16679
16680         * gst/gsterror.c: (_gst_resource_errors_init):
16681         * gst/gsterror.h:
16682           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16683
16684 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16685
16686         * gst/gst.c:
16687         Add a check and output a g_warning when GStreamer is built
16688         against GLib 2.6 but running against 2.8 or higher, and vice 
16689         versa. (Closes: #323542)
16690
16691 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16692
16693         * gst/parse/parse.l:
16694           Commit patch for parse_launch syntax from #331255. Removes 
16695           support for quoted strings and mimetypes when writing filtered 
16696           caps. See the bug report for more details - I'm pretty sure this
16697           obscure feature is not in use by _anyone_ anywhere.
16698
16699           With this simple change, the size of the gstreamer.so here 
16700           drops from 2193KB to 1565KB.
16701
16702 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16703
16704         * plugins/elements/gsttypefindelement.h:
16705         * plugins/elements/gsttypefindelement.c:
16706         (gst_type_find_element_src_event), (start_typefinding),
16707         (stop_typefinding), (gst_type_find_element_handle_event),
16708         (gst_type_find_element_chain),
16709         (gst_type_find_element_chain_do_typefinding):
16710           Use gst_type_find_helper_for_buffer() for chain-based
16711           typefinding.
16712
16713 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16714
16715         * plugins/elements/gsttypefindelement.c:
16716         (gst_type_find_element_class_init),
16717         (gst_type_find_element_set_property),
16718         (gst_type_find_element_get_property):
16719           Deprecate "maximum" property (not only was it only taken into
16720           account for typefinding in push-mode anyway, it also was never
16721           actually possible to set it in the first place because the
16722           property was registered with the numeric property ID for the
16723           "minimum" property). Register "maximum" property correctly,
16724           for the sake of future copy'n'pasters. Remove some cruft
16725           from property get/set functions.
16726
16727 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16728
16729         * plugins/elements/gsttypefindelement.c:
16730         (gst_type_find_element_activate):
16731           Use gst_type_find_helper_get_range() here, so we
16732           can honour the "minimum" property and also emit
16733           the signal with the correct probability of the found caps.
16734
16735 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16736
16737         * docs/libs/gstreamer-libs-sections.txt:
16738         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16739         (helper_find_suggest), (gst_type_find_helper_get_range),
16740         (gst_type_find_helper):
16741         * libs/gst/base/gsttypefindhelper.h:
16742           New API: gst_type_find_helper_get_range() (#333042).
16743
16744 2006-03-02  Michael Smith  <msmith@fluendo.com>
16745
16746         * gst/gstregistryxml.c: (load_feature):
16747           Asserting on a failure to read part of the registry is Not Cool.
16748           Just log a warning and return NULL (which is already handled)
16749
16750 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16751
16752         * win32/common/libgstbase.def:
16753           added export of gst_type_find_helper_for_buffer
16754         * win32/common/libgstbase.def:
16755           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16756           gst_ghost_pad_get_target
16757
16758 2006-02-28  Wim Taymans  <wim@fluendo.com>
16759
16760         * docs/design/draft-klass.txt:
16761         We use Filter now.
16762         Added Connector to mark elements that are only used to
16763         allow pipeline connections.
16764         Moved Debug to extra feature since most of them are 
16765         functionally something else.
16766
16767 2006-02-28  Wim Taymans  <wim@fluendo.com>
16768
16769         * docs/design/draft-klass.txt:
16770         Some updates and clarifications.
16771
16772 2006-02-28  Wim Taymans  <wim@fluendo.com>
16773
16774         * docs/design/draft-klass.txt:
16775         Proposal for klass field values.
16776
16777         * docs/design/part-streams.txt:
16778         Start of a doc describing stream anatomy.
16779
16780 2006-02-28  Wim Taymans  <wim@fluendo.com>
16781
16782         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16783         Help the compiler a bit with type registration.
16784         Use existing forward cod path instead of duplicating it when 
16785         handling a message.
16786         
16787         * gst/gstbus.c: (gst_bus_get_type):
16788         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16789         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16790         * gst/gstclock.c: (gst_clock_get_type):
16791         * gst/gstelement.c: (gst_element_get_type),
16792         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16793         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16794         * gst/gstminiobject.c: (gst_mini_object_get_type):
16795         * gst/gstpad.c: (gst_pad_get_type):
16796         * gst/gstsegment.c: (gst_segment_get_type):
16797         * gst/gststructure.c: (gst_structure_get_type):
16798         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16799         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16800         * gst/gstvalue.c:
16801         Help compiler with type registration.
16802
16803         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16804         Small doc update.
16805
16806 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * plugins/elements/gsttypefindelement.c:
16809         (gst_type_find_element_handle_event):
16810           When we get an EOS event and have not found a type yet
16811           (most likely because we had not yet accumulated
16812           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16813           type given the data we have so far. Fixes typefinding
16814           for very short streams again, most notably quicktime
16815           redirections as used on Apple's trailer site (#331701).
16816
16817 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16818
16819         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16820         (gst_type_find_helper):
16821           Try typefinding factories with the highest rank first.
16822
16823 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16824
16825         * docs/libs/gstreamer-libs-docs.sgml:
16826         * docs/libs/gstreamer-libs-sections.txt:
16827         * libs/gst/base/gsttypefindhelper.c:
16828           Add section for typefind helper and add documentation
16829           for the old and the new function.
16830
16831 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16832
16833         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16834         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16835         (gst_type_find_helper_for_buffer):
16836         * libs/gst/base/gsttypefindhelper.h:
16837           New API: gst_type_find_helper_for_buffer() (#332723).
16838           
16839 2006-02-27  Michael Smith  <msmith@fluendo.com>
16840
16841         Patch by: Loïc Minier
16842
16843         * configure.ac:
16844         * docs/Makefile.am:
16845         * docs/slides/Makefile.am:
16846           prevent CVS directories getting disted.
16847
16848 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16849
16850         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16851           Use the REFCOUNTING category for caps refcounting.
16852           
16853 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16854
16855         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16856           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16857
16858 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16859
16860         * plugins/elements/gsttypefindelement.c:
16861         (gst_type_find_element_activate):
16862           Use gst_pad_check_pull_range() before _activate_pull()
16863           to avoid unnecessary open/close (see #331690).
16864
16865 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16866
16867         * gst/gstutils.c:
16868           Docs enhancement: make it crystal clear what the
16869           gst_pad_add_*_probe() callbacks should look like.
16870
16871 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16872
16873         * libs/gst/base/gstbasesrc.c:
16874           Document how applications can stop recording from
16875           live sources (see #330996).
16876
16877 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16878
16879         * tests/check/Makefile.am:
16880         * tests/check/libs/basesrc.c: (eos_event_counter),
16881         (basesrc_eos_events_pull), (basesrc_eos_events_push),
16882         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16883         (gst_basesrc_suite), (main):
16884           ... and add some tests for the base source EOS stuff.
16885
16886 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16887
16888         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16889           Test case originally showed the problem fixed below,
16890           but was then amended. Add checks back at the place
16891           where they used to be.
16892
16893 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16894
16895         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16896         (gst_base_src_init), (gst_base_src_loop),
16897         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16898         (gst_base_src_change_state):
16899         * libs/gst/base/gstbasesrc.h:
16900           Don't unconditionally send EOS when going from PAUSED to
16901           READY state, esp. make sure we don't send two EOS events
16902           in some cases (e.g. one when reaching EOS and one when
16903           going from PAUSED to READY). Also, we don't want to send
16904           EOS events when operating in pull mode. However, we do
16905           want to send an EOS event when shutting down a live
16906           source explicitly, for example (fixes #330996).
16907           
16908 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
16909
16910         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16911           Update src->read_position after a seek when not using mmap.
16912           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16913
16914 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
16915
16916         * gst/Makefile.am:
16917         * gst/gstparse.h:
16918         * gst/gstutils.c:
16919         * gst/gstutils.h:
16920         Make things work with --disable-parse as they do with 
16921         --disable-load-save - the symbols involved disappear, but the
16922         header is still installed and GST_DISABLE_PARSE is included via
16923         gstconfig.h
16924
16925 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16926
16927         * libs/gst/base/gstbasetransform.c:
16928         (gst_base_transform_change_state): Fix a stupid bug. I was 
16929         sure I compiled that.
16930
16931 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16932
16933         * gst/gstpad.c: (gst_pad_set_blocked_async):
16934         * gst/gstutils.c: (gst_pad_add_data_probe),
16935         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16936         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16937         (gst_pad_remove_buffer_probe): Make those function act on the
16938         ghostpad target when it's a ghostpad. (Closes #331727)
16939
16940 2006-02-20  Julien MOUTTE  <julien@moutte.net>
16941
16942         * libs/gst/base/gstbasetransform.c:
16943         (gst_base_transform_change_state): Make basetransform reusable.
16944         (Closes #331898)
16945
16946 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
16947
16948         * docs/random/release:
16949         Move the current documentation of how to do a release to the top
16950         of the file.
16951
16952         * gst/gstbin.c: (gst_bin_class_init),
16953         (gst_bin_handle_message_func):
16954         Allow multiple state-recalculation threads. (Closes #328873)
16955
16956 2006-02-19  Julien MOUTTE  <julien@moutte.net>
16957
16958         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16959         * gst/gstpad.c: (gst_pad_set_event_function),
16960         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16961         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16962         2 strings. You can't use the STR_NULL macro on that.
16963
16964 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
16965
16966         * gst/gstpad.c: (gst_pad_set_event_function),
16967         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16968         (gst_pad_set_getcaps_function)
16969         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16970           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16971           So now, we can use --gst-debug-level=5 on Windows
16972         * win32/common/libgstcontroller.def:
16973           Added export of gst_controller_init
16974         * win32/vs6/libgstcontroller.dsp:
16975           Fixed Release post build configuration
16976
16977 2006-02-17  Wim Taymans  <wim@fluendo.com>
16978
16979         * tests/check/gst/gstquery.c: (GST_START_TEST):
16980         Added another check.
16981
16982 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
16983
16984         * plugins/elements/gsttypefindelement.c: (find_peek):
16985           We can do peeks at non-zero offsets, as long as they
16986           fall within the buffer we have.
16987
16988 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
16989
16990         * tests/check/Makefile.am:
16991         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16992         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16993         (parse_suite), (main):
16994           Add testsuite for parse launch syntax
16995
16996 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
16997
16998         * plugins/elements/gsttypefindelement.c:
16999         (gst_type_find_element_chain):
17000           When typefinding is unsuccessful in the chain function, don't
17001           error out immediately. Only error out with NO_CAPS_FOUND if
17002           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17003           otherwise simply wait for more data so we can try typefinding
17004           again with more data later. Also, don't attempt to typefind
17005           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17006           this should improve typefinding from network sources where the
17007           size of the first buffer can be somewhat random.
17008
17009 2006-02-14  Wim Taymans  <wim@fluendo.com>
17010
17011         * docs/gst/gstreamer-sections.txt:
17012         * gst/gstpadtemplate.c:
17013         * gst/gstpadtemplate.h:
17014         Fix padtemplate docs, fixes #328805.
17015
17016 2006-02-14  Wim Taymans  <wim@fluendo.com>
17017
17018         * tools/gst-launch.c: (main):
17019         NO_PREROLL is not an ERROR so don't send confusing messages
17020         to the user.
17021
17022 2006-02-14  Wim Taymans  <wim@fluendo.com>
17023
17024         Patch by: Torsten Schoenfeld
17025
17026         * gst/gstregistry.c: (gst_registry_get_default),
17027         (_gst_registry_cleanup):
17028         Protect default registry with lock and ref/sink it.
17029         Fixes #324818
17030
17031 2006-02-14  Wim Taymans  <wim@fluendo.com>
17032
17033         * gst/gstbuffer.c:
17034         * gst/gstquery.c: (gst_query_list_add_format),
17035         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17036         (gst_query_parse_formats_nth):
17037         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17038         Docs fixes.
17039
17040 2006-02-14  Wim Taymans  <wim@fluendo.com>
17041
17042         * docs/gst/gstreamer-sections.txt:
17043         Reworked query docs.
17044
17045         * gst/gstquery.c: (gst_query_new_formats),
17046         (gst_query_list_add_format), (gst_query_set_formats),
17047         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17048         (gst_query_parse_formats_nth):
17049         * gst/gstquery.h:
17050         Flesh out formats query, added some new methods.
17051         Fix part of #324398.
17052
17053         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17054         Added query creation tests.
17055
17056 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17057
17058         * gst/gstpad.c: (fixate_value):
17059         Add a default fixation for fraction lists.
17060
17061 2006-02-13  Wim Taymans  <wim@fluendo.com>
17062
17063         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17064         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17065         (gst_task_join):
17066         * gst/gsttask.h:
17067         Detect and warn for obvious deadlocks. fixes #320340
17068         Fix error case where lock was not released.
17069
17070         * tests/check/Makefile.am:
17071         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17072         (task_func), (gst_element_suite), (main):
17073         Add task check.
17074
17075 2006-02-13  Wim Taymans  <wim@fluendo.com>
17076
17077         * docs/gst/gstreamer-sections.txt:
17078         * gst/gstbus.c:
17079         Add new functions to docs.
17080
17081 2006-02-13  Wim Taymans  <wim@fluendo.com>
17082
17083         * docs/design/part-TODO.txt:
17084         Updated TODO list, basesrc supports seeking to non-bytes
17085         formats.
17086
17087         * docs/design/part-element-sink.txt:
17088         Update docs.
17089
17090         * gst/gstbin.c: (bin_replace_message),
17091         (gst_bin_handle_message_func):
17092         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17093         * gst/gstevent.c: (gst_event_finalize):
17094         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17095         (gst_pad_send_event):
17096         Use shiny new _TYPE_NAME macros.
17097
17098         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17099         Move debug statement up.
17100
17101         * gst/gstelement.c: (gst_element_set_locked_state):
17102         Add some debugging.
17103
17104 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17105
17106         * docs/gst/gstreamer-sections.txt:
17107         * gst/gstmessage.h:
17108         * gst/gstquery.h:
17109           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17110           macros (#330906). Also, document the already existing
17111           GST_QUERY_TYPE macro.
17112
17113 2006-02-13  Wim Taymans  <wim@fluendo.com>
17114
17115         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17116         (event_probe), (GST_START_TEST):
17117         Only events up to the pipeline EOS are counted, there are
17118         some more when going to NULL currently which we don't care
17119         about for now.
17120
17121 2006-02-13  Wim Taymans  <wim@fluendo.com>
17122
17123         * gst/gstpad.c: (gst_pad_send_event):
17124         Correctly check flushing and emit probes. fixes #330125
17125
17126 2006-02-10  Andy Wingo  <wingo@pobox.com>
17127
17128         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17129         structure.
17130         (gst_bus_init): Cache the location of the private data in the
17131         instance structure.
17132         (gst_bus_enable_sync_message_emission) 
17133         (gst_bus_disable_sync_message_emission): Implement new public
17134         functions.
17135         (gst_bus_post): Emit the sync-message signal if the user asked for
17136         it. Fixes #330684.
17137
17138         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17139         location of the bus-private structure.
17140         (gst_bus_enable_sync_message_emission)
17141         (gst_bus_disable_sync_message_emission): API addition
17142
17143 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17144
17145         Patch by: Vincent Torri
17146
17147         * docs/pwg/building-boiler.xml:
17148         PWG patch from #326800
17149
17150 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17151
17152         * configure.ac:
17153         * docs/Makefile.am:
17154         * docs/design/Makefile.am:
17155           Dist design docs.
17156
17157 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17158
17159         * configure.ac:
17160           back to CVS
17161
17162 === release 0.10.3 ===
17163
17164 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17165
17166         * configure.ac:
17167           releasing 0.10.3, "Like a virgin"
17168
17169 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17170
17171         * configure.ac:
17172           2nd prerelease of 0.10.3
17173           Bump libtool versioning.
17174
17175 2006-02-07  Andy Wingo  <wingo@pobox.com>
17176
17177         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17178         update last_stop if we're in TIME format and the timestamp is
17179         valid.
17180
17181         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17182         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17183         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17184         If we get a new newsegment with a different format, adapt
17185         accordingly.
17186
17187         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17188         of 0. Not a problem, really.
17189
17190         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17191         warn if sync=true.
17192
17193 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17194
17195         * configure.ac:
17196           Prelease of 0.10.3
17197
17198 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17199
17200         * win32/vs7:
17201           project files updated to the default vs7 configuration
17202         * win32/common/libgstbase.def:
17203         * win32/common/libgstreamer.def:
17204           added new symbols,
17205           removed empty lines,
17206           sorted all exported symbols alphabetically
17207         * win32/common/dirent.c:
17208         * win32/common/dirent.h:
17209         * win32/common/gchar.h:
17210           use windows line end.
17211           
17212 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17213
17214         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17215           Send EOS event when stopping.
17216
17217 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17218
17219         * docs/README:
17220           Tell folks what to do if the plugin-foobar.xml file
17221           hasn't been generated for a newly-added plugin.
17222
17223 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17224
17225         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17226         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17227         (gst_collect_pads_start), (gst_collect_pads_stop),
17228         (gst_collect_pads_event): Collectpads now holds a reference
17229         to the GstPad that was added. Indeed we don't want to look
17230         at pads that might just go away with no warning...
17231
17232 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17233
17234         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17235         (gst_collect_pads_start), (gst_collect_pads_stop),
17236         (gst_collect_pads_event), (gst_collect_pads_chain):
17237         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17238         Mark Nauwelaerts's patch on bug #328491.
17239
17240 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17241
17242         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17243         (gst_utils_suite):
17244           Add some simple tests for gst_parse_bin_from_description() and
17245           gst_bin_find_unconnected_pad() (#329069).
17246
17247 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17248
17249         * tools/gst-launch.c: (event_loop), (main):
17250           Catch errors during preroll (#320084).
17251
17252 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17253
17254         * plugins/elements/gsttypefindelement.c:
17255         (gst_type_find_element_activate):
17256           Post TYPE_NOT_FOUND error message when typefinding
17257           is unsuccessful in the activate function as well.
17258
17259 2006-02-02  Wim Taymans  <wim@fluendo.com>
17260
17261         * docs/design/part-element-sink.txt:
17262         Updated doc.
17263
17264 2006-02-02  Wim Taymans  <wim@fluendo.com>
17265
17266         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17267         (gst_base_sink_render_object),
17268         (gst_base_sink_queue_object_unlocked):
17269         Only keep track of prerollable items when we are 
17270         prerolling.
17271         Before rendering after preroll, always check if we
17272         have queued items.
17273         Added some more debugging.
17274
17275 2006-02-02  Wim Taymans  <wim@fluendo.com>
17276
17277         * gst/gstelement.c: (gst_element_continue_state),
17278         (gst_element_set_state_func), (gst_element_change_state):
17279         Fixed #326576, been running this for quite some time with
17280         no regressions at all.
17281
17282 2006-02-02  Wim Taymans  <wim@fluendo.com>
17283
17284         * common/gst.supp:
17285         Added more suppressions
17286
17287 2006-02-02  Wim Taymans  <wim@fluendo.com>
17288
17289         * docs/design/part-element-sink.txt:
17290         Updated document.
17291
17292         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17293         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17294         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17295         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17296         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17297         (gst_base_sink_preroll_object),
17298         (gst_base_sink_queue_object_unlocked),
17299         (gst_base_sink_queue_object), (gst_base_sink_event),
17300         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17301         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17302         (gst_base_sink_get_position), (gst_base_sink_change_state):
17303         * libs/gst/base/gstbasesink.h:
17304         Totally refactored matching the design doc.
17305         Use two segments, one to clip incomming buffers and another to
17306         perform sync.
17307         Handle queueing correctly, bypass the queue when playing.
17308         Make EOS cancelable.
17309         Handle errors correctly when operating in pull based mode.
17310
17311         * tests/check/elements/fakesink.c: (GST_START_TEST),
17312         (fakesink_suite):
17313         Added new check for sinks.
17314
17315 2006-02-02  Wim Taymans  <wim@fluendo.com>
17316
17317         * gst/gstsegment.c: (gst_segment_clip):
17318         No reason to refuse to clip when start == -1
17319
17320 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17321
17322         * docs/README:
17323         * docs/manual/intro-basics.xml:
17324         * docs/manual/intro-preface.xml:
17325         * docs/manual/manual.xml:
17326         * docs/pwg/advanced-dparams.xml:
17327         * docs/pwg/intro-basics.xml:
17328         * docs/pwg/intro-preface.xml:
17329         * docs/pwg/pwg.xml:
17330           describe dparams (controller) for plugins
17331           unify docs a little more
17332
17333 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17334
17335         * docs/gst/gstreamer-sections.txt:
17336         * gst/gstutils.c: (element_find_unconnected_pad),
17337         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17338         * gst/gstutils.h:
17339           Add new API: gst_parse_bin_from_description() and
17340           gst_bin_find_unconnected_pad() (#329069).
17341
17342 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17343
17344         * docs/manual/README:
17345           uncover a nasty detail of the docs build
17346
17347 2006-01-31  Wim Taymans  <wim@fluendo.com>
17348
17349         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17350         Don't cache duration messages if we're not going to use or
17351         free them.
17352
17353 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17354
17355         * docs/manual/advanced-dparams.xml:
17356         * docs/pwg/advanced-dparams.xml:
17357           more dparam docs
17358         * gst/gstindex.c:
17359           fix docs
17360         * libs/gst/controller/lib.c: (gst_controller_init):
17361           init just once
17362
17363 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17364
17365         * gst/gstelement.c: (gst_element_message_full):
17366           also show file/line/func if no additional debug was given
17367
17368 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17369         
17370         * win32/vs7/grammar.vcproj:
17371           activate copy of autogenerated files for Release mode
17372
17373 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17374         
17375         * win32/common/libgstreamer.def:
17376           export gst_value_compare
17377
17378 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17379
17380         * plugins/elements/Makefile.am:
17381         * plugins/elements/gstelements.c:
17382         * plugins/elements/gstfdsink.c: (_do_init),
17383         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17384         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17385         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17386         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17387         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17388         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17389         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17390         * plugins/elements/gstfdsink.h:
17391         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17392
17393 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17394
17395         * docs/manual/advanced-dparams.xml:
17396           describe controller
17397         * docs/manual/advanced-position.xml:
17398         * docs/manual/basics-init.xml:
17399         * docs/manual/manual.xml:
17400         * docs/manual/titlepage.xml:
17401         * docs/pwg/pwg.xml:
17402         * docs/pwg/titlepage.xml:
17403           cleanup xml (more to come)
17404         * libs/gst/controller/gstcontroller.c:
17405           fix typo
17406
17407 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17408         
17409         * win32/vs6/grammar.dsp:
17410           add autogen of gstmarshal.c,h for Release mode
17411                 
17412 2006-01-30  Wim Taymans  <wim@fluendo.com>
17413
17414         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17415         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17416         (gst_base_sink_handle_object), (gst_base_sink_event),
17417         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17418         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17419         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17420         (gst_base_sink_deactivate), (gst_base_sink_activate),
17421         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17422         (gst_base_sink_query), (gst_base_sink_change_state):
17423         Basesink cleanups, remove some old code.
17424         Handle the case where a subclass can preroll in the render
17425         method (mostly audiosinks).
17426         Handle more events.
17427         Remove some locks around variables that are now protected
17428         with the PREROLL_LOCK (clock_id, flushing, ..).
17429         Optimize position query some more, do correct locking.
17430         Remove old code to push queue in state change, this is not
17431         needed anymore since preroll blocks on all prerollable items 
17432         now.
17433         Almost implemented as described in design doc.
17434
17435 2006-01-30  Wim Taymans  <wim@fluendo.com>
17436
17437         * tests/check/gst/gstbin.c: (GST_START_TEST):
17438         Wait for refcount to settle down before checking.
17439
17440 2006-01-30  Wim Taymans  <wim@fluendo.com>
17441
17442         * docs/design/part-element-sink.txt:
17443         Pseudo code overview of desired sink behaviour regarding
17444         preroll.
17445
17446 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17447         * win32/vs6/grammar.dsp:
17448           fix some bugs in Release mode for autogenerated files
17449                 
17450 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17451         * win32/common/libgstbase.def:
17452         * win32/common/libgstreamer.def:
17453           export some new symbols: gst_base_src_set_format,
17454           gst_iterator_next, gst_structure_set_valist
17455
17456 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17457
17458         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17459         Set pad functions unconditionally. Fixes #329105.
17460
17461 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17462         * win32/vs8:
17463           add vs8 project files created by Sergey Scobich
17464
17465 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17466
17467         * gst/gstutils.c: (gst_element_unlink_pads):
17468         Don't leak pad references.
17469
17470         * tests/check/elements/fakesink.c: (GST_START_TEST):
17471         * tests/check/generic/sinks.c: (GST_START_TEST):
17472         * tests/check/generic/states.c: (GST_START_TEST):
17473         * tests/check/gst/gstbin.c: (GST_START_TEST):
17474         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17475         * tests/check/gst/gstelement.c: (GST_START_TEST):
17476         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17477         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17478         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17479         Fix a bunch of leaks. Make generic/sinks.c
17480         use a bit less cpu by slowing the buffer rate
17481         between fakesrc and fakesink.
17482         
17483 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17484         * gst/gstcaps.c:
17485         * gst/gstelement.c: (gst_element_send_event):
17486         * gst/gstevent.c:
17487         * gst/gstinfo.c:
17488         * gst/gstiterator.c:
17489         * gst/gstiterator.h:
17490         * gst/gstpad.c: (gst_pad_send_event):
17491         * gst/gststructure.c:
17492         * gst/gsturi.c:
17493         * gst/gstutils.c:
17494         * gst/gstvalue.c:
17495         * libs/gst/base/gstadapter.c:
17496           doc fixes, to link to function, just write gst_cool_function(), don't
17497           prefix with '#'
17498
17499 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17500
17501         * plugins/elements/gsttee.c: (gst_tee_do_push),
17502         (gst_tee_handle_buffer):
17503         Always prefer an actual return value from a src
17504         pad in place of NOT_LINKED. This means we return
17505         WRONG_STATE when all src pads are WRONG_STATE
17506         instead of NOT_LINKED.
17507
17508         Lock when replacing the last message to prevent
17509         racing with the get_property method.
17510
17511         Add debug output
17512
17513 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17514
17515         * tests/check/Makefile.am:
17516         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17517         (main):
17518         Add a very simple check that should have caught the memleak I fixed
17519         last night (if not for the slice allocator hiding it)
17520
17521 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17522
17523         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17524         (gst_bin_remove_func), (gst_bin_handle_message_func),
17525         (bin_query_duration_fold), (bin_query_generic_fold):
17526         Clean up references to the clock provider when disposed or when
17527         handling a clock-lost message from it.
17528
17529         Unref sinks when performing a query via gst_iterator_fold, as the
17530         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17531
17532         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17533         (gst_clock_set_master):
17534         Drop our reference to the master clock, if any, when we are disposed.
17535
17536         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17537         Chain up in dispose. 
17538
17539 2006-01-26  Wim Taymans  <wim@fluendo.com>
17540
17541         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17542         Add some debugging.
17543
17544 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17545
17546         * plugins/elements/gsttee.c: (gst_tee_do_push),
17547         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17548         handles pad being NOT_LINKED or in WRONG_STATE.
17549
17550 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17551
17552         * win32/MANIFEST:
17553           more updating
17554
17555 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17556
17557         * win32/MANIFEST:
17558           remove obsolete entry
17559
17560 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17561
17562         * docs/gst/gstreamer-sections.txt:
17563         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17564         (gst_bin_iterate_sources), (gst_bin_send_event):
17565         * gst/gstbin.h:
17566         * gst/gstelement.c: (gst_element_send_event):
17567         * gst/gstevent.c:
17568         * gst/gstpad.c: (gst_pad_send_event):
17569           added code for downstream events, reviewed docs in gstevent.c
17570
17571 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17572
17573         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17574         We only query position using the clock in the playing state.
17575         Query peer in the other cases.
17576         * win32/common/config.h: Updates.
17577
17578 2006-01-24  Wim Taymans  <wim@fluendo.com>
17579
17580         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17581         A clock entry that is scheduled for the exact time of the
17582         clock is still in time.
17583
17584         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17585         (gst_base_sink_do_sync):
17586         Add some more debug info.
17587
17588 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17589
17590         * win32/vs7:
17591           Add new vs7 project files and solution.
17592
17593 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17594
17595         * win32/vs7:
17596           all files removed as they were out-dated.
17597
17598 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17599
17600         * docs/random/release:
17601           update notes
17602         * gst/gstbin.c: (gst_bin_init):
17603         * gst/gstbus.c: (gst_bus_new):
17604         * gst/gstbus.h:
17605         * gst/gstpipeline.c: (gst_pipeline_init):
17606           use gst_bus_new(), improve logging, fix docs
17607         * win32/common/config.h:
17608           update for cvs build
17609
17610 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17611
17612         * autogen.sh:
17613           up required version of automake to 1.7
17614
17615 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17616
17617         * win32/common/libgstreamer.def:
17618           export gst_buffer_is_metadata_writable
17619
17620 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17621
17622         * docs/gst/gstreamer-sections.txt:
17623         * gst/gstevent.h:
17624           Add gst_event_replace() (#327001)
17625
17626 2006-01-20  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17629         Make it actually compile too..
17630
17631 2006-01-20  Wim Taymans  <wim@fluendo.com>
17632
17633         * gst/gstcaps.c:
17634         Clarify behaviour of _is_equal() when passing NULL parameters.
17635
17636         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17637         (gst_pad_set_caps):
17638         Cleanups. Don't unref NULL caps.
17639         When setting the same caps, protect caps of the pad with
17640         proper lock.
17641         Use full functionality of _is_equal() when comparing caps.
17642
17643 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17644
17645         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17646         Don't loop infinitely if there are no buffers to present. Partially
17647         fixes #327197, but collectpads is just broken for reusing elements
17648         to do multiple encodes atm.
17649
17650 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17651
17652         * tools/gst-inspect.c: (print_element_features):
17653         * tools/gst-xmlinspect.c: (main):
17654         URL_HANDLER is not a plugin feature we can search for in
17655         the registry.
17656
17657 2006-01-19  Edward Hervey  <edward@fluendo.com>
17658
17659         * gst/gstelement.c: (gst_element_pads_activate): 
17660         When activating, do src pads first, then sink pads.
17661         When de-activating, do sink pads first, then src pads.
17662
17663 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17664
17665         * docs/gst/gstreamer-sections.txt:
17666         Add gst_index_add_associationv to the docs
17667
17668 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17669
17670         * gst/gstevent.c:
17671           Fix docs typo
17672
17673         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17674         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17675           Do some refactoring. Doesn't actually change functionality,
17676           but makes landing the DRAIN event easier later.
17677
17678 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17679
17680         * docs/pwg/advanced-scheduling.xml:
17681           Update from 0.9.x to 0.10 API and make example a bit
17682           clearer.
17683
17684 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17685
17686         * docs/gst/gstreamer-sections.txt:
17687         Add gst_buffer_(is|make)_metadata_writable methods.
17688
17689 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17690
17691         * docs/design/part-sparsestreams.txt:
17692         Update sparse streams doc, hopefully for greater clarity
17693
17694 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17695
17696         * docs/design/part-events.txt:
17697         Remove mention of FILLER events.
17698         Add DRAIN event.
17699
17700         * docs/design/part-sparsestreams.txt:
17701         Write some things about using NEWSEGMENT to keep sparse streams
17702         flowing.
17703
17704 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17705
17706         * gst/gstbin.c: (gst_bin_dispose):
17707           Guard gst_object_unref call against a NULL object (dispose
17708           can theoretically be called multiple times).
17709           
17710 2006-01-18  Wim Taymans  <wim@fluendo.com>
17711
17712         * gst/gstbin.c: (gst_bin_element_set_state):
17713         * gst/gstclock.c: (gst_clock_id_wait):
17714         Added some more debug info.
17715
17716         * libs/gst/base/gstadapter.c:
17717         Added more docs.
17718
17719         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17720         (gst_base_sink_do_sync), (gst_base_sink_chain):
17721         Added some comments.
17722
17723 2006-01-18  Wim Taymans  <wim@fluendo.com>
17724
17725         * tests/check/Makefile.am:
17726         * tests/check/elements/fakesink.c: (chain_async_buffer),
17727         (chain_async), (chain_async_return), (GST_START_TEST),
17728         (fakesink_suite), (main):
17729         Added fakesink test that checks prerolling and clipping
17730         behaviour.
17731
17732         * tests/check/gst/gstutils.c: (GST_START_TEST):
17733         Make check run faster so that buildbots don't timeout.
17734
17735 2006-01-18  Wim Taymans  <wim@fluendo.com>
17736
17737         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17738         (gst_base_sink_do_sync):
17739         Some cleanups.
17740         When the sink finishes blocking on the preroll buffer, it can
17741         immediatly render it instead of rendering when the next buffer
17742         arrives.
17743
17744 2006-01-18  Wim Taymans  <wim@fluendo.com>
17745
17746         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17747         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17748         (gst_base_sink_chain):
17749         Small cleanups.
17750         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17751         Don't store _last_stop if the buffer is dropped.
17752
17753 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17754
17755         * plugins/elements/gsttypefindelement.c:
17756         (gst_type_find_element_class_init):
17757           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17758           object method handler that sets the caps on the pad and we want
17759           that to happen before we emit the signal (fixes e.g. feeding a
17760           plain text file to decodebin).
17761
17762 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17763
17764         * gst/gstplugin.c: Add MPL and Proprietary as license options
17765
17766 2006-01-18  Andy Wingo  <wingo@pobox.com>
17767
17768         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17769         symbol was exported before, it appears this was just an oversight.
17770         Fixes #168703.
17771         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17772
17773         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17774         prototype to gint. OK since this prototype was not in the header.
17775
17776 2006-01-17  Andy Wingo  <wingo@pobox.com>
17777
17778         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17779         registry while we remove plugins.
17780
17781         * tools/gst-inspect.c (print_element_info): Don't unref the
17782         factory arg, that should be the responsibility of whatever code
17783         received the ref. Fixes a double-free when called from
17784         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17785         (main): Unref the factory if we have one.
17786         (print_element_list): No change -- relies on the
17787         plugin_feature_list_free to free the list of features.
17788
17789 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17790
17791         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17792         (gst_buffer_make_metadata_writable):
17793         * gst/gstbuffer.h:
17794         * libs/gst/base/gstbasetransform.c:
17795         (gst_base_transform_prepare_output_buf):
17796         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17797         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17798           Replace gst_buffer_(make|is)_metadata_writable patch now
17799           that the release is out.
17800
17801 2006-01-17  Andy Wingo  <wingo@pobox.com>
17802
17803         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17804         in the present tense without reference to versions.
17805
17806         * gst/gstregistry.c (gst_registry_add_plugin)
17807         (gst_registry_remove_plugin, gst_registry_remove_feature)
17808         (gst_registry_find_feature, gst_registry_get_feature_list)
17809         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17810         (gst_registry_lookup, gst_registry_scan_path)
17811         (_gst_registry_remove_cache_plugins)
17812         (gst_registry_get_feature_list_by_plugin): Add argument
17813         validation.
17814
17815 === release 0.10.2 ===
17816
17817 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17818
17819         * configure.ac:
17820           releasing 0.10.2, "If man is five"
17821
17822 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17823
17824         * gst/gstbuffer.c:
17825         * gst/gstbuffer.h:
17826         * libs/gst/base/gstbasetransform.c:
17827         (gst_base_transform_prepare_output_buf):
17828         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17829         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17830           Back out patch until after the release.
17831
17832 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17833
17834         * gst/gstminiobject.c:
17835           Spelling fix in docs.
17836         * ChangeLog - remove conflict indicator
17837
17838 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17839
17840         Reviewed By: Andy Wingo
17841
17842         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17843         (gst_buffer_make_metadata_writable):
17844         * gst/gstbuffer.h:
17845           Add gst_buffer_(is|make)_metadata_writable as analogues of
17846           gst_buffer_(is|make)_writable.
17847
17848         * libs/gst/base/gstbasetransform.c:
17849         (gst_base_transform_prepare_output_buf):
17850         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17851           Use name gst_buffer_(is|make)_metadata_writable functions.
17852
17853         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17854           Test gst_buffer_(is|make)_metadata_writable
17855         
17856           (Closes: #324162)
17857
17858 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17859
17860         * docs/manual/Makefile.am:
17861           don't do parallel make
17862         * configure.ac:
17863           AC_SUBST HOST_CPU
17864         * win32/common/config.h.in:
17865           add generations for HOST_CPU and GST_MAJORMINOR
17866         * win32/common/config.h:
17867           commit generated result
17868
17869 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17870
17871         * docs/manual/appendix-integration.xml:
17872           Update GNOME integration section to use gst_init_get_option_group()
17873           instead of the old popt stuff (#322911). Also, GNOME applications
17874           should  now use gconf*sink and gconf*src instead of the old gconf
17875           helper lib we had.
17876
17877 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
17878
17879
17880         * docs/gst/gstreamer-docs.sgml:
17881         * docs/gst/gstreamer-sections.txt:
17882         * docs/libs/gstreamer-libs-sections.txt:
17883           add new API entries to the docs
17884         * libs/gst/controller/Makefile.am:
17885         * libs/gst/controller/gstcontroller.c:
17886         * libs/gst/controller/gstcontroller.h:
17887         * libs/gst/controller/gstcontrollerprivate.h:
17888         * libs/gst/controller/gsthelper.c:
17889         * libs/gst/controller/gstinterpolation.c:
17890           move private structs to private header
17891         * po/README:
17892           gstreamer-0.7 -> gstreamer-0.10
17893         * tests/check/libs/struct_i386.h:
17894           remove private structs
17895
17896 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17897
17898         * plugins/indexers/Makefile.am:
17899           Fixes as part of #317048
17900
17901 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17902
17903         * plugins/indexers/Makefile.am:
17904           fix #316086 - compilation when mmap is missing
17905
17906 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
17907
17908         * libs/gst/base/gstbasesink.c:
17909           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
17910           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17911         * win32/common/config.h:
17912           added some defines GST_MAJORMINOR and HOST_CPU
17913         * win32/common/libgstbase.def:
17914         * win32/common/libgstreamer.def:
17915           added some exported functions.
17916
17917 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17918
17919         * libs/gst/controller/gstcontroller.c:
17920         (gst_controlled_property_set_interpolation_mode),
17921         (gst_controlled_property_new):
17922         * libs/gst/controller/gstcontroller.h:
17923         * libs/gst/controller/gstinterpolation.c:
17924         (interpolate_none_get_string_value_array):
17925           make G_TYPE_STRING controlable
17926
17927 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
17928
17929         * tools/README:
17930         * tools/gst-feedback.1.in:
17931         * tools/gst-inspect.1.in:
17932         * tools/gst-launch.1.in:
17933         * tools/gst-md5sum.1.in:
17934         * tools/gst-typefind.1.in:
17935         * tools/gst-xmlinspect.1.in:
17936         * tools/gst-xmllaunch.1.in:
17937           cleanup man-pages, remove reference to gst-register, document env-vars
17938
17939 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
17940
17941         * gst/gstbuffer.c: (gst_buffer_span):
17942           gst_buffer_span should copy the timestamp of the first buffer
17943           if they were both originally overlapping subbuffers of the 
17944           same parent, using the same logic as the 'slow copy' case.
17945
17946 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
17947
17948         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17949           Need to awaken ALL the pads when we pop a buffer, otherwise
17950           collectpads only works when there is 2 input streams.
17951
17952 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
17953
17954         * docs/random/ensonic/media-device-daemon.txt:
17955           more ideas (dbus)
17956         * gst/gstbuffer.c:
17957           fix doc example, add clarification
17958         * tools/gst-launch.1.in:
17959           add initial info about GST_PLUGIN_PATH, needs more work
17960
17961 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
17962
17963         * docs/manual/basics-bins.xml:
17964         * docs/manual/basics-elements.xml:
17965         * docs/manual/intro-basics.xml:
17966           Some more minor docs additions and updates.
17967
17968 2006-01-11  Wim Taymans  <wim@fluendo.com>
17969
17970         * docs/manual/basics-bins.xml:
17971         * docs/manual/basics-elements.xml:
17972         Some small fixes as pointed out by Ser-ver on IRC.
17973
17974 2006-01-10  Edward Hervey  <edward@fluendo.com>
17975
17976         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17977         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17978         the single-segment mode.
17979
17980 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
17981
17982         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17983
17984         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17985         (gst_base_src_perform_seek), (gst_base_src_send_event),
17986         (gst_base_src_set_property), (gst_base_src_get_property),
17987         (gst_base_src_loop), (gst_base_src_start),
17988         (gst_base_src_activate_push):
17989         * libs/gst/base/gstbasesrc.h:
17990           Name (private) union; makes Sun's Forte compiler happy (#324900).
17991
17992 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
17993
17994         * README:
17995           gst-register is gone.
17996
17997 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17998
17999         * gst/gstvalue.c: (_gst_value_initialize):
18000           make the G_TYPE_DATE instantiation work if debug is disabled
18001
18002 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18003
18004         * gst/gstmessage.c: (gst_message_parse_tag),
18005         (gst_message_parse_error), (gst_message_parse_warning):
18006           Don't crash when return location for error/warning debug
18007           string is NULL; add fact that return locations can be
18008           NULL to docs where appropriate.
18009
18010 2006-01-05  Wim Taymans  <wim@fluendo.com>
18011
18012         * gst/gstplugin.c: (gst_plugin_load_file):
18013         Replace strdup by g_strdup.
18014
18015 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18016
18017         * docs/pwg/advanced-types.xml:
18018           fix doc borkage
18019
18020 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18021
18022         submitted by: Abel Cheung
18023
18024         * po/LINGUAS:
18025         * po/zh_TW.po:
18026           Added Chinese (traditional) translation
18027
18028 2006-01-04  Wim Taymans  <wim@fluendo.com>
18029
18030         * docs/manual/basics-pads.xml:
18031         * docs/plugins/Makefile.am:
18032         * docs/plugins/gstreamer-plugins-docs.sgml:
18033         * docs/plugins/gstreamer-plugins-sections.txt:
18034         * docs/pwg/advanced-clock.xml:
18035         * docs/pwg/advanced-scheduling.xml:
18036         * docs/pwg/advanced-types.xml:
18037         * plugins/elements/gstfdsink.c:
18038         * plugins/elements/gstfdsrc.c:
18039         * plugins/elements/gstfdsrc.h:
18040         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18041         * plugins/elements/gstidentity.h:
18042         * plugins/elements/gstqueue.h:
18043         * plugins/elements/gsttee.c:
18044         * plugins/elements/gsttee.h:
18045         * plugins/elements/gsttypefindelement.c:
18046         (gst_type_find_element_class_init):
18047         * plugins/elements/gsttypefindelement.h:
18048         Small updates to various docs.
18049         Added core plugins to docs.
18050
18051 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18052
18053         * common/gst.supp:
18054           add a suppression for liboil's uninitialized variable
18055
18056 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18057
18058         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18059
18060         * gst/gstutils.h:
18061           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18062           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18063           compiler switch is being used (#325429).
18064
18065 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18066
18067         * gst/gstbin.c: (gst_bin_query):
18068           Disable duration query caching in bins until it gets
18069           fixed (see #324807).
18070
18071 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18072
18073         * tools/gst-inspect.c: (print_element_properties_info):
18074           Handle properties of POINTER and BOXED type.
18075
18076 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18077
18078         * gst/gst.c: (init_post):
18079           Init tags stuff and some other things before loading
18080           any static plugins (there may be other static plugins
18081           than just the GStreamer ones, and they may want to
18082           register their own tags or formats or whatever, and
18083           preferably without segfaulting).
18084
18085         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18086           Print at least a warning in the debug logs if we drop a
18087           query just because we don't know how to adjust the value
18088           in the particular format.
18089
18090 2005-12-24  David Schleef  <ds@schleef.org>
18091
18092         * tools/gstreamer-completion:
18093           Replacement for gst-complete written in sh and sed.  Only
18094           completes names of features, but that's 90% of what I want
18095           it for.  Properties are not available in registry.xml.  (Maybe
18096           they should be...)
18097
18098 === release 0.10.1 ===
18099
18100 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18101
18102         * configure.ac:
18103           releasing 0.10.1, "Nollaig chridheil"
18104
18105 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18106
18107         * docs/faq/cvs.xml:
18108           Add missing quote, should be make ERROR_CFLAGS="".
18109
18110 2005-12-20  Wim Taymans  <wim@fluendo.com>
18111
18112         * docs/design/part-trickmodes.txt:
18113         More documentation on trickmodes.
18114
18115 2005-12-20  Edward Hervey  <edward@fluendo.com>
18116
18117         * gst/gstcaps.c: (gst_static_caps_get_type):
18118         * gst/gstcaps.h:
18119           API addition: GST_TYPE_STATIC_CAPS
18120         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18121         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18122         * gst/gstpadtemplate.h:
18123           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18124         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18125         bindings.
18126
18127 2005-12-18  Wim Taymans  <wim@fluendo.com>
18128
18129         * libs/gst/base/gstadapter.c:
18130         * libs/gst/base/gstadapter.h:
18131         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18132         (gst_base_sink_get_position):
18133         * libs/gst/base/gstbasesink.h:
18134         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18135         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18136         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18137         (gst_base_src_send_event), (gst_base_src_update_length),
18138         (gst_base_src_get_range), (gst_base_src_loop),
18139         (gst_base_src_start):
18140         * libs/gst/base/gstbasesrc.h:
18141         * libs/gst/base/gstbasetransform.h:
18142         * libs/gst/base/gstcollectpads.h:
18143         * libs/gst/base/gstpushsrc.c:
18144         * libs/gst/base/gstpushsrc.h:
18145         * libs/gst/dataprotocol/dataprotocol.c:
18146         * libs/gst/dataprotocol/dataprotocol.h:
18147         * libs/gst/net/gstnetclientclock.h:
18148         * libs/gst/net/gstnettimeprovider.h:
18149         Documentation updates.
18150
18151 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18152
18153         * docs/manual/basics-helloworld.xml:
18154           Remove superfluous closing bracket in helloworld example.
18155
18156 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18157
18158         * tools/gst-launch.1.in:
18159           Update gst-launch man page; add a section with useful
18160           environment variables. Fixes #323882.
18161
18162 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18163
18164         * gst/gst.c:
18165         * gst/gst_private.h:
18166           change some char* into char[]
18167
18168 2005-12-16  Wim Taymans  <wim@fluendo.com>
18169
18170         * gst/gstregistryxml.c: (load_feature):
18171         Cleanups.
18172         Don't use g_object_unref on GstObjects so that we avoid
18173         leaks on unsafe glibs.
18174
18175 2005-12-16  Wim Taymans  <wim@fluendo.com>
18176
18177         * gst/gstbin.c: (gst_bin_recalc_state):
18178         Small doc updates.
18179
18180 2005-12-16  Wim Taymans  <wim@fluendo.com>
18181
18182         * common/check.mak:
18183         Added make forever target for check.
18184
18185 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18186
18187         * gst/gst.c: (init_post):
18188           make the registry cache file HOST_CPU-dependent
18189
18190 2005-12-16  Andy Wingo  <wingo@pobox.com>
18191
18192         * plugins/elements/gstbufferstore.c
18193         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18194         return value.
18195
18196         * tests/check/gst/gstobject.c
18197         (test_fake_object_name_threaded_unique): Pay attention to
18198         g_list_sort return value.
18199
18200 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18201
18202         * tools/gst-feedback-m.m:
18203           Update for 0.9/0.10 (fixes #323870).
18204
18205 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18206
18207         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18208           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18209           
18210         * tests/check/gst/gstminiobject.c: (my_foo_init),
18211         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18212         (test_value_collection), (gst_mini_object_suite):
18213           Add test to ensure refcounts end up as expected when passing
18214           GstMiniObjects through g_object_get() and g_object_set().
18215
18216 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18217
18218         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18219         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18220         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18221         of collectpads. This version removes a lot of races without
18222         touching API/ABI. Yay !
18223
18224 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18225
18226         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18227           Don't allow activation of a srcpad in pull_range if it has no
18228           getrange function.
18229           Change some debug statements to be a little clearer
18230
18231         * plugins/elements/gsttypefindelement.c:
18232         (gst_type_find_handle_src_query):
18233           Check that we have a peer before executing queries thereupon.
18234
18235         * tests/examples/metadata/read-metadata.c: (message_loop):
18236           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18237           immediately return us any available message with 0 timeout.
18238
18239 2005-12-12  Michael Smith  <msmith@fluendo.com>
18240
18241         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18242           Don't unref factories after calling them.
18243         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18244         * plugins/elements/gsttypefindelement.c:
18245         (gst_type_find_element_chain):
18246           Free lists of factories after using them. Fixing typefinding memory
18247           leaks.
18248
18249 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18250
18251         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18252         (gst_plugin_feature_load):
18253           more meaningful debug output
18254         * configure.ac:
18255         * tests/Makefile.am:
18256         * tests/old/examples/Makefile.am:
18257           make make distcheck happy again
18258
18259 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18260
18261         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18262           Catch the special case where we are operating chain-based,
18263           but the downstream peer pad has no chain function. Emit a
18264           custom error message in this case instead of letting the
18265           core generate one implying that this is some sort of core
18266           bug. It's not, it just means that whatever got plugged
18267           into the pipeline downstream when we announced the type
18268           can only operate pull-based, while our source can only
18269           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18270           Error string has not been marked for translation yet, as
18271           it probably needs some more work first.
18272
18273         (gst_type_find_element_get_best_possibility):
18274           Add helper function to find the best of all available
18275           found possibilities that qualify given the min. threshold.
18276
18277         (gst_type_find_element_handle_event):
18278           Fix the case where we get an EOS while still in TYPEFIND
18279           mode (we want to chose the best of all possible types,
18280           not just the first type that happens to be in our unsorted
18281           list of possible types).
18282
18283         (gst_type_find_element_chain):
18284           Make sure we return GST_FLOW_ERROR when we errored out
18285           in stop_typefinding(); also, don't just find the best of
18286           all found type entries and then use the last examined
18287           type entry, but actually use the best entry.
18288
18289 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18290
18291         * tests/examples/typefind/typefind.c: (type_found):
18292         * tests/examples/xml/runxml.c: (xml_loaded):
18293           More gcc4 fixes and a mem leak fix.
18294
18295 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18296
18297         * tests/examples/xml/createxml.c: (object_saved):
18298           gcc 4 fixes
18299
18300 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18301
18302         * tests/Makefile.am:
18303           enable the examples even more
18304
18305 2005-12-12  Andy Wingo  <wingo@pobox.com>
18306
18307         * libs/gst/net/gstnettimeprovider.c
18308         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18309         (gst_net_time_provider_set_property)
18310         (gst_net_time_provider_get_property):
18311         API addition: Export "active" as a GObject property.
18312         (gst_net_time_provider_thread): Only respond to time queries if
18313         the time provider is active.
18314
18315         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18316         NetTimeProvider, preserving binary compat.
18317
18318 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18319
18320         * tests/examples/controller/audio-example.c: (main):
18321         * tests/examples/launch/Makefile.am:
18322           convert comments again
18323
18324 2005-12-12  Wim Taymans  <wim@fluendo.com>
18325
18326         * libs/gst/base/gstpushsrc.c:
18327         Fix typo.
18328
18329 2005-12-12  Wim Taymans  <wim@fluendo.com>
18330
18331         * docs/libs/gstreamer-libs-sections.txt:
18332         Added new symbol to docs.
18333
18334         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18335         (gst_base_src_init), (gst_base_src_set_format),
18336         (gst_base_src_default_query), (gst_base_src_query),
18337         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18338         (gst_base_src_perform_seek), (gst_base_src_send_event),
18339         (gst_base_src_default_event), (gst_base_src_event_handler),
18340         (gst_base_src_set_property), (gst_base_src_get_property),
18341         (gst_base_src_wait), (gst_base_src_do_sync),
18342         (gst_base_src_update_length), (gst_base_src_get_range),
18343         (gst_base_src_check_get_range), (gst_base_src_loop),
18344         (gst_base_src_default_negotiate), (gst_base_src_start),
18345         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18346         (gst_base_src_change_state):
18347         * libs/gst/base/gstbasesrc.h:
18348         Implement seeking to other formats than _BYTES.
18349         Implement more seeking methods correctly.
18350         Doc updates.
18351         Added query vmethod.
18352         Added do_seek vmethod to make life easier for subclasses
18353         when seeking.
18354         API addition: gst_base_src_set_format()
18355
18356 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18357
18358         * tests/examples/Makefile.am:
18359           added that too
18360
18361 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18362
18363         * configure.ac:
18364         * docs/random/ensonic/media-device-daemon.txt:
18365         * tests/examples/controller/.cvsignore:
18366         * tests/examples/controller/Makefile.am:
18367         * tests/examples/controller/audio-example.c: (main):
18368         * tests/examples/helloworld/.cvsignore:
18369         * tests/examples/helloworld/Makefile.am:
18370         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18371         * tests/examples/launch/.cvsignore:
18372         * tests/examples/launch/Makefile.am:
18373         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18374         * tests/examples/metadata/.cvsignore:
18375         * tests/examples/metadata/Makefile.am:
18376         * tests/examples/metadata/read-metadata.c: (message_loop),
18377         (make_pipeline), (print_tag), (main):
18378         * tests/examples/queue/.cvsignore:
18379         * tests/examples/queue/Makefile.am:
18380         * tests/examples/queue/queue.c: (event_loop), (main):
18381         * tests/examples/typefind/.cvsignore:
18382         * tests/examples/typefind/Makefile.am:
18383         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18384         (main):
18385         * tests/examples/xml/.cvsignore:
18386         * tests/examples/xml/Makefile.am:
18387         * tests/examples/xml/createxml.c: (object_saved), (main):
18388         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18389         * tests/old/examples/Makefile.am:
18390         * tests/old/examples/TODO:
18391         * tests/old/examples/controller/.cvsignore:
18392         * tests/old/examples/controller/Makefile.am:
18393         * tests/old/examples/controller/audio-example.c:
18394         * tests/old/examples/helloworld/.cvsignore:
18395         * tests/old/examples/helloworld/Makefile.am:
18396         * tests/old/examples/helloworld/helloworld.c:
18397         * tests/old/examples/launch/.cvsignore:
18398         * tests/old/examples/launch/Makefile.am:
18399         * tests/old/examples/launch/mp3parselaunch.c:
18400         * tests/old/examples/launch/mp3play:
18401         * tests/old/examples/manual/Makefile.am:
18402         * tests/old/examples/metadata/Makefile.am:
18403         * tests/old/examples/metadata/read-metadata.c:
18404         * tests/old/examples/queue/.cvsignore:
18405         * tests/old/examples/queue/Makefile.am:
18406         * tests/old/examples/queue/queue.c:
18407         * tests/old/examples/typefind/.cvsignore:
18408         * tests/old/examples/typefind/Makefile.am:
18409         * tests/old/examples/typefind/typefind.c:
18410         * tests/old/examples/xml/.cvsignore:
18411         * tests/old/examples/xml/Makefile.am:
18412         * tests/old/examples/xml/createxml.c:
18413         * tests/old/examples/xml/runxml.c:
18414           applied some simple fixing to some examples
18415           re-enabled the working examples
18416
18417 2005-12-12  Wim Taymans  <wim@fluendo.com>
18418
18419         * gst/gstsegment.c: (gst_segment_init),
18420         (gst_segment_set_last_stop), (gst_segment_set_seek),
18421         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18422         (gst_segment_to_running_time):
18423         Added more documentation.
18424         Make sure the last_pos value is updated properly.
18425         Make sure to_stream_time and to_running_time don't
18426         operate on wrong values.
18427
18428         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18429         Update check.
18430
18431 2005-12-12  Michael Smith  <msmith@fluendo.com>
18432
18433         * plugins/elements/gsttypefindelement.c: (free_entry),
18434         (gst_type_find_element_chain):
18435           Now that we're not leaking factories, make sure we keep references
18436           to them while we need them.
18437
18438 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18439
18440         * tests/check/gst/struct_i386.h:
18441           ifdef out the XML structs
18442
18443 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18444
18445         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18446           floor is not needed, F is always positive; this obviates the
18447           need for adding -lm when building without libxml
18448
18449 2005-12-12  Wim Taymans  <wim@fluendo.com>
18450
18451         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18452         Take current playback rate into account when reporting
18453         the position.
18454
18455 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18456
18457         * docs/manual/mime-world.fig:
18458           Let's try this again, this time with a file that is
18459           actually in XFig format.
18460
18461 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18462
18463         * docs/manual/mime-world.fig:
18464           Add audioconvert element to diagram so that it
18465           matches the text and the code (fixes #319526).
18466
18467 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18468
18469         * docs/pwg/building-chainfn.xml:
18470         * docs/pwg/building-pads.xml:
18471         * docs/pwg/building-state.xml:
18472         * docs/pwg/other-source.xml:
18473           Update state change stuff for 0.10 (fixes #322969).
18474
18475 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18476
18477         * docs/manual/advanced-dataaccess.xml:
18478         * docs/manual/appendix-checklist.xml:
18479         * docs/manual/appendix-programs.xml:
18480         * docs/manual/basics-pads.xml:
18481         * docs/manual/highlevel-components.xml:
18482         * docs/manual/manual.xml:
18483           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18484           add converters in front of pipelines; remove curly
18485           brackets for threads stuff, they no longer exist; use
18486           GST_TYPE_FRACTION for framerates; update some pieces of
18487           code to 0.10, but there's plenty more to do.
18488
18489         * docs/manual/appendix-porting.xml:
18490           Expand on asynchroneous state changes; s/0.9/0.10/;
18491           mention disappearance of gst_init_get_popt_table()
18492           (fixes #322916).
18493
18494 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18495
18496         * docs/faq/using.xml:
18497           Spider no longer exists, and neither does gst-launch-ext.
18498           Update examples to use decodebin and playbin and put
18499           converters in front of sinks (fixes #323726).
18500
18501 2005-12-09  Michael Smith  <msmith@fluendo.com>
18502
18503         * plugins/elements/gsttypefindelement.c: (find_peek),
18504         (gst_type_find_element_chain):
18505           Fix leaking element factories in typefinding.
18506           Fix problem where we forgot about a probable type on non-seekable
18507           files, and thus later mis-typefound it.
18508
18509 2005-12-09  Michael Smith  <msmith@fluendo.com>
18510
18511         * common/m4/gst-makecontext.m4:
18512         * common/m4/gst-mcsc.m4:
18513         * configure.ac:
18514         * win32/common/config.h:
18515         * win32/common/config.h.in:
18516           Remove makecontext stuff; not used in 0.10 and causes problems on
18517           HPUX according to bug #322441
18518
18519 2005-12-07  Wim Taymans  <wim@fluendo.com>
18520
18521         * tests/check/Makefile.am:
18522         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18523         (main):
18524         * tests/check/libs/struct_i386.h:
18525         Added ABI check for libs
18526
18527 2005-12-07  Wim Taymans  <wim@fluendo.com>
18528
18529         * tests/check/Makefile.am:
18530         And add the struct_i386.h to dist.
18531
18532 2005-12-07  Wim Taymans  <wim@fluendo.com>
18533
18534         * tests/check/Makefile.am:
18535         * tests/check/gst/.cvsignore:
18536         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18537         (main):
18538         * tests/check/gst/struct_i386.h:
18539         Added check for ABI compatibility.
18540
18541 2005-12-07  Wim Taymans  <wim@fluendo.com>
18542
18543         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18544         (gst_fake_src_get_times), (gst_fake_src_create):
18545         Fix broken sync option, fixes #323259
18546
18547 2005-12-07  Wim Taymans  <wim@fluendo.com>
18548
18549         * gst/gstbuffer.c:
18550         Small docs update.
18551
18552         * gst/gstcaps.c: (gst_caps_is_equal):
18553         Don't assert on NULL <--> X. Fixes #323260
18554
18555         * gst/gstminiobject.c: (gst_mini_object_replace):
18556         If we're doing atomic operations, we might just as well use
18557         the proper way to get an atomic pointer.
18558
18559         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18560         Clean up debugging.
18561
18562 2005-12-07  Michael Smith  <msmith@fluendo.com>
18563
18564         * gst/parse/grammar.y:
18565           Remove handling of { } for threads.
18566
18567 2005-12-06  David Schleef  <ds@schleef.org>
18568
18569         * libs/gst/base/gstbasetransform.c: speling fix.
18570
18571 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18572
18573         * docs/libs/tmpl/gstdataprotocol.sgml:
18574         * docs/random/omega/testing/gstobject.c:
18575         * gst/gst.c:
18576         * gst/gstclock.c:
18577         * gst/gstelement.c:
18578         * gst/gstelementfactory.c:
18579         * gst/gsterror.c:
18580         * gst/gstevent.c:
18581         * gst/gstghostpad.c:
18582         * gst/gstinfo.c:
18583         * gst/gstpadtemplate.c:
18584         * gst/gstregistryxml.c:
18585         * gst/gsttaglist.c:
18586         * gst/gsttagsetter.c:
18587         * gst/gsttypefind.c:
18588         * gst/gstvalue.c:
18589         * libs/gst/base/gstbasesrc.c:
18590         * libs/gst/net/gstnetclientclock.c:
18591         * libs/gst/net/gstnettimeprovider.c:
18592         * plugins/elements/gstfakesrc.c:
18593         * plugins/elements/gstfdsrc.c:
18594         * plugins/elements/gstfilesrc.c:
18595         * plugins/elements/gstidentity.c:
18596         * plugins/elements/gstqueue.c:
18597         * plugins/elements/gsttypefindelement.c:
18598         * plugins/indexers/gstfileindex.c:
18599         * plugins/indexers/gstmemindex.c:
18600         * tests/check/gst/gsttag.c:
18601         * tests/old/examples/cutter/cutter.c:
18602         * tests/old/examples/mixer/mixer.c:
18603         * tests/old/examples/xml/runxml.c: (main):
18604         * tests/old/testsuite/caps/normalisation.c:
18605         * tests/old/testsuite/debug/global.c:
18606         * tests/old/testsuite/parse/parse1.c:
18607         * tools/gst-xmlinspect.c:
18608         * win32/common/dirent.c:
18609           expand tabs
18610
18611 === release 0.10.0 ===
18612
18613 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18614
18615         * configure.ac:
18616           releasing 0.10.0, "Maroilles"
18617
18618 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18619
18620         submitted by: Funda Wang <fundawang@linux.net.cn>
18621
18622         * po/LINGUAS:
18623         * po/zh_CN.po:
18624           added Chinese (Traditional) translation
18625
18626 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18627
18628         * docs/gst/gstreamer-sections.txt:
18629         * docs/libs/tmpl/gstdataprotocol.sgml:
18630         * docs/random/thomasvs/TODO:
18631         * gst/gstutils.c:
18632         * gst/gstutils.h:
18633           fix docs
18634
18635 2005-12-05  Andy Wingo  <wingo@pobox.com>
18636
18637         patch by: Wim Taymans <wim@fluendo.com>
18638
18639         * libs/gst/base/gstbasetransform.c
18640         (gst_base_transform_prepare_output_buf)
18641         (gst_base_transform_buffer_alloc):
18642         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18643         alloc_buffer_and_set_caps.
18644
18645         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18646         set_caps on the source pad.
18647         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18648         alloc_buffer used to do. Fixes #322874.
18649
18650         * docs/gst/gstreamer-sections.txt: 
18651         * docs/design/part-negotiation.txt: 
18652         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18653         changes.
18654
18655 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18656
18657         patch by: Sebastien Moutte
18658
18659         * win32/MANIFEST:
18660         * win32/common/config.h.in:
18661         * win32/vs6/libgstcontroller.dsp:
18662           win32 build fixes
18663
18664 2005-12-05  Wim Taymans  <wim@fluendo.com>
18665
18666         * gst/gstcaps.c: (gst_caps_is_equal):
18667         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18668         (gst_fake_src_create):
18669         Back out previous code changes, leave doc updates, file bugs 
18670         instead. 
18671
18672 2005-12-05  Wim Taymans  <wim@fluendo.com>
18673
18674         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18675         (gst_fake_src_get_times), (gst_fake_src_create):
18676         * plugins/elements/gstfakesrc.h:
18677         Fix broken sync code.
18678
18679 2005-12-05  Wim Taymans  <wim@fluendo.com>
18680
18681         * gst/gstcaps.c: (gst_caps_is_equal):
18682         Comparing NULL against !NULL yields different caps, not a
18683         failure.
18684
18685 2005-12-05  Wim Taymans  <wim@fluendo.com>
18686
18687         * gst/gstpipeline.c:
18688         Fix small typo in docs.
18689
18690 2005-12-05  Andy Wingo  <wingo@pobox.com>
18691
18692         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18693
18694         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18695         registries/plugins with a MAJORMINOR one.
18696         (plugin_desc): Rename library from gstcoreleements to
18697         staticelements. Fixes #323222.
18698
18699 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18700
18701         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18702           Change debug category to 'collectpads' from 'collect_pads'
18703           (fixes #323250).
18704
18705 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18706
18707         patch by: Sebastien Moutte
18708
18709         * libs/gst/controller/gstinterpolation.c:
18710           use convert function for uint64/double
18711         * win32/vs6/libgstcontroller.dsp:
18712           link to GLib
18713
18714 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18715
18716         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18717         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18718         * gst/gstutils.h:
18719         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18720           add tests that seem to show that the guint64/gdouble conversions
18721           are correct.
18722
18723 2005-12-02  Wim Taymans  <wim@fluendo.com>
18724
18725         * gst/gstregistry.c: (gst_registry_add_path):
18726         * gst/gstregistry.h:
18727         * gst/gstregistryxml.c:
18728         Fix docs again.
18729
18730 2005-12-02  Wim Taymans  <wim@fluendo.com>
18731
18732         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18733         (gst_util_uint64_scale_int):
18734         Small cleanup.
18735
18736         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18737         Add debug log line.
18738
18739         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18740         Add FIXME.
18741
18742 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18743
18744         * win32/MANIFEST:
18745         * win32/common/config.h:
18746         * win32/vs6/gstreamer.dsw:
18747         * win32/vs6/libgstcoreelements.dsp:
18748         * win32/vs6/libgstelements.dsp:
18749           renamed core elements plugin
18750
18751 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18752
18753         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18754         (get_candidates):
18755           do piece-wise major/minor comparison so 0.9 < 0.10
18756           also allow .exe extensions for tools
18757
18758 2005-12-02  Michael Smith  <msmith@fluendo.com>
18759
18760         * gst/gst.c:
18761           Escape a % to make gtkdoc happier; bug 322958.
18762
18763 === release 0.9.7 ===
18764
18765 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18766
18767         * configure.ac:
18768           releasing 0.9.7, "My Dog Has No Nose"
18769
18770 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18771
18772         * common/gst-xmlinspect.py:
18773         * configure.ac:
18774         * docs/libs/tmpl/gstdataprotocol.sgml:
18775         * docs/random/release:
18776         * po/af.po:
18777         * po/az.po:
18778         * po/bg.po:
18779         * po/ca.po:
18780         * po/cs.po:
18781         * po/de.po:
18782         * po/en_GB.po:
18783         * po/fr.po:
18784         * po/it.po:
18785         * po/nb.po:
18786         * po/nl.po:
18787         * po/ru.po:
18788         * po/sq.po:
18789         * po/sr.po:
18790         * po/sv.po:
18791         * po/tr.po:
18792         * po/uk.po:
18793         * po/vi.po:
18794         * win32/common/config.h:
18795         * win32/common/config.h.in:
18796         * win32/vs6/gst_inspect.dsp:
18797         * win32/vs6/gst_launch.dsp:
18798         * win32/vs6/libgstbase.dsp:
18799         * win32/vs6/libgstelements.dsp:
18800         * win32/vs6/libgstreamer.dsp:
18801         * win32/vs7/GStreamer.vcproj:
18802         * win32/vs7/gst-inspect.vcproj:
18803         * win32/vs7/gst-launch.vcproj:
18804         * win32/vs7/libgstbase.vcproj:
18805           bump GST_MAJORMINOR to 0.10
18806           reset libtool version
18807
18808 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18809
18810         * po/LINGUAS:
18811         * po/bg.po:
18812           Added Bulgarian translation by (Alexander Shopov)
18813
18814 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18815
18816         * tests/check/gst/gstplugin.c:
18817           fix test
18818
18819 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18820
18821         * common/gst-xmlinspect.py:
18822         * common/gtk-doc-plugins.mak:
18823         * configure.ac:
18824         * docs/Makefile.am:
18825         * docs/gst/Makefile.am:
18826         * docs/gst/gstreamer-docs.sgml:
18827         * docs/gst/gstreamer-sections.txt:
18828         * docs/gst/gstreamer.types:
18829         * docs/gst/gstreamer.types.in:
18830         * docs/plugins/Makefile.am:
18831         * docs/plugins/gstreamer-plugins-docs.sgml:
18832         * docs/plugins/gstreamer-plugins-sections.txt:
18833         * docs/plugins/gstreamer-plugins.types:
18834         * docs/plugins/inspect.stamp:
18835         * docs/plugins/inspect/plugin-coreelements.xml:
18836         * docs/plugins/inspect/plugin-coreindexers.xml:
18837         * docs/plugins/scanobj-build.stamp:
18838         * gstreamer.spec.in:
18839         * plugins/elements/Makefile.am:
18840         * plugins/elements/gstelements.c:
18841         * plugins/elements/gstfakesink.c:
18842         * plugins/elements/gstfakesrc.c:
18843         * plugins/elements/gstfilesink.c:
18844         * plugins/elements/gstfilesrc.c:
18845         * plugins/elements/gstqueue.c:
18846         * plugins/indexers/Makefile.am:
18847         * plugins/indexers/gstindexers.c:
18848           document core plugins in a separate document just like all the
18849           others
18850           rename these plugins to something starting with core
18851
18852 2005-12-01  Andy Wingo  <wingo@pobox.com>
18853
18854         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18855         padding here before, but it missed the commit.
18856
18857 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18858
18859         * libs/gst/controller/gstinterpolation.c:
18860           whitespace prices have crashed, we should feel free to use some now
18861           use gst_guint64_to_gdouble
18862
18863 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18864
18865         * libs/gst/controller/gstcontroller.c:
18866         * libs/gst/controller/gsthelper.c:
18867         * libs/gst/controller/gstinterpolation.c:
18868         * libs/gst/controller/lib.c:
18869           wrap config.h include
18870
18871 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18872
18873         * docs/gst/gstreamer-sections.txt:
18874           update docs
18875
18876 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18877
18878         * plugins/elements/gstelements.c:
18879         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18880         (gst_fd_sink__class_init), (gst_fd_sink__init),
18881         (gst_fd_sink__chain), (gst_fd_sink__set_property),
18882         (gst_fd_sink__get_property):
18883         * plugins/elements/gstfdsink.h:
18884         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18885         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18886         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18887         (gst_fd_src_unlock), (gst_fd_src_set_property),
18888         (gst_fd_src_get_property), (gst_fd_src_create),
18889         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18890         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18891         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18892         (gst_fd_src_uri_handler_init):
18893         * plugins/elements/gstfdsrc.h:
18894         * plugins/elements/gstqueue.c: (gst_queue_get_type):
18895           more anal cleanup
18896
18897 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18898
18899         * docs/gst/Makefile.am:
18900         * docs/gst/gstreamer.types.in:
18901         * gst/Makefile.am:
18902           fix the docs build
18903
18904 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18905
18906         * configure.ac:
18907         * gst/Makefile.am:
18908         * gst/gst.c:
18909         * gst/gstplugin.h:
18910         * gst/gstregistry.h:
18911         * tests/benchmarks/complexity.c:
18912         * tests/benchmarks/mass-elements.c:
18913         * tests/check/Makefile.am:
18914         * tools/Makefile.am:
18915         * tools/gst-inspect.c:
18916         * tools/gst-xmlinspect.c:
18917           various fixes to make
18918           --disable-nls --disable-registry --disable-loadsave
18919           --disable-parse --disable-gst-debug
18920           work and get the core .so down to 360444 bytes after stripping
18921
18922 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18923
18924         * Makefile.am:
18925         * configure.ac:
18926           descend into tests
18927         * docs/random/thomasvs/TODO:
18928         * tests/Makefile.am:
18929         * tests/README:
18930           add a README
18931
18932 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18933
18934         * win32/GStreamer.vcproj:
18935         * win32/MANIFEST:
18936         * win32/Makefile:
18937         * win32/Makefile.inspect:
18938         * win32/Makefile.launch:
18939         * win32/Makefile.register:
18940         * win32/README.txt:
18941         * win32/gst-inspect.vcproj:
18942         * win32/gst-launch.vcproj:
18943         * win32/gst-register.vcproj:
18944         * win32/gstelements.vcproj:
18945         * win32/gstgetbits.def:
18946         * win32/gstgetbits.vcproj:
18947         * win32/gstreamer-dbg.def:
18948         * win32/gstreamer.def:
18949         * win32/libgstbase.def:
18950         * win32/libgstbase.vcproj:
18951         * win32/link_oldruntime.c:
18952         * win32/mman.c:
18953         * win32/mman.h:
18954         * win32/mman.inl:
18955         * win32/msvc71.sln:
18956           move even more stuff, win32/ is nice and clean now
18957
18958 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * libs/gst/control/.cvsignore:
18961         * win32/MANIFEST:
18962         * win32/config.h:
18963         * win32/dirent.c:
18964         * win32/dirent.h:
18965         * win32/gstbytestream.def:
18966         * win32/gstbytestream.vcproj:
18967         * win32/gstconfig.h:
18968         * win32/gstenumtypes.c:
18969         * win32/gstenumtypes.h:
18970         * win32/gstoptimalscheduler.vcproj:
18971         * win32/gstversion.h:
18972         * win32/gtchar.h:
18973         * win32/testsuite/bins.vcproj:
18974         * win32/testsuite/bytestream.vcproj:
18975         * win32/testsuite/caps.vcproj:
18976         * win32/testsuite/cleanup.vcproj:
18977         * win32/testsuite/clock.vcproj:
18978         * win32/testsuite/debug.vcproj:
18979         * win32/testsuite/dlopen.vcproj:
18980         * win32/testsuite/dynparams.vcproj:
18981         * win32/testsuite/elements.vcproj:
18982         * win32/testsuite/ghostpads.vcproj:
18983         * win32/testsuite/indexers.vcproj:
18984         * win32/testsuite/negotiation.vcproj:
18985         * win32/testsuite/parse.vcproj:
18986         * win32/testsuite/plugin.vcproj:
18987         * win32/testsuite/refcounting.vcproj:
18988         * win32/testsuite/schedulers.vcproj:
18989         * win32/testsuite/states.vcproj:
18990         * win32/testsuite/tags.vcproj:
18991         * win32/testsuite/threads.vcproj:
18992           remove old win32 stuff that isn't maintained and should be
18993           reorganized
18994
18995 2005-11-30  Andy Wingo  <wingo@pobox.com>
18996
18997         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18998         loading the gst.interfaces python module bork.
18999
19000         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19001         available since GLib 2.2. Fixes #318031.
19002
19003 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19004
19005         * Makefile.am:
19006         * check/.cvsignore:
19007         * check/Makefile.am:
19008         * check/elements/.cvsignore:
19009         * check/elements/fakesrc.c:
19010         * check/elements/fdsrc.c:
19011         * check/elements/identity.c:
19012         * check/generic/.cvsignore:
19013         * check/generic/states.c:
19014         * check/gst-libs/.cvsignore:
19015         * check/gst-libs/controller.c:
19016         * check/gst-libs/gdp.c:
19017         * check/gst/.cvsignore:
19018         * check/gst/capslist.h:
19019         * check/gst/gst.c:
19020         * check/gst/gstbin.c:
19021         * check/gst/gstbuffer.c:
19022         * check/gst/gstbus.c:
19023         * check/gst/gstcaps.c:
19024         * check/gst/gstelement.c:
19025         * check/gst/gstevent.c:
19026         * check/gst/gstghostpad.c:
19027         * check/gst/gstiterator.c:
19028         * check/gst/gstmessage.c:
19029         * check/gst/gstminiobject.c:
19030         * check/gst/gstobject.c:
19031         * check/gst/gstpad.c:
19032         * check/gst/gstpipeline.c:
19033         * check/gst/gstplugin.c:
19034         * check/gst/gstsegment.c:
19035         * check/gst/gststructure.c:
19036         * check/gst/gstsystemclock.c:
19037         * check/gst/gsttag.c:
19038         * check/gst/gstutils.c:
19039         * check/gst/gstvalue.c:
19040         * check/net/.cvsignore:
19041         * check/net/gstnetclientclock.c:
19042         * check/net/gstnettimeprovider.c:
19043         * check/pipelines/.cvsignore:
19044         * check/pipelines/cleanup.c:
19045         * check/pipelines/simple_launch_lines.c:
19046         * check/pipelines/stress.c:
19047         * check/states/.cvsignore:
19048         * check/states/sinks.c:
19049         * configure.ac:
19050         * examples/Makefile.am:
19051         * examples/appreader/.cvsignore:
19052         * examples/appreader/Makefile.am:
19053         * examples/appreader/appreader.c:
19054         * examples/controller/.cvsignore:
19055         * examples/controller/Makefile.am:
19056         * examples/controller/audio-example.c:
19057         * examples/cutter/.cvsignore:
19058         * examples/cutter/Makefile.am:
19059         * examples/cutter/cutter.c:
19060         * examples/cutter/cutter.h:
19061         * examples/events/Makefile.am:
19062         * examples/events/seek.c:
19063         * examples/helloworld/.cvsignore:
19064         * examples/helloworld/Makefile.am:
19065         * examples/helloworld/helloworld.c:
19066         * examples/helloworld2/.cvsignore:
19067         * examples/helloworld2/Makefile.am:
19068         * examples/helloworld2/helloworld2.c:
19069         * examples/launch/.cvsignore:
19070         * examples/launch/Makefile.am:
19071         * examples/launch/mp3parselaunch.c:
19072         * examples/launch/mp3play:
19073         * examples/manual/.cvsignore:
19074         * examples/manual/Makefile.am:
19075         * examples/manual/extract.pl:
19076         * examples/metadata/Makefile.am:
19077         * examples/metadata/read-metadata.c:
19078         * examples/mixer/.cvsignore:
19079         * examples/mixer/Makefile.am:
19080         * examples/mixer/mixer.c:
19081         * examples/mixer/mixer.h:
19082         * examples/pingpong/.cvsignore:
19083         * examples/pingpong/Makefile.am:
19084         * examples/pingpong/pingpong.c:
19085         * examples/plugins/.cvsignore:
19086         * examples/plugins/Makefile.am:
19087         * examples/plugins/example.c:
19088         * examples/plugins/example.h:
19089         * examples/pwg/.cvsignore:
19090         * examples/pwg/Makefile.am:
19091         * examples/pwg/extract.pl:
19092         * examples/queue/.cvsignore:
19093         * examples/queue/Makefile.am:
19094         * examples/queue/queue.c:
19095         * examples/queue2/.cvsignore:
19096         * examples/queue2/Makefile.am:
19097         * examples/queue2/queue2.c:
19098         * examples/queue3/.cvsignore:
19099         * examples/queue3/Makefile.am:
19100         * examples/queue3/queue3.c:
19101         * examples/queue4/.cvsignore:
19102         * examples/queue4/Makefile.am:
19103         * examples/queue4/queue4.c:
19104         * examples/retag/.cvsignore:
19105         * examples/retag/Makefile.am:
19106         * examples/retag/retag.c:
19107         * examples/retag/transcode.c:
19108         * examples/thread/.cvsignore:
19109         * examples/thread/Makefile.am:
19110         * examples/thread/thread.c:
19111         * examples/typefind/.cvsignore:
19112         * examples/typefind/Makefile.am:
19113         * examples/typefind/typefind.c:
19114         * examples/xml/.cvsignore:
19115         * examples/xml/Makefile.am:
19116         * examples/xml/createxml.c:
19117         * examples/xml/runxml.c:
19118         * tests/Makefile.am:
19119         * tests/check/Makefile.am:
19120         * testsuite/.cvsignore:
19121         * testsuite/Makefile.am:
19122         * testsuite/Rules:
19123         * testsuite/caps/.cvsignore:
19124         * testsuite/caps/Makefile.am:
19125         * testsuite/caps/app_fixate.c:
19126         * testsuite/caps/audioscale.c:
19127         * testsuite/caps/caps.c:
19128         * testsuite/caps/caps.h:
19129         * testsuite/caps/caps_strings:
19130         * testsuite/caps/compatibility.c:
19131         * testsuite/caps/deserialize.c:
19132         * testsuite/caps/enumcaps.c:
19133         * testsuite/caps/eratosthenes.c:
19134         * testsuite/caps/filtercaps.c:
19135         * testsuite/caps/fixed.c:
19136         * testsuite/caps/fraction-convert.c:
19137         * testsuite/caps/fraction-multiply-and-zero.c:
19138         * testsuite/caps/intersect2.c:
19139         * testsuite/caps/intersection.c:
19140         * testsuite/caps/normalisation.c:
19141         * testsuite/caps/random.c:
19142         * testsuite/caps/renegotiate.c:
19143         * testsuite/caps/sets.c:
19144         * testsuite/caps/simplify.c:
19145         * testsuite/caps/string-conversions.c:
19146         * testsuite/caps/structure.c:
19147         * testsuite/caps/subtract.c:
19148         * testsuite/caps/union.c:
19149         * testsuite/debug/.cvsignore:
19150         * testsuite/debug/Makefile.am:
19151         * testsuite/debug/category.c:
19152         * testsuite/debug/commandline.c:
19153         * testsuite/debug/global.c:
19154         * testsuite/debug/output.c:
19155         * testsuite/debug/printf_extension.c:
19156         * testsuite/dlopen/.cvsignore:
19157         * testsuite/dlopen/Makefile.am:
19158         * testsuite/dlopen/dlopen_gst.c:
19159         * testsuite/dlopen/loadgst.c:
19160         * testsuite/elements/.cvsignore:
19161         * testsuite/elements/Makefile.am:
19162         * testsuite/elements/gst-inspect-check.in:
19163         * testsuite/elements/struct_i386.h:
19164         * testsuite/elements/struct_size.c:
19165         * testsuite/indexers/.cvsignore:
19166         * testsuite/indexers/Makefile.am:
19167         * testsuite/indexers/cache1.c:
19168         * testsuite/indexers/indexdump.c:
19169         * testsuite/parse/.cvsignore:
19170         * testsuite/parse/Makefile.am:
19171         * testsuite/parse/parse1.c:
19172         * testsuite/parse/parse2.c:
19173         * testsuite/plugin/.cvsignore:
19174         * testsuite/plugin/Makefile.am:
19175         * testsuite/plugin/README:
19176         * testsuite/plugin/dynamic.c:
19177         * testsuite/plugin/linked.c:
19178         * testsuite/plugin/loading.c:
19179         * testsuite/plugin/registry.c:
19180         * testsuite/plugin/static.c:
19181         * testsuite/plugin/static2.c:
19182         * testsuite/plugin/testplugin.c:
19183         * testsuite/plugin/testplugin2.c:
19184         * testsuite/plugin/testplugin2_s.c:
19185         * testsuite/plugin/testplugin_s.c:
19186         * testsuite/refcounting/.cvsignore:
19187         * testsuite/refcounting/Makefile.am:
19188         * testsuite/refcounting/bin.c:
19189         * testsuite/refcounting/element.c:
19190         * testsuite/refcounting/element_pad.c:
19191         * testsuite/refcounting/mainloop.c:
19192         * testsuite/refcounting/mem.c:
19193         * testsuite/refcounting/mem.h:
19194         * testsuite/refcounting/object.c:
19195         * testsuite/refcounting/pad.c:
19196         * testsuite/refcounting/sched.c:
19197         * testsuite/refcounting/thread.c:
19198         * testsuite/states/.cvsignore:
19199         * testsuite/states/Makefile.am:
19200         * testsuite/states/bin.c:
19201         * testsuite/states/locked.c:
19202         * testsuite/states/parent.c:
19203         * testsuite/threads/.cvsignore:
19204         * testsuite/threads/159566.c:
19205         * testsuite/threads/159852.c:
19206         * testsuite/threads/Makefile.am:
19207         * testsuite/threads/queue.c:
19208         * testsuite/threads/signals.c:
19209         * testsuite/threads/staticrec.c:
19210         * testsuite/threads/thread.c:
19211         * testsuite/threads/threadb.c:
19212         * testsuite/threads/threadc.c:
19213         * testsuite/threads/threadd.c:
19214         * testsuite/threads/threade.c:
19215         * testsuite/threads/threadf.c:
19216         * testsuite/threads/threadg.c:
19217         * testsuite/threads/threadh.c:
19218         * testsuite/threads/threadi.c:
19219           move all of these under tests
19220
19221 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * configure.ac:
19224         * tests/Makefile.am:
19225           fix distcheck
19226
19227 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19228
19229         * docs/gst/gstreamer-sections.txt:
19230         * tests/sched/.cvsignore:
19231         * tests/sched/Makefile.am:
19232         * tests/sched/cases/(fs-fs).xml:
19233         * tests/sched/cases/(fs-i-fs).xml:
19234         * tests/sched/cases/(fs-i-i-fs).xml:
19235         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19236         * tests/sched/dynamic-pipeline.c:
19237         * tests/sched/interrupt1.c:
19238         * tests/sched/interrupt2.c:
19239         * tests/sched/interrupt3.c:
19240         * tests/sched/runtestcases:
19241         * tests/sched/runxml.c:
19242         * tests/sched/sched-stress.c:
19243         * tests/sched/sort.c:
19244         * tests/sched/testcases:
19245         * tests/sched/testcases1.tc:
19246         * tests/seeking/.cvsignore:
19247         * tests/seeking/Makefile.am:
19248         * tests/seeking/seeking1.c:
19249         * tests/threadstate/.cvsignore:
19250         * tests/threadstate/Makefile.am:
19251         * tests/threadstate/test1.c:
19252         * tests/threadstate/test2.c:
19253         * tests/threadstate/threadstate1.c:
19254         * tests/threadstate/threadstate2.c:
19255         * tests/threadstate/threadstate3.c:
19256         * tests/threadstate/threadstate4.c:
19257         * tests/threadstate/threadstate5.c:
19258           remove obsolete tests
19259         * configure.ac:
19260         * tests/bench-complexity.scm:
19261         * tests/bench-mass_elements.scm:
19262         * tests/complexity.c:
19263         * tests/complexity.gnuplot:
19264         * tests/instantiate/.cvsignore:
19265         * tests/instantiate/Makefile.am:
19266         * tests/instantiate/caps.c:
19267         * tests/mass_elements.c:
19268         * tests/network-clock-utils.scm:
19269         * tests/network-clock.scm:
19270         * tests/plot-data:
19271         First pass at cleaning up tests/ dir before moving the rest
19272         Combined with CVS surgery
19273
19274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19275
19276         * po/POTFILES.in:
19277           queue has moved, update
19278
19279 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19280
19281         * docs/gst/gstreamer-sections.txt:
19282           remove double entries from the docs
19283         * gst/gst_private.h:
19284         * gst/gstinfo.c: (_gst_debug_init):
19285           remove the THREAD debug category
19286         * gst/Makefile.am:
19287         * gst/gstqueue.c:
19288         * gst/gstqueue.h:
19289         * docs/gst/gstreamer.types:
19290         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19291         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19292           completely move queue and fix up debugging categories
19293
19294 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19295
19296         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19297           make initialization portable, using LL is not
19298
19299 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19300
19301         * win32/common/gstconfig.h:
19302           add large padding
19303
19304 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19305
19306         * win32/common/libgstreamer.def:
19307           rename symbols; sort base section
19308
19309 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19310
19311         * gst/gstclock.c: (do_linear_regression):
19312           remove crack non-portable handrolled DEBUG macro
19313
19314 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19315
19316         * docs/random/release:
19317           update notes
19318         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19319         (gst_object_flags_get_type), (register_gst_bin_flags),
19320         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19321         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19322         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19323         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19324         (gst_caps_flags_get_type), (register_gst_clock_return),
19325         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19326         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19327         (gst_clock_flags_get_type), (register_gst_state),
19328         (gst_state_get_type), (register_gst_state_change_return),
19329         (gst_state_change_return_get_type), (register_gst_state_change),
19330         (gst_state_change_get_type), (register_gst_element_flags),
19331         (gst_element_flags_get_type), (register_gst_core_error),
19332         (gst_core_error_get_type), (register_gst_library_error),
19333         (gst_library_error_get_type), (register_gst_resource_error),
19334         (gst_resource_error_get_type), (register_gst_stream_error),
19335         (gst_stream_error_get_type), (register_gst_event_type_flags),
19336         (gst_event_type_flags_get_type), (register_gst_event_type),
19337         (gst_event_type_get_type), (register_gst_seek_type),
19338         (gst_seek_type_get_type), (register_gst_seek_flags),
19339         (gst_seek_flags_get_type), (register_gst_format),
19340         (gst_format_get_type), (register_gst_index_certainty),
19341         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19342         (gst_index_entry_type_get_type),
19343         (register_gst_index_lookup_method),
19344         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19345         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19346         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19347         (gst_index_flags_get_type), (register_gst_debug_level),
19348         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19349         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19350         (gst_iterator_result_get_type), (register_gst_iterator_item),
19351         (gst_iterator_item_get_type), (register_gst_message_type),
19352         (gst_message_type_get_type), (register_gst_mini_object_flags),
19353         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19354         (gst_pad_link_return_get_type), (register_gst_flow_return),
19355         (gst_flow_return_get_type), (register_gst_activate_mode),
19356         (gst_activate_mode_get_type), (register_gst_pad_direction),
19357         (gst_pad_direction_get_type), (register_gst_pad_flags),
19358         (gst_pad_flags_get_type), (register_gst_pad_presence),
19359         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19360         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19361         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19362         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19363         (gst_plugin_flags_get_type), (register_gst_rank),
19364         (gst_rank_get_type), (register_gst_query_type),
19365         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19366         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19367         (gst_tag_flag_get_type), (register_gst_task_state),
19368         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19369         (gst_alloc_trace_flags_get_type),
19370         (register_gst_type_find_probability),
19371         (gst_type_find_probability_get_type), (register_gst_uri_type),
19372         (gst_uri_type_get_type), (register_gst_parse_error),
19373         (gst_parse_error_get_type):
19374         * win32/common/gstenumtypes.h:
19375         * win32/common/gstversion.h:
19376           update visual studio generated files
19377
19378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19379
19380         * win32/vs6/libgstbase.dsp:
19381         * win32/vs6/libgstelements.dsp:
19382           update project files for new locations
19383
19384 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * Makefile.am:
19387           remove some files
19388         * README:
19389           reinstate and update
19390         * DEVEL:
19391         * REQUIREMENTS:
19392           removed
19393         * LICENSE:
19394         * docs/random/LICENSE:
19395           moved to random
19396
19397 2005-11-30  Edward Hervey  <edward@fluendo.com>
19398
19399         * gst/gsttypefind.c: (gst_type_find_register):
19400         * gst/gsttypefind.h:
19401         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19402         (gst_type_find_factory_dispose):
19403         * gst/gsttypefindfactory.h:
19404         Fix memory leak in GstTypeFindFactory.
19405
19406 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19407
19408         * gst/gst.c:
19409         * plugins/elements/Makefile.am:
19410         * plugins/elements/gstelements.c:
19411         * plugins/elements/gstqueue.c:
19412           move queue from core to the elements plugin
19413
19414 2005-11-29  Andy Wingo  <wingo@pobox.com>
19415
19416         * libs/gst/base/gstbasetransform.h: 
19417         * libs/gst/base/gstbasesrc.h: 
19418         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19419
19420         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19421         of pointers by which to pad very extensible base classes (like the
19422         ones in libs/gst/base).
19423
19424 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19425
19426         * docs/gst/gstreamer-docs.sgml:
19427         * docs/gst/gstreamer-sections.txt:
19428         * docs/libs/gstreamer-libs-docs.sgml:
19429         * docs/libs/gstreamer-libs-sections.txt:
19430           moving documentation from core to lib
19431
19432 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19433
19434         * check/Makefile.am:
19435         * configure.ac:
19436         * docs/gst/Makefile.am:
19437         * gst/Makefile.am:
19438         * gst/base/.cvsignore:
19439         * gst/base/Makefile.am:
19440         * gst/base/README:
19441         * gst/base/gstadapter.c:
19442         * gst/base/gstadapter.h:
19443         * gst/base/gstbasesink.c:
19444         * gst/base/gstbasesink.h:
19445         * gst/base/gstbasesrc.c:
19446         * gst/base/gstbasesrc.h:
19447         * gst/base/gstbasetransform.c:
19448         * gst/base/gstbasetransform.h:
19449         * gst/base/gstcollectpads.c:
19450         * gst/base/gstcollectpads.h:
19451         * gst/base/gstpushsrc.c:
19452         * gst/base/gstpushsrc.h:
19453         * gst/base/gsttypefindhelper.c:
19454         * gst/base/gsttypefindhelper.h:
19455         * gst/check/Makefile.am:
19456         * gst/check/gstcheck.c:
19457         * gst/check/gstcheck.h:
19458         * gst/net/Makefile.am:
19459         * gst/net/gstnet.h:
19460         * gst/net/gstnetclientclock.c:
19461         * gst/net/gstnetclientclock.h:
19462         * gst/net/gstnettimepacket.c:
19463         * gst/net/gstnettimepacket.h:
19464         * gst/net/gstnettimeprovider.c:
19465         * gst/net/gstnettimeprovider.h:
19466         * libs/gst/Makefile.am:
19467         * libs/gst/base/Makefile.am:
19468         * libs/gst/base/gstbasetransform.c:
19469         * libs/gst/check/Makefile.am:
19470         * plugins/elements/Makefile.am:
19471         * po/POTFILES.in:
19472           CVS surgery + support to move base, check, and net out of gst
19473           and into libs/gst
19474
19475 2005-11-29  Andy Wingo  <wingo@pobox.com>
19476
19477         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19478
19479         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19480         padding.
19481
19482         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19483
19484         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19485
19486         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19487
19488         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19489         padding; reduces object size by about 30%. We don't expect
19490         anything else to go into gstobject.
19491
19492         * gst/gstminiobject.h (struct _GstMiniObject)
19493         (struct _GstMiniObjectClass): Only one pointer of padding; the
19494         payload is only a pointer and two ints anyway. For the class there
19495         are only two methods as well.
19496         
19497         * gst/gstelement.h (struct _GstElementClass): Removed
19498         the state_changed signal callback, it is not used.
19499
19500 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19501
19502         * docs/gst/gstreamer.types:
19503           fix includes, though they are a little dinky
19504
19505 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19506
19507         * check/Makefile.am:
19508           look in the right place for elements, a lot more chance of
19509           success
19510         * gst/Makefile.am:
19511           remove indexers and elements subdirs
19512         * plugins/Makefile.am:
19513           make indexers conditional
19514
19515 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19516
19517         * Makefile.am:
19518         * configure.ac:
19519         * plugins/elements/Makefile.am:
19520         * plugins/elements/gstcapsfilter.c:
19521         * plugins/elements/gstfilesink.c:
19522         * plugins/elements/gstfilesrc.c:
19523         * plugins/elements/gstidentity.c:
19524         * plugins/indexers/Makefile.am:
19525           do CVS surgery and related build fixery to move elements
19526           and indexers in a new gstreamer/plugins directory, out of the
19527           gst/ directory
19528
19529 2005-11-29  Andy Wingo  <wingo@pobox.com>
19530
19531         * check/Makefile.am:
19532         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19533         * pkgconfig/gstreamer-net.pc.in:
19534         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19535         #322257.
19536
19537 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19538
19539         * tools/Makefile.am:
19540         * tools/gst-complete.1.in:
19541         * tools/gst-complete.c:
19542         * tools/gst-compprep.1.in:
19543         * tools/gst-compprep.c:
19544           removing -compprep and -complete
19545
19546 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19547
19548         * gst/gstevent.c: (gst_event_new_new_segment),
19549         (gst_event_parse_new_segment):
19550         * gst/gstevent.h:
19551           fix #320529 - clean up new_segment API and structure.
19552           Let's hope everyone was using the methods, and not the structure.
19553
19554 2005-11-29  Edward Hervey  <edward@fluendo.com>
19555
19556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19557         (gst_base_sink_event), (gst_base_sink_do_sync),
19558         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19559         Properly handle non GST_FORMAT_TIME segment
19560         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19561         Properly handle non GST_FORMAT_TIME segment
19562         * gst/gstsegment.c:
19563         This function is valid if the accumulator is 0 and the format
19564         is different from the requested format.
19565         
19566 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19567
19568         * docs/gst/gstreamer-sections.txt:
19569         Add gst_query_new_seeking and gst_query_parse_seeking to the
19570         docs.
19571
19572 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19573
19574         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19575           Treat a pad alloc with new caps the same as if we were not
19576           negotiated, in order to allow a changing upstream output
19577           to produce a new format of data.
19578
19579 2005-11-29  Edward Hervey  <edward@fluendo.com>
19580
19581         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19582         (gst_base_transform_event), (gst_base_transform_eventfunc):
19583         The event virtual method is now properly implemented, with a default
19584         handler
19585         Sub classes should call the parent_class event method. They should
19586         return FALSE if they had a problem handling the given event, or don't
19587         want GstBaseTransform to send that even downstream
19588         * gst/elements/gstidentity.c: (gst_identity_class_init),
19589         (gst_identity_init), (gst_identity_event),
19590         (gst_identity_transform_ip), (gst_identity_set_property),
19591         (gst_identity_get_property):
19592         * gst/elements/gstidentity.h:
19593         Added the single-segment boolean property.
19594         If set to TRUE, it will output a single segment of data, starting from
19595         0, will eat up all incoming newsegment, and modify the timestamp of the
19596         buffers accordingly
19597
19598 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19599
19600         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19601           Don't ref NULL target pad (#322751). Improve docs.
19602
19603 2005-11-29  Michael Smith  <msmith@fluendo.com>
19604
19605         * gst/gstregistryxml.c: (load_plugin):
19606           Don't crash if we failed to load a feature from a plugin. 
19607
19608 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19609
19610         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19611         (GST_START_TEST):
19612           use more check API and less GLib API
19613
19614 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19615
19616         * Makefile.am:
19617           don't run checks if we don't have check
19618         * common/check.mak:
19619           remove the registry when running make torture
19620         * docs/gst/gstreamer-sections.txt:
19621           remove second multiply
19622         * gst/gstqueue.c: (gst_queue_loop):
19623           fix a compile warning when disabling debug
19624
19625 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19626
19627         * gst/gstinfo.h:
19628         Hey! Let's print the pad name if the pointer != NULL instead
19629         of when it == NULL :-)
19630
19631 2005-11-28  Wim Taymans  <wim@fluendo.com>
19632
19633         * check/gst/gstutils.c: (GST_START_TEST):
19634         Updated check, add some scaling accuracy checking code.
19635
19636         * gst/gstutils.c: (gst_util_div128_64),
19637         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19638         (gst_util_uint64_scale_int):
19639         Fix 6 times faster division code. Optimize for common 
19640         1/1 and less common X/1 cases.
19641
19642 2005-11-28  Wim Taymans  <wim@fluendo.com>
19643
19644         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19645         More checks.
19646
19647         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19648         (do_linear_regression), (gst_clock_add_observation):
19649         Cleanups.
19650         Release lock when the clock cannot be slaved.
19651         Catch the case where the regression returned an invalid denominator.
19652
19653         * gst/gstutils.c: (gst_util_div128_64_iterate),
19654         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19655         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19656         Add protentially more performant non-iterative 128/64 divide function
19657         that unfortunatly does not work yet.
19658         Shortcut the trivial 0/X = 0 case.
19659         Remove the warnings on overflow.
19660
19661 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * gst/gstplugin.c: (gst_plugin_register_func):
19664           everything causing a plugin not to load should be at least a WARNING
19665
19666 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19667
19668         * docs/random/ensonic/dparams.txt:
19669           some TODOs for the next dev cycle
19670         * libs/gst/controller/gstcontroller.c:
19671         (gst_controlled_property_set_interpolation_mode),
19672         (gst_controlled_property_new):
19673         * libs/gst/controller/gstcontroller.h:
19674           use base type to assign acccessor functions
19675
19676 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19677
19678         * check/Makefile.am:
19679         Oops, that should have been top_srcdir
19680
19681 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19682
19683         * check/Makefile.am:
19684         * check/elements/fdsrc.c: (GST_START_TEST):
19685         Use a cmdline define to specify the location of a file to use for
19686         testing, to avoid breaking distcheck.
19687
19688 2005-11-28  Andy Wingo  <wingo@pobox.com>
19689
19690         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19691
19692 2005-11-28  Edward Hervey  <edward@fluendo.com>
19693
19694         * tools/gst-launch.c: (main):
19695         Clarify the output strings, makes it easier to translate.
19696         Fixes #322626
19697
19698 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19699
19700         * gst/Makefile.am:
19701           don't try and build net if we don't even have <sys/socket.h>
19702
19703 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19704
19705         * check/Makefile.am:
19706         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19707         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19708           Add tests for fdsrc seekability
19709
19710         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19711         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19712         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19713         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19714         * gst/elements/gstfdsrc.h:
19715           fdsrc should not be a 'live' source.
19716           Implement seeking on seekable fd's.
19717
19718         * gst/gstquery.c: (gst_query_new_seeking),
19719         (gst_query_parse_seeking):
19720         * gst/gstquery.h:
19721           Implement SEEKING query functions: 
19722             *_new_seeking and *_parse_seeking
19723
19724 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19725
19726         * gst/gstelement.c: (gst_element_dispose):
19727           don't loop forever
19728
19729         * gst/gstiterator.c:
19730         * gst/gststructure.c:
19731           doc fixes
19732
19733         * libs/gst/controller/gstcontroller.c:
19734         (gst_controlled_property_set_interpolation_mode):
19735         * libs/gst/controller/gstcontroller.h:
19736         * libs/gst/controller/gstinterpolation.c:
19737         (interpolate_none_get_enum_value_array):
19738           support controlling enums
19739
19740 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19741
19742         * gst/gstvalue.c:
19743           Improve documentation for gst_value_union().
19744
19745         * gst/gstvalue.h:
19746           Change return value for union, intersect and subtract functions
19747           from gint to gboolean.
19748
19749 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19750
19751         * gst/gstvalue.c: (gst_value_serialize_any_list),
19752         (gst_value_transform_any_list_string),
19753         (gst_value_deserialize_list), (gst_value_deserialize_array),
19754         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19755         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19756         (gst_value_set_fraction_range_full),
19757         (gst_value_deserialize_fraction_range),
19758         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19759         (gst_value_deserialize_boolean),
19760         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19761         (gst_value_serialize_float), (gst_value_deserialize_float),
19762         (gst_string_wrap), (gst_value_deserialize_string),
19763         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19764         (gst_value_union_int_range_int_range),
19765         (gst_value_intersect_int_range_int_range),
19766         (gst_value_intersect_double_range_double_range),
19767         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19768         (gst_value_subtract_int_range_int_range),
19769         (gst_value_subtract_double_double_range),
19770         (gst_value_subtract_double_range_double_range),
19771         (gst_value_deserialize_fraction):
19772         * gst/gstvalue.h:
19773           Use gint, gdouble and gchar in our API instead of int, double and
19774           char (and make usage in gstvalue.c more consistent).
19775
19776 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19777
19778         * check/Makefile.am:
19779         * libs/gst/controller/Makefile.am:
19780         * libs/gst/dataprotocol/Makefile.am:
19781           fix up Makefile.am and remove GST_ENABLE_NEW
19782
19783 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19784
19785         * configure.ac:
19786         * gst/Makefile.am:
19787         * gst/base/Makefile.am:
19788         * gst/check/Makefile.am:
19789         * gst/elements/Makefile.am:
19790         * gst/net/Makefile.am:
19791           update LDFLAGS use some more
19792
19793 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19794
19795         * common/m4/gst-doc.m4:
19796           Fixes #312589
19797
19798 2005-11-26  Edward Hervey  <edward@fluendo.com>
19799
19800         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19801         This shouldn't issue a g_warning since it returns NULL if it
19802         couldn't find the plugin, and all functions using this behave
19803         properly on a NULL return. Switching to a GST_WARNING.
19804
19805 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19806
19807         * gst/gstbin.c: (gst_bin_handle_message_func):
19808         Don't leak clock messages.
19809
19810 2005-11-25  Wim Taymans  <wim@fluendo.com>
19811
19812         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19813         (gst_util_uint64_scale_int):
19814         Optimisations, remove unneeded vars.
19815
19816 2005-11-25  Wim Taymans  <wim@fluendo.com>
19817
19818         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19819         Added more checks for the high precision uint64 cases.
19820
19821         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19822         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19823         Implement high precision (guint64 * guint64) / guint64.
19824
19825 2005-11-24  Wim Taymans  <wim@fluendo.com>
19826
19827         * gst/base/gstbasesrc.c: (gst_base_src_query):
19828         Fix wrong percentage query.
19829
19830         * gst/gstutils.c: (gst_util_uint64_scale),
19831         (gst_util_uint64_scale_int):
19832         Add some more common cases that can be handled 
19833         efficiently to _scale.
19834
19835 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19836
19837         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19838         (gst_mini_object_suite):
19839           don't use check calls from threads; check probably isn't
19840           threadsafe and using a lock to make it threadsafe would
19841           defeat the purpose of this check
19842         * gst/check/gstcheck.c:
19843         * gst/check/gstcheck.h:
19844           use GST_DEBUG some more
19845
19846 2005-11-24  Wim Taymans  <wim@fluendo.com>
19847
19848         * gst/gstutils.c: (gst_util_uint64_scale),
19849         (gst_util_uint64_scale_int):
19850         Chain trivial case to _scale_int.
19851
19852 2005-11-24  Wim Taymans  <wim@fluendo.com>
19853
19854         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19855         Added test for scaling.
19856
19857         * gst/gstclock.h:
19858         Small doc fix.
19859
19860         * gst/gstutils.c: (gst_util_uint64_scale_int):
19861         Implemented high precision scaling code.
19862
19863 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19864
19865         * gst/gstinfo.h:
19866           do not crash on pad==NULL
19867
19868 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19869
19870         Patch by: Stefan Kost
19871
19872         * common/gtk-doc.mak:
19873         * docs/gst/Makefile.am:
19874         * docs/libs/Makefile.am:
19875           Fix distcheck issues for the libraries docs build
19876           Closes #319599.
19877
19878 2005-11-24  Michael Smith <msmith@fluendo.com>
19879
19880         * docs/manual/basics-helloworld.xml:
19881           Fix bug #315027: memory leak in example code in docs.
19882
19883 2005-11-24  Michael Smith <msmith@fluendo.com>
19884
19885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19886           Unlock the PREROLL_LOCK in a failure case.
19887
19888 2005-11-24  Wim Taymans  <wim@fluendo.com>
19889
19890         * docs/gst/gstreamer-sections.txt:
19891         * gst/base/gstadapter.h:
19892         * gst/base/gstbasesink.h:
19893         * gst/base/gstbasesrc.h:
19894         * gst/base/gstbasetransform.h:
19895         * gst/base/gstpushsrc.h:
19896         * gst/elements/gstfakesink.h:
19897         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19898         * gst/elements/gstfakesrc.h:
19899         * gst/elements/gstfilesink.h:
19900         * gst/elements/gstfilesrc.h:
19901         * gst/gst.c:
19902         * gst/gstbin.c:
19903         * gst/gstbuffer.c: (_gst_buffer_copy):
19904         * gst/gstbus.h:
19905         * gst/gstcaps.c:
19906         * gst/gstchildproxy.c:
19907         * gst/gstclock.c:
19908         * gst/gstelement.c:
19909         * gst/gstelementfactory.c:
19910         * gst/gstelementfactory.h:
19911         * gst/gstevent.c:
19912         * gst/gstghostpad.h:
19913         * gst/gstindex.h:
19914         * gst/gstinterface.h:
19915         * gst/gstminiobject.c:
19916         * gst/gstminiobject.h:
19917         * gst/gstpad.c:
19918         * gst/gstpad.h:
19919         * gst/gstpadtemplate.h:
19920         * gst/gstpipeline.h:
19921         * gst/gstpluginfeature.h:
19922         * gst/gstquery.h:
19923         * gst/gstqueue.h:
19924         * gst/gsttaglist.c:
19925         * gst/gsttaglist.h:
19926         * gst/gsttagsetter.c:
19927         * gst/gsttagsetter.h:
19928         * gst/gsttrace.c:
19929         * gst/gsttrace.h:
19930         * gst/gsttypefind.h:
19931         * gst/gsturi.h:
19932         * gst/gstvalue.c:
19933         * gst/net/gstnetclientclock.c:
19934         * gst/net/gstnetclientclock.h:
19935         * gst/net/gstnettimepacket.c:
19936         * gst/net/gstnettimeprovider.c:
19937         * gst/net/gstnettimeprovider.h:
19938         Doc fixes.
19939
19940 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19941
19942         * configure.ac: back to HEAD
19943
19944 === release 0.9.6 ===
19945
19946 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
19947
19948         * configure.ac:
19949           releasing 0.9.6, "Always On Time"
19950
19951 2005-11-23  Wim Taymans  <wim@fluendo.com>
19952
19953         * docs/gst/gstreamer-sections.txt:
19954         * gst/glib-compat.c:
19955         * gst/gsttagsetter.c:
19956         * gst/gstvalue.c:
19957         * gst/net/gstnetclientclock.c:
19958         * gst/net/gstnettimepacket.h:
19959         Doc updates.
19960
19961 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19962
19963         * docs/faq/using.xml:
19964         * docs/libs/tmpl/gstcontrol.sgml:
19965         * docs/manual/advanced-dparams.xml:
19966         * docs/manual/appendix-checklist.xml:
19967         * docs/manual/basics-elements.xml:
19968         * docs/pwg/other-source.xml:
19969         * docs/random/moving-plugins:
19970         * gst/gstpad.c:
19971         * tools/gst-launch.1.in:
19972           remove mentions of sinesrc
19973
19974 2005-11-23  Michael Smith <msmith@fluendo.com>
19975
19976         * docs/gst/gstreamer-sections.txt:
19977           Update for new API and API changes.
19978         * gst/gstobject.h:
19979           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19980         * gst/gstvalue.c:
19981           Documentation typo fix.
19982         * gst/net/gstnettimepacket.c:
19983           Documentation fixes for arguments.
19984
19985 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
19986
19987         * gst/gststructure.c: (gst_structure_get_fraction),
19988         (gst_structure_parse_value),
19989         (gst_structure_fixate_field_nearest_fraction):
19990         * gst/gststructure.h:
19991         * gst/gstutils.c: (gst_util_uint64_scale_int):
19992         * gst/gstutils.h:
19993         * scripts/update-funcnames:
19994         API Changes. 
19995         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19996         Make gst_structure_fixate_field_nearest_fraction take a numerator
19997         and denominator argument instead of a GValue
19998         add gst_structure_get_fraction helper function.
19999
20000 2005-11-23  Wim Taymans  <wim@fluendo.com>
20001
20002         * docs/design/part-TODO.txt:
20003         Update TODO.
20004
20005         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20006         * gst/net/gstnetclientclock.h:
20007         Use parent fields for timeout and window_size.
20008
20009 2005-11-23  Andy Wingo  <wingo@pobox.com>
20010
20011         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20012         rate_num/rate_denom change.
20013
20014         * gst/net/gstnetclientclock.c
20015         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20016         OBJECT_LOCK. Don't call add_observation with the lock.
20017
20018         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20019         fraction.
20020         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20021         rate fraction.
20022         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20023         deal with rate as a fraction whose numerator and denominator are
20024         GstClockTime values.
20025         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20026         master; the other fields are protected by the SLAVE_LOCK.
20027         (do_linear_regression): Note that this must be called with the
20028         SLAVE_LOCK.
20029         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20030         OBJECT_LOCK. Call set_calibration instead of touching the
20031         variables directly.
20032         (gst_clock_set_property, gst_clock_get_property): Protect
20033         master/slave parameters with the SLAVE_LOCK.
20034
20035         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20036         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20037         note that all of the instance variables that add_observation and
20038         the set_master functions use are protected by that lock and not
20039         the OBJECT_LOCK.
20040         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20041
20042         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20043         the caller to take the object lock.
20044
20045 2005-11-23  Wim Taymans  <wim@fluendo.com>
20046
20047         * gst/gsterror.c: (_gst_core_errors_init):
20048         * gst/gsterror.h:
20049         Add error for clock stuff.
20050
20051         * gst/gstpipeline.c: (gst_pipeline_change_state),
20052         (gst_pipeline_set_clock):
20053         Post clock error when clock cannot be used in a pipeline.
20054
20055 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20056
20057         * docs/gst/gstreamer-sections.txt:
20058           make two symbols from gstinfo private for the docs
20059         * gst/base/gstcollectpads.h:
20060         * gst/gstutils.c:
20061           fix doc typos, update docs
20062
20063 2005-11-22  Wim Taymans  <wim@fluendo.com>
20064
20065         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20066         (gst_base_sink_wait), (gst_base_sink_do_sync),
20067         (gst_base_sink_handle_event):
20068         * gst/base/gstbasesink.h:
20069         No need to store the clock, the parent element class already
20070         has it.
20071
20072         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20073         Updates for clock_set returning a gboolean
20074
20075         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20076         (gst_clock_id_wait_async), (gst_clock_class_init),
20077         (gst_clock_init), (gst_clock_finalize),
20078         (gst_clock_get_internal_time), (gst_clock_get_time),
20079         (gst_clock_slave_callback), (gst_clock_set_master),
20080         (gst_clock_get_master), (do_linear_regression),
20081         (gst_clock_add_observation), (gst_clock_set_property),
20082         (gst_clock_get_property):
20083         * gst/gstclock.h:
20084         Implement master/slave. When setting a clock as a slave, a
20085         periodic timeout is scheduled to sample master and slave times.
20086         Then the slave clock is recalibrated to match offset and rate
20087         of the master clock.
20088         Update logging a bit.
20089         Add flag so that a clock can state that is cannot be slaved to
20090         another clock.
20091
20092         * gst/gstelement.c: (gst_element_set_clock):
20093         * gst/gstelement.h:
20094         The set clock returns a gboolean for when an element cannot
20095         deal with the selected clock in the pipeline. 
20096
20097         * gst/gstpipeline.c: (gst_pipeline_change_state),
20098         (gst_pipeline_set_clock):
20099         * gst/gstpipeline.h:
20100         Handle the case where the selected clock cannot be set on
20101         the pipeline.
20102
20103         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20104         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20105         (gst_net_client_clock_set_property),
20106         (gst_net_client_clock_get_property),
20107         (gst_net_client_clock_observe_times):
20108         * gst/net/gstnetclientclock.h:
20109         Use regression code in GstClock parent, remove duplicated
20110         functionality.
20111
20112 2005-11-22  Michael Smith <msmith@fluendo.com>
20113
20114         * gst/gstutils.c: (gst_util_clock_time_scale):
20115         * gst/gstutils.h:
20116         * docs/gst/gstreamer-sections.txt:
20117           Rename method to have extra underscore.
20118
20119 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20120
20121         * gst/elements/Makefile.am:
20122         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20123         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20124         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20125         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20126         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20127         * gst/elements/gstfakesrc.h:
20128         * gst/gstqueue.c: (queue_leaky_get_type):
20129           correctly fix GEnumValues so that nick is the short lowercase
20130           dashed tag
20131         * tools/gst-inspect.c: (print_element_properties_info):
20132           also show the nick, since it's useful to use from parse_launch
20133           syntax
20134           Fixes #322139
20135
20136 2005-11-22  Michael Smith <msmith@fluendo.com>
20137
20138         * gst/gstutils.c: (gst_util_clocktime_scale):
20139         * gst/gstutils.h:
20140         * docs/gst/gstreamer-sections.txt:
20141           Add util method for scaling a clocktime by a fraction. Useful 
20142           implementation is left as an exercise for the reader.
20143
20144 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20145
20146         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20147         If needed, allocate storage in the destination value during
20148         collection.
20149
20150 2005-11-22  Edward Hervey  <edward@fluendo.com>
20151
20152         * docs/gst/gstreamer-sections.txt:
20153         * gst/Makefile.am:
20154         * gst/gst.h:
20155         * gst/gsturitype.c:
20156         * gst/gsturitype.h:
20157         * gst/gstutils.c: (gst_util_set_object_arg):
20158         * tools/gst-compprep.c: (main):
20159         * tools/gst-inspect.c: (print_element_properties_info):
20160         Removed GstURI, closes bug #321061
20161
20162 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20163
20164         * check/gst/gststructure.c: (GST_START_TEST):
20165         * gst/gststructure.c: (gst_structure_parse_value):
20166           Oops, broke automatic string type parsing.
20167           Add a test to catch it in future.
20168
20169 2005-11-22  Andy Wingo  <wingo@pobox.com>
20170
20171         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20172         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20173         Actually rename the function implementations. Grr.
20174
20175 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20176
20177         * check/gst/capslist.h:
20178           Comment test cases
20179         * check/gst/gststructure.c: (GST_START_TEST),
20180         (gst_structure_suite):
20181           Test automatic value type detection in gst_structure_from_string.
20182         * gst/gststructure.c: (gst_structure_parse_value):
20183           Add fraction as a type we try and guess automatically in
20184           caps/structure strings.
20185
20186 2005-11-22  Andy Wingo  <wingo@pobox.com>
20187
20188         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20189
20190         * gst/gsttagsetter.h:
20191         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20192         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20193         (gst_tag_setter_add_tag_valist)
20194         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20195         _add_values, _add_valist, and _add_valist_values. Since this is an
20196         interface the function suffixes should be more explicit so
20197         language binding don't end up with element.add_valist ->
20198         gst_tag_setter_add_valist, for example. Fixes #322069.
20199
20200 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20201
20202         * check/gst/gstcaps.c: (GST_START_TEST):
20203           Extend caps string tests to check that a caps to string
20204           conversion is reversible and produces the same caps.
20205
20206         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20207           Output "fraction" as the generic type fraction range, so caps
20208           serialisation and deserialisation works.
20209         * check/gst/capslist.h:
20210         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20211           Support 'MIN' and 'MAX' for deserialising fractions.
20212
20213 2005-11-22  Andy Wingo  <wingo@pobox.com>
20214
20215         * gst/gstevent.h (gst_event_new_new_segment)
20216         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20217         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20218         Renamed from *_newsegment, *_buffersize, *_notarget.
20219
20220         * scripts/update-funcnames: New script, performs the changes
20221         listed above.
20222
20223 2005-11-22  Wim Taymans  <wim@fluendo.com>
20224
20225         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20226         Make sure the GstFlowReturn is returned.
20227
20228         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20229         (gst_bus_add_signal_watch):
20230         * gst/gstbus.h:
20231         add gst_bus_add_signal_watch_full.
20232
20233         * gst/gstplugin.c: (gst_plugin_load_file):
20234         Small style cleanup.
20235
20236 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20237
20238         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20239           Block the fakesrc srcpad when we send an event, to avoid
20240           contention on the stream_lock causing random test failures.
20241
20242 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20243
20244         * check/gst/gstvalue.c: (GST_START_TEST):
20245         * gst/gstvalue.c: (gst_value_fraction_subtract):
20246           Fix subtraction.
20247
20248 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20249
20250         * gst/gst.h:
20251           include "gstchildproxy.h"
20252         * gst/gstchildproxy.h:
20253         * libs/gst/controller/gstcontroller.h:
20254           use G_GNUC_NULL_TERMINATED
20255
20256 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20257
20258         * check/gst/capslist.h:
20259         * check/gst/gstcaps.c: (GST_START_TEST):
20260         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20261         * gst/gststructure.c: (gst_structure_parse_range),
20262         (gst_structure_fixate_field_nearest_fraction):
20263         * gst/gststructure.h:
20264         * gst/gstvalue.c: (gst_value_init_fraction_range),
20265         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20266         (gst_value_collect_fraction_range),
20267         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20268         (gst_value_set_fraction_range_full),
20269         (gst_value_get_fraction_range_min),
20270         (gst_value_get_fraction_range_max),
20271         (gst_value_serialize_fraction_range),
20272         (gst_value_transform_fraction_range_string),
20273         (gst_value_compare_fraction_range),
20274         (gst_value_deserialize_fraction_range),
20275         (gst_value_intersect_fraction_fraction_range),
20276         (gst_value_intersect_fraction_range_fraction_range),
20277         (gst_value_subtract_fraction_fraction_range),
20278         (gst_value_subtract_fraction_range_fraction),
20279         (gst_value_subtract_fraction_range_fraction_range),
20280         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20281         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20282         (gst_value_transform_string_fraction), (_gst_value_initialize):
20283         * gst/gstvalue.h:
20284           Implement fraction ranges and extend GstFraction to support
20285           arithmetic subtraction, as well as deserialization from integer
20286           strings such as "100"
20287           Add a testsuite as for int and double range set operations
20288
20289 2005-11-21  Andy Wingo  <wingo@pobox.com>
20290
20291         * gst/gsttaglist.h: 
20292         * gst/gstcaps.h: 
20293         * gst/gststructure.h: Add glib-compat.h.
20294
20295 2005-11-21  Wim Taymans  <wim@fluendo.com>
20296
20297         * gst/gstbin.c: (gst_bin_change_state_func):
20298         Fix for #321595
20299
20300 2005-11-21  Wim Taymans  <wim@fluendo.com>
20301
20302         * gst/gstsegment.h:
20303         And add a nice define too.
20304
20305 2005-11-21  Wim Taymans  <wim@fluendo.com>
20306
20307         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20308         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20309         (gst_segment_set_duration), (gst_segment_set_last_stop),
20310         (gst_segment_set_seek), (gst_segment_set_newsegment),
20311         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20312         (gst_segment_clip):
20313         * gst/gstsegment.h:
20314         Make binding friendly.
20315
20316 2005-11-21  Andy Wingo  <wingo@pobox.com>
20317
20318         * gst/gsttagsetter.h: 
20319         * gst/gsttaglist.h: 
20320         * gst/gststructure.h: 
20321         * gst/gstcaps.h: 
20322         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20323         #319940.
20324
20325         * gst/gsterror.c (_gst_core_errors_init):
20326         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20327         category.
20328
20329         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20330         (noinst_HEADERS): noinst the -private.
20331
20332 2005-11-21  Michael Smith <msmith@fluendo.com>
20333
20334         * gst/gstplugin.h:
20335         * gst/gstregistry.h:
20336           Remove unimplemented declarations for which we can see no sensible
20337           use.
20338
20339 2005-11-21  Andy Wingo  <wingo@pobox.com>
20340
20341         * gst/gst.h: Include glib-compat.h.
20342
20343         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20344
20345         * gst/glib-compat.c: Include the public and the private header.
20346
20347         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20348
20349         * gst/gstvalue.c: 
20350         * gst/gstpad.c: 
20351         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20352
20353         * check/gst/gstevent.c (create_custom_events): Check that
20354         FLUSH_STOP is serialized.
20355
20356         * check/elements/identity.c (event_func): 
20357         * check/elements/fakesrc.c (event_func): No stream lock, the core
20358         takes it.
20359
20360         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20361         stream lock taking, yay.
20362
20363         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20364         ensure that core takes the stream lock.
20365
20366         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20367         lock name change.
20368
20369         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20370         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20371         it already. For the flush start we do take it though so we get the
20372         right preroll state change messages.
20373
20374         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20375         the stream lock here, the core does it for us.
20376
20377         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20378         GST_STREAM_GET_LOCK.
20379         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20380         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20381         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20382         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20383         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20384         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20385
20386         * gst/gstpad.c: Update for stream lock name change.
20387
20388         * gst/base/gstbasesink.c: Update for preroll lock name change.
20389
20390 2005-11-21  Wim Taymans  <wim@fluendo.com>
20391
20392         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20393         (gst_clock_get_master):
20394         * gst/gstclock.h:
20395         * gst/gstsystemclock.c: (gst_system_clock_init):
20396         Convert Clock flags to object flags.
20397         Added methods to manage master/slave clocks.
20398
20399 2005-11-21  Wim Taymans  <wim@fluendo.com>
20400
20401         * check/gst/gstsegment.c: (GST_START_TEST):
20402         * docs/design/part-TODO.txt:
20403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20404         (gst_base_sink_event), (gst_base_sink_do_sync),
20405         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20406         (gst_base_sink_query), (gst_base_sink_change_state):
20407         * gst/base/gstbasesink.h:
20408         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20409         (gst_base_src_default_newsegment),
20410         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20411         (gst_base_src_get_range), (gst_base_src_loop),
20412         (gst_base_src_change_state):
20413         * gst/base/gstbasesrc.h:
20414         * gst/base/gstbasetransform.c:
20415         (gst_base_transform_prepare_output_buf),
20416         (gst_base_transform_event), (gst_base_transform_change_state):
20417         * gst/base/gstbasetransform.h:
20418         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20419         (gst_collect_pads_event):
20420         * gst/base/gstcollectpads.h:
20421         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20422         (gst_fake_src_create):
20423         * gst/elements/gstfakesrc.h:
20424         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20425         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20426         (gst_segment_set_last_stop), (gst_segment_set_seek),
20427         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20428         (gst_segment_to_running_time), (gst_segment_clip):
20429         * gst/gstsegment.h:
20430         More segment updates, replace code in plugins with segment
20431         helper functions.
20432
20433 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20434
20435         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20436         Don't ignore sscanf results
20437
20438 2005-11-21  Andy Wingo  <wingo@pobox.com>
20439
20440         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20441
20442         * *.h:
20443         * *.c: Ran scripts/update-macros. Oh yes.
20444
20445         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20446         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20447         GST_GET_LOCK, etc.
20448
20449         * scripts/update-macros: New script. Run it on your files to
20450         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20451         well.
20452
20453 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20454
20455         * docs/gst/Makefile.am:
20456         * docs/gst/gstreamer-docs.sgml:
20457         * docs/gst/gstreamer-sections.txt:
20458         * docs/gst/gstreamer.types:
20459         * gst/gstinfo.h:
20460           more docs fixes, add new api to the docs
20461
20462 2005-11-21  Andy Wingo  <wingo@pobox.com>
20463
20464         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20465         state_broadcast call.
20466
20467         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20468
20469 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20470
20471         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20472         function calls for arrays.
20473
20474 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20475
20476         * docs/random/ensonic/media-device-daemon.txt:
20477           wild idea, can this be done?
20478         * docs/gst/gstreamer-sections.txt:
20479         * gst/gsterror.h:
20480         * gst/gstfilter.c:
20481         * gst/gstfilter.h:
20482         * gst/gstplugin.h:
20483         * gst/gstpluginfeature.c:
20484         * gst/gsttrace.c:
20485         * gst/gstvalue.c:
20486         * gst/gstvalue.h:
20487           doc fixes and additions
20488
20489 2005-11-21  Andy Wingo  <wingo@pobox.com>
20490
20491         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20492         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20493         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20494         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20495         private to the basesrc implementation.
20496
20497         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20498         behalf of event function if necessary. It should no longer be
20499         necessary to take the stream lock in pad's event functions. Fixes
20500         #320299.
20501
20502 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20503         * docs/gst/gstreamer-sections.txt:
20504         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20505         (gst_structure_fixate_field_nearest_double),
20506         (gst_structure_fixate_field_boolean):
20507         * gst/gststructure.h:
20508         * win32/common/libgstreamer.def:
20509         * win32/gstreamer.def:
20510
20511         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20512         (#322027)
20513
20514 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20515
20516         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20517         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20518         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20519         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20520         (gst_fdsrc_uri_handler_init):
20521         * gst/elements/gstfdsrc.h:
20522           Port fd:// URI handler from 0.8 to fdsrc
20523
20524 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20525
20526         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20527         (gst_value_serialize_fourcc):
20528         * gst/gstvalue.h:
20529           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20530           consistent with our other format defines (#320324).
20531
20532 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20533
20534         * gst/gstvalue.c: (gst_value_is_fixed):
20535           Revert previous commit. Value lists are by definition
20536           not fixed, as they are a list of possible values.
20537
20538 2005-11-21  Andy Wingo  <wingo@pobox.com>
20539
20540         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20541         during the stable series if we need it. Fixes #319178.
20542
20543         * gst/gstevent.c (gst_event_new_filler): Removed.
20544
20545         * check/gst/gstevent.c: Update comment about filler events.
20546
20547 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20548
20549         * gst/gstvalue.c: (gst_value_is_fixed):
20550           Should handle both value arrays and value lists.
20551
20552 2005-11-21  Andy Wingo  <wingo@pobox.com>
20553
20554         patch by: Alessandro Dessina <alessandro nnva org>
20555
20556         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20557         functions to access arrays. Fixes #321962.
20558
20559 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20560
20561         * docs/gst/gstreamer.types:
20562           gst_collectpads_get_type => gst_collect_pads_get_type.
20563           
20564         * gst/base/gstbasetransform.c:
20565           Remove unused SIGNAL_HANDOFF enum.
20566
20567 2005-11-21  Andy Wingo  <wingo@pobox.com>
20568
20569         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20570         the event type (upstream, downstream, serialized). Renamed
20571         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20572         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20573         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20574
20575         * gst/gstevent.c: Update for new CUSTOM event names.
20576
20577         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20578
20579         * gst/gstevent.h:
20580         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20581         bug #319392.
20582
20583 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20584
20585         * docs/gst/gstreamer-sections.txt:
20586         * win32/common/libgstbase.def:
20587         * win32/libgstbase.def:
20588         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20589         (gst_collect_pads_class_init), (gst_collect_pads_init),
20590         (gst_collect_pads_finalize), (gst_collect_pads_new),
20591         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20592         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20593         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20594         (gst_collect_pads_start), (gst_collect_pads_stop),
20595         (gst_collect_pads_peek), (gst_collect_pads_pop),
20596         (gst_collect_pads_available), (gst_collect_pads_read),
20597         (gst_collect_pads_flush), (gst_collect_pads_event),
20598         (gst_collect_pads_chain):
20599         * gst/base/gstcollectpads.h:
20600           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20601           unimplemented functions as unimplemented. Add padding to
20602           GstCollectData. (#320766, #320423)
20603
20604 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20605
20606         * gst/gstmessage.c:
20607           Improve docs for DURATION message (usage of duration parameter)
20608           (#320113)
20609
20610 2005-11-20  Wim Taymans  <wim@fluendo.com>
20611
20612         * check/Makefile.am:
20613         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20614         (main):
20615         * gst/Makefile.am:
20616         * gst/gst.h:
20617         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20618         (gst_segment_set_seek), (gst_segment_set_newsegment),
20619         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20620         (gst_segment_clip):
20621         * gst/gstsegment.h:
20622         Added segment helper structure and methods. Not fully implemented
20623         yet.
20624         Added segment check.
20625
20626 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20627
20628         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20629           Add a deserialisation test for fractions
20630         * examples/metadata/read-metadata.c: (message_loop),
20631         (make_pipeline), (main):
20632           Fix up metadata reading sample.
20633         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20634           Debug format fix
20635         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20636           Don't try and fixate empty caps
20637         * gst/gst_private.h:
20638           Wrap in G_BEGIN_DECLS/G_END_DECLS
20639         * gst/gstvalue.c: (gst_value_collect_fraction),
20640         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20641         (gst_value_transform_string_fraction),
20642         (gst_value_compare_fraction):
20643           Add some extra guards to ensure that we don't end up 
20644           with an invalid denominator of 0 in a gstfraction and
20645           that fractions always get reduced.
20646
20647 2005-11-20  Wim Taymans  <wim@fluendo.com>
20648
20649         * docs/gst/gstreamer-sections.txt:
20650         * gst/gstbuffer.h:
20651         * gst/gstelement.c:
20652         * gst/gstformat.c:
20653         * gst/gstformat.h:
20654         * gst/gstindex.h:
20655         * gst/gstquery.c:
20656         * gst/gstquery.h:
20657         * gst/gstvalue.c:
20658         Doc fixes.
20659
20660 2005-11-20  Wim Taymans  <wim@fluendo.com>
20661
20662         * docs/design/part-TODO.txt:
20663         * gst/gstcaps.h:
20664         Make a proper enum of the flag.
20665
20666 2005-11-19  Wim Taymans  <wim@fluendo.com>
20667
20668         * docs/design/part-TODO.txt:
20669         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20670         (gst_format_to_quark), (gst_format_register):
20671         * gst/gstformat.h:
20672         * gst/gstquery.c: (_gst_query_initialize),
20673         (gst_query_type_get_name), (gst_query_type_to_quark),
20674         (gst_query_type_register):
20675         * gst/gstquery.h:
20676         Add type to quark and type to string conversions.
20677
20678 2005-11-19  Andy Wingo  <wingo@pobox.com>
20679
20680         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20681         #320097.
20682
20683 2005-11-19  Wim Taymans  <wim@fluendo.com>
20684
20685         * docs/design/part-TODO.txt:
20686         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20687         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20688         (gst_bin_handle_message_func):
20689         * gst/gstbin.h:
20690         Make message handling overridable.
20691
20692 2005-11-19  Andy Wingo  <wingo@pobox.com>
20693
20694         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20695
20696         * gst/gstclock.h:
20697         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20698         be a GstClockTime.
20699         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20700         is a GstClockTime. Fixes #321710.
20701
20702         * gst/gstclock.h (GstClock): Remove offset property. Add
20703         internal_calibration and external_calibration. Fix padding. Pad
20704         also by GstClockTime so we don't run into problems.
20705
20706         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20707         (gst_clock_get_rate_offset): Remove.
20708         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20709
20710         * gst/gstutils.h:
20711         * gst/gstutils.c (g_static_rec_cond_wait)
20712         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20713
20714         * gst/gstbin.c: Remove terrible continue_state prototype.
20715
20716         * gst/gstelement.h (gst_element_continue_state): Make public.
20717
20718         * gst/gstelement.h:
20719         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20720         by continue_state. Fixes #319389.
20721
20722         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20723         Really fixes #168438. However I don't see anywhere where the
20724         filter function is called... stupid GStreamer...
20725         
20726         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20727         don't have a dispose function, so it won't get called when the
20728         object is unreffed, but oh well!
20729
20730         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20731         allows a destroy function to be set so user_data can be freed.
20732         Fixes #168438.
20733         (gst_index_set_filter): Call gst_index_set_filter_full.
20734
20735         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20736
20737         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20738         string should produce an error, given the lack of a way to
20739         represent NULL strings. Fixes #165650.
20740         
20741         * gst/gstvalue.h: 
20742         * gst/gstvalue.c (gst_value_array_append_value) 
20743         (gst_value_array_prepend_value, gst_value_array_get_size) 
20744         (gst_value_array_get_value): New API, copied from
20745         gst_value_list_*, only operates on arrays.
20746         (gst_value_list_append_value, gst_value_list_prepend_value) 
20747         (gst_value_list_concat, gst_value_list_get_size) 
20748         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20749
20750         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20751         init_list, because it works on both.
20752         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20753         (gst_value_copy_list_or_array): Renamed from copy_list.
20754         (gst_value_free_list_or_array): Renamed from free_list.
20755         (gst_value_collect_list_or_array): Renamed from collect_list.
20756         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20757         (gst_value_list_or_array_peek_pointer): Renamed from
20758         list_peek_pointer.
20759         (_gst_value_array_value_table, _gst_value_list_value_table):
20760         Update value table functions.
20761         (gst_value_compare_list_or_array): Renamed from compare_list.
20762
20763         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20764         some constness.
20765
20766         * gst/gsttaglist.c:
20767         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20768         GstTagList*. Fixes #143472.
20769
20770         * gst/gststructure.h: Clarify what the foreach/map functions can
20771         or can't do to their arguments.
20772
20773 2005-11-18  Wim Taymans  <wim@fluendo.com>
20774
20775         * gst/gstclock.c: (gst_clock_set_calibration),
20776         (gst_clock_get_calibration):
20777         Doc and API fixes.
20778         Calibration can be set with internal time equal to current
20779         internal time too.
20780
20781 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20782
20783         * gst/gsterror.c:
20784         * gst/gsterror.h:
20785           document
20786
20787 2005-11-18  Andy Wingo  <wingo@pobox.com>
20788
20789         * configure.ac: 
20790         * pkgconfig/gstreamer-net.pc.in:
20791         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20792         * pkgconfig/Makefile.am: Add net pkgconfig files.
20793
20794 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20795
20796         * gst/gstcaps.c:
20797         * gst/gstghostpad.c:
20798         * gst/gsttrace.c:
20799         * gst/gstvalue.c:
20800         * gst/gstvalue.h:
20801           docs fixes
20802
20803 2005-11-18  Andy Wingo  <wingo@pobox.com>
20804
20805         * gst/net/gstnetclientclock.c: Turn off debugging.
20806
20807         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20808         times connverge somewhat. Can't make a real test.
20809
20810         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20811         integer arithmetic. Return the minimum of the domain, which can be
20812         set as "internal" for gst_clock_set_calibration.
20813         (gst_net_client_clock_observe_times): Call _set_calibration.
20814         (gst_net_client_clock_new): Call _set_calibration instead of
20815         rate_offset.
20816
20817         * check/net/gstnetclientclock.c (test_functioning): Use the right
20818         adjustment api.
20819
20820         * gst/gstclock.h:
20821         * gst/gstclock.c (gst_clock_get_calibration) 
20822         (gst_clock_set_calibration): New functions, obsolete the ones I
20823         added yesterday. Doh. Precision issues mean we have to extrapolate
20824         from a point in the more recent past than 1970.
20825         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20826         obsolete.
20827         (gst_clock_adjust_unlocked): Use the right calibration data.
20828
20829 2005-11-18  Edward Hervey  <edward@fluendo.com>
20830
20831         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20832         Also reset the ->current_* values in READY->PAUSED
20833
20834 2005-11-18  Andy Wingo  <wingo@pobox.com>
20835
20836         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20837         Whoops, check the right fd. Also add some debugging.
20838         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20839         (do_linear_regression): Add a crapload of debugging. Subtract off
20840         the minimum values from the input series to discard unneeded bits.
20841         Use only int arithmetic. There is still double arithmetic when
20842         calculating the intercept that needs fixing. Return boolean to
20843         indicate success; FALSE would mean the domain or range is too
20844         great. Still needs fixes.
20845
20846 2005-11-18  Wim Taymans  <wim@fluendo.com>
20847
20848         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20849         For the current position in stream time, we need to subtract
20850         accumulated time.
20851         
20852         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20853         Release lock before calling the callback function of async
20854         entries.
20855
20856 2005-11-18  Andy Wingo  <wingo@pobox.com>
20857
20858         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20859         Port goes all the way to MAXUINT16.
20860
20861         * gst/net/gstnettimeprovider.c: Make the port range the same as
20862         for the kernel: 0 assigns, otherwise ports are less than
20863         MAXUINT16.
20864
20865         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20866         port change.
20867
20868         * check/net/gstnetclientclock.c (test_functioning): Add the start
20869         of another test. 
20870
20871 2005-11-18  Wim Taymans  <wim@fluendo.com>
20872
20873         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20874         (gst_bin_remove_func), (bin_bus_handler):
20875         * gst/gstbin.h:
20876         Removing a clock provider from a bin, triggers a clock lost message
20877         so that a new clock will be selected.
20878         Adding a clock to a bin triggers a clock provider message.
20879         Make sure we reselect a clock when we received a clock lost message.
20880         Keep a reference to the element that provided the clock.
20881
20882 2005-11-18  Andy Wingo  <wingo@pobox.com>
20883
20884         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20885         the clock initially so it produces values around the base time.
20886         (gst_net_client_clock_class_init): Typo fix.
20887         (gst_net_client_clock_thread): Add note on when the socket gets
20888         closed.
20889
20890 2005-11-17  Wim Taymans  <wim@fluendo.com>
20891
20892         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20893         Free remote and local time arrays.
20894
20895 2005-11-17  Wim Taymans  <wim@fluendo.com>
20896
20897         * gst/net/gstnetclientclock.c: (do_linear_regression),
20898         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20899         Fix compilation, uninitialized vars and a forgotten continue.
20900
20901 2005-11-17  Andy Wingo  <wingo@pobox.com>
20902
20903         * check/Makefile.am (check_PROGRAMS): 
20904         * check/net/gstnetclientclock.c: Add a most minimal test for the
20905         net client clock. More to come later.
20906
20907         * gst/net/gstnet.h: 
20908         * gst/net/Makefile.am: Add netclientclock.
20909
20910         * gst/net/gstnetclientclock.h:
20911         * gst/net/gstnetclientclock.c: New files, implement an untested
20912         GstClock that takes its time from a network time provider.
20913         Implements the algorithm in network-clock.scm.
20914
20915         * tests/network-clock.scm (*window-size*): Rename from
20916         *queue-length*.
20917         * tests/network-clock.scm (network-time): 
20918         * tests/network-clock-utils.scm (q-push): Update callers.
20919
20920 2005-11-17  Wim Taymans  <wim@fluendo.com>
20921
20922         * gst/gstbin.c: (gst_bin_provide_clock_func),
20923         (gst_bin_sort_iterator_new):
20924         And unref the child too..
20925
20926 2005-11-17  Wim Taymans  <wim@fluendo.com>
20927
20928         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20929         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20930         Refactor the sort iterator so it can be used while holding the
20931         LOCK too.
20932         Make clock selection select a clock closest to the source.
20933
20934 2005-11-17  Michael Smith <msmith@fluendo.com>
20935
20936         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20937         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20938         * gst/gstclock.h:
20939           Anonymous structs are a gcc (and some other compilers) extension, so
20940           don't use them. Since this is only for ABI-compatibility, and our
20941           API/ABI freeze is over in a few days, this whole thing will only
20942           last a few days, so don't bother trying to think up a meaningful
20943           name for the struct.
20944
20945 2005-11-17  Andy Wingo  <wingo@pobox.com>
20946
20947         * gst/gstclock.h (GstClock): Add rate and offset properties,
20948         preserving ABI stability. Add rate/offset accessors. Will file bug
20949         for the freeze break.
20950
20951         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20952         and offset, trying to keep precision and avoiding
20953         underflow/overflow.
20954         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20955         functions. Make gst_clock_set_time_adjust obsolete.
20956         (gst_clock_set_time_adjust): Note that this function is obsolete.
20957         Will file bug soon.
20958
20959         * gst/base/gstbasetransform.h: Make the ABI-stability hack
20960         greppable by using GST_PADDING-1+1.
20961
20962 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
20963
20964         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20965
20966         * gst/gstmessage.c: (gst_message_parse_clock_lost):
20967           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20968
20969         * gst/gstpadtemplate.h:
20970         * gst/gstpluginfeature.h:
20971           Don't use c++ style comments in headers (#321638).
20972
20973 2005-11-16  Andy Wingo  <wingo@pobox.com>
20974
20975         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20976         buffer.
20977
20978         * check/net/gstnettimeprovider.c: Check to see that the time
20979         provider actually provides times. Works, yo!
20980
20981 2005-11-16  Wim Taymans  <wim@fluendo.com>
20982
20983         * check/Makefile.am:
20984         Enable more tests.
20985
20986         * check/elements/fakesrc.c: (GST_START_TEST):
20987         Set element to NULL before disposing it.
20988
20989 2005-11-16  Andy Wingo  <wingo@pobox.com>
20990
20991         * gst/net/Makefile.am:
20992         * gst/net/gstnet.h:
20993         * gst/net/gstnettimeprovider.c: 
20994         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20995         provider, include it from gstnet.h, and add it to the build.
20996
20997         * gst/net/gstnettimepacket.h: 
20998         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20999         sending and receiving.
21000
21001 2005-11-16  Wim Taymans  <wim@fluendo.com>
21002
21003         * check/Makefile.am:
21004         Enable valgrind check.
21005
21006         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21007         (gst_fake_src_alloc_buffer):
21008         Fix memleak.
21009
21010 2005-11-16  Wim Taymans  <wim@fluendo.com>
21011
21012         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21013         Call parent finalize too.
21014
21015 2005-11-16  Wim Taymans  <wim@fluendo.com>
21016
21017         * check/Makefile.am:
21018         Enable valgrind check that should work fine now.
21019
21020         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21021         * gst/gstqueue.c: (gst_queue_init):
21022         Fix memleaks in pad allocation.
21023
21024 2005-11-16  Andy Wingo  <wingo@pobox.com>
21025
21026         * gst/net/Makefile.am:
21027         * gst/net/gstnet.h: New part of core to hold network elements and
21028         objects. Put in core because it exposes API that applications want
21029         to use. The library is named libgstnet-tempname right now because
21030         of the existing libgstnet in gst-plugins-base. Solution is
21031         probably to rename the one in plugins-base; will file a bug for
21032         the freeze break.
21033
21034         * gst/net/gstnettimeprovider.c: 
21035         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21036         get_time call over the network.
21037
21038         * configure.ac: 
21039         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21040
21041         * check/Makefile.am:
21042         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21043         get additions shortly.
21044
21045 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21046
21047         * gst/gstpad.c: (gst_pad_new_from_static_template):
21048         * gst/gstpad.h:
21049           add gst_pad_new_from_static_template functions
21050         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21051         (gst_check_setup_sink_pad):
21052         * gst/elements/gsttee.c: (gst_tee_init):
21053           and use them
21054
21055 2005-11-16  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstpad.c: (gst_pad_pause_task):
21058         Removed warning, it's not really an error either.
21059
21060 2005-11-16  Wim Taymans  <wim@fluendo.com>
21061
21062         * gst/base/gstbasetransform.c:
21063         (gst_base_transform_prepare_output_buf),
21064         (gst_base_transform_event):
21065         Check if the caps are NULL, this can happen if the element
21066         is shutting down and the pad caps are set to NULL.
21067
21068 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21069
21070         * gst/elements/gsttee.c: (gst_tee_init):
21071           fix pad template leak in tee
21072
21073 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21074
21075         * gst/glib-compat.c: (g_value_dup_gst_object):
21076         * gst/glib-compat.h:
21077         * gst/gstpad.c: (gst_pad_set_property):
21078           use gst_object_ref when setting the pad template; this will
21079           trigger the pad template leaks on GLib 2.6 and the slaves
21080
21081 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21082
21083         * gst/glib-compat.c: (gst_flags_get_first_value):
21084         * gst/glib-compat.h:
21085         * gst/gstregistryxml.c:
21086           remove functions copied from GLib 2.6
21087
21088 2005-11-16  Michael Smith <msmith@fluendo.com>
21089
21090         * gst/Makefile.am:
21091           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21092           do, but only breaks with newer valgrind versions. We're not a
21093           valgrind tool, we have no link-time dependencies on libcoregrind.
21094
21095 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21096
21097         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21098           some debug changes
21099         * gst/gstmessage.h:
21100           typo fixes
21101
21102 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21103
21104         * gst/base/gstbasesrc.c: (gst_base_src_init):
21105         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21106         * gst/gstqueue.c: (gst_queue_init):
21107         * gst/gstregistryxml.c: (load_feature):
21108           Revert all these unrefs, they don't even pass make check !
21109
21110 2005-11-15  Johan Dahlin  <johan@gnome.org>
21111
21112         * gst/base/gstbasesrc.c: (gst_base_src_init):
21113         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21114         * gst/gstqueue.c: (gst_queue_init): 
21115         Free pad templates, fixes a couple of leaks.
21116
21117 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21118
21119         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21120
21121         * gst/gstpad.c: (gst_pad_get_property):
21122           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21123           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21124           (#321452)
21125
21126 2005-11-15  Wim Taymans  <wim@fluendo.com>
21127
21128         * gst/gstevent.c:
21129         Small doc update.
21130
21131 2005-11-15  Andy Wingo  <wingo@pobox.com>
21132
21133         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21134
21135         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21136         using GST_CLOCK_TIME_NONE to disable base time management.
21137         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21138         time if it was NONE before.
21139         (gst_pipeline_change_state): Only munge the base time if
21140         stream_time != GST_CLOCK_TIME_NONE.
21141
21142         * check/gst/gstpipeline.c (test_base_time): Punt around the
21143         problem of the probe not being called, because that's not the
21144         issue I'm looking at. Add a check that setting stream_time to NONE
21145         disables base time management.
21146         
21147 2005-11-15  Wim Taymans  <wim@fluendo.com>
21148
21149         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21150         segment_stop == -1 at startup.
21151
21152         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21153         (gst_base_transform_change_state):
21154         Init segment values at start.
21155
21156 2005-11-15  Wim Taymans  <wim@fluendo.com>
21157
21158         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21159         0 segment values are 0 in any format.
21160
21161         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21162         * gst/base/gstbasetransform.h:
21163         Parse newsegment correctly in basetransform
21164
21165         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21166         Sync to clock using updated segment values.
21167
21168 2005-11-15  Andy Wingo  <wingo@pobox.com>
21169
21170         * check/gst/gstpipeline.c (test_base_time): Add check that the
21171         base time and stream time are reset correctly.
21172
21173 2005-11-15  Wim Taymans  <wim@fluendo.com>
21174
21175         * docs/design/part-TODO.txt:
21176         Some more TODO items.
21177
21178 2005-11-15  Andy Wingo  <wingo@pobox.com>
21179
21180         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21181         error if the user selected "no clock" as the clocking method.
21182
21183         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21184         timestamps with live capture.
21185
21186         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21187         is 0 but we are a live source, timestamp the buffers using the
21188         element's clock.
21189
21190 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21191
21192         * docs/gst/gstreamer-sections.txt:
21193         * gst/gsterror.c:
21194         * gst/gstghostpad.c:
21195         * gst/gstobject.h:
21196         * gst/gstxml.c:
21197           more section docs
21198
21199 2005-11-14  Wim Taymans  <wim@fluendo.com>
21200
21201         * common/gst.supp:
21202           add suppressions from Wim's Debian machine
21203
21204 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21205
21206         * common/gst.supp:
21207           add suppressions from Andy's AMD64 Ubuntu machine
21208
21209 2005-11-14  Andy Wingo  <wingo@pobox.com>
21210
21211         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21212         STATE_LOCK not necessary. Fixes #311489.
21213
21214         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21215         #305291.
21216
21217         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21218         this function is not implemented.
21219
21220 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21221
21222         * gst/base/gstbasetransform.c:
21223         (gst_base_transform_prepare_output_buf):
21224         Ref the source pad caps while we need them.
21225         Fixes (#321386)
21226
21227 2005-11-11  Wim Taymans  <wim@fluendo.com>
21228
21229         * docs/gst/gstreamer-sections.txt:
21230         Added some docs for GstCollectData.
21231
21232         * gst/base/gstadapter.c:
21233         Some small code example fix.
21234
21235         * gst/base/gstcollectpads.c:
21236         * gst/base/gstcollectpads.h:
21237         Document some more.
21238
21239 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21240
21241         * configure.ac: back to HEAD
21242
21243 === release 0.9.5 ===
21244
21245 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21246
21247         * configure.ac:
21248           releasing 0.9.5, "Bike Lunch Day"
21249
21250 2005-11-11  Wim Taymans  <wim@fluendo.com>
21251
21252         * gst/gstbuffer.c: (_gst_buffer_copy):
21253         Copy more flags.
21254
21255         * gst/gstcaps.c: (gst_caps_is_equal):
21256         Fix some docs.
21257         Make _is_equal fast in the trivial cases.
21258
21259         * gst/gstminiobject.c:
21260         * gst/gstminiobject.h:
21261         More docs. Spifify .h file.
21262
21263         * gst/gstutils.c:
21264         Small doc update.
21265
21266 2005-11-11  Wim Taymans  <wim@fluendo.com>
21267
21268         * gst/base/gstbasetransform.c:
21269         (gst_base_transform_prepare_output_buf),
21270         (gst_base_transform_handle_buffer):
21271         Small cleanups.
21272         If we're processing a buffer and need to allocate an output
21273         buffer, we cannot accept a format change. If we did get a 
21274         format change, we have to alloc a buffer ourselves of the 
21275         right size.
21276
21277 2005-11-11  Wim Taymans  <wim@fluendo.com>
21278
21279         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21280         While checking the flag for reentrancy in the gstcaps function
21281         is nice to detect recursive invocations, it also makes it 
21282         impossible to call getcaps from multiple threads, which must be
21283         possible. So, checking for recursive calls has to go.
21284
21285 2005-11-11  Michael Smith <msmith@fluendo.com>
21286
21287         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21288           Don't sync on buffers that fall partially outside our current
21289           segment. Prevents an assertion failure/abort playing some files.
21290
21291 2005-11-10  Andy Wingo  <wingo@pobox.com>
21292
21293         * check/gst/gstbin.c (test_message_state_changed_children): Style
21294         fix..
21295
21296         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21297         gst_bus_poll with the signal watch. Ensures that poll and a signal
21298         watch see the same messages.
21299
21300         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21301         a poll and a watch at the same time get the same messages.
21302
21303 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21304
21305         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21306         * gst/gstcaps.c: (gst_caps_intersect):
21307           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21308           and it's not needed.
21309
21310 2005-11-10  Wim Taymans  <wim@fluendo.com>
21311
21312         * docs/design/part-TODO.txt:
21313         Updated todo.
21314
21315 2005-11-10  Wim Taymans  <wim@fluendo.com>
21316
21317         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21318         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21319         (gst_base_src_do_sync), (gst_base_src_get_range):
21320         Implement clock sync in base class.
21321
21322 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21323
21324         patch by: Tim-Philipp Müller <tim at centricular dot net>
21325
21326         * gst/gststructure.c: (gst_structure_parse_field),
21327         (gst_structure_from_string):
21328           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21329           so that gst_parse_launch() can deal with spaces in filtered link
21330           caps (fixes #164479)
21331         * check/gst/capslist.h:
21332         * check/gst/gststructure.c: (GST_START_TEST):
21333           add unit tests for this change
21334
21335 2005-11-10  Wim Taymans  <wim@fluendo.com>
21336
21337         * docs/gst/gstreamer-sections.txt:
21338         * gst/gstelement.c:
21339         * gst/gstelement.h:
21340         Fix docs, move some STATE macros to private.
21341
21342 2005-11-10  Wim Taymans  <wim@fluendo.com>
21343
21344         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21345         Added check for bug #317341
21346
21347         * gst/gstbuffer.c:
21348         * gst/gstbuffer.h:
21349         Some more spiffifying.
21350
21351         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21352         Call peer linkfunction if we are a source pad. Totally fixes
21353         #317341
21354
21355         * gst/gstpad.c:
21356         Update docs, source pads should call the peer linkfunction
21357         so they can atomically perform the pad link.
21358
21359 2005-11-09  Wim Taymans  <wim@fluendo.com>
21360
21361         * gst/gstbuffer.c:
21362         * gst/gstbuffer.h:
21363         Uber-spiffy-spiffify some more.
21364
21365 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21366
21367         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21368         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21369         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21370         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21371         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21372         * gst/gstpad.c: (gst_pad_init):
21373           Use GST_DEBUG_FUNCPTR() more extensively.
21374
21375 2005-11-09  Wim Taymans  <wim@fluendo.com>
21376
21377         * gst/gstobject.c: (gst_object_class_init):
21378         * gst/gstobject.h:
21379         Documentation fixes.
21380
21381 2005-11-09  Edward Hervey  <edward@fluendo.com>
21382
21383         * gst/gsttypefindfactory.c:
21384         Fix docs.
21385         
21386 2005-11-09  Edward Hervey  <edward@fluendo.com>
21387
21388         * gst/base/gsttypefindhelper.c:
21389         * gst/gsttypefind.c:
21390         * gst/gsttypefind.h:
21391         Fix docs.
21392
21393 2005-11-09  Wim Taymans  <wim@fluendo.com>
21394
21395         * gst/gstiterator.c:
21396         Fix revision data.
21397
21398         * gst/gsttask.c:
21399         * gst/gsttask.h:
21400         Fix docs.
21401
21402 2005-11-09  Wim Taymans  <wim@fluendo.com>
21403
21404         * gst/gstevent.h:
21405         * gst/gsturi.h:
21406         Fix docs.
21407
21408 2005-11-09  Wim Taymans  <wim@fluendo.com>
21409
21410         * docs/gst/gstreamer-sections.txt:
21411         Moved the message async delivery private lock and cond
21412         to the private section.
21413
21414         * gst/gstmessage.c:
21415         * gst/gstmessage.h:
21416         Fixed docs.
21417
21418 2005-11-09  Edward Hervey  <edward@fluendo.com>
21419
21420         * docs/gst/gstreamer-sections.txt:
21421         * gst/gsturi.c:
21422         * gst/gsturi.h:
21423         Document GstURIHandler
21424
21425 2005-11-09  Wim Taymans  <wim@fluendo.com>
21426
21427         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21428         (gst_iterator_find_custom):
21429         * gst/gstiterator.h:
21430         Fix iterator docs.
21431
21432 2005-11-09  Wim Taymans  <wim@fluendo.com>
21433
21434         * gst/gstbin.h:
21435         Document another field.
21436
21437         * gst/gststructure.c:
21438         * gst/gststructure.h:
21439         Document.
21440
21441 2005-11-09  Wim Taymans  <wim@fluendo.com>
21442
21443         * gst/gstbin.h:
21444         Documented structs.
21445
21446 2005-11-09  Wim Taymans  <wim@fluendo.com>
21447
21448         * docs/gst/gstreamer-sections.txt:
21449         Added some new macros.
21450
21451         * gst/gstclock.c:
21452         * gst/gstclock.h:
21453         * gst/gstobject.h:
21454         Docs updates.
21455
21456 2005-11-09  Wim Taymans  <wim@fluendo.com>
21457
21458         * docs/design/part-TODO.txt:
21459         Some more items for the TODO
21460
21461         * gst/gstcaps.c:
21462         * gst/gstcaps.h:
21463         Document GstCaps.
21464
21465 2005-11-09  Andy Wingo  <wingo@pobox.com>
21466
21467         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21468         to work on something else now tho...
21469
21470         * gst/base/gstadapter.c: More adapter docs.
21471
21472         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21473         (gst_file_sink_stop): New functions, replace the state change
21474         handler.
21475         (gst_file_sink_class_init): Hook up the start and stop functions.
21476         (gst_file_sink_base_init): Don't set the state change handler any
21477         more. It was a bit ugly too, being set from here...
21478         (gst_file_sink_get_property, gst_file_sink_set_property):
21479         Cleanups...
21480         (gst_file_sink_set_location): More robust check that doesn't call
21481         GST_STATE. Ugggggg.
21482
21483 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21484
21485         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21486           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21487
21488 2005-11-08  Wim Taymans  <wim@fluendo.com>
21489
21490         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21491         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21492         (gst_base_sink_chain), (gst_base_sink_change_state):
21493         * gst/base/gstbasesink.h:
21494         * gst/base/gstbasesrc.h:
21495         * gst/gstelement.h:
21496         * gst/gstevent.h:
21497         Avoid excessive typechecking in macros.
21498
21499         * gst/gstminiobject.c: (gst_mini_object_get_type),
21500         (gst_mini_object_init), (gst_mini_object_new),
21501         (gst_mini_object_free):
21502         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21503         (gst_object_finalize):
21504         Remove cruft code, optimize alloc_trace.
21505
21506 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21507
21508         * docs/faq/gst-uninstalled:
21509           fix up PS1 for systems that try to reset it
21510
21511 2005-11-07  Wim Taymans  <wim@fluendo.com>
21512
21513         * gst/base/gstbasesrc.c: (gst_base_src_init),
21514         (gst_base_src_get_range):
21515         Set the segment_end to -1 initially. Fixed typefind.
21516
21517 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21518
21519         * gst/base/gstadapter.c:
21520           Debug category should be 'adapter', not 'GstAdapter'.
21521           
21522         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21523         (gst_collectpads_class_init), (gst_collectpads_init),
21524         (gst_collectpads_peek), (gst_collectpads_pop),
21525         (gst_collectpads_event), (gst_collectpads_chain):
21526           Add debug category and some debugging output. Use boilerplate
21527           macros. Remove some extraneous words from docs.
21528
21529 2005-11-05  Andy Wingo  <wingo@pobox.com>
21530
21531         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21532         macro.
21533
21534 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21535
21536         * docs/gst/gstreamer-sections.txt:
21537         * gst/gstcaps.h:
21538         * gst/gstinfo.c:
21539         * gst/gstminiobject.h:
21540         * gst/gstobject.h:
21541         * gst/gstutils.h:
21542           more docs added
21543
21544 2005-11-04  Wim Taymans  <wim@fluendo.com>
21545
21546         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21547         Small update to stop at the configured segment_end
21548         position.
21549
21550 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21551
21552         * gst/gstregistry.c:
21553         * gst/gstregistry.h:
21554           added missing docs
21555
21556 2005-11-04  Edward Hervey  <edward@fluendo.com>
21557
21558         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21559         Check if we are doing a segment seek and have arrived at the
21560         end of that segment.
21561
21562 2005-11-04  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21565         Don't leak a mutex unlock in case of an error.
21566
21567         * gst/gstbus.h:
21568         Doc fixes.
21569
21570 2005-11-04  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21573         (gst_bus_post):
21574         Get the context to wake up only once.
21575
21576 2005-11-03  Wim Taymans  <wim@fluendo.com>
21577
21578         * check/states/sinks.c: (GST_START_TEST):
21579         Uncomment fixed check.
21580
21581         * docs/design/part-TODO.txt:
21582         Updated TODO.
21583
21584         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21585         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21586         (gst_base_sink_get_position):
21587         If we are going to PLAYING, post the right pending state
21588         when we post the intermediate paused message.
21589
21590         * gst/gstelement.c: (gst_element_continue_state),
21591         (gst_element_set_state_func), (gst_element_change_state):
21592         Don't post state changes that were between the same state
21593         and were not ASYNC.
21594
21595 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21596
21597         * docs/gst/gstreamer-sections.txt:
21598         * gst/gstcaps.h:
21599         * gst/gstinfo.c:
21600         * gst/gstminiobject.h:
21601         * gst/gstobject.h:
21602         * gst/gstutils.h:
21603           more docs and doc style fixes
21604
21605 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21606
21607         * docs/gst/gstreamer-sections.txt:
21608         * gst/gstelement.c:
21609         * gst/gstminiobject.c:
21610         doc fixes
21611
21612 2005-11-03  Andy Wingo  <wingo@pobox.com>
21613
21614         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21615         state-changed messages actually have the right order and the right
21616         values.
21617
21618 2005-11-03  Wim Taymans  <wim@fluendo.com>
21619
21620         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21621         Added some more checks. Specifically the case where NO_PREROLL
21622         elements are in the pipeline.
21623
21624         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21625         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21626         (gst_base_sink_get_position):
21627         Post READY->PAUSED state change messages too.
21628         Fix bug where VOID was posted as pending state...
21629
21630         * gst/gstbin.c: (gst_bin_recalc_state):
21631         use _element_continue_state() to continue the state change.
21632
21633         * gst/gstelement.c: (gst_element_continue_state),
21634         (gst_element_commit_state), (gst_element_set_state_func),
21635         (gst_element_change_state), (gst_element_change_state_func):
21636         Lots of state change cleanups, assign the STATE_RETURN in
21637         a new continue_state() function that also propagates the
21638         last return value from a state change to the app.
21639         Update some debug statements with proper category.
21640
21641 2005-11-03  Wim Taymans  <wim@fluendo.com>
21642
21643         * docs/design/part-events.txt:
21644         * docs/design/part-gstpipeline.txt:
21645         * docs/design/part-messages.txt:
21646         * docs/design/part-overview.txt:
21647         * docs/design/part-seeking.txt:
21648         * docs/design/part-states.txt:
21649         * docs/design/part-trickmodes.txt:
21650         * docs/manual/advanced-position.xml:
21651         Small docs updates.
21652
21653         * gst/gstobject.h:
21654         People think !! is ugly, this looks better.
21655
21656         * gst/gstpad.c: (gst_pad_set_blocked_async):
21657         Remove !! since it's fixed elsewhere now.
21658
21659 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21660
21661         * gst/gstminiobject.h:
21662         * gst/gstobject.h:
21663           Add !! to _FLAG_IS_SET macros to make the result boolean.
21664
21665 2005-11-03  Edward Hervey  <edward@fluendo.com>
21666
21667         * gst/gstpad.c: (gst_pad_set_blocked_async):
21668         comparing a flag and a gboolean rarely returns coherent results...
21669         Added two characters (!!) to make that work correctly.
21670         
21671 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21672
21673         * gst/gstbus.c: (gst_bus_class_init):
21674           Fix some typos.
21675           
21676         * gst/gstqueue.c: (gst_queue_loop):
21677           Don't assume a miniobject that isn't a buffer is an
21678           event (it could be that there is a refcounting
21679           problem somewhere and the pointer is stale and
21680           refers to an already destroyed miniobject).
21681
21682 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21683
21684         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21685
21686 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21687
21688         * docs/manual/advanced-position.xml:
21689           Update seek example and explanations to current 0.9 API.
21690
21691         * gst/elements/gsttypefindelement.c:
21692         (gst_type_find_element_activate):
21693           Remove FIXME comment now that the found caps
21694           are unreffed.
21695
21696 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21697
21698         * gst/gstregistryxml.c: (load_feature):
21699           Add another GST_STR_NULL instance
21700
21701 2005-11-02  Edward Hervey  <edward@fluendo.com>
21702
21703         * gst/gstpad.c: (handle_pad_block):
21704         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21705         
21706 2005-11-02  Wim Taymans  <wim@fluendo.com>
21707
21708         * gst/gstbin.c:
21709         Fix typo in docs.
21710
21711         * gst/gstelement.c: (gst_element_commit_state):
21712         Remove unused value.
21713
21714         * gst/gstiterator.c:
21715         Mention that the returned element is reffed in the docs.
21716
21717 2005-11-02  Wim Taymans  <wim@fluendo.com>
21718
21719         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21720         (gst_pad_push), (gst_pad_push_event):
21721         Unlock blocked pads when they are flushed.
21722
21723 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21724
21725         * docs/README:
21726         * docs/gst/gstreamer-sections.txt:
21727         * gst/gstbin.c:
21728           doc updates
21729         * gst/gstregistry.c: (gst_registry_scan_path_level):
21730           fix for a nasty little missed situation where an installed plug-in
21731           which was in the cache did not get overridden by an uninstalled one
21732           which was earlier in the plugin path because the newly created plugin
21733           for the uninstalled one (not in the registry) didn't get its
21734           ->registered set to TRUE
21735
21736 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21737
21738         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21739         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21740         (gst_collectpads_is_active), (gst_collectpads_collect),
21741         (gst_collectpads_collect_range), (gst_collectpads_start),
21742         (gst_collectpads_stop), (gst_collectpads_peek),
21743         (gst_collectpads_pop), (gst_collectpads_available),
21744         (gst_collectpads_read), (gst_collectpads_flush):
21745           Guard public API with assertions.
21746         
21747         * gst/gstpad.c:
21748           Fix docs for gst_pad_set_link_function().
21749
21750 2005-11-02  Johan Dahlin  <johan@gnome.org>
21751
21752         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21753         Unref found_caps after we used it.
21754
21755 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21756
21757         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21758           Don't try to ref NULL.
21759
21760 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21761
21762         * win32/common/config.h.in:
21763           provide a GST_FUNCTION that just gives a string for now
21764
21765 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21766
21767         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21768         (gst_object_flags_get_type), (register_gst_bin_flags),
21769         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21770         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21771         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21772         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21773         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21774         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21775         (gst_clock_flags_get_type), (register_gst_state),
21776         (gst_state_get_type), (register_gst_state_change_return),
21777         (gst_state_change_return_get_type), (register_gst_state_change),
21778         (gst_state_change_get_type), (register_gst_element_flags),
21779         (gst_element_flags_get_type), (register_gst_core_error),
21780         (gst_core_error_get_type), (register_gst_library_error),
21781         (gst_library_error_get_type), (register_gst_resource_error),
21782         (gst_resource_error_get_type), (register_gst_stream_error),
21783         (gst_stream_error_get_type), (register_gst_event_type),
21784         (gst_event_type_get_type), (register_gst_seek_type),
21785         (gst_seek_type_get_type), (register_gst_seek_flags),
21786         (gst_seek_flags_get_type), (register_gst_format),
21787         (gst_format_get_type), (register_gst_index_certainty),
21788         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21789         (gst_index_entry_type_get_type),
21790         (register_gst_index_lookup_method),
21791         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21792         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21793         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21794         (gst_index_flags_get_type), (register_gst_debug_level),
21795         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21796         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21797         (gst_iterator_result_get_type), (register_gst_iterator_item),
21798         (gst_iterator_item_get_type), (register_gst_message_type),
21799         (gst_message_type_get_type), (register_gst_mini_object_flags),
21800         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21801         (gst_pad_link_return_get_type), (register_gst_flow_return),
21802         (gst_flow_return_get_type), (register_gst_activate_mode),
21803         (gst_activate_mode_get_type), (register_gst_pad_direction),
21804         (gst_pad_direction_get_type), (register_gst_pad_flags),
21805         (gst_pad_flags_get_type), (register_gst_pad_presence),
21806         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21807         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21808         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21809         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21810         (gst_plugin_flags_get_type), (register_gst_rank),
21811         (gst_rank_get_type), (register_gst_query_type),
21812         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21813         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21814         (gst_tag_flag_get_type), (register_gst_task_state),
21815         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21816         (gst_alloc_trace_flags_get_type),
21817         (register_gst_type_find_probability),
21818         (gst_type_find_probability_get_type), (register_gst_uri_type),
21819         (gst_uri_type_get_type), (register_gst_parse_error),
21820         (gst_parse_error_get_type):
21821         * win32/common/gstversion.h:
21822           update win32 copies
21823
21824 2005-11-01  Luca Ognibene  <luogni@tin.it>
21825
21826         * gst/gst.c:
21827           fix docs. popt is dead, long live GOption.
21828
21829 2005-10-31  Wim Taymans  <wim@fluendo.com>
21830
21831         * gst/gstbuffer.h:
21832         Small doc fix.
21833
21834 2005-10-31  Andy Wingo  <wingo@pobox.com>
21835
21836         * Boo!
21837
21838         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21839
21840         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21841         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21842         the possibility of deadlocks here if code calling notify() or
21843         set() has a lock that can be taken in another notify handler (ABBA
21844         with class lock and e.g. python GIL state lock).
21845
21846 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21847
21848         * gst/gstbus.c: Doc updates.
21849
21850 2005-10-28  Wim Taymans  <wim@fluendo.com>
21851
21852         * docs/design/part-TODO.txt:
21853         * gst/gstiterator.c:
21854         * gst/gstsystemclock.c:
21855         * gst/gstsystemclock.h:
21856         Doc updates.
21857
21858 2005-10-28  Edward Hervey  <edward@fluendo.com>
21859
21860         * docs/gst/gstreamer-docs.sgml:
21861         * docs/gst/gstreamer-sections.txt:
21862         the GstURIType documentation page is private, it only defines GstURIType
21863         which should be defined in the GstURIHandler page
21864         
21865 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21866
21867         * gst/gstbin.c: (gst_bin_class_init):
21868         * gst/gstbin.h:
21869         * gst/gstutils.c:
21870         Documentation updates.
21871
21872 2005-10-28  Wim Taymans  <wim@fluendo.com>
21873
21874         * docs/gst/gstreamer-sections.txt:
21875         * gst/gstclock.c:
21876         * gst/gstclock.h:
21877         Documented the clocks.
21878
21879 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
21880
21881         * docs/gst/gstreamer-sections.txt:
21882           move some macros to private sections
21883         * gst/gstminiobject.c:
21884         * gst/gstminiobject.h:
21885           add descriptions provided by ds and some more
21886         * gst/gstpad.h:
21887           mark macro as to be removed
21888
21889 2005-10-28  Wim Taymans  <wim@fluendo.com>
21890
21891         * docs/design/part-TODO.txt:
21892         Add an item to TODO.
21893
21894         * gst/gstiterator.c: (gst_iterator_fold),
21895         (gst_iterator_find_custom):
21896         * gst/gstiterator.h:
21897         Add iterator docs.
21898
21899 2005-10-28  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21902         (gst_base_transform_init):
21903         Don't leak class.
21904
21905         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21906         An EOS event marks the queue as completely filled.
21907
21908 2005-10-27  Wim Taymans  <wim@fluendo.com>
21909
21910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21911         (gst_base_sink_do_sync), (gst_base_sink_get_position):
21912         Some more debugging.
21913
21914         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21915         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21916         (gst_base_transform_event), (gst_base_transform_getrange),
21917         (gst_base_transform_chain):
21918         * gst/base/gstbasetransform.h:
21919         Fix debugging,
21920         Protect transform and concurrent buffer alloc with a new lock.
21921         Try not to break ABI/API.
21922
21923 2005-10-27  Wim Taymans  <wim@fluendo.com>
21924
21925         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21926         (gst_base_src_init), (gst_base_src_query),
21927         (gst_base_src_default_newsegment),
21928         (gst_base_src_configure_segment), (gst_base_src_do_seek),
21929         (gst_base_src_send_event), (gst_base_src_event_handler),
21930         (gst_base_src_pad_get_range), (gst_base_src_loop),
21931         (gst_base_src_unlock), (gst_base_src_default_negotiate),
21932         (gst_base_src_start), (gst_base_src_deactivate),
21933         (gst_base_src_activate_push), (gst_base_src_change_state):
21934         Move some stuff around and cleanup things.
21935
21936 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
21937
21938         * gst/base/gstbasesrc.c: (gst_base_src_query):
21939           Add missing break statements.
21940
21941 2005-10-27  Wim Taymans  <wim@fluendo.com>
21942
21943         * check/gst/gstbin.c: (GST_START_TEST):
21944         An extra refcount is taken in basesrc.
21945
21946         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21947         (gst_base_src_get_range), (gst_base_src_pad_get_range),
21948         (gst_base_src_loop):
21949         Small cleanups, check for flushing after being unlocked from the 
21950         LIVE_LOCK. take refcounts correctly (not yet everywhere).
21951         Don't send out EOS when going to READY.
21952
21953 2005-10-27  Wim Taymans  <wim@fluendo.com>
21954
21955         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21956         (gst_base_sink_get_position):
21957         Some more debug.
21958
21959         * gst/gstbin.c: (message_check), (bin_replace_message),
21960         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21961         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21962         (bin_query_duration_init), (bin_query_duration_fold),
21963         (bin_query_duration_done), (bin_query_generic_fold),
21964         (gst_bin_query):
21965         * tools/gst-launch.c: (main):
21966         Remove old option.
21967
21968 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
21969
21970         * examples/controller/audio-example.c: (main):
21971         * examples/queue/queue.c: (event_loop):
21972         * gst/base/gstbasetransform.h:
21973         * gst/gstelement.c: (gst_element_send_event):
21974         * gst/gstevent.h:
21975         * gst/gstpad.c: (gst_pad_send_event):
21976           fixing examples
21977           fixing docs typos
21978           changing log priority in error situations
21979
21980 2005-10-25  Wim Taymans  <wim@fluendo.com>
21981
21982         * gst/gstbin.c: (message_check), (bin_replace_message),
21983         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21984         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21985         (bin_query_duration_init), (bin_query_duration_fold),
21986         (bin_query_duration_done), (bin_query_generic_fold),
21987         (gst_bin_query):
21988         Some doc and debug updates.
21989         Cache previously requested query DURATION for speed. invalidate
21990         cached duration if element posts a DURATION message.
21991
21992 2005-10-25  Wim Taymans  <wim@fluendo.com>
21993
21994         * docs/design/part-TODO.txt:
21995         Update TODO.
21996
21997         * gst/gstbin.c: (message_check), (bin_replace_message),
21998         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21999         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22000         (bin_query_duration_init), (bin_query_duration_fold),
22001         (bin_query_duration_done), (bin_query_generic_fold),
22002         (gst_bin_query):
22003         Handle SEGMENT_START/DONE messages correctly.
22004         More evolved query algorithm that handles duration queries
22005         correctly.
22006
22007         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22008         (gst_element_get_state_func), (gst_element_abort_state),
22009         (gst_element_commit_state), (gst_element_lost_state):
22010         Some more debugging.
22011
22012         * gst/gstmessage.h:
22013         Added doc.
22014
22015 2005-10-25  Wim Taymans  <wim@fluendo.com>
22016
22017         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22018         Don't use invalid stream_time.
22019
22020         * gst/gstevent.c: (gst_event_new_newsegment):
22021         stream_time in newsegment cannot be undefined.
22022
22023 2005-10-24  Wim Taymans  <wim@fluendo.com>
22024
22025         * gst/gstbus.c:
22026         Doc fix.
22027
22028         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22029         (gst_queue_loop):
22030         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22031
22032 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22033
22034         * docs/libs/tmpl/gstdparam.sgml:
22035         * docs/libs/tmpl/gstdplinint.sgml:
22036         * docs/libs/tmpl/gstdpman.sgml:
22037         * docs/libs/tmpl/gstdpsmooth.sgml:
22038         * docs/libs/tmpl/gstunitconvert.sgml:
22039           these are obsolete
22040
22041 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22042
22043         * configure.ac:
22044           back to HEAD
22045
22046 === release 0.9.4 ===
22047
22048 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22049
22050         * configure.ac:
22051           releasing 0.9.4, "Tyrannosaurus Rex"
22052
22053 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22054
22055         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22056         (gst_file_sink_get_current_offset):
22057           Use fseeko() and ftello() if available. When falling back on
22058           lseek() to get the current offset, fflush() first to make sure
22059           everything is up-to-date and we get the right offset.
22060
22061 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22062
22063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22064         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22065         * gst/gsterror.c: (_gst_stream_errors_init):
22066         * gst/gsterror.h:
22067         * gst/gstqueue.c: (gst_queue_loop):
22068         * po/POTFILES.in:
22069           remove prematurely added error category and clean up the instances
22070
22071 2005-10-21  Wim Taymans  <wim@fluendo.com>
22072
22073         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22074         (gst_base_sink_get_position), (gst_base_sink_query),
22075         (gst_base_sink_change_state):
22076         Simply set the right flag when going to playing, that's all
22077         we need to do instead of calling a function inside the object
22078         lock (that could take the lock as well and deadlock)
22079
22080 2005-10-21  Wim Taymans  <wim@fluendo.com>
22081
22082         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22083         (gst_base_src_loop):
22084         Don't warn, the peer element knows what to do best when
22085         the seek failed, it might try something else.
22086
22087 2005-10-21  Wim Taymans  <wim@fluendo.com>
22088
22089         * gst/base/gstbasesrc.c: (gst_base_src_init),
22090         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22091         Fix seeking.
22092
22093 2005-10-21  Wim Taymans  <wim@fluendo.com>
22094
22095         * docs/design/part-segments.txt:
22096         More docs.
22097
22098         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22099         Correctly set caps, even on the subbufer.
22100
22101 2005-10-21  Wim Taymans  <wim@fluendo.com>
22102
22103         * docs/gst/gstreamer-docs.sgml:
22104         * docs/gst/gstreamer-sections.txt:
22105         * gst/gstelement.h:
22106         * gst/gstevent.c:
22107         * gst/gstevent.h:
22108         * gst/gstmessage.h:
22109         * gst/gstpad.h:
22110         * gst/gstparse.h:
22111         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22112         * gst/gsttask.h:
22113         * gst/gstutils.c:
22114         * gst/gstutils.h:
22115         And 2% more doc coverage.
22116
22117 2005-10-21  Andy Wingo  <wingo@pobox.com>
22118
22119         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22120         position reporting.
22121
22122 2005-10-20  Wim Taymans  <wim@fluendo.com>
22123
22124         * gst/gsterror.c: (gst_error_get_message):
22125         * gst/gstparse.h:
22126         * gst/gstquery.h:
22127         * gst/gststructure.c:
22128         * gst/gsttrace.c:
22129         * gst/gstutils.c:
22130         More docs.
22131
22132 2005-10-20  Wim Taymans  <wim@fluendo.com>
22133
22134         * gst/gstbuffer.h:
22135         * gst/gstpad.c:
22136         * gst/gstparse.c:
22137         Another 1% more coverage.
22138
22139 2005-10-20  Wim Taymans  <wim@fluendo.com>
22140
22141         * docs/gst/gstreamer-sections.txt:
22142         * gst/gstelement.c: (gst_element_get_state_func),
22143         (gst_element_abort_state), (gst_element_commit_state),
22144         (gst_element_lost_state):
22145         * gst/gstevent.h:
22146         * gst/gstquery.c: (gst_query_set_position),
22147         (gst_query_parse_position), (gst_query_set_duration),
22148         (gst_query_parse_duration), (gst_query_new_convert):
22149         * gst/gstutils.c:
22150         Yay! 1% more docs coverage.
22151
22152 2005-10-20  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/gstpad.h:
22155         * gst/gstquery.c: (gst_query_set_position),
22156         (gst_query_parse_position), (gst_query_set_duration),
22157         (gst_query_parse_duration), (gst_query_new_convert):
22158         * gst/gstquery.h:
22159         * gst/gstutils.c: (gst_element_query_convert):
22160         * gst/gstutils.h:
22161         Docs and consistency fixes.
22162
22163 2005-10-20  Wim Taymans  <wim@fluendo.com>
22164
22165         * gst/gsttask.c:
22166         * gst/gsttask.h:
22167         More docs.
22168
22169 2005-10-20  Wim Taymans  <wim@fluendo.com>
22170
22171         * gst/gstbin.c: (message_check), (bin_replace_message),
22172         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22173         (update_degree), (gst_bin_sort_iterator_next),
22174         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22175         Reworked the message handling a bit, cache the messages instead of
22176         only the senders. alows us to do more in the future.
22177
22178 2005-10-20  Wim Taymans  <wim@fluendo.com>
22179
22180         * docs/design/part-TODO.txt:
22181         Update TODO
22182
22183         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22184         (gst_base_sink_query):
22185         Don't use clock time to report position when in EOS.
22186
22187 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22188
22189         * tools/gst-inspect.c: (print_interfaces),
22190         (print_element_properties_info), (print_element_info):
22191           Fix interface output with gst-inspect -a; don't print
22192           newlines after double/float properties.
22193
22194 2005-10-20  Wim Taymans  <wim@fluendo.com>
22195
22196         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22197         (gst_base_sink_query):
22198         Speed up current position calculation.
22199
22200         * gst/base/gstbasesrc.c: (gst_base_src_query),
22201         (gst_base_src_default_newsegment):
22202         Correctly set stream position in newsegment.
22203
22204         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22205         (update_degree), (gst_bin_sort_iterator_next),
22206         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22207         * gst/gstmessage.c: (gst_message_new_custom):
22208         Clean up debugging info
22209
22210         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22211         (gst_queue_loop), (gst_queue_handle_src_query):
22212         Pause task faster.
22213
22214 2005-10-19  Wim Taymans  <wim@fluendo.com>
22215
22216         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22217         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22218         Fix query handling again.
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         * gst/base/gstbasesrc.c: (gst_base_src_query):
22225         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22226         * gst/elements/gsttypefindelement.c:
22227         (gst_type_find_handle_src_query), (find_element_get_length),
22228         (gst_type_find_element_activate):
22229         API change fix.
22230
22231         * gst/gstquery.c: (gst_query_new_position),
22232         (gst_query_set_position), (gst_query_parse_position),
22233         (gst_query_new_duration), (gst_query_set_duration),
22234         (gst_query_parse_duration), (gst_query_set_segment),
22235         (gst_query_parse_segment):
22236         * gst/gstquery.h:
22237         Bundling query position/duration is not a good idea since duration
22238         does not change much and we don't want to recalculate it for every
22239         position query, so they are separated again..
22240         Base value in segment query is not needed.
22241
22242         * gst/gstqueue.c: (gst_queue_handle_src_query):
22243         * gst/gstutils.c: (gst_element_query_position),
22244         (gst_element_query_duration), (gst_pad_query_position),
22245         (gst_pad_query_duration):
22246         * gst/gstutils.h:
22247         Updates for query API change.
22248         Added some docs here and there.
22249
22250 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22251
22252         * check/gst/gstbin.c: (GST_START_TEST):
22253         * check/gst/gstghostpad.c: (GST_START_TEST):
22254         * check/pipelines/cleanup.c: (GST_START_TEST):
22255           wait on thread to die so we can check refcount correctly
22256
22257 2005-10-18  Wim Taymans  <wim@fluendo.com>
22258
22259         * check/pipelines/stress.c: (GST_START_TEST):
22260         Make check a little more time consuming.
22261
22262 2005-10-18  Wim Taymans  <wim@fluendo.com>
22263
22264         * check/Makefile.am:
22265         * check/pipelines/stress.c: (GST_START_TEST),
22266         (simple_launch_lines_suite), (main):
22267         Small state change torture test.
22268
22269         * docs/design/part-states.txt:
22270         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22271         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22272         (gst_base_sink_change_state):
22273         Never take state lock from streaming thread, clean up ugly
22274         hacks. Unfortunatly core does not yet support nice ways to
22275         async commit state.
22276         
22277         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22278         (bin_bus_handler):
22279         Start state recalc if a STATE_DIRTY message is posted, but only
22280         on the toplevel bin.
22281
22282         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22283         (gst_element_get_state_func), (gst_element_abort_state),
22284         (gst_element_commit_state), (gst_element_lost_state),
22285         (gst_element_set_state_func), (gst_element_change_state):
22286         * gst/gstelement.h:
22287         State variables are now protected with the LOCK, the state
22288         lock is only used to serialize _set_state().
22289
22290 2005-10-18  Wim Taymans  <wim@fluendo.com>
22291
22292         * check/gst/gstbin.c: (GST_START_TEST):
22293         * check/gst/gstmessage.c: (GST_START_TEST):
22294         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22295         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22296         (bin_bus_handler):
22297         * gst/gstelement.c: (gst_element_abort_state),
22298         (gst_element_commit_state), (gst_element_lost_state):
22299         * gst/gstmessage.c: (gst_message_new_state_changed),
22300         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22301         (gst_message_new_segment_done), (gst_message_new_duration),
22302         (gst_message_parse_state_changed),
22303         (gst_message_parse_segment_start),
22304         (gst_message_parse_segment_done), (gst_message_parse_duration):
22305         * gst/gstmessage.h:
22306         * tools/gst-launch.c: (event_loop):
22307         Seriously, this is better than a previous commit as we only need
22308         to notify the fact that an element changed state in a streaming
22309         thread, marking the state of the parents dirty, hence the 
22310         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22311         message.
22312
22313 2005-10-18  Wim Taymans  <wim@fluendo.com>
22314
22315         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22316         (gst_bin_recalc_func):
22317         * gst/gstelement.c: (gst_element_set_clock),
22318         (gst_element_abort_state), (gst_element_lost_state):
22319         Cleanups, prepare for state change fixes.
22320
22321 2005-10-18  Wim Taymans  <wim@fluendo.com>
22322
22323         * gst/gstbin.h:
22324         * gst/gstelement.c: (gst_element_class_init),
22325         (gst_element_set_state), (gst_element_set_state_func):
22326         * gst/gstelement.h:
22327         Pending ABI changes.
22328         GThreadPool in GstBinClass to monitor async state changes.
22329         state_cookie in GstElement to detect concurrent gst/set state.
22330         set_state is now virtual too in case a very complicated element
22331         has to be constructed.
22332
22333 2005-10-18  Wim Taymans  <wim@fluendo.com>
22334
22335         * check/gst/gstbin.c: (GST_START_TEST):
22336         * check/gst/gstmessage.c: (GST_START_TEST):
22337         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22338         * gst/gstbin.c: (bin_bus_handler):
22339         * gst/gstelement.c: (gst_element_commit_state),
22340         (gst_element_lost_state):
22341         * gst/gstmessage.c: (gst_message_new_state_changed),
22342         (gst_message_new_segment_start), (gst_message_new_segment_done),
22343         (gst_message_new_duration), (gst_message_parse_state_changed),
22344         (gst_message_parse_segment_start),
22345         (gst_message_parse_segment_done), (gst_message_parse_duration):
22346         * gst/gstmessage.h:
22347         * tools/gst-launch.c: (event_loop):
22348         Make messages future proof.
22349         state-change gets a flag if it was a message comming from the
22350         streaming thread.
22351         segment-start/stop can also be specified in other formats.
22352         A message to notify an app that a pipeline changed playback 
22353         duration.
22354         Also fix a GstMessage leak in -launch
22355
22356 2005-10-18  Andy Wingo  <wingo@pobox.com>
22357
22358         * gst/gstelement.c (gst_element_dispose): More helpful message.
22359
22360 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22361
22362         reviewed by: <delete if not using a buddy>
22363
22364         * common/gtk-doc.mak:
22365
22366 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22367
22368         * gst/gstregistry.c: (gst_registry_scan_path_level):
22369           unref a plug-in we get that was already initialized
22370
22371 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22372
22373         * docs/gst/gstreamer-sections.txt:
22374         * docs/libs/gstreamer-libs-sections.txt:
22375         * gst/gstelement.h:
22376           add new api entries
22377           hide internal macro
22378
22379 2005-10-17  Andy Wingo  <wingo@pobox.com>
22380
22381         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22382         cleanup.
22383
22384         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22385
22386         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22387
22388         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22389         (gst_element_get_state_func): Better debug message.
22390         (gst_element_commit_state): s/INFO/DEBUG/.
22391         (gst_element_lost_state, gst_element_change_state): 
22392
22393         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22394         (gst_message_new_custom): s/INFO/LOG/.
22395
22396 2005-10-17  Michael Smith <msmith@fluendo.com>
22397
22398         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22399           Check if end time is valid using end time, not start time.
22400
22401 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22402
22403         * check/gst-libs/controller.c: (GST_START_TEST),
22404         (gst_controller_suite):
22405         * libs/gst/controller/gstcontroller.c:
22406         (gst_controlled_property_set_interpolation_mode):
22407         * libs/gst/controller/gstcontroller.h:
22408         * libs/gst/controller/gstinterpolation.c:
22409         * testsuite/controller/.cvsignore:
22410         * testsuite/controller/Makefile.am:
22411         * testsuite/controller/interpolator.c:
22412           merge controller testsuites
22413           fix broken tests
22414           remove mem-chunk from docs
22415
22416 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22417
22418         * gst/gstmemchunk.c:
22419         * gst/gstmemchunk.h:
22420         * gst/gsttrashstack.c:
22421         * gst/gsttrashstack.h:
22422           out.  get out.  you're fired.  to the Attic !
22423
22424 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22425
22426         * gst/gstcaps.c: (gst_caps_intersect):
22427           fix signedness issues in a (hopefully) correct way
22428         * gst/gstelement.c: (gst_element_pads_activate):
22429           some debugging
22430         * gst/gstobject.c: (gst_object_set_parent):
22431           some debugging
22432
22433 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22434
22435         * gst/gstvalue.h: Fix prototypes.
22436
22437 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22438
22439         * docs/gst/gstreamer-sections.txt:
22440         * gst/gst.c: (gst_version_string):
22441         * gst/gst.h:
22442         * gst/gstversion.h.in:
22443         * win32/common/libgstreamer.def:
22444           add gst_version_string ()
22445
22446 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22447
22448         * configure.ac:
22449           clean up further
22450         * gst/gst.c: (init_post):
22451         * win32/common/config.h.in:
22452           it's PLUGINDIR now
22453         * gst/gstcaps.c: (gst_caps_intersect):
22454           use gint64, the range could be bigger than a guint
22455
22456 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22457
22458         * gst/gstclock.h:
22459           document potential problem in 2038
22460
22461 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22462
22463         * gst/gstcaps.c: (gst_caps_intersect):
22464           Fix guint j diving under 0
22465
22466 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22467
22468         * configure.ac:
22469         * win32/common/config.h:
22470         * win32/common/config.h.in:
22471           check for process.h, declares getpid() on Windows
22472         * gst/gstinfo.c:
22473           include process.h if we have it
22474         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22475         * gst/gstmemchunk.h:
22476           fix signedness issues
22477         * win32/common/libgstreamer.def:
22478           fix get_type's
22479
22480 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22481
22482         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22483         fix. Because of unsigned ints, caps intersection was going nuts and
22484         trying to access structures with G_MAXUINT index. That fixes
22485         videotestsrc ! ffmpegcolorspace ! fakesink
22486         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22487         consistency.
22488
22489 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22490
22491         * configure.ac:
22492           use the gettext macro
22493         * gst/elements/gstelements.c:
22494         * gst/gst.c:
22495         * gst/indexers/gstindexers.c:
22496           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22497         * win32/common/config.h:
22498           updated config.h
22499         * win32/common/config.h.in:
22500           add the template to generate config.h
22501         * win32/common/gstenumtypes.c:
22502         * win32/common/gstversion.h:
22503           updated copies
22504
22505 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22506
22507         * gst/gst.c: (gst_version):
22508         * gst/gstversion.h.in:
22509           add the nano
22510
22511 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22512
22513         * gst/gstevent.h:
22514           Oops, add missing closing bracket.
22515
22516 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22517
22518         * configure.ac:
22519           use common m4's for argument checking
22520
22521 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22522
22523         * docs/gst/gstreamer-sections.txt:
22524         * gst/gstevent.h:
22525           Add GST_EVENT_TYPE_NAME() macro.
22526
22527 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22528
22529         * gst/gstinfo.c:
22530         * gst/gstpluginfeature.c:
22531         * gst/gsttask.c:
22532           privatize more symbols
22533
22534 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22535
22536         * configure.ac:
22537           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22538           everything that uses GStreamer API should have the includes
22539
22540 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * docs/gst/gstreamer-sections.txt:
22543         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22544         * gst/gstvalue.h:
22545           give each value a _get_type, removes the DATA exports
22546
22547 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22548
22549         * gst/gst.c:
22550         * gst/gst.h:
22551           remove _gst_registry_auto_load, not used anymore
22552         * gst/gstbin.c: (gst_bin_get_type):
22553         * gst/gstbin.h:
22554         * gst/gstelement.c: (gst_element_get_type):
22555         * gst/gstelement.h:
22556         * gst/gstobject.c: (gst_object_get_type):
22557         * gst/gstobject.h:
22558         * gst/gstpad.c: (gst_pad_get_type):
22559         * gst/gstpad.h:
22560           make _get_type functions similar, fixes data export from library
22561
22562 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22563
22564         * configure.ac:
22565           correctly make conditionals
22566         * gst/elements/Makefile.am:
22567         * gst/elements/gstelements.c:
22568           fix typo causing fdsrc not to build
22569
22570 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22571
22572         * testsuite/Makefile.am:
22573         * testsuite/bytestream/.cvsignore:
22574         * testsuite/bytestream/Makefile.am:
22575         * testsuite/bytestream/filepadsink.c:
22576         * testsuite/bytestream/gstbstest.c:
22577         * testsuite/bytestream/test1.c:
22578         * testsuite/bytestream/testfile1:
22579         * testsuite/caps/normalisation.c:
22580         * testsuite/caps/random.c: (main):
22581         * testsuite/cleanup/.cvsignore:
22582         * testsuite/cleanup/Makefile.am:
22583         * testsuite/cleanup/cleanup1.c:
22584         * testsuite/cleanup/cleanup2.c:
22585         * testsuite/cleanup/cleanup3.c:
22586         * testsuite/cleanup/cleanup4.c:
22587         * testsuite/cleanup/cleanup5.c:
22588         * testsuite/controller/interpolator.c:
22589         * testsuite/debug/printf_extension.c: (main):
22590         * testsuite/elements/tee.c:
22591         * testsuite/negotiation/.cvsignore:
22592         * testsuite/negotiation/Makefile.am:
22593         * testsuite/negotiation/pad_link.c:
22594         * testsuite/pad/Makefile.am:
22595         * testsuite/pad/chainnopull.c:
22596         * testsuite/pad/getnopush.c:
22597         * testsuite/pad/link.c:
22598         * testsuite/refcounting/sched.c: (create_pipeline):
22599         * testsuite/registry/Makefile.am:
22600         * testsuite/registry/gst-print-formats.c:
22601         * testsuite/schedulers/.cvsignore:
22602         * testsuite/schedulers/142183-2.c:
22603         * testsuite/schedulers/142183.c:
22604         * testsuite/schedulers/143777-2.c:
22605         * testsuite/schedulers/143777.c:
22606         * testsuite/schedulers/147713.c:
22607         * testsuite/schedulers/147819.c:
22608         * testsuite/schedulers/147894-2.c:
22609         * testsuite/schedulers/147894.c:
22610         * testsuite/schedulers/Makefile.am:
22611         * testsuite/schedulers/group_link.c:
22612         * testsuite/schedulers/queue_link.c:
22613         * testsuite/schedulers/relink.c:
22614         * testsuite/schedulers/unlink.c:
22615         * testsuite/schedulers/unref.c:
22616         * testsuite/schedulers/useless_iteration.c:
22617         * testsuite/states/bin.c:
22618           clean out/remove some stuff from the testsuite directories
22619
22620 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * configure.ac:
22623           check for some headers
22624         * gst/elements/Makefile.am:
22625         * gst/elements/gstelements.c:
22626           don't compile fdsrc without sys/socket.h
22627         * gst/indexers/Makefile.am:
22628         * gst/indexers/gstindexers.c: (plugin_init):
22629           don't compile fileindex without mmap
22630
22631 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22632
22633         * configure.ac:
22634           reorganize
22635           clean up
22636           document more
22637           remove cruft
22638         * check/Makefile.am:
22639         * docs/gst/Makefile.am:
22640         * examples/helloworld/Makefile.am:
22641         * gst/Makefile.am:
22642         * gst/base/Makefile.am:
22643         * gst/check/Makefile.am:
22644         * gst/elements/Makefile.am:
22645         * gst/indexers/Makefile.am:
22646         * gst/parse/Makefile.am:
22647         * libs/gst/controller/Makefile.am:
22648         * libs/gst/dataprotocol/Makefile.am:
22649         * examples/helloworld/helloworld.c: (event_loop):
22650           compile fixes, though it's not being compiled currently
22651
22652 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22653
22654         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22655           Add some simple tests for the new taglist date API.
22656
22657 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22658
22659         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22660         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22661           Beautify 'last-message' output: print 'none' for buffer timestamps
22662           and durations if none is set; improve alignment with next messages.
22663
22664 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22665
22666         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22667         * gst/gstpluginfeature.h:
22668         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22669         * gst/gstregistry.h:
22670         * docs/gst/gstreamer-sections.txt:
22671           Add new API to check plugin feature version requirements.
22672
22673         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22674           Some basic tests for the above.         
22675
22676 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22677
22678         * gst/gststructure.c: (gst_structure_to_string):
22679           guard against NULL printf - happens when for example
22680           a message structure with GstClock gets serialized
22681
22682 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22683
22684         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22685           Fix presumable copy'n'pasto.
22686
22687 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22688
22689         * gst/elements/gstfakesrc.h:
22690         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22691         * gst/elements/gsttypefindelement.c:
22692           fix some signedness
22693         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22694           I wonder if this could actually write +2GB files before
22695
22696 2005-10-13  Andy Wingo  <wingo@pobox.com>
22697
22698         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22699         Fix Timmeke Waymans bug.
22700         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22701         string of the proper length to gst_caps_from_string. There's a
22702         potential for, before this fix, that this could cause someone
22703         connecting over the network to cause a segfault if the payload is
22704         not NUL-terminated.
22705
22706 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22707
22708         * docs/design/draft-push-pull.txt:
22709         * docs/design/part-overview.txt:
22710         * docs/random/TODO-pre-0.9:
22711         * docs/random/old/ChangeLog.gstreamer:
22712         * gst/base/gstpushsrc.c:
22713         * gst/gstclock.c:
22714           fixed typos
22715
22716 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22717
22718         * gst/glib-compat.c: (gst_flags_get_first_value):
22719         * gst/glib-compat.h:
22720         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22721         (gst_value_compare_double), (gst_value_serialize_flags):
22722           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22723           infinite loop
22724
22725 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22726
22727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22728         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22729           fix up debugging
22730         * tools/gst-launch.c: (event_loop):
22731           print out clock nicely
22732
22733 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22734
22735         * docs/gst/gstreamer-sections.txt:
22736         * gst/gsttaglist.h:
22737         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22738         (gst_tag_list_get_date_index):
22739           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22740           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22741
22742 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22743
22744         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22745         (gst_collectpads_chain):
22746         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22747         in CollectData.
22748
22749 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22750
22751         * docs/gst/gstreamer-sections.txt:
22752         * gst/gst.c:
22753         * gst/gsterror.h:
22754         * tools/gst-inspect.c: (main):
22755         * tools/gst-launch.c: (main):
22756         * tools/gst-run.c: (main):
22757         * tools/gst-xmlinspect.c: (main):
22758           fix GOption context leaks
22759           doc fixes
22760
22761 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22762
22763         * gst/gstbus.c:
22764           use HAVE_UNISTD_H
22765         * win32/common/config.h:
22766           update config
22767         * win32/vs6/grammar.dsp:
22768         * win32/vs6/libgstelements.dsp:
22769         * win32/vs6/libgstreamer.dsp:
22770           update vs6 files
22771
22772 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22773
22774         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22775         * gst/base/gstbasesrc.c: (gst_base_src_query):
22776           fix more guint64<->gdouble conversions
22777
22778 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22779
22780         * Makefile.am:
22781           add win32-update target
22782         * win32/common/gstconfig.h:
22783         * win32/common/gstenumtypes.c:
22784         * win32/common/gstenumtypes.h:
22785         * win32/common/gstversion.h:
22786           add files that visual studio can't generate
22787
22788 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22789
22790         * Makefile.am:
22791           add a win32-update target
22792         * configure.ac:
22793
22794 2005-10-12  Wim Taymans  <wim@fluendo.com>
22795
22796         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22797         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22798         * gst/gstelement.c: (gst_element_commit_state),
22799         (gst_element_set_state):
22800         Protect flags with proper lock.
22801         unref provided cached clock in dispose.
22802
22803 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22804
22805         * gst/gst.c:
22806         * gst/gstminiobject.h:
22807         * gst/gstpad.h:
22808         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22809           removed unused flags from miniobject
22810           doc fixes
22811
22812 2005-10-12  Wim Taymans  <wim@fluendo.com>
22813
22814         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22815         (gst_file_sink_event), (gst_file_sink_render):
22816         Flush before seeking.
22817
22818 2005-10-12  Andy Wingo  <wingo@pobox.com>
22819
22820         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22821         always been the case.
22822
22823 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22824
22825         * check/gst/gstbin.c: (GST_START_TEST):
22826         * docs/gst/gstreamer-sections.txt:
22827         * gst/base/gstbasesink.c: (gst_base_sink_init):
22828         * gst/base/gstbasesrc.c: (gst_base_src_init),
22829         (gst_base_src_get_range), (gst_base_src_check_get_range),
22830         (gst_base_src_start), (gst_base_src_stop):
22831         * gst/base/gstbasesrc.h:
22832         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22833         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22834         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22835         (bin_bus_handler):
22836         * gst/gstbin.h:
22837         * gst/gstbuffer.h:
22838         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22839         * gst/gstbus.h:
22840         * gst/gstelement.c: (gst_element_is_locked_state),
22841         (gst_element_set_locked_state), (gst_element_commit_state),
22842         (gst_element_set_state):
22843         * gst/gstelement.h:
22844         * gst/gstindex.c: (gst_index_init):
22845         * gst/gstindex.h:
22846         * gst/gstminiobject.h:
22847         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22848         (gst_object_set_parent):
22849         * gst/gstobject.h:
22850         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22851         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22852         * gst/gstpad.h:
22853         * gst/gstpadtemplate.h:
22854         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22855         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22856         * gst/gstpipeline.h:
22857         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22858         (gst_file_index_commit):
22859         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22860         * testsuite/pad/link.c: (gst_test_src_init),
22861         (gst_test_filter_init), (gst_test_sink_init):
22862         * testsuite/states/locked.c: (main):
22863           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22864           moved bitshift from macro to enum definition
22865
22866 2005-10-12  Wim Taymans  <wim@fluendo.com>
22867
22868         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22869         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22870         (gst_file_sink_render):
22871         Some more debugging info.
22872
22873 2005-10-12  Wim Taymans  <wim@fluendo.com>
22874
22875         * docs/design/part-states.txt:
22876         * tools/gst-launch.c: (main):
22877         Some doc updates.
22878         Revert non-intentional change.
22879
22880 2005-10-12  Wim Taymans  <wim@fluendo.com>
22881
22882         * check/gst/gstbin.c: (GST_START_TEST):
22883         * check/gst/gstelement.c: (GST_START_TEST):
22884         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22885         * check/gst/gstghostpad.c: (GST_START_TEST):
22886         * check/gst/gstpipeline.c: (GST_START_TEST):
22887         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22888         * check/states/sinks.c: (GST_START_TEST):
22889         * gst/elements/gsttypefindelement.c: (stop_typefinding):
22890         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22891         (gst_bin_remove_func), (gst_bin_get_state_func),
22892         (gst_bin_recalc_state), (gst_bin_change_state_func),
22893         (bin_bus_handler):
22894         * gst/gstelement.c: (gst_element_get_state_func),
22895         (gst_element_get_state), (gst_element_abort_state),
22896         (gst_element_commit_state), (gst_element_set_state),
22897         (gst_element_change_state), (gst_element_change_state_func):
22898         * gst/gstelement.h:
22899         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22900         (gst_pipeline_provide_clock_func):
22901         * gst/gstutils.c: (gst_element_link_pads_filtered):
22902         * tools/gst-launch.c: (main):
22903         * tools/gst-typefind.c: (main):
22904         Use GstClockTime in _get_state() instead of GTimeVal.
22905         Remove old code in gstutils.c
22906
22907 2005-10-12  Andy Wingo  <wingo@pobox.com>
22908
22909         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22910         removed.
22911
22912         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22913         there is no task. Shouldn't affect any code, as nothing in our
22914         plugins checks this return value.
22915         (gst_pad_stop_task): Also take the stream lock if the pad has no
22916         task. Docs updated.
22917
22918 2005-10-12  Wim Taymans  <wim@fluendo.com>
22919
22920         * gst/gstpad.c: (pre_activate), (post_activate),
22921         (gst_pad_activate_pull), (gst_pad_activate_push):
22922         Cleanup activation code. Reset old state if
22923         activation failed.
22924
22925 2005-10-12  Wim Taymans  <wim@fluendo.com>
22926
22927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22928         (gst_base_sink_change_state):
22929         No need to prerol after receiving EOS.
22930
22931         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22932         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22933         * gst/elements/gstidentity.c: (gst_identity_event):
22934         Print events more verbosely.
22935
22936 2005-10-12  Wim Taymans  <wim@fluendo.com>
22937
22938         * check/Makefile.am:
22939         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22940         * check/states/sinks2.c:
22941         Moved sinks2 testcode in sinks check.
22942
22943         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22944         (gst_bin_remove_func), (gst_bin_recalc_state),
22945         (gst_bin_change_state_func), (bin_bus_handler):
22946         Fix potential race condition when _get_state() iterated over an
22947         ASYNC element right before it posted a state completion.
22948
22949         * gst/gstclock.h:
22950         Do proper cast here.
22951
22952         * gst/gstevent.c: (gst_event_new_newsegment),
22953         (gst_event_parse_newsegment):
22954         A playback rate of 0.0 is not allowed.
22955
22956 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * win32/common/config.h:
22959         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22960         (_trewinddir), (_ttelldir), (_tseekdir):
22961         * win32/common/dirent.h:
22962         * win32/common/gtchar.h:
22963         * win32/common/libgstbase.def:
22964         * win32/common/libgstreamer.def:
22965         * win32/vs6/grammar.dsp:
22966         * win32/vs6/gst_inspect.dsp:
22967         * win32/vs6/gst_launch.dsp:
22968         * win32/vs6/gstreamer.dsw:
22969         * win32/vs6/libgstbase.dsp:
22970         * win32/vs6/libgstelements.dsp:
22971         * win32/vs6/libgstreamer.dsp:
22972           Visual Studio 6 project files, and a new common directory.
22973           Phear.
22974
22975 2005-10-11  Wim Taymans  <wim@fluendo.com>
22976
22977         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22978         (gst_base_sink_do_sync), (gst_base_sink_query),
22979         (gst_base_sink_change_state):
22980         * gst/base/gstbasesink.h:
22981         Correctly parse newsegment info.
22982
22983 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22984
22985         * gst/gst.c: (init_post):
22986           split plugin paths correctly
22987
22988 2005-10-11  Wim Taymans  <wim@fluendo.com>
22989
22990         * check/gst/gstevent.c: (GST_START_TEST):
22991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22992         (gst_base_sink_change_state):
22993         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22994         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22995         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22996         * gst/gstevent.c: (gst_event_new_newsegment),
22997         (gst_event_parse_newsegment):
22998         * gst/gstevent.h:
22999         Added extra flag to newsegment for future API freeze.
23000         Updated check and base elements.
23001
23002 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23003
23004         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23005         (gst_collectpads_add_pad), (gst_collectpads_pop),
23006         (gst_collectpads_event), (gst_collectpads_chain):
23007         * gst/base/gstcollectpads.h: Handle EOS correctly.
23008
23009 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23010
23011         * tools/gst-launch.c: (main):
23012           more null protecting
23013
23014 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23015
23016         * gst/gst-i18n-lib.h:
23017           check for ENABLE_NLS, not GETTEXT_PACKAGE
23018         * gst/gstregistry.c: (gst_registry_add_plugin),
23019         (gst_registry_scan_path_level),
23020         (_gst_registry_remove_cache_plugins):
23021           protect possibly NULL strings
23022         * gst/parse/types.h:
23023           config.h already included before
23024         * tools/gst-inspect.c: (main):
23025           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23026           check for ENABLE_NLS, not GETTEXT_PACKAGE
23027         * tools/gst-launch.c: (main):
23028           check for ENABLE_NLS, not GETTEXT_PACKAGE
23029
23030 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23031
23032         * configure.ac:
23033           if we don't have glib, fail before testing 2.8
23034         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23035           fix a leak, should fix plugins-base testsuite
23036
23037 2005-10-11  Andy Wingo  <wingo@pobox.com>
23038
23039         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23040         take the mode we're going to as an arg. Go head and set the mode
23041         and flushing flags now, so that if the activate function starts a
23042         thread all the flags will be in the right state.
23043         (post_activate): Renamed also. Just handle making sure streaming
23044         finishes for the deactivation case, and setting the deactivated
23045         mode.
23046         (gst_pad_set_active): Complain loudly if deactivation fails.
23047         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23048         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23049         remove the terrible hack.
23050
23051 2005-10-11  Wim Taymans  <wim@fluendo.com>
23052
23053         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23054         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23055         (gst_bin_recalc_state), (gst_bin_change_state_func),
23056         (gst_bin_dispose), (bin_bus_handler):
23057         * gst/gstbin.h:
23058         Prepare to make current EOS message queue more generic.
23059         Fix some typos.
23060
23061         * gst/gstevent.c: (gst_event_new_newsegment),
23062         (gst_event_parse_newsegment):
23063         * gst/gstevent.h:
23064         Rename base to stream_time.
23065
23066         * gst/gstmessage.h:
23067         Fix typo in docs.
23068
23069 2005-10-11  Wim Taymans  <wim@fluendo.com>
23070
23071         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23072         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23073         (gst_bin_change_state_func), (bin_bus_handler):
23074         * gst/gstbin.h:
23075         Work on proper clock selection.
23076
23077 2005-10-11  Edward Hervey  <edward@fluendo.com>
23078
23079         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23080         * libs/gst/controller/gstcontroller.h:
23081         Added GList* version of _remove_properties() in order to be able to wrap
23082         it in bindings.
23083
23084 2005-10-11  Wim Taymans  <wim@fluendo.com>
23085
23086         * docs/design/part-states.txt:
23087         Some more docs.
23088
23089         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23090         (gst_bin_change_state_func), (bin_bus_handler):
23091         Doc updates. Don't distribute the same clock over and over again.
23092
23093         * gst/gstclock.c:
23094         * gst/gstclock.h:
23095         Doc updates.
23096
23097         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23098         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23099         (gst_pad_send_event):
23100         * gst/gstpad.h:
23101         Make probe emission threadsafe again.
23102         Register quarks and move _get_name() from utils.
23103         Doc updates.
23104
23105         * gst/gstpipeline.c: (gst_pipeline_class_init),
23106         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23107         Only redistribute the clock of it changed.
23108
23109         * gst/gstsystemclock.h:
23110         Doc updates. 
23111
23112         * gst/gstutils.c:
23113         * gst/gstutils.h:
23114         Moved the _flow_get_name() to GstPad.
23115
23116 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23117
23118         * check/gst-libs/gdp.c: (GST_START_TEST):
23119         * check/gst/gstcaps.c: (GST_START_TEST):
23120         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23121         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23122         (gst_dp_packet_from_caps):
23123           fix more valgrind warnings before turning up the heat
23124
23125 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23126
23127         * gst/parse/grammar.y:
23128           some cleanup before the hacking
23129
23130 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * gst/base/gstbasesrc.c: (gst_base_src_query):
23133           use conversions
23134         * gst/gstutils.c: (gst_guint64_to_gdouble),
23135         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23136         * gst/gstutils.h:
23137           externalize, basesrc uses it
23138           obviously the implementation needs testing
23139
23140 2005-10-10  Wim Taymans  <wim@fluendo.com>
23141
23142         * tests/sched/Makefile.am:
23143         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23144         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23145
23146 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23147
23148         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23149           apparently converting from guint64 to double is not implemented
23150           on MSVC
23151
23152 2005-10-10  Wim Taymans  <wim@fluendo.com>
23153
23154         * check/Makefile.am:
23155         * check/generic/states.c: (GST_START_TEST):
23156         * check/gst/gstbin.c: (GST_START_TEST):
23157         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23158         * check/states/sinks.c: (GST_START_TEST):
23159         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23160         (main):
23161         Check fixes, use API as stated in design docs, remove hacks.
23162
23163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23164         (gst_base_sink_change_state):
23165         Catch stopping our task while we're shutting down.
23166
23167         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23168         (gst_bin_remove_func), (gst_bin_get_state_func),
23169         (gst_bin_recalc_state), (gst_bin_change_state_func),
23170         (bin_bus_handler):
23171         * gst/gstbin.h:
23172         * gst/gstelement.c: (gst_element_init),
23173         (gst_element_get_state_func), (gst_element_abort_state),
23174         (gst_element_commit_state), (gst_element_lost_state),
23175         (gst_element_set_state), (gst_element_change_state),
23176         (gst_element_change_state_func):
23177         * gst/gstelement.h:
23178         New state change algorithm (see #318116)
23179
23180         * gst/gstpipeline.c: (gst_pipeline_class_init),
23181         (gst_pipeline_init), (gst_pipeline_set_property),
23182         (gst_pipeline_get_property), (do_pipeline_seek),
23183         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23184         * gst/gstpipeline.h:
23185         Remove crude state change hacks.
23186
23187         * gst/gstutils.h:
23188         Remove crude hacks.
23189
23190         * tools/gst-launch.c: (main):
23191         Fixes for state change. Needs some more work to fully use the
23192         new stuff.
23193
23194 2005-10-10  Andy Wingo  <wingo@pobox.com>
23195
23196         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23197
23198         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23199         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23200         issue.
23201
23202 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23203
23204         * gst/gstiterator.c: (gst_iterator_new):
23205           Fix my previous commit: GTypes passed to gst_iterator_new()
23206           can be fundamental types.
23207
23208 2005-10-10  Wim Taymans  <wim@fluendo.com>
23209
23210         * gst/gstelement.c: (gst_element_iterate_pad_list),
23211         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23212         (gst_element_iterate_sink_pads):
23213         Use src/sink pads lists for the respective iterators instead
23214         of filtering.
23215
23216 2005-10-10  Andy Wingo  <wingo@pobox.com>
23217
23218         Merged in popt removal + GOption addition patch from Ronald, bug
23219         #169772.
23220
23221         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23222         GstElement macros around, remove popt-related symbols, add goption
23223         stuff.
23224
23225         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23226         
23227         * docs/gst/Makefile.am:
23228         * docs/libs/Makefile.am: No POPT_CFLAGS.
23229         
23230         * examples/manual/Makefile.am:
23231         * docs/manual/basics-init.xml: Doc updates with an example.
23232         
23233         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23234         (gst_init), (parse_one_option), (parse_goption_arg):
23235         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23236         bit of hand merging and debugging to get the GOption stuff working
23237         tho.
23238         
23239         * tests/Makefile.am:
23240         * tools/Makefile.am:
23241         * tools/gst-inspect.c: (main):
23242         * tools/gst-launch.c: (main):
23243         * tools/gst-run.c: (main):
23244         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23245
23246 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23247
23248         * gst/gstiterator.c: (gst_iterator_new):
23249           Add assertions to make sure passed GType is likely to really
23250           be a GType (as the compiler won't catch it if the size and
23251           GType arguments get mixed up, see #318447).
23252
23253 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23254
23255         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23256
23257         * gst/gstbin.c: (gst_bin_iterate_sorted):
23258           Pass GType and size arguments to gst_iterator_new() in the right
23259           order (maybe we should make _new() take the GType as first argument
23260           just like _new_list()?) (#318447).
23261           
23262
23263 2005-10-10  Wim Taymans  <wim@fluendo.com>
23264
23265         * gst/gstelement.c: (gst_element_finalize):
23266         And free the GStaticRecMutex too
23267
23268 2005-10-10  Andy Wingo  <wingo@pobox.com>
23269
23270         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23271         Allocate and free the mutex properly.
23272
23273         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23274         New macros.
23275         (GstElement): The state_lock is now recursive. Rebuild your
23276         plugins, suckers. Old macros adapted.
23277
23278         * docs/gst/gstreamer-sections.txt: Doc updates.
23279
23280         * gst/gstutils.h:
23281         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23282         (g_static_rec_cond_wait): Ported from state changes patch, while
23283         we wait on bug #317802 to be solved in a well-distributed GLib.
23284
23285         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23286         gst_element_change_state, variable name changes.
23287         (gst_element_change_state): Split out of gst_element_set_state in
23288         preparation for the state change merge. Doesn't pay attention to
23289         the 'transition' argument.
23290         (gst_element_set_state): Updates, hopefully purely cosmetic.
23291         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23292         state change patch.
23293         (gst_element_get_state_func): Renamed from get_state, cosmetic
23294         changes.
23295
23296 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23297
23298         * gst/elements/gstelements.c:
23299         * win32/GStreamer.vcproj:
23300         * win32/config.h:
23301         * win32/dirent.c: (_tseekdir):
23302         * win32/gst-inspect.vcproj:
23303         * win32/gst-launch.vcproj:
23304         * win32/gstconfig.h:
23305         * win32/gstelements.vcproj:
23306         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23307         * win32/gstreamer.def:
23308         * win32/msvc71.sln:
23309           updates for the win32 build (patch from Sebastien Moutte)
23310
23311 2005-10-10  Andy Wingo  <wingo@pobox.com>
23312
23313         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23314         gst_bin_get_state, cleaned up (but no logic changes).
23315         (bin_element_is_sink): Comment updates.
23316         (sink_iterator_filter): Remove needless cast.
23317         (gst_bin_iterate_sinks): Doc update.
23318         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23319         cleaned up (but no logic changes).
23320
23321         * check/states/sinks.c (test_src_sink): Cleanups from the state
23322         change patch.
23323         (test_livesrc_sink): Sync on the state.
23324
23325         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23326         the state change patch.
23327
23328         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23329         change patch.
23330
23331         * check/gst/gstbin.c: Merge in some style fixes and additional
23332         checks from Wim's state change patch.
23333
23334 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23335
23336         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23337         (gst_type_find_helper):
23338           Check whether we have the requested data already in our list of
23339           cached buffers before pulling a new buffer; also make the buffer
23340           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23341
23342 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23343
23344         * gst/gstcaps.c:
23345         * gst/gstevent.c:
23346           doc updates
23347         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23348           don't use long long, it's not portable.  Replacing with
23349           gint64 seems to work; let's hope no skeletons fall out of the closet.
23350
23351 2005-10-10  Andy Wingo  <wingo@pobox.com>
23352
23353         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23354
23355 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23356
23357         * docs/gst/gstreamer-sections.txt:
23358         * gst/gstevent.c:
23359         * gst/gstevent.h:
23360         * gst/gstinfo.c:
23361         * gst/gstinfo.h:
23362         * gst/gstmessage.c: (gst_message_parse_state_changed):
23363         * gst/gstpad.c:
23364         * gst/gstpad.h:
23365           more docs, fix compilation
23366
23367 2005-10-09  Philippe Khalaf <burger@speedy.org>
23368         * gst/gstmessage.c:
23369           Fixed a few forgotten variables on previous commit
23370
23371 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23372
23373         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23374           Fix evil typefind crasher: getrange() might return a short
23375           buffer at the end of a file, but gst_type_find_peek() must
23376           either return the full data as requested or NULL, but
23377           never a short buffer.
23378
23379 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * gst/gstmessage.c: (gst_message_new_state_changed),
23382         (gst_message_parse_state_changed):
23383         * gst/gstmessage.h:
23384           don't use "new", it's a C++ keyword
23385
23386 2005-10-08  Wim Taymans  <wim@fluendo.com>
23387
23388         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23389         * gst/gstelement.c: (gst_element_post_message):
23390         * gst/gstpipeline.c: (gst_pipeline_change_state):
23391         Small docs and debug updates.
23392
23393 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23394
23395         * docs/gst/gstreamer-sections.txt:
23396         * gst/gstelementfactory.c:
23397         * gst/gstevent.c:
23398         * gst/gsttaglist.c:
23399           more docs
23400
23401 2005-10-08  Wim Taymans  <wim@fluendo.com>
23402
23403         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23404         (gst_bin_dispose), (bin_bus_handler):
23405         Fix typos, add comments.
23406         Clear EOS list when going to PAUSED from any direction and do it
23407         in a threadsafe way.
23408         Get base time in a threadsafe way too.
23409         Fix confusing debug in the change_state function.
23410         Various other small cleanups.
23411         
23412         * gst/gstelement.c: (gst_element_post_message):
23413         Fix very verbose bus posting code.
23414
23415         * gst/gstpipeline.c: (gst_pipeline_class_init),
23416         (gst_pipeline_set_property), (gst_pipeline_get_property),
23417         (gst_pipeline_change_state):
23418         Small ARG_ -> PROP_ cleanup
23419
23420 2005-10-08  Wim Taymans  <wim@fluendo.com>
23421
23422         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23423         Do a less CPU demanding EOS check because we can.
23424
23425 2005-10-08  Wim Taymans  <wim@fluendo.com>
23426
23427         * libs/gst/dataprotocol/dataprotocol.c:
23428         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23429         (gst_dp_packet_from_event):
23430         * libs/gst/dataprotocol/dataprotocol.h:
23431         * libs/gst/dataprotocol/dp-private.h:
23432         It's about time we bump the version number.
23433         Since event types don't fit in the guint8 anymore describing
23434         the payload type, make payload type 16 bits wide.
23435
23436 2005-10-08  Wim Taymans  <wim@fluendo.com>
23437
23438         * docs/design/part-TODO.txt:
23439         * docs/design/part-clocks.txt:
23440         * docs/design/part-events.txt:
23441         * docs/design/part-gstbin.txt:
23442         * docs/design/part-gstelement.txt:
23443         * docs/design/part-gstpipeline.txt:
23444         * docs/design/part-live-source.txt:
23445         * docs/design/part-messages.txt:
23446         * docs/design/part-overview.txt:
23447         * docs/design/part-states.txt:
23448         Many doc updates.
23449
23450 2005-10-08  Wim Taymans  <wim@fluendo.com>
23451
23452         * gst/gstevent.c:
23453         * gst/gstevent.h:
23454         Fix event quark registration.
23455         Add some space between events so we can insert them in the
23456         right groups.
23457
23458 2005-10-08  Wim Taymans  <wim@fluendo.com>
23459
23460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23461         (gst_base_sink_handle_buffer):
23462         Better log message.
23463
23464         * gst/gstbus.h:
23465         * gst/gstelement.h:
23466         More docs.
23467
23468         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23469         (gst_queue_set_property), (gst_queue_get_property):
23470         * gst/gstqueue.h:
23471         Remove old unused properties.
23472
23473 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23474         * docs/gst/gstreamer-sections.txt:
23475         * gst/gstmessage.c:
23476         * gst/gstmessage.h:
23477         * gst/gstminiobject.c:
23478         * gst/gstminiobject.h:
23479         * gst/gstobject.h:
23480         * gst/gstpad.h:
23481         * gst/gstutils.h:
23482           lots of new docs and doc fixes
23483
23484 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23485
23486         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23487         * gst/gstplugin.h:
23488         * gst/gstregistry.c: (gst_registry_lookup_locked),
23489         (gst_registry_scan_path_level):
23490         * gst/gstregistryxml.c: (load_plugin):
23491           Only ever load one plugin for a given plugin basename.
23492           This ensures correct overriding of GST_PLUGIN_PATH over
23493           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23494           system installed plugins.
23495
23496 2005-10-08  Wim Taymans  <wim@fluendo.com>
23497
23498         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23499         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23500         Prepare for doing QOS.
23501
23502 2005-10-08  Wim Taymans  <wim@fluendo.com>
23503
23504         * check/gst/gstbin.c: (GST_START_TEST):
23505         * check/pipelines/cleanup.c: (GST_START_TEST):
23506         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23507         Allow new clock message too.
23508
23509 2005-10-08  Wim Taymans  <wim@fluendo.com>
23510
23511         * gst/gstmessage.c: (gst_message_new_error),
23512         (gst_message_new_warning), (gst_message_new_tag),
23513         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23514         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23515         (gst_message_new_segment_start), (gst_message_new_segment_done),
23516         (gst_message_parse_state_changed),
23517         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23518         (gst_message_parse_new_clock):
23519         * gst/gstmessage.h:
23520         Also carry the clock in question.
23521
23522 2005-10-08  Wim Taymans  <wim@fluendo.com>
23523
23524         * gst/gstmessage.c: (gst_message_new_custom),
23525         (gst_message_new_eos), (gst_message_new_error),
23526         (gst_message_new_warning), (gst_message_new_tag),
23527         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23528         (gst_message_new_new_clock), (gst_message_new_segment_start),
23529         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23530         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23531         * gst/gstmessage.h:
23532         Clean up.
23533         Added clock related messages.
23534
23535         * gst/gstpipeline.c: (gst_pipeline_change_state):
23536         Post message when the clock changed.
23537
23538         * tools/gst-launch.c: (event_loop):
23539         Print new clock.
23540
23541 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23542
23543         * tools/gst-inspect.c: (print_element_properties_info):
23544           Can't pass NULL strings to g_print() on windows.
23545
23546 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23547
23548         * docs/Makefile.am:
23549         * docs/gst/Makefile.am:
23550         * docs/gst/gstreamer-docs.sgml:
23551         * docs/gst/running.xml:
23552         * docs/version.entities.in:
23553           add a chapter on running GStreamer.
23554           document GST_DEBUG and GST_PLUGIN* env vars
23555
23556 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23557
23558         * Makefile.am:
23559           remove include dir
23560         * configure.ac:
23561           remove PLUGINS_BUILDDIR stuff
23562         * gst/gst.c: (init_post):
23563           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23564         * idiottest.mak:
23565           remove, it was condescending and not needed
23566
23567 2005-10-08  Wim Taymans  <wim@fluendo.com>
23568
23569         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23570         (gst_base_sink_handle_object), (gst_base_sink_event),
23571         (gst_base_sink_wait), (gst_base_sink_handle_event),
23572         (gst_base_sink_change_state):
23573         * gst/base/gstbasesink.h:
23574         Repost EOS message while going to PLAYING if still EOS.
23575         Make sure that when receiving a FLUSH_START we don't attempt
23576         to sync on the clock anymore.
23577
23578 2005-10-08  Wim Taymans  <wim@fluendo.com>
23579
23580         * tools/gst-launch.c: (event_loop):
23581         Better message printout.
23582
23583 2005-10-08  Wim Taymans  <wim@fluendo.com>
23584
23585         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23586         (gst_bin_child_proxy_get_children_count):
23587         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23588         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23589         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23590         (gst_child_proxy_set_valist):
23591         * gst/parse/grammar.y:
23592         Make ChildProxy threadsafe and fix mem leaks.
23593
23594 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23595
23596         * gst/gst.c: (init_post):
23597           debug the GST_PLUGIN_ env vars
23598
23599 2005-10-08  Wim Taymans  <wim@fluendo.com>
23600
23601         * check/gst/gstbin.c: (GST_START_TEST):
23602         * check/gst/gstmessage.c: (GST_START_TEST):
23603         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23604         * gst/gstelement.c: (gst_element_commit_state),
23605         (gst_element_lost_state):
23606         * gst/gstmessage.c: (gst_message_new_state_changed),
23607         (gst_message_parse_state_changed):
23608         * gst/gstmessage.h:
23609         * tools/gst-launch.c: (event_loop):
23610         Added extra field to STATE_CHANGE message with the pending
23611         state, which will be different from the new state soon.
23612
23613 2005-10-08  Wim Taymans  <wim@fluendo.com>
23614
23615         * gst/gstbus.c: (gst_bus_pop):
23616         * gst/gstclock.c:
23617         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23618         Small cleanups and doc updates.
23619
23620 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23621
23622         * gst/gst.c: (init_pre):
23623         * gst/gstbin.c: (gst_bin_add_func):
23624           log distributing clocks and base time
23625         * gst/gstregistry.c: (gst_registry_add_plugin),
23626         (gst_registry_scan_path_level), (gst_registry_scan_path):
23627           clean up the debugging output a little
23628         * gst/gstutils.c: (gst_element_state_get_name):
23629           warn about a memleak (I've actually seen this be used, though
23630           it was probably a bug)
23631
23632 2005-10-07  Wim Taymans  <wim@fluendo.com>
23633
23634         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23635         (gst_base_src_init), (gst_base_src_default_newsegment),
23636         (gst_base_src_newsegment), (gst_base_src_do_seek),
23637         (gst_base_src_loop), (gst_base_src_start):
23638         * gst/base/gstbasesrc.h:
23639         Make the newsegment event customizable by subclasses.
23640
23641 2005-10-07  Wim Taymans  <wim@fluendo.com>
23642
23643         * gst/gstevent.c: (gst_event_new_buffersize),
23644         (gst_event_parse_buffersize):
23645         * gst/gstevent.h:
23646         New event for future idea.
23647
23648 2005-10-07  Andy Wingo  <wingo@pobox.com>
23649
23650         * gst/gstelement.c (gst_element_post_message): Doc update.
23651
23652         * docs/gst/gstreamer-sections.txt: Update.
23653
23654         * gst/gstmessage.c (gst_message_new_application): Made into a
23655         function like honest API calls.
23656         (gst_message_new_element): New message type.
23657
23658         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23659
23660         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23661         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23662         times.
23663
23664         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23665         NO_PREROLL from gst_element_change_state to fall through.
23666
23667 2005-10-07  Wim Taymans  <wim@fluendo.com>
23668
23669         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23670         (gst_ghost_pad_do_activate_push):
23671         Activating a ghostpad with no internal pad in push mode
23672         is ok.
23673
23674 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23675
23676         * gst/gstobject.h:
23677           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23678           Fixes compilation on Windows.
23679
23680 2005-10-07  Michael Smith <msmith@fluendo.com>
23681
23682         * tools/gst-inspect.c:
23683           Print out feature and plugin count at the end when printing out
23684           all features.
23685
23686 2005-10-04  Michael Smith <msmith@fluendo.com>
23687
23688         * gst/gsterror.c: (_gst_stream_errors_init):
23689           Add another error string used in a few existing plugins.
23690
23691         * gst/gstplugin.c:
23692         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23693         * tools/gst-inspect.c: (print_element_info):
23694           When a feature disappears from a plugin (and the feature exists in
23695           the cached registry file), things went horribly wrong. This isn't a
23696           complete fix, we should actually be removing the 'missing' features
23697           from the features list when we load the actual plugin. That's not
23698           yet implemented. 
23699
23700 2005-10-04  Johan Dahlin  <johan@gnome.org>
23701
23702         * check/gst/gstiterator.c: (GST_START_TEST):
23703         * gst/gstbin.c: (gst_bin_iterate_elements),
23704         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23705         * gst/gstelement.c: (gst_element_iterate_pads):
23706         * gst/gstformat.c: (gst_format_iterate_definitions):
23707         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23708         (gst_iterator_new_list), (gst_iterator_filter):
23709         * gst/gstiterator.h:
23710         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23711         Add a GType to GstIterator, update callsites and tests.
23712
23713 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23714
23715         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23716           give events a chance to be handled by event probes when the pad
23717           is not linked
23718
23719 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23720
23721         * gst/gstevent.c: (gst_event_type_get_name),
23722         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23723         * gst/gstevent.h:
23724           add string representations for event types
23725
23726 2005-10-06  Wim Taymans  <wim@fluendo.com>
23727
23728         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23729         Don't use NULL pointers.
23730
23731 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23732
23733         * gst/gst_private.h:
23734         * gst/gstbus.c:
23735         * gst/gstelement.c:
23736         * gst/gstinfo.c:
23737         * gst/gstpluginfeature.c:
23738           widen the debug category in output to fit the biggest one we have
23739           add a bus category and use it
23740           play with the colors
23741           fix up some categories
23742
23743 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23744
23745         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23746           add push activation of sink ghost pads.
23747           Andye, please verify
23748
23749 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23750
23751         * gst/gstutils.c: (gst_element_link_pads):
23752           fix a bug in the case where neither element has a pad
23753         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23754           add a test for that case
23755
23756 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23757
23758         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23759           emit have-data before checking for peers.  This allows
23760           for probe handlers to connect elements.  This helps autopluggers.
23761         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23762         (gst_pad_suite):
23763           add six checks, linked/unlinked with no/true/false probe
23764
23765 2005-10-04  Wim Taymans  <wim@fluendo.com>
23766
23767         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23768         (gst_fake_sink_event), (gst_fake_sink_preroll),
23769         (gst_fake_sink_render), (gst_fake_sink_change_state):
23770         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23771         (gst_fake_src_get_property), (gst_fake_src_create),
23772         (gst_fake_src_stop):
23773         * gst/elements/gstidentity.c: (gst_identity_stop):
23774         Protect last_message with lock.
23775
23776 2005-10-04  Edward Hervey  <edward@fluendo.com>
23777
23778         * gst/gstformat.h: 
23779         Added precision in the comments for GST_FORMAT_DEFAULT
23780
23781 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23782
23783         * tools/gst-launch.c: (main):
23784           Don't try to run erroneous pipelines.
23785
23786 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23787
23788         * gst/gstbus.c: We don't need this header.
23789
23790 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23791
23792         * configure.ac:
23793           back to development
23794
23795 === release 0.9.3 ===
23796
23797 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23798
23799         * README:
23800         * configure.ac:
23801           Releasing 0.9.3, "Unregistered"
23802
23803 2005-10-03  Andy Wingo  <wingo@pobox.com>
23804
23805         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23806         whereby calling a pad's activatepush() function can start a thread
23807         that starts to push or pull before the pad gets the FLUSHING flag
23808         unset. Hack around it by holding the stream lock until the flag is
23809         set. Need to replace this with a proper solution. Together with
23810         the ghost pad fixes, this fixes mp3 playing/tagreading.
23811
23812         * docs/design/part-gstghostpad.txt: Add a note about activation of
23813         proxy pads outside of ghost pads.
23814
23815         * gst/gstghostpad.c: Implement the ghost pad activation design.
23816
23817 2005-10-02  Andy Wingo  <wingo@pobox.com>
23818
23819         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23820         It is volatile, after all.
23821
23822         * docs/design/part-gstghostpad.txt: Flesh out activation with
23823         ghost pads.
23824
23825         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23826         GST_DEBUG_FUNCPTR.
23827
23828 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23829
23830         * configure.ac:
23831           Fix (unused) AM_CONDITIONAL tests.
23832
23833 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23834
23835         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23836
23837         * gst/gstutils.c: (gst_pad_query_convert):
23838           Add assertion that makes sure src_val is >=0, just like
23839           gst_query_new_convert() has. (#315895)
23840
23841 2005-09-30  Edward Hervey  <edward@fluendo.com>
23842
23843         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23844         Let's not iterate pads we're not interested in, it avoids getting 
23845         sky-high refcounts on sinkpad.
23846
23847 2005-09-30  Wim Taymans  <wim@fluendo.com>
23848
23849         * gst/gstelement.c: (gst_element_set_state),
23850         (gst_element_change_state):
23851         Small tweak, element in ASYNC remains ASYNC.
23852
23853 2005-09-30  Wim Taymans  <wim@fluendo.com>
23854
23855         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23856         Only error is an error.
23857
23858         * gst/gstbin.c: (gst_bin_change_state):
23859         Better debugging.
23860
23861         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23862         Also call pad_block in pad alloc.
23863
23864         * gst/gstutils.c: (gst_flow_get_name):
23865         Better debugging.
23866
23867 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23868
23869         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23870         (gst_base_src_get_range):
23871           Fix documentation typos. Add some more debug info.
23872
23873 2005-09-29  David Schleef  <ds@schleef.org>
23874
23875         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23876           more end-user friendly.
23877         * tools/gst-inspect.c: (main): Check if command-line argument is
23878           a file and attempt to load that file as a plugin.
23879
23880 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23881
23882         * check/gst/gstbin.c:
23883         * check/states/sinks.c:
23884           fix tests for the new warning
23885         * check/gst/gstpipeline.c:
23886           add a test for pipeline and bus interaction
23887         * gst/gstelement.c:
23888           elements should be NULL if they get disposed; add a warning if not
23889
23890 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23891
23892         * gst/gstobject.c:
23893           for 2.6 refcounting, make debug log more correct by printing
23894           the actual refcounts at the time of swap (Wim)
23895
23896 2005-09-29  Andy Wingo  <wingo@pobox.com>
23897
23898         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23899         removes signal watches previously added via
23900         gst_bus_add_signal_watch.
23901         (gst_bus_add_signal_watch): Don't return the source id, just store
23902         it on the bus if there wasn't an id already.
23903
23904         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23905         add_signal_watch and remove_signal_watch.
23906
23907 2005-09-29  Edward Hervey  <edward@fluendo.com>
23908
23909         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
23910         Better if we actually iterate the list :)
23911
23912 2005-09-29  Wim Taymans  <wim@fluendo.com>
23913
23914         * check/gst/gstbin.c: (GST_START_TEST):
23915         Change for new bus API.
23916
23917         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23918         (send_messages), (GST_START_TEST), (gstbus_suite):
23919         Change for new bus signal API.
23920
23921         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23922         (gst_bus_source_prepare), (gst_bus_source_check),
23923         (gst_bus_create_watch), (gst_bus_add_watch_full),
23924         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23925         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23926         * gst/gstbus.h:
23927         Remove support for multiple GSources operating on different
23928         message types as it is too complex and unneeded when using
23929         signals.
23930         Added support for receiving signals from the bus.
23931
23932 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23933
23934         * docs/libs/tmpl/gstdataprotocol.sgml:
23935         * docs/manual/advanced-dataaccess.xml:
23936         * gst/elements/gstcapsfilter.c:
23937         * gst/gstutils.c:
23938           rename filter-caps to caps property
23939
23940 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23941
23942         * gst/gstvalue.c: (gst_value_deserialize_fraction):
23943           More robust fraction string parsing.
23944
23945         * docs/pwg/appendix-porting.xml:
23946           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23947
23948 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23949
23950         * gst/gstcaps.c: (gst_caps_do_simplify):
23951           Thou shalt not free a structure and then continue using it
23952           in the next loop iteration.
23953
23954         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23955         (gst_caps_suite):
23956           Add test case for caps simplification.
23957
23958 2005-09-29  Wim Taymans  <wim@fluendo.com>
23959
23960         * check/gst/gstbin.c: (GST_START_TEST):
23961         Oops.
23962
23963 2005-09-29  Wim Taymans  <wim@fluendo.com>
23964
23965         * check/gst/gstbin.c: (GST_START_TEST):
23966         Add bus to bin.
23967
23968         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23969         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23970         (find_element), (gst_bin_sort_iterator_next),
23971         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23972         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23973         (gst_bin_change_state), (gst_bin_dispose):
23974         A bin does not have a bus, it gets the bus from the parent.
23975
23976         * gst/gstelement.c: (gst_element_requires_clock),
23977         (gst_element_provides_clock), (gst_element_is_indexable),
23978         (gst_element_is_locked_state), (gst_element_change_state),
23979         (gst_element_set_bus_func):
23980         Small cleanups.
23981
23982         * gst/gstpipeline.c: (gst_pipeline_class_init),
23983         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23984         The pipeline provides a bus.
23985
23986 2005-09-28  Johan Dahlin  <johan@gnome.org>
23987
23988         * gst/gstmessage.c (gst_message_parse_state_changed): Use
23989         gst_structure_get_enum instead of gst_structure_get_int
23990
23991         * gst/gststructure.c (gst_structure_get_enum): Impl.
23992
23993         * gst/gststructure.h (gst_structure_get_enum): Add
23994
23995         * docs/gst/gstreamer-sections.txt: Ditto
23996
23997         * gst/gstmessage.c (gst_message_new_state_changed): Use
23998         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23999         which does introspection.
24000         Reviewed by Christian Schaller
24001
24002 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24003
24004         * gst/gstinfo.c: (gst_debug_log_default):
24005           don't do dummy g_strdup()s
24006         * libs/gst/controller/gstcontroller.c:
24007         (on_object_controlled_property_changed),
24008         (gst_controlled_property_new), (gst_controller_new_valist),
24009         (gst_controller_new_list),
24010         (gst_controller_remove_properties_valist), (gst_controller_set),
24011         (gst_controller_get), (gst_controller_sync_values),
24012         (gst_controller_get_value_array), (_gst_controller_class_init),
24013         (gst_controller_get_type):
24014         * libs/gst/controller/gstcontroller.h:
24015         * libs/gst/controller/gstinterpolation.c:
24016         (gst_controlled_property_find_timed_value_node):
24017           convert // to /**/ comments
24018
24019 2005-09-28  Wim Taymans  <wim@fluendo.com>
24020
24021         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24022         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24023         (gst_bus_sync_signal_handler):
24024         * gst/gstbus.h:
24025         Added async-message and sync-message signals to the bus.
24026         Added helper BusFunc to emit signals for all posted messages.
24027
24028         * gst/gstmessage.c: (gst_message_type_get_name),
24029         (gst_message_type_to_quark), (gst_message_get_type):
24030         * gst/gstmessage.h:
24031         Register quarks for message names.
24032
24033 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24034
24035         * docs/libs/gstreamer-libs-sections.txt:
24036         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24037         (gst_controller_new_list):
24038         * libs/gst/controller/gstcontroller.h:
24039           added another constructor for language bindings
24040
24041 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24042
24043         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24044           add another check
24045         * gst/gstbus.c:
24046           add some doc
24047         * gst/gstinfo.c: (_gst_debug_init):
24048           slightly more readable color for refcount debugging
24049
24050 2005-09-28  Wim Taymans  <wim@fluendo.com>
24051
24052         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24053         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24054         (find_element), (gst_bin_sort_iterator_next),
24055         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24056         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24057         (gst_bin_change_state), (gst_bin_dispose):
24058         Small doc fixes. get_clock -> provide_clock.
24059
24060         * gst/gstelement.c: (gst_element_class_init),
24061         (gst_element_provides_clock), (gst_element_provide_clock),
24062         (gst_element_get_clock), (gst_element_commit_state),
24063         (gst_element_lost_state):
24064         * gst/gstelement.h:
24065         Make get/set_clock() symetric. Add provide_clock vmethod since
24066         that is actually what this function does.
24067
24068         * gst/gstpipeline.c: (gst_pipeline_class_init),
24069         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24070         (gst_pipeline_get_clock):
24071         get_clock -> provide_clock.
24072
24073 2005-09-28  Andy Wingo  <wingo@pobox.com>
24074
24075         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24076         lieu of real docs...
24077
24078         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24079
24080 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24081
24082         * gst/elements/gstcapsfilter.c:
24083         * gst/elements/gstfakesink.c:
24084         * gst/elements/gstfakesrc.c:
24085         * gst/elements/gstfdsink.c:
24086         * gst/elements/gstfdsrc.c:
24087         * gst/elements/gstfilesink.c:
24088         * gst/elements/gstfilesrc.c:
24089         * gst/elements/gstidentity.c:
24090         * gst/elements/gsttee.c:
24091         * gst/elements/gsttypefindelement.c:
24092           Make element details static.
24093
24094 2005-09-28  Wim Taymans  <wim@fluendo.com>
24095
24096         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24097         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24098         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24099         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24100         (gst_bin_change_state), (gst_bin_dispose):
24101         Some documentation updates.
24102         Clean up dispose handlers.
24103
24104         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24105         * gst/gstpad.c: (gst_pad_dispose):
24106         Clean up dispose handler.
24107
24108         * gst/gstpipeline.c: (gst_pipeline_change_state):
24109         Removed spurious UNLOCK.
24110
24111 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24112
24113         * docs/gst/gstreamer-sections.txt:
24114         * gst/base/gstbasesrc.h:
24115         * gst/gstelement.h:
24116         * gst/gstevent.h:
24117         * gst/gstobject.h:
24118         * gst/gstpad.h:
24119         * gst/gstpipeline.c:
24120         * gst/gstpipeline.h:
24121         * gst/gstutils.h:
24122         * gst/gstxml.h:
24123           added two new functions to the docs
24124                 documents all undocumented GstXXXFlags
24125                 completed some incomplete docs 
24126
24127 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24128
24129         * gst/gstbin.c: (gst_bin_dispose):
24130         * gst/gstelement.c: (gst_element_dispose):
24131           remove now useless and leaky resurrection code in dispose
24132         * gst/base/gstbasesrc.c: (gst_base_src_init):
24133         * gst/gstelementfactory.c: (gst_element_factory_create):
24134         * gst/gstobject.c: (gst_object_set_parent):
24135           add some debugging
24136
24137 2005-09-27  Wim Taymans  <wim@fluendo.com>
24138
24139         * docs/design/part-TODO.txt:
24140         Update TODO.
24141
24142         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24143         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24144         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24145         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24146         (gst_bin_change_state):
24147         * gst/gstelement.h:
24148         Remove element variable, we keep element info in the iterator now.
24149
24150 2005-09-27  Andy Wingo  <wingo@pobox.com>
24151
24152         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24153         values.
24154
24155 2005-09-27  Wim Taymans  <wim@fluendo.com>
24156
24157         * check/gst/gstbin.c: (GST_START_TEST):
24158         Enable check that works now.
24159
24160         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24161         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24162         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24163         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24164         (gst_bin_change_state):
24165         * gst/gstbin.h:
24166         Redid the state change algorithm using a topological sort algo.
24167         Handles all cases correctly.
24168         Exposed iterator for state change order.
24169
24170         * gst/gstelement.h:
24171         Temp storage for state changes. Need to get rid of this soon.
24172
24173 2005-09-27  Wim Taymans  <wim@fluendo.com>
24174
24175         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24176         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24177         (link_fold_func), (gst_pad_proxy_setcaps):
24178         Leak fixes, the fold functions need to unref the passed object and
24179         _get_parent_*() returns ref to parent.
24180
24181 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24182
24183         * check/gst/gstbuffer.c: (test_make_writable):
24184           Plug leak in test case and fix 'make check-valgrind'
24185
24186 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24187
24188         * gst/gstbuffer.c: (gst_subbuffer_init):
24189           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24190           works correctly in all circumstances (we could have just copied
24191           the parent buffer's readonly flag, but conceptually it seems
24192           cleaner to mark all subbuffers as read-only). (based on patch
24193           by Alessandro Decina, #314710).
24194         
24195         * check/gst/gstbuffer.c: (create_read_only_buffer),
24196         (test_make_writable), (test_subbuffer_make_writable),
24197         (gst_test_suite):
24198           Add some tests for gst_buffer_make_writable().
24199
24200 2005-09-27  Wim Taymans  <wim@fluendo.com>
24201
24202         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24203         use gst_object_has_ancestor().
24204
24205         * gst/gstobject.c: (gst_object_has_ancestor):
24206         * gst/gstobject.h:
24207         gst_object_has_ancestor() copied from gstbin.c as it is a
24208         useful function.
24209
24210         * tests/instantiate/create.c: (create_all_elements):
24211         * tests/lat.c: (handoff_src), (handoff_sink):
24212         * tests/sched/runxml.c: (main):
24213         * tests/seeking/seeking1.c: (main):
24214         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24215         (main):
24216         Fix compilation of some tests.
24217
24218 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24219
24220         * gst/gsterror.h:
24221           Remove comment. GST_TYPE_G_ERROR is here to stay,
24222           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24223           (#316961, #300610).
24224
24225 2005-09-26  Wim Taymans  <wim@fluendo.com>
24226
24227         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24228         Added check that shows error in state change order.
24229
24230 2005-09-26  Wim Taymans  <wim@fluendo.com>
24231
24232         * gst/gstbin.c: (gst_bin_change_state):
24233         Make state change function use 3 queues again, we were
24234         adding elements in the wrong order.
24235
24236         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24237         Some debug info,
24238
24239         * gst/gstpad.c: (gst_pad_dispose):
24240         Added some debug info first.
24241
24242 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24243
24244         * docs/design/draft-push-pull.txt:
24245         * docs/design/part-events.txt:
24246         * docs/design/part-overview.txt:
24247         * docs/design/part-scheduling.txt:
24248           Replace all _pull_region() with _pull_range()
24249           
24250 2005-09-26  Andy Wingo  <wingo@pobox.com>
24251
24252         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24253
24254         * check/gst-libs/controller.c: Update for controller api change.
24255
24256         * configure.ac: 
24257         * tests/Makefile.am:
24258         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24259         over by GLib bug 118439.
24260         
24261         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24262         routines to a function.
24263
24264         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24265
24266         * libs/gst/controller/gsthelper.c:
24267         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24268         (gst_object_sync_values): Renamed from sink_values. Ugh.
24269
24270         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24271
24272         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24273         Renamed from controller_key, as it is exported.
24274
24275         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24276
24277 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24278
24279         * gst/Makefile.am:
24280         * gst/gst.h:
24281         * gst/gstpad.h:
24282         * gst/gstpadtemplate.h:
24283         * gst/gstquery.c:
24284         * gst/gstquery.h:
24285         * gst/gstqueryutils.c:
24286         * gst/gstqueryutils.h:
24287           remove queryutils headers after moving the two used functions
24288           to gstquery.  also fixes build problem for gstsiddec
24289
24290 2005-09-26  Michael Smith <msmith@fluendo.com>
24291
24292         * tools/gst-launch.1.in:
24293         Correct documentation in manpage of debug syntax
24294
24295 2005-09-26  Wim Taymans  <wim@fluendo.com>
24296
24297         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24298         (gst_base_src_is_seekable), (gst_base_src_change_state):
24299         Some more debugging info.
24300
24301 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24302
24303         * docs/gst/gstreamer-sections.txt:
24304         * gst/base/gstbasetransform.h:
24305         * gst/gstindex.h:
24306           added more docs
24307
24308 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24309
24310         * docs/gst/.cvsignore:
24311         * docs/gst/tmpl/.cvsignore:
24312         * docs/gst/tmpl/gstpipeline.sgml:
24313         * docs/gst/tmpl/gstplugin.sgml:
24314         * gst/gstpipeline.c:
24315         * gst/gstplugin.c:
24316         * gst/gstplugin.h:
24317           inlined the last two docs files
24318           removed the tmpl directory from cvs (no more conflicts here!)
24319
24320 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24321
24322         * docs/gst/gstreamer-sections.txt:
24323         * docs/gst/tmpl/.cvsignore:
24324         * docs/gst/tmpl/gstpad.sgml:
24325         * docs/gst/tmpl/gstpadtemplate.sgml:
24326         * gst/Makefile.am:
24327         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24328         (gst_pad_finalize), (gst_pad_set_pad_template):
24329         * gst/gstpad.h:
24330         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24331         (gst_pad_template_class_init), (gst_pad_template_init),
24332         (gst_pad_template_dispose), (name_is_valid),
24333         (gst_static_pad_template_get), (gst_pad_template_new),
24334         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24335         (gst_pad_template_pad_created):
24336         * gst/gstpadtemplate.h:
24337           inlined two more docs
24338           factored gstpadtemplate out of gstpad
24339
24340 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24341
24342         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24343         (test_children_state_change_order_semi_sink):
24344           Fix test case: we can't rely on a fixed state change order when
24345           going from READY => PAUSED because the sink might commit its 
24346           new state first when the first buffer created by the source 
24347           reaches the sink before the source has finished its change state.
24348           (Test case still fails at times, see #316856, comment 5 onwards)
24349
24350 2005-09-24  Wim Taymans  <wim@fluendo.com>
24351
24352         * docs/design/part-events.txt:
24353         * docs/design/part-gstbus.txt:
24354         * docs/design/part-gstpipeline.txt:
24355         * docs/design/part-messages.txt:
24356         * docs/design/part-overview.txt:
24357         * docs/design/part-segments.txt:
24358         * gst/gstbin.c:
24359         * gst/gstbuffer.c:
24360         * gst/gstclock.c:
24361         * gst/gstelement.c:
24362         * gst/gstevent.c:
24363         * gst/gstfilter.c:
24364         * gst/gstiterator.c:
24365         Various documentation updates.
24366
24367 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24368
24369         * gst/gstclock.h:
24370           Well, that's embarassing.  Luckily we weren't using
24371           GST_CLOCK_DIFF anywhere.
24372
24373 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24374
24375         * common/gtk-doc.mak:
24376           don't fail on building XML, FC4 slave shows a bunch of doc
24377           missing bits that I don't get
24378         * gst/gstpad.c:
24379         * gst/gstpipeline.c:
24380         * gst/gststructure.c:
24381           some doc updates
24382
24383 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24384
24385         * docs/design/part-gstbin.txt:
24386         * docs/design/part-gstbus.txt:
24387         * gst/gstbus.c:
24388           Add blurb about how the bus goes into flushing mode and
24389           drops all messages when its bin goes from READY into NULL 
24390           state.
24391
24392 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24393
24394         * docs/gst/gstreamer-sections.txt:
24395         * gst/gststructure.c: (gst_structure_get_clock_time):
24396         * gst/gststructure.h:
24397           add a method to get a GstClockTime out of a structure
24398
24399 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24400
24401         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24402         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24403           Added test to check state change order in bins (can still be made
24404           to fail here under heavy disk load; bails out with 'Push on pad
24405           fakesink:sink0, but it was not activated in push mode').
24406
24407         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24408           Fix state change order when there is only a semi sink (#316856)
24409
24410         * gst/gstbus.c: (gst_bus_class_init):
24411           Use _class_peek_parent(), not _class_ref(); fix docs to say
24412           'default main context' instead of 'mainloop' where that is
24413           what's meant.
24414
24415         * gst/gstelement.c: (gst_element_commit_state),
24416         (gst_element_set_state):
24417           Fix typos in debug messages
24418
24419 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24420
24421         * docs/README:
24422         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24423         * gst/gstpluginfeature.c:
24424         * gst/gstutils.c:
24425           various doc updates
24426         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24427           change an assert into an error until it gets fixed properly
24428
24429 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24430
24431         * docs/gst/gstreamer-sections.txt:
24432         * docs/gst/tmpl/.cvsignore:
24433         * docs/gst/tmpl/gstelement.sgml:
24434         * docs/gst/tmpl/gstinfo.sgml:
24435         * docs/gst/tmpl/gstobject.sgml:
24436         * gst/gstelement.c:
24437         * gst/gstelement.h:
24438         * gst/gstinfo.c:
24439         * gst/gstinfo.h:
24440         * gst/gstobject.c: (gst_object_class_init):
24441         * gst/gstobject.h:
24442           inlined 3 more biiiig doc files and added some missing docs on the fly
24443
24444 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24445
24446         * check/gst/.cvsignore:
24447         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24448         * gst/gstregistryxml.c: (load_plugin),
24449         (gst_registry_xml_save_plugin):
24450           put back source in registry.  add checks for find_plugin.
24451         * testsuite/states/bin.c: (assert_state), (empty_bin),
24452         (test_adding_one_element), (main):
24453         * testsuite/states/locked.c: (main):
24454           some compile/run fixes
24455
24456 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24457
24458         * check/gst/gstvalue.c: (GST_START_TEST):
24459           fix leaks in the test itself
24460
24461 2005-09-22  Wim Taymans  <wim@fluendo.com>
24462
24463         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24464         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24465         (gst_base_sink_query):
24466         Prepare for more accurate position reporting and query
24467         handling.
24468
24469         * gst/gstelement.c: (gst_element_send_event),
24470         (gst_element_set_state):
24471         Add some comment.
24472
24473 2005-09-22  Wim Taymans  <wim@fluendo.com>
24474
24475         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24476         (gst_query_parse_segment):
24477         * gst/gstquery.h:
24478         More documentation.
24479         Add segment query for future use.
24480
24481 2005-09-22  Wim Taymans  <wim@fluendo.com>
24482
24483         * gst/gstbin.c: (gst_bin_add_func):
24484         Some more debug info.
24485
24486         * gst/gstelement.c: (gst_element_send_event):
24487         Simplify send_event
24488
24489         * gst/gstelement.h:
24490         Don't know how flags got broken.
24491
24492         * gst/gstquery.h:
24493         Added new query.
24494
24495 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24496
24497         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24498           Add simplistic test suite for GST_TYPE_DATE serialisation and
24499           deserialisation.
24500
24501 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24502
24503         * docs/gst/gstreamer-sections.txt:
24504         * gst/gststructure.c: (gst_structure_set_valist),
24505         (gst_structure_get_date):
24506         * gst/gststructure.h:
24507         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24508         (gst_date_copy), (gst_value_compare_date),
24509         (gst_value_serialize_date), (gst_value_deserialize_date),
24510         (gst_value_transform_date_string),
24511         (gst_value_transform_string_date), (_gst_value_initialize):
24512         * gst/gstvalue.h:
24513           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24514           bunch of utility functions along with a hack that checks that
24515           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24516           is required. Part of the grand scheme in #170777.
24517
24518 2005-09-22  Andy Wingo  <wingo@pobox.com>
24519
24520         * gst/gstconfig.h.in: Psych out gtk-doc.
24521
24522         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24523
24524         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24525
24526         * tools/gst-inspect.c (print_element_list): Plug some
24527         inconsequential leaks.
24528
24529         * gst/gstregistry.c (gst_registry_get_default): Doc.
24530
24531         * check/gst/gstplugin.c: 
24532         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24533         * gst/gstelementfactory.c (gst_element_factory_create): 
24534         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24535         refcount changes.
24536
24537         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24538         (gst_plugin_feature_load): Doc, don't eat refs.
24539
24540         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24541         (gst_plugin_list_free): Doc.
24542         (gst_plugin_load_file): Doc updates.
24543
24544         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24545         accessors returning refcounted objects, return a ref.
24546
24547         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24548         accessor for caps. IDEMPOTENCE. Oh yes.
24549
24550 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24551
24552         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24553
24554         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24555         (_gst_debug_register_funcptr):
24556           Add mutex to serialise access to the hash table with
24557           the function pointer => function name string mapping;
24558           make that hash table static scope (#316809).
24559
24560         * gst/registries/.cvsignore:
24561           Remove left-over file.
24562
24563 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24564
24565         * docs/pwg/appendix-porting.xml:
24566           And something about newsegment events and caps-on-buffers to
24567           the porting guide (feel free to improve).
24568
24569 2005-09-21  Andy Wingo  <wingo@pobox.com>
24570
24571         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24572         data and event probes on the same pad.
24573         (test_buffer_probe_once): Test that removing probes from within
24574         the probe functions works.
24575
24576 2005-09-21  Andy Wingo  <wingo@pobox.com>
24577
24578         * check/gst/gstutils.c: New file.
24579         (test_buffer_probe_n_times): A simple buffer probe test. More to
24580         come, foolios.
24581
24582         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24583         have-data::buffer, not have-data.
24584         (gst_pad_add_event_probe): Likewise for have-data::event.
24585         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24586         peer' isn't quite right yet though.
24587         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24588         (gst_pad_remove_data_probe): Change to take the guint handler_id
24589         as their arg, not the function+data, which is more glib-like.
24590
24591         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24592         the signal emission to indicate if the data is a buffer or an
24593         event.
24594         (gst_pad_get_type): Initialize buffer and event quarks.
24595         (gst_pad_class_init): have-data is now a detailed signal, yes it
24596         is.
24597
24598 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24599
24600         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24601         * gst/gstutils.c: (gst_util_set_value_from_string),
24602         (gst_util_set_object_arg):
24603           Don't put functional code in g_return_if_fail() or
24604           g_return_val_if_fail() statements, otherwise things will 
24605           break when G_DISABLE_CHECKS is defined during compilation.
24606
24607 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24608
24609         * docs/gst/tmpl/.cvsignore:
24610         * docs/gst/tmpl/gstvalue.sgml:
24611         * gst/gstvalue.c:
24612         * gst/gstvalue.h:
24613           inlied another one and added  some obvious docs
24614
24615 2005-09-21  Wim Taymans  <wim@fluendo.com>
24616
24617         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24618         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24619         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24620         (gst_fdsrc_get_property), (gst_fdsrc_create):
24621         * gst/elements/gstfdsrc.h:
24622         Properly implement fdsrc. Removed signal and timeout,
24623         better implemented somewhere else.
24624
24625 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24626
24627         * docs/gst/tmpl/.cvsignore:
24628         * docs/gst/tmpl/gstimplementsinterface.sgml:
24629         * gst/gstinterface.c:
24630           inlined more docs
24631
24632 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24633
24634         * docs/gst/gstreamer-sections.txt:
24635         * docs/gst/tmpl/.cvsignore:
24636         * docs/gst/tmpl/gstenumtypes.sgml:
24637           remove obsolete doc file
24638
24639 2005-09-21  David Schleef  <ds@schleef.org>
24640
24641         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24642         little beer, fix a little leak.
24643
24644 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24645
24646         * docs/gst/gstreamer-docs.sgml:
24647         * docs/gst/gstreamer-sections.txt:
24648         * docs/gst/tmpl/.cvsignore:
24649         * gst/Makefile.am:
24650         * gst/gst.h:
24651         * gst/gstbin.c:
24652         * gst/gstelement.h:
24653         * gst/gstindex.c: (gst_index_class_init):
24654         * gst/gstindex.h:
24655         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24656         (gst_index_factory_class_init), (gst_index_factory_init),
24657         (gst_index_factory_finalize), (gst_index_factory_new),
24658         (gst_index_factory_destroy), (gst_index_factory_find),
24659         (gst_index_factory_create), (gst_index_factory_make):
24660         * gst/gstindexfactory.h:
24661         * gst/gstpluginfeature.c:
24662         * gst/gstpluginfeature.h:
24663         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24664           more docs inlined, splitted gstindex.{c,h}
24665
24666 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24667
24668         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24669           fix a leak
24670
24671 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24672
24673         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24674           Set sync to FALSE by default.
24675
24676 2005-09-20  Wim Taymans  <wim@fluendo.com>
24677
24678         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24679         (gst_base_sink_init):
24680         Make sync property settable from subclass.
24681
24682         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24683         (gst_fake_sink_change_state):
24684         Set sync to FALSE by default.
24685
24686 2005-09-20  Wim Taymans  <wim@fluendo.com>
24687
24688         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24689         * tools/gst-launch.c: (main):
24690         The timeout handler should have lower priority than the source
24691         so we don't timeout before popping a message with 0 timeout.
24692         Dump error messages after failed state change.
24693
24694 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24695
24696         * tools/gst-inspect.c: (print_element_properties_info):
24697           Fix two typos.
24698
24699 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24700
24701         * check/gst/gstevent.c:
24702         * gst/elements/gstfakesink.c:
24703         * gst/elements/gstfakesink.h:
24704           remove the sync property from fakesink.
24705           has the side effect of setting sync TRUE
24706           for fakesink, which is a change.  Anyone who knows how
24707           to fix this nicely in a GObject-y way, feel free.
24708
24709 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24710
24711         * docs/gst/gstreamer-docs.sgml:
24712           remove probe refsection
24713
24714 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24715
24716         * check/Makefile.am:
24717           disable valgrinding the controller test again
24718         * docs/gst/gstreamer-sections.txt:
24719           update for api-changes
24720
24721 2005-09-20  Wim Taymans  <wim@fluendo.com>
24722
24723         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24724         (gst_base_sink_set_property), (gst_base_sink_get_property),
24725         (gst_base_sink_do_sync):
24726         * gst/base/gstbasesink.h:
24727         Added sync property to basesink to disable clock sync.
24728
24729 2005-09-20  Andy Wingo  <wingo@pobox.com>
24730
24731         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24732         eating the caller's refcount.
24733
24734         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24735         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24736         refcount.
24737
24738         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24739         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24740         of GLib 2.8 public, so we can know which refcount to check in
24741         tests.
24742
24743         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24744         (gst_object_init): Only set the gst refcount if we're going ahead
24745         with the refcount hack.
24746
24747 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24748
24749         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24750         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24751           more leaks plumbed, added more debug-logging
24752         * gst/gstmacros.h:
24753           whitespace fix
24754
24755 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24756
24757         * gst/gstmessage.c:
24758           remove include of gstmemchunk.h
24759
24760 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24761
24762         * gst/gstclock.c: (_gst_clock_id_free):
24763           Commit from the Political Party For More Atomic CVS Commits,
24764           so that people don't waste too much of their day fishing
24765           out obvious leaks out of massive commits.
24766           Oh, and fix a pretty damn obvious leak in the memchunk
24767           removal code.
24768
24769 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24770
24771         * check/Makefile.am:
24772         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24773           plug mem-leak, re-add to valgrindable tests
24774
24775 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24776
24777         * gst/gstplugin.h:
24778           unbreak the build for those who have chronic arthritis
24779           and typing "make check" is just too taxing on the hands
24780
24781 2005-09-20  Andy Wingo  <wingo@pobox.com>
24782
24783         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24784         really want it out, you should fix plugins at the same time.
24785
24786 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24787
24788         * configure.ac:
24789         * docs/gst/gstreamer-sections.txt:
24790         * gst/gstobject.c:
24791           added missing symbols to api docs
24792           disable ref-count hack if we have glib >= 2.8
24793
24794 2005-09-19  David Schleef  <ds@schleef.org>
24795
24796         * docs/gst/Makefile.am: Ignore a few more internal headers
24797         * docs/gst/gstreamer-docs.sgml: Remove old sections
24798         * docs/gst/gstreamer-sections.txt: Remove old sections
24799         * docs/gst/tmpl/gstobject.sgml: update
24800         * docs/gst/tmpl/gstplugin.sgml: update
24801         * docs/gst/tmpl/gstpluginfeature.sgml: update
24802         * docs/random/ds/0.9-suggested-changes: update.
24803         * gst/Makefile.am: remove memchunk and trashstack, since they're
24804           not used.
24805         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24806         * gst/gst.h: don't include some headers
24807         * gst/gstchildproxy.c: add gstmarshal.h
24808         * gst/gstclock.c: Don't use memchunks
24809         * gst/gstminiobject.c: Add some docs
24810         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24811         * gst/gstobject.h: same
24812         * gst/gstplugin.c: include gstmacros.h
24813         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24814         * gst/gstquery.c: don't use memchunks
24815         * gst/gstregistry.c: rename gst_registry_deinit()
24816         * gst/gstregistry.h: same
24817
24818 2005-09-19  David Schleef  <ds@schleef.org>
24819
24820         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24821         * docs/libs/gstreamer-libs-sections.txt:
24822         * docs/libs/tmpl/gstgetbits.sgml:
24823         * docs/libs/tmpl/gstputbits.sgml:
24824
24825 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24826
24827         * win32/gstenumtypes.c:
24828         * win32/gstenumtypes.h:
24829           Update.
24830
24831 2005-09-19  Wim Taymans  <wim@fluendo.com>
24832
24833         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24834         Automatically PAUSE and RESUME a pipeline when a flushing seek
24835         is performed.
24836
24837 2005-09-19  Andy Wingo  <wingo@pobox.com>
24838
24839         * gst/gstregistry.h: Spacing fixen.
24840
24841 2005-09-19  Wim Taymans  <wim@fluendo.com>
24842
24843         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24844         Handle state change failure more correctly.
24845
24846 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24847
24848         * check/Makefile.am:
24849         * check/pipelines/cleanup.c: (run_pipeline):
24850         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24851         (GST_START_TEST):
24852           enable cleanup again after fixing the leak
24853         * docs/README:
24854           some more info on docs
24855
24856 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24857
24858         * check/Makefile.am:
24859           re-enable tests now that leaks are plugged
24860         * check/gst/gst.c:
24861         * check/gst/gstbin.c:
24862         * check/gst/gstpipeline.c:
24863           add some more tests while fixing leaks
24864         * common/check.mak:
24865           make sure binaries are uptodate when valgrinding/gdbing
24866         * gst/gst.c:
24867         * gst/gstelementfactory.c:
24868           remove a ref too many, and add a FIXME for when we get
24869           round to disposing of classes
24870         * gst/gstplugin.c:
24871           fix the refcounting when loading a plugin from a file and
24872           the code pretends that the pointer is the same even though
24873           of course it can change
24874         * gst/gstpluginfeature.c:
24875           unref plugins marked cached (a bit confusing as a name)
24876           as the docs state should be done
24877           various doc additions to explain refcounting
24878         * gst/gstregistry.c:
24879         * gst/gstregistryxml.c:
24880           debugging
24881
24882 2005-09-19  Wim Taymans  <wim@fluendo.com>
24883
24884         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24885         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24886         (send_messages), (GST_START_TEST), (gstbus_suite):
24887         * check/gst/gstpipeline.c: (GST_START_TEST):
24888         * check/pipelines/cleanup.c: (run_pipeline):
24889         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24890         (GST_START_TEST):
24891         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24892         (gst_bus_source_check), (gst_bus_source_dispatch),
24893         (gst_bus_create_watch), (gst_bus_add_watch_full),
24894         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24895         * gst/gstbus.h:
24896         * tools/gst-launch.c: (event_loop):
24897         * tools/gst-md5sum.c: (event_loop):
24898         GstBusHandler -> GstBusFunc, return value has the same meaning as
24899         any other GSource (FALSE == remove source).
24900         _add_watch() and _add_watch_full() now take a MessageType mask to
24901         only handle specific types of messages.
24902         _poll() returns the GstMessage instead of the message type to avoid
24903         race conditions.
24904         _have_pending() takes a MessageType mask now too.
24905         Added testsuite for multiple bus watches.
24906         Fix testsuites and applications for new bus API.
24907
24908 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24909
24910         * check/Makefile.am:
24911           mark a bunch of the tests as to fix until we fix them
24912
24913 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24914
24915         * common/check.mak:
24916           use GST_PLUGIN settings for valgrind tests as well, so we're
24917           valgrinding the correct thing
24918         * gst/gst.c: (init_post):
24919           plug another leak
24920
24921 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24922
24923         * gst/gst.c: (init_post), (gst_deinit):
24924         * gst/gstelementfactory.c: (gst_element_factory_class_init),
24925         (gst_element_factory_finalize), (gst_element_factory_cleanup):
24926         * gst/gstindex.c: (gst_index_factory_class_init),
24927         (gst_index_factory_finalize):
24928         * gst/gstobject.c: (gst_object_dispose):
24929         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24930         (gst_plugin_load_file), (gst_plugin_desc_free):
24931         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24932         (gst_plugin_feature_finalize):
24933         * gst/gstregistry.c: (gst_registry_class_init),
24934         (gst_registry_init), (gst_registry_finalize),
24935         (gst_registry_get_default), (gst_registry_deinit):
24936         * gst/gstregistry.h:
24937         * gst/gstregistryxml.c: (load_feature), (load_plugin):
24938           various cleanups and memleak plugging.  make valgrind is happy now.
24939
24940 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
24941
24942         * common/check.mak:
24943           add a check-valgrind target
24944
24945 2005-09-18  David Schleef  <ds@schleef.org>
24946
24947         * tools/gst-inspect.c: Revert the GOption code.
24948
24949 2005-09-17  David Schleef  <ds@schleef.org>
24950
24951         * check/Makefile.am: Fix environment variables.
24952         * check/gst/gstplugin.c: Fix for API changes.
24953         * tools/gst-inspect.c: Fix for API changes.
24954         * tools/gst-xmlinspect.c: Fix for API changes.
24955         * gst/gstelementfactory.c:
24956         * gst/gstplugin.c:
24957         * gst/gstplugin.h:
24958         * gst/gstpluginfeature.c:
24959         * gst/gstpluginfeature.h:
24960         * gst/gstregistry.c:
24961         * gst/gstregistry.h:
24962         * gst/gstregistryxml.c:
24963         * gst/gsttypefind.c:
24964         * gst/gsttypefindfactory.c:
24965         * gst/indexers/gstfileindex.c:
24966         * gst/indexers/gstmemindex.c:
24967         * gst/schedulers/Makefile.am:
24968           Change registry to keep track of both plugins and features,
24969           removing the feature tracking from plugins themselves.
24970
24971 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
24972
24973         * check/Makefile.am:
24974         * tools/gst-register.1.in:
24975           remove gst-register
24976
24977 2005-09-15  David Schleef  <ds@schleef.org>
24978
24979         * check/gst/gstplugin.c:
24980         * gst/gstelementfactory.c:
24981         * gst/gstplugin.c:
24982         * gst/gstpluginfeature.c:
24983         * gst/gstregistry.c:
24984           Getting tired of debugging.  Disabled all the unreffing of
24985           plugins and features, which fixes the segfaults, but of
24986           course leaks like crazy.  At least playbin works.
24987
24988 2005-09-15  David Schleef  <ds@schleef.org>
24989
24990         * check/gst/gstplugin.c: (register_check_elements),
24991         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24992         More testing
24993         * gst/elements/gsttypefindelement.c: Fix refcounting.
24994         * gst/gsttypefind.c:
24995         * gst/gsttypefindfactory.c:
24996         * gst/gsttypefindfactory.h:
24997
24998 2005-09-15  David Schleef  <ds@schleef.org>
24999
25000         * gst/gstindex.c: get refcounting correct.
25001         * gst/gstregistry.c: Handle the case where a feature/plugin is
25002           not found.
25003
25004 2005-09-15  David Schleef  <ds@schleef.org>
25005
25006         * check/Makefile.am:
25007         * check/gst/gstplugin.c: Add test
25008         * gst/gstplugin.c: Fix problems noticed by testsuite
25009         * gst/gstplugin.h:
25010         * gst/gstregistry.c: 
25011         * gst/gstregistry.h:
25012
25013 2005-09-15  David Schleef  <ds@schleef.org>
25014
25015         * gst/gstplugin.c: Implement semi-decent recounting and locking
25016           in plugins and plugin features.
25017         * gst/gstplugin.h:
25018         * gst/gstpluginfeature.c:
25019         * gst/gstpluginfeature.h:
25020         * gst/gstregistry.c:
25021
25022 2005-09-15  Michael Smith <msmith@fluendo.com>
25023
25024         * gst/gstregistry.c: (gst_registry_get_feature_list):
25025           Implement this. Makes oggdemux work; decodebin still broken.
25026
25027 2005-09-14  David Schleef  <ds@schleef.org>
25028
25029         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25030           #316076)
25031         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25032         * gst/check/Makefile.am:
25033         * libs/gst/controller/Makefile.am:
25034         * libs/gst/dataprotocol/Makefile.am:
25035
25036 2005-09-14  David Schleef  <ds@schleef.org>
25037
25038         * configure.ac: Remove getbits library.  Nothing uses it, and
25039           it should be in something like liboil if someone did want
25040           to use it.
25041         * libs/gst/Makefile.am:
25042         * libs/gst/getbits/Makefile.am:
25043         * libs/gst/getbits/gbtest.c:
25044         * libs/gst/getbits/getbits.c:
25045         * libs/gst/getbits/getbits.h:
25046         * libs/gst/getbits/gstgetbits_generic.c:
25047         * libs/gst/getbits/gstgetbits_i386.s:
25048         * libs/gst/getbits/gstgetbits_inl.h:
25049
25050 2005-09-14  David Schleef  <ds@schleef.org>
25051
25052         * gst/Makefile.am: Dist glib-compat.h
25053
25054 2005-09-14  David Schleef  <ds@schleef.org>
25055
25056         * configure.ac: Remove gst/registries, since it's no longer used.
25057         * gst/registries/Makefile.am:
25058         * gst/registries/gstlibxmlregistry.c:
25059         * gst/registries/gstlibxmlregistry.h:
25060         * gst/registries/gstxmlregistry.c:
25061         * gst/registries/gstxmlregistry.h:
25062         * gst/registries/registrytest.c:
25063
25064 2005-09-14  David Schleef  <ds@schleef.org>
25065
25066         * gst/glib-compat.h:
25067         * gst/gstregistryxml.c:
25068           Convergence is near.  Seriously.
25069
25070 2005-09-14  David Schleef  <ds@schleef.org>
25071
25072         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25073         * gst/glib-compat.h:
25074           Attempt #4 to appease the buildbots.
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           Attempt #3.
25080
25081 2005-09-14  David Schleef  <ds@schleef.org>
25082
25083         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25084         Attempt #2.
25085
25086 2005-09-14  David Schleef  <ds@schleef.org>
25087
25088         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25089           the new functions.
25090
25091 2005-09-14  David Schleef  <ds@schleef.org>
25092
25093         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25094         * gst/glib-compat.h: Add some functions that are in newer versions
25095           of glib than we care to require.
25096         * gst/gstregistryxml.c: Use them.
25097
25098 2005-09-14  David Schleef  <ds@schleef.org>
25099
25100         * po/POTFILES.in: remove gst-register.c
25101
25102 2005-09-14  David Schleef  <ds@schleef.org>
25103
25104         * docs/gst/gstreamer-docs.sgml:
25105         * docs/gst/gstreamer-sections.txt:
25106         * docs/gst/gstreamer.types:
25107         * docs/gst/tmpl/gstelement.sgml:
25108         * docs/gst/tmpl/gstplugin.sgml:
25109         * docs/gst/tmpl/gstpluginfeature.sgml:
25110           Documentation updates for registry changes.
25111
25112 2005-09-14  David Schleef  <ds@schleef.org>
25113
25114         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25115           because we don't require glib-2.8.
25116
25117 2005-09-14  David Schleef  <ds@schleef.org>
25118
25119         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25120           registries directory.
25121
25122 2005-09-14  David Schleef  <ds@schleef.org>
25123
25124         * check/Makefile.am:
25125         * check/generic/states.c:
25126         * gst/Makefile.am:
25127         * gst/gst.c:
25128         * gst/gst.h:
25129         * gst/gst_private.h:
25130         * gst/gstelementfactory.c:
25131         * gst/gstindex.c:
25132         * gst/gstinfo.c:
25133         * gst/gstplugin.c:
25134         * gst/gstplugin.h:
25135         * gst/gstpluginfeature.c:
25136         * gst/gstpluginfeature.h:
25137         * gst/gstregistry.c:
25138         * gst/gstregistry.h:
25139         * gst/gstregistrypool.c: remove
25140         * gst/gstregistrypool.h: remove
25141         * gst/gsttypefind.c:
25142         * gst/gsttypefindfactory.c:
25143         * gst/gsturi.c:
25144         * tools/Makefile.am:
25145         * tools/gst-compprep.c:
25146         * tools/gst-inspect.c:
25147         * tools/gst-register.c: remove
25148         * tools/gst-xmlinspect.c:
25149           Registry rewrite.  Changes registry from being a file created
25150           by a tool into a simple cache file created automatically by 
25151           libgstreamer.  Removed gst-register (because it's no longer
25152           needed).  Remove registry pools, because we only have one
25153           registry implementation (XML).  Fix up other subsystems as
25154           necessary.
25155
25156 2005-09-13  Michael Smith <msmith@fluendo.com>
25157
25158         * gst/gstconfig.h.in:
25159           Don't Use windows linking attributes for MinGW. Fixes #316157
25160
25161 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25162
25163         * gst/gstutils.c: (set_state_async_thread_func),
25164         (gst_element_set_state_async):
25165           Apparently people think it's better if this function doesn't
25166           try to set the state to whatever state was asked for on the first
25167           call to this function for any object.  Seriously.
25168
25169 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25170
25171         * check/gst/gstpipeline.c: (GST_START_TEST):
25172         * docs/gst/gstreamer-sections.txt:
25173         * gst/gstutils.c: (set_state_async_thread_func),
25174         (gst_element_set_state_async):
25175         * gst/gstutils.h:
25176           add a "gst_element_set_state_async" method that
25177           sets the state and starts a thread to make sure the state
25178           change completes as best as it can
25179
25180 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25181
25182         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25183           codify design+behaviour in testsuite after discussion
25184
25185 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25186
25187         * docs/gst/tmpl/gstelement.sgml:
25188         * docs/manual/appendix-quotes.xml:
25189           add a quote
25190         * gst/gstelement.c: (gst_element_set_state):
25191           add some debug
25192
25193 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25194
25195         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25196         (gst_base_transform_prepare_output_buf),
25197         (gst_base_transform_handle_buffer):
25198         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25199         (gst_capsfilter_prepare_buf):
25200           Remove the requirement for sub-classes to call the parent
25201           implementation of prepare_output_buffer with a wrapper function.
25202           
25203         * gst/gsttaglist.h:
25204         * gst/gsttagsetter.h:
25205           Fix #define wrapper
25206
25207 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25208
25209         * docs/gst/gstreamer-sections.txt:
25210           more doc cleanups
25211
25212 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25213
25214         * docs/gst/gstreamer-sections.txt:
25215         * docs/gst/tmpl/gstelement.sgml:
25216         * docs/gst/tmpl/gstplugin.sgml:
25217         * gst/gstminiobject.c:
25218         * gst/gstvalue.h:
25219           docs now stop throwing warnings
25220
25221 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25222
25223         * docs/gst/gstreamer-sections.txt:
25224         * docs/gst/gstreamer.types:
25225         * docs/gst/tmpl/gstpad.sgml:
25226         * docs/gst/tmpl/gsttypes.sgml:
25227         * gst/base/gstadapter.h:
25228         * gst/base/gstbasesink.h:
25229         * gst/base/gstbasesrc.h:
25230         * gst/gstbin.h:
25231         * gst/gstbuffer.h:
25232         * gst/gstbus.h:
25233         * gst/gstcaps.h:
25234         * gst/gstclock.h:
25235         * gst/gstelement.h:
25236         * gst/gstevent.h:
25237         * gst/gstmessage.h:
25238         * gst/gstpad.h:
25239         * gst/gststructure.c:
25240         * gst/registries/gstlibxmlregistry.h:
25241           various documentation fixes
25242
25243 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25244
25245         * docs/gst/gstreamer-sections.txt:
25246         * docs/gst/tmpl/gstvalue.sgml:
25247           rearrange gstvalue section
25248         * gst/gstutils.c: (gst_element_state_get_name):
25249           NONE -> VOID
25250         * gst/gstvalue.c: (_gst_value_initialize):
25251         * gst/gstvalue.h:
25252           doc updates
25253
25254 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25255
25256         * check/gst-libs/controller.c:
25257           Header include fix.
25258         * gst/base/gstbasetransform.c:
25259         (gst_base_transform_default_prepare_buf),
25260         (gst_base_transform_handle_buffer):
25261         * gst/base/gstbasetransform.h:
25262           Some more basetransform changes and fixes to enable sub-classes
25263           that modify buffer metadata only.
25264         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25265         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25266         (gst_capsfilter_prepare_buf):
25267           If the output pad has fixed allowed caps and input buffers 
25268           don't have any, set the fixed caps on outgoing buffers.
25269
25270 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25271         * check/elements/identity.c: (GST_START_TEST):
25272           Make the error a little clearer when the test fails because
25273           identity made a copy of the buffer.
25274         * docs/gst/gstreamer-sections.txt:
25275           New symbols in gstbasetransform.h
25276         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25277         (gst_base_transform_init), (gst_base_transform_transform_size),
25278         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25279         (gst_base_transform_default_prepare_buf),
25280         (gst_base_transform_get_unit_size),
25281         (gst_base_transform_buffer_alloc),
25282         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25283         (gst_base_transform_change_state),
25284         (gst_base_transform_set_passthrough),
25285         (gst_base_transform_set_in_place),
25286         (gst_base_transform_is_in_place):
25287         * gst/base/gstbasetransform.h:
25288           Change BaseTransform to separate in_place operate from same_caps
25289           output. in_place implies that the element can perform the transform
25290           on incoming buffers in-place, even if the caps on the output are
25291           different.
25292           Sub-class elements can now implement special buffer allocation
25293           methods for outgoing buffers if they wish to.
25294           Big documentation addition.
25295         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25296         * gst/elements/gstelements.c:
25297           Changes for basetransform modifications.
25298         * gst/elements/Makefile.am:
25299         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25300           Compile fix. Extra debug output.
25301
25302 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25303
25304         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25305         (gst_pad_suite):
25306           add tests for valid pad naming
25307         * gst/check/gstcheck.c: (gst_check_log_message_func),
25308         (gst_check_log_critical_func):
25309           add ASSERT_WARNING
25310           remove printing of code, it is fragile when the code contains
25311           % and the line number is enough info
25312         * gst/check/gstcheck.h:
25313         * gst/gstpad.c: (gst_pad_template_new):
25314           fix memleaks
25315
25316 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25317
25318         * configure.ac:
25319           say what CHECK flags we use
25320         * docs/libs/gstreamer-libs.types:
25321         * libs/gst/controller/Makefile.am:
25322         * libs/gst/controller/gst-controller.c:
25323         * libs/gst/controller/gst-controller.h:
25324         * libs/gst/controller/gst-helper.c:
25325         * libs/gst/controller/gst-interpolation.c:
25326         * libs/gst/controller/gstcontroller.c:
25327         * libs/gst/controller/gsthelper.c:
25328         * libs/gst/controller/gstinterpolation.c:
25329         * tools/gst-inspect.c: (print_plugin_info):
25330           we don't use dashes in header names
25331
25332 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25333
25334         * check/Makefile.am:
25335         * check/gst/.cvsignore:
25336         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25337         (gst_pipeline_suite), (main):
25338           adding a test for pipelines and state changes
25339         * gst/gstutils.c: (get_state_func):
25340           add some debugging
25341         * gstreamer.spec.in:
25342           fix up spec file
25343
25344 2005-09-08  Michael Smith <msmith@fluendo.com>
25345
25346         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25347         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25348         (gst_file_src_is_seekable), (gst_file_src_get_size),
25349         (gst_file_src_start):
25350         * gst/elements/gstfilesrc.h:
25351           Various fixes for unseekable, unmmapable, and non-normal files, so
25352           that fallback to read() rather than mmap() works.
25353         * gst/gstevent.c: (gst_event_new_newsegment):
25354           Allow newsegment events with segment_start == segment_end, as will
25355           correctly happen if you use filesrc on a zero-size file, for
25356           example.
25357
25358 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25359
25360         * gst/gstplugin.c: (gst_plugin_load_file):
25361           Call g_module_close when we don't load the module
25362
25363         * gst/registries/gstlibxmlregistry.c:
25364         (gst_xml_registry_get_property):
25365           Port leak fix from 0.8
25366
25367 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25368
25369         * docs/gst/gstreamer-docs.sgml:
25370         * docs/gst/tmpl/.cvsignore:
25371         * docs/gst/tmpl/gsttrace.sgml:
25372         * docs/gst/tmpl/gsttrashstack.sgml:
25373         * gst/Makefile.am:
25374         * gst/gst.h:
25375         * gst/gstelement.h:
25376         * gst/gstevent.h:
25377         * gst/gstmessage.c:
25378         * gst/gstmessage.h:
25379         * gst/gsttag.c:
25380         * gst/gsttag.h:
25381         * gst/gsttaginterface.c:
25382         * gst/gsttaginterface.h:
25383         * gst/gsttaglist.c:
25384         * gst/gsttaglist.h:
25385         * gst/gsttagsetter.c:
25386         * gst/gsttagsetter.h:
25387         * gst/gsttrace.c:
25388         * gst/gsttrace.h:
25389         * gst/gsttrashstack.c:
25390           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25391           inlined docs for gsttrace, gsttrashstack
25392
25393 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25394
25395         * gst/Makefile.am:
25396         * gst/elements/gstbufferstore.h:
25397         * gst/elements/gsttypefindelement.c:
25398         * gst/elements/gsttypefindelement.h:
25399         * gst/gst.h:
25400         * gst/gsttypefind.c:
25401         * gst/gsttypefind.h:
25402         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25403         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25404         (gst_type_find_factory_dispose),
25405         (gst_type_find_factory_unload_thyself),
25406         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25407         (gst_type_find_factory_get_caps),
25408         (gst_type_find_factory_get_extensions),
25409         (gst_type_find_factory_call_function):
25410         * gst/gsttypefindfactory.h:
25411         * gst/registries/gstlibxmlregistry.c:
25412         * gst/registries/gstxmlregistry.c:
25413           splitted gsttypefind into gsttypefind, gsttypefindfactory
25414
25415 2005-09-07  Andy Wingo  <wingo@pobox.com>
25416
25417         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25418         condition whereby the pad's task function is entered before the
25419         pad_mode variable was set.
25420
25421 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25422
25423         * gst/gstpad.c: (gst_pad_alloc_buffer):
25424           Catch misbehaving pad_alloc functions that don't
25425           set up caps and do it for them.
25426
25427 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25428
25429         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25430           test for pipe!=NULL
25431         * docs/gst/tmpl/.cvsignore:
25432         * docs/gst/tmpl/gstmemchunk.sgml:
25433         * docs/gst/tmpl/gstparse.sgml:
25434         * docs/gst/tmpl/gsttaglist.sgml:
25435         * docs/gst/tmpl/gsttagsetter.sgml:
25436         * docs/gst/tmpl/gsttypefind.sgml:
25437         * docs/gst/tmpl/gsttypefindfactory.sgml:
25438         * gst/gstmemchunk.c:
25439         * gst/gstparse.c:
25440         * gst/gsttag.c:
25441         * gst/gsttaginterface.c:
25442         * gst/gsttypefind.c:
25443         * gst/gsttypefind.h:
25444           inlined more docs
25445
25446 === release 0.9.2 ===
25447
25448 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * NEWS:
25451         * RELEASE:
25452         * configure.ac:
25453           releasing 0.9.2, "South"
25454
25455 2005-09-05  Andy Wingo  <wingo@pobox.com>
25456
25457         * gst/registries/gstxmlregistry.h:
25458         * gst/registries/gstxmlregistry.c: Um... resurrect...
25459         
25460         * gst/registries/gstxmlregistry.h:
25461         * gst/registries/gstxmlregistry.c: and update to newer API.
25462         Incidentally they should be a bit faster now that they don't have
25463         to parse the caps.
25464         
25465 2005-09-05  Andy Wingo  <wingo@pobox.com>
25466
25467         * gst/registries/gstxmlregistry.h:
25468         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25469         replaced by the libxml registry a while back
25470
25471 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25472
25473         * docs/gst/tmpl/gstplugin.sgml:
25474         * gst/elements/gstelements.c:
25475         * gst/gst.c:
25476         * gst/gstplugin.c: (gst_plugin_register_func),
25477         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25478         (gst_plugin_get_source):
25479         * gst/gstplugin.h:
25480         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25481         (gst_xml_registry_save_plugin):
25482         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25483         (gst_xml_registry_save_plugin):
25484         * tools/gst-inspect.c: (print_plugin_info):
25485           add a "source" plugin description field, to represent the source
25486           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25487           will set it to PACKAGE, which is automake's idea of the name of
25488           the source project.
25489
25490 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25491
25492         * Makefile.am:
25493         * autogen.sh:
25494         * configure.ac:
25495         * docs/Makefile.am:
25496         * docs/faq/Makefile.am:
25497         * docs/gst/tmpl/gstelement.sgml:
25498         * docs/gst/tmpl/gsttypes.sgml:
25499         * docs/htmlinstall.mak:
25500         * docs/manual/Makefile.am:
25501         * docs/pwg/Makefile.am:
25502           reorganize doc build a little
25503           split out docbook and gtk-doc stuff
25504           have two separate --enable's and enable them through autogen
25505           but disable by default in configure (to be similar to other
25506           projects)
25507         * gstreamer.spec.in:
25508           clean up docs install
25509         * po/af.po:
25510         * po/az.po:
25511         * po/ca.po:
25512         * po/cs.po:
25513         * po/de.po:
25514         * po/en_GB.po:
25515         * po/fr.po:
25516         * po/it.po:
25517         * po/nb.po:
25518         * po/nl.po:
25519         * po/ru.po:
25520         * po/sq.po:
25521         * po/sr.po:
25522         * po/sv.po:
25523         * po/tr.po:
25524         * po/uk.po:
25525         * po/vi.po:
25526           translation updates
25527
25528 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25529
25530         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25531           Add comment.
25532           
25533         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25534         (gst_fake_sink_change_state):
25535           Make state change function thread-safe.
25536           
25537         * gst/gstpad.c: (gst_pad_alloc_buffer):
25538           Set offset on generic buffer allocated by fallback.
25539
25540 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25541
25542         * docs/gst/gstreamer-sections.txt:
25543         * docs/gst/tmpl/gstelement.sgml:
25544         * gst/gstpad.c:
25545         * libs/gst/controller/gst-controller.c:
25546         (gst_controlled_property_set_interpolation_mode),
25547         (gst_controlled_property_new),
25548         (gst_controller_find_controlled_property):
25549          run the wingo-magic script against the docs
25550
25551 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25552
25553         * docs/gst/gstreamer-docs.sgml:
25554         * docs/gst/gstreamer-sections.txt:
25555         * docs/gst/tmpl/.cvsignore:
25556         * docs/gst/tmpl/gstelementdetails.sgml:
25557         * docs/gst/tmpl/gstelementfactory.sgml:
25558         * gst/gst.c:
25559         * gst/gstbus.c:
25560         * gst/gstelementfactory.c:
25561         * gst/gstelementfactory.h:
25562           merged elementdetails docs into elementfactory docs
25563           inlined both
25564
25565 2005-09-02  Andy Wingo  <wingo@pobox.com>
25566
25567         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25568         consider this enum an enum and not a flags.
25569
25570 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25571
25572         * docs/gst/gstreamer-docs.sgml:
25573         * docs/gst/tmpl/.cvsignore:
25574         * docs/gst/tmpl/gstghostpad.sgml:
25575         * docs/gst/tmpl/gstiterator.sgml:
25576         * docs/gst/tmpl/gstmacros.sgml:
25577         * docs/gst/tmpl/gstrealpad.sgml:
25578         * docs/gst/tmpl/gstregistry.sgml:
25579         * docs/gst/tmpl/gstregistrypool.sgml:
25580         * docs/gst/tmpl/gststructure.sgml:
25581         * docs/gst/tmpl/gstsystemclock.sgml:
25582         * docs/gst/tmpl/gsttrace.sgml:
25583         * gst/gstghostpad.c:
25584         * gst/gstmacros.h:
25585         * gst/gstmemchunk.c:
25586         * gst/gstmemchunk.h:
25587         * gst/gstqueue.c:
25588         * gst/gstregistry.c:
25589         * gst/gstregistrypool.c:
25590         * gst/gststructure.c:
25591         * gst/gstsystemclock.c:
25592           more docs inlined
25593
25594 2005-09-02  Andy Wingo  <wingo@pobox.com>
25595
25596         * gst/gstelement.h (GstState): Renamed from GstElementState,
25597         changed to be a normal enum instead of flags.
25598         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25599         munged to be GST_STATE_CHANGE_*.
25600         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25601         work with the new state representation.
25602         (GstStateChange): New enumeration of possible state transitions.
25603         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25604         (GstElementClass::change_state): Pass the GstStateChange along as
25605         an argument. Helps language bindings, so they don't have to use
25606         tricky lock-needing macros like GST_STATE_CHANGE ().
25607
25608         * scripts/update-states (file): New script. Run it on a file to
25609         update it for state naming and API changes. Updates files in
25610         place.
25611
25612         * All files updated for the new API.
25613
25614 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25615
25616         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25617         * gst/gstutils.c: (gst_util_set_value_from_string),
25618         (gst_util_set_object_arg):
25619           fix a bunch of unchecked return values
25620         * tools/gst-complete.c: (main):
25621         * gstreamer.spec.in:
25622           clean up a little
25623
25624 2005-09-01  Wim Taymans  <wim@fluendo.com>
25625
25626         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25627         (gst_base_sink_event), (gst_base_sink_do_sync),
25628         (gst_base_sink_handle_event):
25629         * gst/base/gstbasesink.h:
25630         Handle newsegments more correctly.
25631
25632         * gst/gstbus.c:
25633         Fix docs.
25634
25635         * gst/gstevent.c: (gst_event_new_newsegment):
25636         A newsegment cannot have a start_time of -1
25637
25638 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25639
25640         * win32/gstenumtypes.c:
25641         * win32/gstenumtypes.h:
25642           Update
25643
25644 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25645
25646         * libs/gst/controller/gst-controller.c:
25647         (gst_controlled_property_set_interpolation_mode),
25648         (gst_controlled_property_new):
25649          fixed boolean again
25650
25651 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25652
25653         * docs/faq/gst-uninstalled:
25654           add -good
25655         * gst/gstevent.c:
25656         * gst/gstevent.h:
25657           remove wrong docs
25658         * gst/gstutils.c: (gst_element_link_filtered):
25659         * gst/gstutils.h:
25660           add gst_element_link_filtered
25661
25662 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25663
25664         * docs/gst/gstreamer-docs.sgml:
25665         * docs/gst/gstreamer-sections.txt:
25666         * docs/gst/tmpl/.cvsignore:
25667         * docs/gst/tmpl/gsterror.sgml:
25668         * docs/gst/tmpl/gstfilter.sgml:
25669         * docs/gst/tmpl/gsturihandler.sgml:
25670         * docs/gst/tmpl/gsturitype.sgml:
25671         * docs/gst/tmpl/gstutils.sgml:
25672         * docs/gst/tmpl/gstxml.sgml:
25673         * gst/gsterror.c:
25674         * gst/gsterror.h:
25675         * gst/gstfilter.c:
25676         * gst/gsturi.c:
25677         * gst/gsturitype.c:
25678         * gst/gstutils.c:
25679         * gst/gstxml.c:
25680           inlined more docs, fixed double id-ref
25681
25682 2005-08-31  Wim Taymans  <wim@fluendo.com>
25683
25684         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25685         (gst_base_transform_handle_buffer):
25686         Passthrough elements don't need the caps as they don't care.
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), (gst_base_transform_chain):
25692         Don't leak refcounts on buffers.
25693
25694 2005-08-31  Wim Taymans  <wim@fluendo.com>
25695
25696         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25697         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25698         (gst_base_transform_chain), (gst_base_transform_change_state):
25699         * gst/base/gstbasetransform.h:
25700         Handle the case where we are not negotiated more gracefully.
25701
25702 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25703
25704         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25705         (gst_file_src_map_region):
25706           Set READONLY flag on mmap'ed buffers, otherwise
25707           gst_buffer_make_writable() won't work properly (#314708).
25708
25709 2005-08-31  Wim Taymans  <wim@fluendo.com>
25710
25711         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25712         passthrough elements can even do inplace on non writable
25713         buffers (as they don't touch them).
25714
25715 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25716
25717         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25718         (gst_test_mono_source_set_property),
25719         (gst_test_mono_source_class_init), (GST_START_TEST),
25720         (gst_controller_suite):
25721           more tests (hehe I have the most)
25722         * gst/gstbus.c:
25723           describe popping messages whenusing mulltiple sources
25724         * libs/gst/controller/gst-controller.c:
25725         (gst_controlled_property_set_interpolation_mode),
25726         (gst_controlled_property_new):
25727         * libs/gst/controller/gst-controller.h:
25728         * libs/gst/controller/gst-interpolation.c:
25729           implement boolean properties
25730
25731 2005-08-31  Wim Taymans  <wim@fluendo.com>
25732
25733         * gst/gstminiobject.c: (gst_mini_object_ref):
25734         Cannot assert that the refcount has to be positive
25735         since a disposed object can be resurrected.
25736
25737 2005-08-31  Wim Taymans  <wim@fluendo.com>
25738
25739         * gst/gstpad.c: (gst_pad_init):
25740         Revert change, need to first fix badly behaving 
25741         apps.
25742
25743 2005-08-30  Wim Taymans  <wim@fluendo.com>
25744
25745         * check/elements/fakesrc.c: (setup_fakesrc):
25746         * check/elements/identity.c: (setup_identity):
25747         Activate pads before using them.
25748
25749 2005-08-30  Wim Taymans  <wim@fluendo.com>
25750
25751         * gst/base/gstadapter.c: (gst_adapter_flush):
25752         Flushing out 0 bytes is ok for this function.
25753
25754         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25755         no newsegment gives a warning and sets the start/stop to 
25756         invalid.
25757
25758         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25759         (gst_base_transform_set_passthrough):
25760         Some debug info.
25761
25762         * gst/gstminiobject.c: (gst_mini_object_ref):
25763         Check refcount here too.
25764
25765         * gst/gstpad.c: (gst_pad_init):
25766         Pads are initially flushing and refusing data.
25767
25768         * gst/gstutils.c: (gst_element_link_pads_filtered):
25769         When adding a capsfilter element make sure it has the
25770         same state as the parent bin.
25771
25772 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25773
25774         * docs/gst/tmpl/.cvsignore:
25775         * docs/gst/tmpl/gstformat.sgml:
25776         * docs/gst/tmpl/gstversion.sgml:
25777         * gst/gstbus.h:
25778         * gst/gstformat.c:
25779         * gst/gstformat.h:
25780         * gst/gstversion.h.in:
25781           more docs and two more inlined
25782
25783 2005-08-30  Wim Taymans  <wim@fluendo.com>
25784
25785         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25786         Don't sync to clock.
25787
25788 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25789
25790         * docs/gst/gstreamer-sections.txt:
25791           ultral33t func10ns deserve to appear in the docs actually
25792         * docs/gst/tmpl/.cvsignore:
25793         * docs/gst/tmpl/gstcompat.sgml:
25794         * docs/gst/tmpl/gstconfig.sgml:
25795         * gst/check/gstcheck.c:
25796         * gst/gstcompat.h:
25797         * gst/gstconfig.h.in:
25798           inlined more docs
25799
25800 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25801
25802         * docs/gst/tmpl/.cvsignore:
25803         * docs/gst/tmpl/gstquery.sgml:
25804         * docs/gst/tmpl/gstutils.sgml:
25805         * gst/gstquery.c:
25806         * gst/gstquery.h:
25807           inlined and extended docs
25808
25809 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25810
25811         * check/gst-libs/controller.c: (GST_START_TEST),
25812         (gst_controller_suite):
25813           more tests
25814         * docs/gst/tmpl/gstutils.sgml:
25815         * docs/libs/gstreamer-libs-sections.txt:
25816         * docs/libs/tmpl/gstdataprotocol.sgml:
25817           include path fixes
25818         * examples/controller/audio-example.c: (main):
25819           controller example works now
25820         * gst/gstclock.h:
25821           doc fixes
25822         * tools/gst-inspect.c: (print_element_properties_info):
25823           show param spec flags
25824
25825 2005-08-29  Andy Wingo  <wingo@pobox.com>
25826
25827         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25828
25829 2005-08-28  Andy Wingo  <wingo@pobox.com>
25830
25831         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25832         as having two arguments instead of just one. Allows superclasses
25833         to access information on subclasses -- see the terrible for() loop
25834         in gtype.c:g_type_create_instance for the reason why. All callers
25835         changed.
25836
25837 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25838
25839         * docs/design/part-messages.txt:
25840           update info
25841         * docs/gst/tmpl/.cvsignore:
25842         * docs/gst/tmpl/gstcaps.sgml:
25843         * docs/gst/tmpl/gstclock.sgml:
25844         * gst/gstbus.c:
25845         * gst/gstcaps.c:
25846         * gst/gstcaps.h:
25847         * gst/gstclock.c:
25848         * gst/gstclock.h:
25849         * gst/gstmessage.c:
25850           added descriptions for bus and message
25851           inline caps and clock docs
25852
25853 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25854
25855         * gst/gstmessage.c:
25856         * gst/gstmessage.h:
25857           doc fixes
25858
25859 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25860
25861         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25862           fix div-by-zero
25863
25864 2005-08-26  Andy Wingo  <wingo@pobox.com>
25865
25866         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25867         element_set_state's return val.
25868         (test_2_elements): Add test that's been disabled for months.
25869
25870         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25871         can-activate-pull properties.
25872
25873         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25874         can-activate-pull properties. Implement is_seekable so fakesrc can
25875         operate in pull mode.
25876
25877         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25878         properties.
25879         (gst_base_sink_activate, gst_base_sink_activate_pull)
25880         (gst_base_sink_activate_push): Make activation mode choosing work.
25881         Cleanups.
25882         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25883         is right. Make pull mode work. Post an eos before pausing in pull
25884         mode.
25885         (gst_base_sink_change_state): Pay attention to the core's
25886         change_state() return val.
25887         
25888         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25889         has-getrange properties. Cleanups.
25890         
25891         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25892         has_getrange and replace with can_activate_pull and
25893         can_activate_push.
25894
25895         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25896         locking comments. Remove has_loop, has_chain and replace with
25897         can_activate_pull and can_activate_push.
25898
25899 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
25900
25901         * configure.ac:
25902         * examples/Makefile.am:
25903         * examples/metadata/Makefile.am:
25904         * examples/metadata/read-metadata.c: (message_loop),
25905         (have_pad_handler), (make_pipeline), (print_tag), (main):
25906           Add metadata reading example that loops over a list of filenames,
25907           dumping any tags found.
25908
25909         * gst/gstbus.c: (gst_bus_dispose):
25910         * gst/gstelement.c: (gst_element_dispose):
25911           Release a few potentially-held references in dispose.
25912
25913 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25914
25915         * docs/gst/tmpl/gstminiobject.sgml:
25916           do *not* add tmpl/*.sgml files to CVS!
25917
25918 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25919
25920         * libs/gst/bytestream/.cvsignore:
25921         * libs/gst/bytestream/Makefile.am:
25922         * libs/gst/bytestream/adapter.c:
25923         * libs/gst/bytestream/adapter.h:
25924         * libs/gst/bytestream/bytestream.c:
25925         * libs/gst/bytestream/bytestream.h:
25926         * libs/gst/bytestream/filepad.c:
25927         * libs/gst/bytestream/filepad.h:
25928           removing obsolete files
25929
25930 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25931
25932         * docs/gst/gstreamer-docs.sgml:
25933         * docs/libs/gstreamer-libs-docs.sgml:
25934           disabed additional index entries again, as this makes docs-gen just
25935           slow and they aren't useful yet
25936         * docs/libs/gstreamer-libs-sections.txt:
25937           little -section.txt cleanup for libs
25938
25939 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
25940
25941         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25942         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25943           fix up some debugging
25944         (gst_base_transform_get_unit_size),
25945         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25946         (gst_base_transform_handle_buffer):
25947         * gst/base/gstbasetransform.h:
25948           handle and store timed NEWSEGMENT events so that subclasses that
25949           calculate time by counting samples have a segment_start time they
25950           need to add to their timestamps - see audioresample
25951
25952 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
25953
25954         * gst/gstbin.h:
25955           removed ';' from the end of macro defs
25956         * docs/gst/gstreamer-docs.sgml:
25957         * docs/gst/gstreamer-sections.txt:
25958         * docs/gst/tmpl/.cvsignore:
25959         * gst/gstbus.h:
25960         * gst/gstelement.c: (gst_element_class_init),
25961         (gst_element_set_state), (activate_pads),
25962         (gst_element_save_thyself):
25963         * gst/gstevent.c: (gst_event_new_newsegment):
25964         * gst/gstevent.h:
25965         * gst/gstiterator.c:
25966         * gst/gstiterator.h:
25967         * gst/gstpad.c:
25968         * gst/gstprobe.h:
25969         * gst/gstutils.c: (gst_pad_query_convert):
25970         * gst/gstutils.h:
25971           fixed parameter name mismatches between source, header and docs
25972           added some more docs, resolved the last batch of unused elements in
25973           docs (now someone needs to doc them)
25974
25975 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25976
25977         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25978         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25979           don't walk through the plugins backwards.  Where is all this
25980           reversed logic coming from ?
25981
25982 2005-08-25  Wim Taymans  <wim@fluendo.com>
25983
25984         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25985         (gst_base_transform_transform_size),
25986         (gst_base_transform_configure_caps),
25987         (gst_base_transform_get_unit_size),
25988         (gst_base_transform_buffer_alloc),
25989         (gst_base_transform_change_state):
25990         * gst/base/gstbasetransform.h:
25991         Cache caps unit_size.
25992         Make sure we cannot negotiate up and downstream at the
25993         same time.
25994
25995 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25996
25997         * gst/gst.c: (init_pre), (init_post):
25998           register the installed plugin path after the env var
25999         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26000         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26001           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26002           directories, so the tests can prefer uninstalled over installed
26003
26004 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26005
26006         * gst/base/gstbasetransform.h:
26007           comment
26008         * gst/gstpad.c:
26009           add to docs
26010
26011 2005-08-25  Wim Taymans  <wim@fluendo.com>
26012
26013         * gst/gstbin.c: (bin_bus_handler):
26014         Be a bit more conservative about the posted message.
26015         
26016         * gst/gstbus.c: (gst_bus_post):
26017         Some cleanups, warn wrong return values.
26018
26019 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26020
26021         * check/gst/gstbin.c: (GST_START_TEST):
26022         * gst/gstbin.c: (bin_bus_handler):
26023         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26024         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26025         (gst_message_new_warning), (gst_message_new_tag),
26026         (gst_message_new_state_changed), (gst_message_new_segment_start),
26027         (gst_message_new_segment_done), (gst_message_new_custom):
26028         * gst/gstmessage.h:
26029         * tools/gst-launch.c: (event_loop):
26030         * tools/gst-md5sum.c: (event_loop):
26031           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26032
26033 2005-08-25  Wim Taymans  <wim@fluendo.com>
26034
26035         * check/generic/states.c: (GST_START_TEST):
26036         Cleanup can be done at the end.
26037
26038         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26039         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26040         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26041         Oh boy.. Thanks for finding this, Thomas. 
26042
26043 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26044
26045         * docs/gst/gstreamer.types:
26046           added missing types
26047
26048 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26049
26050         * docs/gst/gstreamer-docs.sgml:
26051         * docs/gst/gstreamer-sections.txt:
26052         * docs/gst/tmpl/.cvsignore:
26053         * gst/gstbin.c:
26054         * gst/gstiterator.c:
26055         * gst/gstutils.c:
26056         * gst/registries/gstxmlregistry.h:
26057           added missing classes and symbols (123 more to go)
26058           removed removed symbols from section file
26059           fixed many doc-comments
26060
26061 2005-08-24  Wim Taymans  <wim@fluendo.com>
26062
26063         * check/generic/states.c: (GST_START_TEST):
26064         Make sure all tasks are stopped.
26065
26066         * check/gst/gstbin.c: (GST_START_TEST):
26067         Unref after usage for proper valgrinding.
26068
26069         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26070         Really wait for the task to stop before destroying the
26071         mutex.
26072
26073         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26074         (gst_queue_src_activate_push):
26075         Small cleanups. Don't stop the task when we did not start
26076         it.
26077
26078         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26079         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26080         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26081         (gst_task_join):
26082         * gst/gsttask.h:
26083         Protect the stream lock with the object lock.
26084         Disallow setting the stream lock when running.
26085         Add cleanup_all to wait for the threadpool to finish.
26086         Remove code to autoallocate a mutex if none was provided.
26087         Add _join() to wait for a task to stop.
26088         Protect the thread pool with a global lock.
26089
26090 2005-08-24  Wim Taymans  <wim@fluendo.com>
26091
26092         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26093         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26094         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26095         * gst/base/gstbasesink.h:
26096         Handle newsegment events correctly.
26097         Drop buffers out of the segment range.
26098
26099 2005-08-22  Andy Wingo  <wingo@pobox.com>
26100
26101         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26102         macro, implements an interface and gstimplementsinterface for a
26103         new type.
26104
26105 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26106
26107         * check/Makefile.am:
26108         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26109           add a test that does a bunch of state changes on elements
26110           needs some fixing for valgrind
26111         * check/states/sinks.c: (gst_object_suite):
26112           whitespace
26113         * gst/gstcaps.h:
26114           add prototype for gst_caps_is_equal_fixed
26115         * gst/gstplugin.c:
26116         * gst/gstregistrypool.c:
26117           doc fixes
26118
26119 2005-08-24  Andy Wingo  <wingo@pobox.com>
26120
26121         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26122         convert a negative value. Doesn't make much sense. Mostly this is
26123         here to force callers to ensure -1 maps to -1.
26124
26125 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26126
26127         * docs/pwg/advanced-types.xml:
26128           Well done to Michael for catching my deliberate introduction
26129           of this spelling mistake. 
26130         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26131         * gst/gstelement.h:
26132           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26133           unlink pads before removing the element from the bin.
26134
26135 2005-08-24  Andy Wingo  <wingo@pobox.com>
26136
26137         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26138         the same thing as GST_DEBUG=*:4.
26139         (parse_debug_level, parse_debug_category): New helper parsers.
26140
26141 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26142
26143         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26144         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26145         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26146         (gst_base_transform_buffer_alloc),
26147         (gst_base_transform_handle_buffer):
26148           use gboolean return values and pointers to size so we can use the
26149           full GST_BUFFER_SIZE range (guint) for buffer sizes
26150           use GstPadDirection for transform_caps
26151         * gst/base/gstbasetransform.h:
26152           rename get_size to get_unit_size since that's what it is
26153         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26154           use GstPadDirection for transform_caps
26155         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26156         * gst/gstutils.h:
26157           cleanup and debugging
26158
26159 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26160
26161         * gst/gstelement.c: (gst_element_class_init),
26162         (gst_element_set_state), (activate_pads),
26163         (gst_element_save_thyself):
26164         * tools/gst-compprep.c: (main):
26165         * tools/gst-inspect.c: (print_element_properties_info):
26166         * tools/gst-xmlinspect.c: (print_element_properties):
26167           Fixed long standing mem-leak
26168
26169 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26170
26171         * check/gst/gstbin.c: (GST_START_TEST):
26172         * gst/gstbin.c: (bin_bus_handler):
26173         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26174         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26175         (gst_message_new_warning), (gst_message_new_tag),
26176         (gst_message_new_state_changed), (gst_message_new_segment_start),
26177         (gst_message_new_segment_done), (gst_message_new_custom):
26178         * gst/gstmessage.h:
26179         * tools/gst-launch.c: (event_loop):
26180         * tools/gst-md5sum.c: (event_loop):
26181           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26182           that applications can sensibly post custom messages with references
26183           to their own objects.
26184
26185 2005-08-24  Andy Wingo  <wingo@pobox.com>
26186
26187         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26188         already.
26189
26190 2005-08-24  Wim Taymans  <wim@fluendo.com>
26191
26192         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26193         (gst_base_transform_transform_caps),
26194         (gst_base_transform_transform_size),
26195         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26196         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26197         (gst_base_transform_handle_buffer):
26198         * gst/base/gstbasetransform.h:
26199         Many fixes and new features added by Thomas. Can now also do
26200         transforms with variable sizes and a custom fixate_caps function.
26201
26202 2005-08-24  Wim Taymans  <wim@fluendo.com>
26203
26204         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26205         Some debugging.
26206
26207         * gst/gstclock.h:
26208         Cast to ClockTime before formatting to time.
26209
26210         * gst/gstutils.h:
26211         Cleanups.
26212
26213 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26214
26215         * check/gst-libs/controller.c: (GST_START_TEST),
26216         (gst_controller_suite):
26217         * docs/gst/tmpl/gstcaps.sgml:
26218         * docs/gst/tmpl/gstghostpad.sgml:
26219         * docs/gst/tmpl/gstquery.sgml:
26220         * docs/gst/tmpl/gstutils.sgml:
26221         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26222         (gst_object_sink_values), (gst_object_get_value_arrays),
26223         (gst_object_get_value_array):
26224           gracefully handle helper method calls to objects that are not beeing
26225           controlled, added test case for that          
26226
26227 2005-08-23  Wim Taymans  <wim@fluendo.com>
26228
26229         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26230         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26231         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26232         (gst_event_parse_qos), (gst_event_new_seek),
26233         (gst_event_parse_seek):
26234         * gst/gstevent.h:
26235         Some more debugging output and doc cleanups.
26236
26237         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26238         Fix possible deadlock.
26239
26240 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26241
26242         * docs/gst/gstreamer-docs.sgml:
26243         * docs/gst/gstreamer-sections.txt:
26244         * docs/gst/gstreamer.types:
26245         * docs/gst/tmpl/.cvsignore:
26246         * gst/gstbin.h:
26247         * gst/gstbus.c:
26248         * gst/gstelement.c:
26249         * gst/gstevent.h:
26250           added 100 symbols from gstreamer-unused.txt to the right sections
26251           fixed more broken comments
26252           added GstBus to docs
26253
26254 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26255
26256         * docs/gst/gstreamer-sections.txt:
26257         * docs/gst/tmpl/.cvsignore:
26258         * docs/gst/tmpl/gstbin.sgml:
26259         * docs/gst/tmpl/gstbuffer.sgml:
26260         * gst/base/gstbasesrc.c:
26261         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26262         * gst/gstbuffer.c:
26263         * gst/gstbuffer.h:
26264         * tools/gst-launch.1.in:
26265           inlined more doc comments, added missing comments and fixed comments
26266           fixed typos
26267
26268 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26269
26270         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26271           some debugging
26272         * gst/gstcaps.h:
26273           whitespace fixes
26274         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26275           more debugging
26276         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26277         * gst/gststructure.h:
26278           add a fixate function for booleans; add a FIXME that these func
26279           names should probably be gst_structure_fixate_*
26280
26281 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26282
26283         * docs/gst/gstreamer-docs.sgml:
26284         * docs/gst/gstreamer-sections.txt:
26285         * gst/Makefile.am:
26286         * gst/gstbin.c: (gst_bin_get_type),
26287         (gst_bin_child_proxy_get_child_by_index),
26288         (gst_bin_child_proxy_get_children_count),
26289         (gst_bin_child_proxy_init):
26290         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26291         (gst_child_proxy_get_child_by_index),
26292         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26293         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26294         (gst_child_proxy_get), (gst_child_proxy_set_property),
26295         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26296         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26297         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26298         * gst/gstchildproxy.h:
26299         * gst/parse/grammar.y:
26300         * tools/gst-inspect.c: (print_interfaces),
26301         (print_element_properties_info), (print_element_info):
26302           ported gstchildproxy over from 0.8
26303           ported gst-inspect fixes and enhancements over from 0.8
26304
26305 2005-08-22  Wim Taymans  <wim@fluendo.com>
26306
26307         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26308         (gst_base_transform_handle_buffer):
26309         Also call the transform function if we have ANY caps.
26310
26311         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26312         Fix debug info.
26313
26314 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26315
26316         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26317           Don't pretend to handle seek events if the source is not seekable
26318
26319 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26320
26321         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26322           Remove extra parameter to debug output
26323
26324         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26325         (gst_base_src_do_seek), (gst_base_src_activate_push):
26326           Fix seek event handling.
26327
26328         * gst/gstpipeline.c: (gst_pipeline_change_state):
26329         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26330         (gst_queue_src_activate_push):
26331           Don't start the src pad task on FLUSH_STOP if the pad
26332           isn't linked.
26333           Debug changes.
26334
26335 2005-08-22  Wim Taymans  <wim@fluendo.com>
26336
26337         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26338         Added check for gst_static_caps_get() refcounting.
26339
26340 2005-08-22  Wim Taymans  <wim@fluendo.com>
26341
26342         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26343         Make _static_caps_get() refcounting sane.
26344         
26345         * gst/gstelement.c: (gst_element_set_state):
26346         Add g_return_val_if_fail() to protect against segfaults.
26347
26348 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26349
26350         * docs/gst/tmpl/gstevent.sgml:
26351         * gst/gstevent.c:
26352         * gst/gstevent.h:
26353           inlined remaining docs, added missing doc comments
26354
26355 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26356
26357         * check/gst/gstbin.c: (GST_START_TEST):
26358           since we don't know when preroll is done, use refcount range
26359           check for the sink
26360         * gst/check/gstcheck.h:
26361           add macro for checking refcount range
26362
26363 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26364
26365         * check/Makefile.am:
26366           clean up environment for when registry gets built versus
26367           when actual tests are run; valgrind seems to not report
26368           leaks if GST_PLUGIN_PATH is set to some specific values
26369         * check/gst/gstbin.c: (GST_START_TEST):
26370           add more refcounting checks; maybe this exposes a
26371           preroll lock bug ?
26372         * common/check.mak:
26373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26374         * gst/check/gstcheck.h:
26375         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26376         (gst_bin_change_state):
26377         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26378           add/fix debugging/whitespace
26379
26380 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26381
26382         * check/gst/gstevent.c: (event_probe), (test_event),
26383         (GST_START_TEST):
26384          Er, don't call gst_bin_watch_for_state_change you idiot.
26385
26386 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26387
26388         * check/Makefile.am:
26389           Use CHECK_CFLAGS and CHECK_LIBS
26390         * check/gst/gstevent.c: (event_probe), (test_event),
26391         (GST_START_TEST):
26392           Don't leak events.
26393         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26394         (gst_base_src_start), (gst_base_src_stop),
26395         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26396         (gst_base_src_change_state):
26397           Sprinkle gst_base_src_stop liberally around error paths to fix
26398           problems reusing a source after failed state changes.
26399         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26400         (helper_find_suggest), (gst_type_find_helper):
26401           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26402         * gst/gstevent.h:
26403         * docs/gst/tmpl/gstevent.sgml:
26404           Migrate part of the docs from the SGML file. Wait for ensonic to
26405           tell me how I did it wrong ;)
26406         * tools/gst-typefind.c: (main):
26407           Extra robustness to state changes between files.
26408
26409 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26410
26411         * check/Makefile.am:
26412           don't valgrind the controller test - it's leaking - Stefan, HELP
26413         * gst/check/gstcheck.c: (gst_check_message_error),
26414         (gst_check_chain_func), (gst_check_setup_element),
26415         (gst_check_teardown_element), (gst_check_setup_src_pad),
26416         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26417         (gst_check_teardown_sink_pad):
26418         * gst/check/gstcheck.h:
26419           add a bunch of methods to set up elements, and src and sink pads
26420         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26421         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26422         (GST_START_TEST):
26423           use them
26424         * gst/gstmessage.c:
26425         * gst/gsttag.h:
26426           whitespace/doc fixes
26427
26428 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26429
26430         * gst/gstelement.h:
26431           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26432           be handled by the application and not always printed as well
26433
26434 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26435
26436         * check/Makefile.am:
26437           set GST_TOOLS_DIR
26438         * gst/check/gstcheck.c: (gst_check_message_error):
26439         * gst/check/gstcheck.h:
26440           add a fail_unless_equals_int
26441           add fail_unless for error messages
26442
26443 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26444
26445         * check/Makefile.am:
26446         * check/gst.supp:
26447         * common/Makefile.am:
26448         * common/check.mak:
26449         * common/gst.supp:
26450           factor out some of the common stuff so we can use it
26451
26452 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26453
26454         * check/Makefile.am:
26455         * check/gst/gstiterator.c: (GST_START_TEST):
26456         * check/gst/gstsystemclock.c: (GST_START_TEST),
26457         (gst_systemclock_suite):
26458         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26459         * gst/gstclock.c:
26460           valgrind more tests
26461
26462 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26463
26464         * check/elements/.cvsignore:
26465         * check/elements/gstfakesrc.c:
26466           rename to name of element
26467         * check/elements/identity.c: (chain_func), (event_func),
26468         (setup_identity), (cleanup_identity), (GST_START_TEST),
26469         (identity_suite), (main):
26470           add a test for identity
26471         * check/Makefile.am:
26472         * pkgconfig/Makefile.am:
26473         * pkgconfig/gstreamer-check.pc.in:
26474         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26475         * gst/check:
26476         * gst/Makefile.am:
26477         * configure.ac:
26478           move the check stuff to a library that gets installed
26479         * check/gst-libs/controller.c: (GST_START_TEST):
26480         * check/gst-libs/gdp.c:
26481         * check/gst/gst.c: (GST_START_TEST):
26482         * check/gst/gstbin.c:
26483         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26484         * check/gst/gstbus.c:
26485         * check/gst/gstcaps.c: (GST_START_TEST):
26486         * check/gst/gstelement.c:
26487         * check/gst/gstghostpad.c:
26488         * check/gst/gstiterator.c:
26489         * check/gst/gstmessage.c:
26490         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26491         * check/gst/gstobject.c:
26492         * check/gst/gstpad.c: (GST_START_TEST):
26493         * check/gst/gststructure.c: (GST_START_TEST):
26494         * check/gst/gstsystemclock.c: (GST_START_TEST),
26495         (gst_systemclock_suite):
26496         * check/gst/gsttag.c: (gst_tag_suite):
26497         * check/gst/gstvalue.c:
26498         * check/pipelines/cleanup.c:
26499         * check/pipelines/simple_launch_lines.c:
26500         * check/states/sinks.c:
26501           change include statement
26502
26503         * docs/gst/gstreamer-sections.txt:
26504         * docs/gst/tmpl/gstpad.sgml:
26505           document more pad stuff
26506         * gst/gstminiobject.c: (gst_mini_object_ref),
26507         (gst_mini_object_unref):
26508           debug refcounting
26509
26510 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26511
26512         * docs/gst/tmpl/gst.sgml:
26513         * gst/gst.c:
26514           eliminate another tmpl file, fix spelling in the long-description
26515
26516 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26517
26518         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26519         (test_event), (timediff), (gstevents_suite):
26520           Should fix build on 64-bit arch's
26521
26522 2005-08-18  Andy Wingo  <wingo@pobox.com>
26523
26524         Make sure that when a pipeline goes to PLAYING, that data has
26525         actually hit the sink.
26526
26527         * check/states/sinks.c (test_sink): A sink that doesn't get any
26528         data shouldn't return SUCCESS for going to either PLAYING or
26529         PAUSED. Test also the return values on the way back down.
26530
26531         * gst/gstelement.c (gst_element_set_state): When changing the
26532         state of an element currently changing state asynchronously, go to
26533         lost-state after commiting the pending state. Makes future calls
26534         to get_state continue to return ASYNC.
26535
26536         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26537         ASYNC when going to PLAYING if we still don't have preroll, as can
26538         happen with live sources.
26539
26540 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26541
26542         * docs/pwg/advanced-types.xml:
26543           Hack long paragraph into 2 chunks as a workaround for buggy
26544           jadetex version in sid and breezy that loops infinitely and
26545           eats all RAM.
26546
26547 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26548
26549         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26550         (test_event), (timediff), (gstevents_suite):
26551           Provide more error margin in clock measurements to allow for 
26552           g_get_current_time inaccuracies.
26553
26554 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26555
26556         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26557         (test_event), (timediff), (gstevents_suite):
26558            Fix error message output so I might be able to tell why the
26559            test works here but fails on the build farm.
26560
26561 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26562
26563         * check/Makefile.am:
26564         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26565         (test_event), (timediff), (gstevents_suite), (main):
26566           I wrote a test!
26567
26568         * docs/design/part-seeking.txt:
26569           Spelling correction
26570
26571         * docs/gst/tmpl/gstevent.sgml:
26572         * docs/gst/tmpl/gstfakesrc.sgml:
26573           Docs updates.
26574
26575         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26576           Treat a buffer-without-newsegment the same as a receiving 
26577           a newsegment not in time format, and disable syncing to the clock
26578           with a warning.
26579
26580         * gst/gstbus.c: (gst_bus_set_sync_handler):
26581           Assert if anyone tries to replace the existing sync_handler for bus, 
26582           as only the owner should be setting it.
26583
26584         * gst/gstevent.h:
26585           Have a fixed set of custom event enums with events identified by
26586           their structure name (as in 0.8), rather than a free-for-all
26587           allowing collisions between enum values from different plugins.
26588
26589         * gst/gstpad.c: (gst_pad_class_init):
26590           Docs change.
26591           
26592         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26593           Handle out-of-band downstream events from the sending thread.
26594
26595 2005-08-17  Andy Wingo  <wingo@pobox.com>
26596
26597         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26598         play-timeout==0 to mean no timeout at all. In that case, don't
26599         bother with a get_state or a warning, just return directly, even
26600         if it's ASYNC.
26601
26602         * gst/base/gstbasetransform.c: Debug changes.
26603
26604         * gst/gstutils.h:
26605         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26606         ensure bins post state change messages. A bit of a hack but I can't
26607         think of a way to avoid it.
26608
26609         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26610
26611 2005-08-16  Andy Wingo  <wingo@pobox.com>
26612
26613         * gst/base/gstadapter.h:
26614         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26615         peek() but you own the data. Not terribly efficient atm.
26616
26617 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26618
26619         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26620         (gst_element_found_tags):
26621         * gst/gstutils.h:
26622           Add two utility functions for tag handling.
26623
26624 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26625
26626         * docs/manual/advanced-dataaccess.xml:
26627         * docs/manual/basics-helloworld.xml:
26628           Fix docs to use _bin_add() before _link(), which fixes the examples
26629           with recent core versions (reported by Madhan Raj M
26630           <raj_madan@rediffmail.com>, #313199).
26631
26632 2005-08-16  Wim Taymans  <wim@fluendo.com>
26633
26634         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26635         Added subtract checks.
26636
26637         * docs/design/part-events.txt:
26638         Some more docs about newsegment
26639
26640         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26641         Fix FIXME
26642
26643         * gst/gstcaps.c: (gst_caps_to_string):
26644         Add comments, cleanups.
26645         
26646         * gst/gstelement.c: (gst_element_save_thyself):
26647         cleanups
26648         
26649         * gst/gstvalue.c: (gst_value_collect_int_range),
26650         (gst_string_unwrap), (gst_value_union_int_int_range),
26651         (gst_value_union_int_range_int_range),
26652         (gst_value_intersect_int_int_range),
26653         (gst_value_intersect_int_range_int_range),
26654         (gst_value_intersect_double_double_range),
26655         (gst_value_intersect_double_range_double_range),
26656         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26657         (gst_value_subtract_int_range_int),
26658         (gst_value_subtract_double_range_double),
26659         (gst_value_subtract_double_range_double_range),
26660         (gst_value_subtract_from_list), (gst_value_subtract_list),
26661         (gst_value_can_compare), (gst_value_compare_fraction):
26662         Cleanups, add comments, remove unneeded asserts.
26663
26664 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26665
26666         * tools/gst-launch.c: (event_loop):
26667           don't convert NULL structures to strings
26668
26669 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26670
26671         * docs/gst/gstreamer-sections.txt:
26672           made some defines private
26673         * docs/gst/tmpl/gstconfig.sgml:
26674         * docs/gst/tmpl/gstqueue.sgml:
26675         * docs/gst/tmpl/gsttaglist.sgml:
26676         * docs/gst/tmpl/gsttypes.sgml:
26677         * docs/gst/tmpl/gstutils.sgml:
26678         * docs/pwg/appendix-porting.xml:
26679         * gst/base/gstbasesink.h:
26680         * gst/base/gstbasesrc.c:
26681         * gst/base/gstbasesrc.h:
26682         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26683         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26684         * gst/gstelement.c: (gst_element_class_init):
26685         * gst/gstpad.c: (gst_pad_class_init):
26686         * gst/gstqueue.c: (gst_queue_class_init):
26687         * gst/gstxml.c: (gst_xml_class_init):
26688           documented all undocumented signal inline
26689         * libs/gst/controller/gst-controller.h:
26690           added padding
26691
26692 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26693
26694         * docs/pwg/appendix-porting.xml:
26695           Document _set_link_function -> _set_setcaps_function.
26696
26697 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26698
26699         * check/Makefile.am:
26700           add a .check target for running the check
26701         * check/gst-libs/controller.c: (GST_START_TEST):
26702           cosmetic fixups
26703         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26704           complete checks for gstbuffer; would be nice if I could get the
26705           gcov stuff to work so I can see if I actually completed gstbuffer.c
26706         * check/gstcheck.h:
26707           add ASSERT_BUFFER_REFCOUNT
26708
26709 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26710
26711         * docs/gst/gstreamer-sections.txt:
26712         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26713         * gst/gsttag.h:
26714           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26715           spew out a warning if a tag that is already registered
26716           is re-registered, unless it is re-registered with a 
26717           different type (#308438).
26718
26719 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26720
26721         * docs/pwg/appendix-porting.xml:
26722         * docs/pwg/building-state.xml:
26723           Add some paragraphs about state changes in 0.9 to the PWG
26724           and the porting guide, in particular about the new meaning
26725           of GST_STATE_PAUSED and how to write state change functions
26726           with concurrent access by multiple threads in mind.
26727
26728 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26729
26730         * docs/gst/gstreamer-docs.sgml:
26731         * docs/libs/gstreamer-libs-docs.sgml:
26732           added deprecation and since indexes
26733         * libs/gst/controller/gst-controller.c:
26734         * libs/gst/controller/gst-helper.c:
26735           added since tags
26736
26737
26738 2005-08-11  Wim Taymans  <wim@fluendo.com>
26739
26740         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26741         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26742         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26743         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26744         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26745         (gst_ghost_pad_set_target):
26746         Actually implement (re)setting the target on a ghostpad
26747         as described in the docs.
26748
26749 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26750
26751         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26752           Check whether GST_DEBUG_NO_COLOR environment variable is
26753           set and disable coloured debug output if that is the case.
26754
26755 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26756
26757         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26758         (gst_type_find_helper):
26759           The memory returned by gst_type_find_peek() needs to
26760           stay valid until the end of a typefind function, and
26761           typefind functions may keep results from different 
26762           offsets around, so we can't just unref the buffer from
26763           the previous _peek(), but have to save all buffers 
26764           returned by _peek() until typefinding is done and only
26765           free them then.
26766
26767 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26768
26769         * docs/gst/gstreamer-sections.txt:
26770         * gst/gstutils.h:
26771           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26772
26773 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26774
26775         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26776           Fix a pretty good memleak.
26777
26778 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26779
26780         * gst/gstiterator.h:
26781           Fix wrong include and 'make distcheck'.
26782
26783 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26784
26785         * gst/gstbin.c: (bin_bus_handler):
26786           Use gst_element_post_message() instead.
26787
26788 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26789
26790         * gst/base/gstadapter.h:
26791         * gst/base/gstbasesink.h:
26792         * gst/base/gstbasesrc.h:
26793         * gst/base/gstbasetransform.h:
26794         * gst/base/gstcollectpads.h:
26795         * gst/base/gstpushsrc.h:
26796         * gst/gstiterator.h:
26797           Add padding to our base elements' class and instance structs and
26798           to GstIterator (you will need to rebuild all plugins and apps!)
26799
26800 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26801
26802         * gst/gstbin.c: (bin_bus_handler):
26803           Make default message forwarding from child->bus to bin->bus
26804           threadsafe and make it not emit warnings if the parent has no bus.
26805
26806 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26807
26808         * gst/gstelement.c: (activate_pads):
26809           On paused->ready, set pad->caps to NULL, as is the documented
26810           behaviour in this state change. Fixes playback of series of
26811           media files when visualization is enabled in Totem.
26812
26813 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26814
26815         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26816           Allow NULL as filter-caps (which means "any").
26817
26818 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26819
26820         * docs/libs/gstreamer-libs-sections.txt:
26821         * libs/gst/controller/gst-controller.c:
26822         * libs/gst/controller/gst-controller.h:
26823         * libs/gst/controller/gst-helper.c:
26824           adding more entries to the docs and fix small doc-bugs
26825
26826 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26827
26828         * docs/gst/gstreamer-docs.sgml:
26829         * docs/gst/gstreamer-sections.txt:
26830         * docs/gst/gstreamer.types:
26831         * docs/gst/tmpl/gstbasesink.sgml:
26832         * docs/gst/tmpl/gstbasesrc.sgml:
26833         * docs/gst/tmpl/gstbasetransform.sgml:
26834         * docs/gst/tmpl/gstfakesrc.sgml:
26835         * gst/base/gstcollectpads.c:
26836         * gst/base/gstcollectpads.h:
26837         * libs/gst/controller/gst-controller.c:
26838         * libs/gst/controller/gst-controller.h:
26839         * libs/gst/controller/gst-helper.c:
26840         * libs/gst/controller/gst-interpolation.c:
26841         * libs/gst/controller/lib.c:
26842           added long/short desc for controller docs
26843           added collectpads base class docs
26844           added correct includes to base-class docs
26845
26846 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26847
26848         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26849         (gst_test_mono_source_set_property),
26850         (gst_test_mono_source_class_init), (GST_START_TEST),
26851         (gst_controller_suite):
26852         * docs/gst/gstreamer-docs.sgml:
26853         * docs/gst/gstreamer-sections.txt:
26854         * docs/gst/gstreamer.types:
26855         * docs/libs/gstreamer-libs-docs.sgml:
26856         * docs/libs/gstreamer-libs-sections.txt:
26857         * gst/base/gstadapter.c:
26858         * libs/gst/controller/gst-controller.c:
26859         (gst_controlled_property_new), (gst_controlled_property_free),
26860         (gst_controller_new_valist),
26861         (gst_controller_remove_properties_valist),
26862         (gst_controller_sink_values), (_gst_controller_finalize):
26863         * libs/gst/controller/gst-controller.h:
26864         * libs/gst/controller/gst-helper.c:
26865         (gst_object_control_properties), (gst_object_uncontrol_properties),
26866         (gst_object_get_controller), (gst_object_set_controller),
26867         (gst_object_sink_values), (gst_object_get_value_arrays),
26868         (gst_object_get_value_array):
26869           more tests (and fixes) for the controller
26870           more docs for the controller
26871           integrated companies docs for the adapter 
26872
26873 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
26874
26875         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26876         (GST_START_TEST), (fakesrc_suite):
26877           add tests for sizetype
26878
26879 2005-08-04  Andy Wingo  <wingo@pobox.com>
26880
26881         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26882         fixes buffer_alloc proxying among other things.
26883
26884         * gst/base/gstbasetransform.c:
26885         * gst/base/gstbasetransform.h:
26886         Revert patch to gstbasetransform from 7-28 removing
26887         delay_configure.
26888
26889         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26890         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26891         Semantics changed, should return not the size of the output buffer
26892         but the byte size of a buffer with a given caps.
26893
26894         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26895         debug object.
26896         (gst_base_transform_configure_caps): Don't set out_size here: (in,
26897         out) are not the pad caps until setcaps finishes.
26898         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26899         not-in-place case as well. Deal with changing from in-place to
26900         not-in-place within calling pad_alloc_buffer. Still a bit
26901         concerned about the overhead here...
26902
26903 2005-08-03  Andy Wingo  <wingo@pobox.com>
26904
26905         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26906         fixating is an error.
26907
26908 2005-08-04  Edward Hervey  <edward@fluendo.com>
26909
26910         * gst/base/gstadapter.h: 
26911         Added gst_adapter_get_type() to the header
26912
26913 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26914
26915         * check/Makefile.am:
26916         * check/gst-libs/controller.c:
26917         * libs/gst/controller/gst-controller.c:
26918         (gst_controller_new_valist):
26919           added check test suite for the controller
26920         * gst/base/gstpushsrc.c:
26921           fixed a doc typo
26922
26923 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26924
26925         * docs/gst/Makefile.am:
26926         * docs/gst/gstreamer-docs.sgml:
26927         * docs/gst/gstreamer-sections.txt:
26928         * docs/gst/gstreamer.types:
26929         * docs/gst/tmpl/gstfakesrc.sgml:
26930         * gst/base/README:
26931         * gst/base/gstbasesink.c:
26932         * gst/base/gstbasesink.h:
26933         * gst/base/gstbasesrc.c:
26934         * gst/base/gstbasesrc.h:
26935         * gst/base/gstbasetransform.c:
26936         * gst/base/gstpushsrc.c:
26937         * gst/base/gstpushsrc.h:
26938           add short/long description docs to base classes
26939           add pushsrc to the docs
26940           remove consolidated doc fragments
26941
26942 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
26943
26944         * configure.ac:
26945         * docs/libs/Makefile.am:
26946         * docs/libs/gstreamer-libs-docs.sgml:
26947         * docs/libs/gstreamer-libs-sections.txt:
26948         * docs/libs/gstreamer-libs.types:
26949         * examples/Makefile.am:
26950         * examples/controller/.cvsignore:
26951         * examples/controller/Makefile.am:
26952         * examples/controller/audio-example.c: (main):
26953         * libs/gst/Makefile.am:
26954         * libs/gst/controller/.cvsignore:
26955         * libs/gst/controller/Makefile.am:
26956         * libs/gst/controller/gst-controller.c:
26957         (on_object_controlled_property_changed), (gst_timed_value_compare),
26958         (gst_timed_value_find),
26959         (gst_controlled_property_set_interpolation_mode),
26960         (gst_controlled_property_new), (gst_controlled_property_free),
26961         (gst_controller_find_controlled_property),
26962         (gst_controller_new_valist), (gst_controller_new),
26963         (gst_controller_remove_properties_valist),
26964         (gst_controller_remove_properties), (gst_controller_set),
26965         (gst_controller_set_from_list), (gst_controller_unset),
26966         (gst_controller_get), (gst_controller_get_all),
26967         (gst_controller_sink_values), (gst_controller_get_value_arrays),
26968         (gst_controller_get_value_array),
26969         (gst_controller_set_interpolation_mode),
26970         (_gst_controller_finalize), (_gst_controller_init),
26971         (_gst_controller_class_init), (gst_controller_get_type):
26972         * libs/gst/controller/gst-controller.h:
26973         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26974         (g_object_uncontrol_properties), (g_object_get_controller),
26975         (g_object_set_controller), (g_object_sink_values),
26976         (g_object_get_value_arrays), (g_object_get_value_array):
26977         * libs/gst/controller/gst-interpolation.c:
26978         (gst_controlled_property_find_timed_value_node),
26979         (interpolate_none_get), (interpolate_trigger_get),
26980         (interpolate_trigger_get_value_array):
26981         * libs/gst/controller/lib.c: (gst_controller_init):
26982         * pkgconfig/Makefile.am:
26983         * pkgconfig/gstreamer-control-uninstalled.pc.in:
26984         * pkgconfig/gstreamer-control.pc.in:
26985         * testsuite/Makefile.am:
26986         * testsuite/controller/.cvsignore:
26987         * testsuite/controller/Makefile.am:
26988         * testsuite/controller/interpolator.c: (main):
26989           added controller code
26990           removed dparam pc files
26991
26992 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26993         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26994         (gst_collectpads_stop):
26995           Broadcast the condition when shutting down, to make sure we wake all
26996           threads up. Shut down pads on finalize, for safety.
26997
26998 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
26999         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27000         (gst_base_transform_handle_buffer),
27001         (gst_base_transform_change_state):
27002           Handle PAUSED->READY->PAUSED transition after negotiation
27003           occurred already.
27004         * gst/gstmessage.c: (gst_message_init):
27005           Extra piece of debug for new messages.
27006
27007 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27008
27009         * configure.ac:
27010         * docs/gst/tmpl/gstbasesrc.sgml:
27011         * docs/gst/tmpl/gstelement.sgml:
27012         * docs/gst/tmpl/gstevent.sgml:
27013         * docs/gst/tmpl/gstfakesrc.sgml:
27014         * docs/gst/tmpl/gstformat.sgml:
27015         * docs/gst/tmpl/gstghostpad.sgml:
27016         * docs/gst/tmpl/gstpad.sgml:
27017         * docs/gst/tmpl/gstquery.sgml:
27018         * docs/gst/tmpl/gststructure.sgml:
27019         * docs/gst/tmpl/gsttaglist.sgml:
27020         * docs/gst/tmpl/gstvalue.sgml:
27021         * docs/libs/gstreamer-libs-docs.sgml:
27022         * docs/libs/gstreamer-libs-sections.txt:
27023         * docs/libs/gstreamer-libs.types:
27024         * libs/gst/Makefile.am:
27025         * libs/gst/control/.cvsignore:
27026         * libs/gst/control/Makefile.am:
27027         * libs/gst/control/control.c:
27028         * libs/gst/control/control.h:
27029         * libs/gst/control/dparam.c:
27030         * libs/gst/control/dparam.h:
27031         * libs/gst/control/dparam_smooth.c:
27032         * libs/gst/control/dparam_smooth.h:
27033         * libs/gst/control/dparamcommon.h:
27034         * libs/gst/control/dparammanager.c:
27035         * libs/gst/control/dparammanager.h:
27036         * libs/gst/control/dplinearinterp.c:
27037         * libs/gst/control/dplinearinterp.h:
27038         * libs/gst/control/unitconvert.c:
27039         * libs/gst/control/unitconvert.h:
27040         * testsuite/Makefile.am:
27041         * testsuite/dynparams/.cvsignore:
27042         * testsuite/dynparams/Makefile.am:
27043         * testsuite/dynparams/dparamstest.c:
27044         * tools/Makefile.am:
27045         * tools/gst-inspect.c: (print_element_info), (main):
27046         * tools/gst-xmlinspect.c: (print_element_info), (main):
27047           deactivate and remove dparams (libgstcontrol)
27048
27049 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27050
27051         * gst/elements/gsttypefindelement.c:
27052         (gst_type_find_element_have_type), (gst_type_find_element_init),
27053         (stop_typefinding), (gst_type_find_element_handle_event),
27054         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27055         * gst/elements/gsttypefindelement.h:
27056           Set caps on all outgoing buffers, not just the first one.
27057
27058 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27059
27060         * gst/elements/gsttypefindelement.c:
27061         (gst_type_find_element_have_type),
27062         (gst_type_find_element_check_set_buffer_caps),
27063         (gst_type_find_element_init), (stop_typefinding),
27064         (gst_type_find_element_handle_event),
27065         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27066         * gst/elements/gsttypefindelement.h:
27067           Set caps on first outgoing buffer when we've found the type.
27068
27069 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27070
27071         * docs/gst/gstreamer-docs.sgml:
27072         * docs/gst/gstreamer-sections.txt:
27073         * docs/gst/tmpl/gstscheduler.sgml:
27074         * docs/gst/tmpl/gstschedulerfactory.sgml:
27075           Remove some old cruft from docs.
27076
27077 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27078
27079         * gst/gstpad.h:
27080           Fix inline docs for GstPadLinkReturn.
27081           
27082         * gst/gststructure.c: (gst_structure_has_name):
27083         * gst/gststructure.h:
27084         * docs/gst/gstreamer-sections.txt:
27085           New API: gst_structure_has_name().
27086
27087 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27088
27089         * configure.ac:
27090           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27091           and _LARGEFILE_SOURCE in config.h as required. Do not 
27092           export those flags in our .pc files any longer (#142209).
27093
27094           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27095
27096         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27097         (gst_file_sink_do_seek), (gst_file_sink_event),
27098         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27099           Redo seek/tell calls with large file support in mind; add some
27100           debugging messages; add log message that tells us when large
27101           file support is unavailable or not enabled for some reason.
27102
27103         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27104           Add log message that tells us when large file support 
27105           is unavailable or not enabled for some reason.
27106
27107 2005-07-29  Wim Taymans  <wim@fluendo.com>
27108
27109         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27110         Added test for removing an element with ghostpad from a bin.
27111         Fixed test as current implementation does the right thing.
27112
27113         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27114         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27115         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27116         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27117         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27118         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27119         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27120         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27121         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27122         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27123         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27124         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27125         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27126         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27127         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27128         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27129         * gst/gstghostpad.h:
27130         Clean up ghostpads, remove properties for internal stuff.
27131         Make threadsafe.
27132         Fix refcounting.
27133         Prepare for switching targets, not all use cases work yet.
27134
27135 2005-07-29  Wim Taymans  <wim@fluendo.com>
27136
27137         * docs/design/part-gstghostpad.txt:
27138         Small update.
27139
27140         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27141         (gst_bin_remove_func):
27142         Unlinking pads while holding the bin LOCK is not a good
27143         idea.
27144
27145         * gst/gstpad.c: (gst_pad_class_init),
27146         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27147         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27148         No prob setting template after creating the pad.
27149
27150 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27151
27152         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27153         (gst_bus_peek), (gst_bus_source_dispatch),
27154         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27155         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27156           gst_bus_poll may be called from other threads. Handle
27157           this nicely by not making poll_data disappear off the
27158           stack once gst_bus_poll returns.
27159           gst_bus_peek now increments the refcount on the returned
27160           message.
27161
27162 2005-07-29  Wim Taymans  <wim@fluendo.com>
27163
27164         * docs/design/part-gstghostpad.txt:
27165         Overview of current GhostPad datastructures and use
27166         cases for changing the target.
27167
27168 2005-07-28  Wim Taymans  <wim@fluendo.com>
27169
27170         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27171         Added checks for hierarchy consistency whan adding linked
27172         elements to bins.
27173
27174         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27175         Added check to test element scheduling without bin/pipeline.
27176
27177         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27178         First add elements to bin, then link.
27179         
27180         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27181         (gst_bin_remove_func):
27182         Unlink pads from elements added/removed from bin to maintain
27183         hierarchy consistency.
27184
27185 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27186
27187         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27188         (gst_base_transform_handle_buffer):
27189         * gst/base/gstbasetransform.h:
27190           Remove broken delay_configure (fixes renegotiation of software
27191           scaling pipelines); remove some leftover printf()s.
27192
27193 2005-07-28  Wim Taymans  <wim@fluendo.com>
27194
27195         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27196         Added some more tests for wrong hierarchy
27197
27198         * docs/design/part-overview.txt:
27199         Some updates.
27200
27201         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27202         Cleanups.
27203
27204         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27205         (gst_element_dispose):
27206         Some more cleanups.
27207
27208         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27209         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27210         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27211         (gst_pad_set_caps), (gst_pad_send_event):
27212         Check for correct hierarchy when linking pads. Moving to
27213         strict requirement for ghostpads when linking elements in
27214         different bins.
27215
27216         * gst/gstpad.h:
27217         Clean ups. Added WRONG_HIERARCHY return value.
27218
27219 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27220
27221         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27222           Better debug if no transform is possible.
27223
27224 2005-07-27  Wim Taymans  <wim@fluendo.com>
27225
27226         * docs/random/wtay/network-transp:
27227         Some old doc I had.
27228
27229 2005-07-27  Wim Taymans  <wim@fluendo.com>
27230
27231         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27232         (gst_dp_event_from_packet):
27233         Fix serialization of seek events.
27234
27235 2005-07-27  Wim Taymans  <wim@fluendo.com>
27236
27237         * check/gst-libs/gdp.c: (GST_START_TEST):
27238         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27239         Fix compilation and fix event serialization.
27240
27241 2005-07-27  Wim Taymans  <wim@fluendo.com>
27242
27243         * CHANGES-0.9:
27244         * docs/design/part-TODO.txt:
27245         * docs/design/part-events.txt:
27246         Some docs updates
27247
27248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27249         (gst_base_sink_event), (gst_base_sink_do_sync),
27250         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27251         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27252         (gst_base_src_do_seek), (gst_base_src_event_handler),
27253         (gst_base_src_loop):
27254         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27255         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27256         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27257         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27258         (gst_base_transform_set_passthrough),
27259         (gst_base_transform_is_passthrough):
27260         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27261         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27262         Event updates.
27263
27264         * gst/gstbuffer.h:
27265         Use faster casts.
27266
27267         * gst/gstelement.c: (gst_element_seek):
27268         * gst/gstelement.h:
27269         Update gst_element_seek.
27270
27271         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27272         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27273         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27274         (gst_event_new_eos), (gst_event_new_newsegment),
27275         (gst_event_parse_newsegment), (gst_event_new_tag),
27276         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27277         (gst_event_parse_qos), (gst_event_new_seek),
27278         (gst_event_parse_seek), (gst_event_new_navigation):
27279         * gst/gstevent.h:
27280         Make GstEvent use GstStructure. Add parsing code, make sure the
27281         API is sufficiently generic.
27282         Mark possible directions of events and serialization.
27283
27284         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27285         (_gst_message_copy), (gst_message_new_segment_start),
27286         (gst_message_new_segment_done), (gst_message_new_custom),
27287         (gst_message_parse_segment_start),
27288         (gst_message_parse_segment_done):
27289         Small cleanups.
27290
27291         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27292         (gst_pad_set_caps), (gst_pad_send_event):
27293         Update for new events. 
27294         Catch events sent in wrong directions.
27295
27296         * gst/gstqueue.c: (gst_queue_link_src),
27297         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27298         (gst_queue_handle_src_query):
27299         Event updates.
27300
27301         * gst/gsttag.c:
27302         * gst/gsttag.h:
27303         Remove event code from this file.
27304
27305         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27306         (gst_dp_event_from_packet):
27307         Event updates.
27308
27309 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27310
27311         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27312         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27313         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27314           Make debugging actually useful.
27315
27316 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27317
27318         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27319         (gst_pad_fixate_caps):
27320           Implement default fixation once again, so that gst_pad_fixate()
27321           actually does anything at all. This probably needs to be some
27322           sort of a last resort, and use profile-based fixation first, but
27323           since that doesn't exist yet, this is the best we have. Fixes
27324           visualization in Totem.
27325
27326 2005-07-22  Wim Taymans  <wim@fluendo.com>
27327
27328         * docs/design/part-events.txt:
27329         Small update.
27330
27331         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27332         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27333         (gst_base_sink_activate_pull):
27334         Some more comments.
27335
27336         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27337         (gst_fake_src_create):
27338         Fix handoff marshall.
27339
27340         * gst/elements/gstidentity.c: (gst_identity_class_init),
27341         (gst_identity_transform_ip):
27342         We're a real inplace element.
27343
27344         * gst/gstbus.c: (gst_bus_post):
27345         Added some comments.
27346
27347         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27348         * tests/muxing/case1.c: (main):
27349         * tests/sched/dynamic-pipeline.c: (main):
27350         * tests/sched/interrupt1.c: (main):
27351         * tests/sched/interrupt2.c: (main):
27352         * tests/sched/interrupt3.c: (main):
27353         * tests/sched/runxml.c: (main):
27354         * tests/sched/sched-stress.c: (main):
27355         * tests/seeking/seeking1.c: (event_received), (main):
27356         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27357         (main):
27358         * tests/threadstate/threadstate3.c: (main):
27359         * tests/threadstate/threadstate4.c: (main):
27360         * tests/threadstate/threadstate5.c: (main):
27361         Fix the tests.
27362
27363 2005-07-21  Wim Taymans  <wim@fluendo.com>
27364
27365         * docs/design/part-seeking.txt:
27366         Some small additions.
27367
27368         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27369         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27370         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27371         * gst/base/gstbasesink.h:
27372         discont values are gint64, handle the math correctly.
27373
27374         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27375         Make the basesrc report error if the source pad is not linked.
27376
27377         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27378         (gst_queue_loop), (gst_queue_handle_src_query),
27379         (gst_queue_src_activate_push):
27380         Make queue collect data even if the srcpad is not linked.
27381         Start pushing out data as soon as it is linked.
27382
27383         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27384         * gst/gstutils.h:
27385         Added gst_flow_get_name() to ease error reporting.
27386
27387 2005-07-20  Wim Taymans  <wim@fluendo.com>
27388
27389         * gst/gstmessage.c: (gst_message_new_segment_start),
27390         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27391         (gst_message_parse_segment_done):
27392         * gst/gstmessage.h:
27393         Added a bunch of messages for advanced seeking.
27394
27395         * gst/parse/grammar.y:
27396         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27397         (gst_dpman_state_changed):
27398         Fix some new-pad -> pad-added signals
27399
27400 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27401
27402         * docs/manual/appendix-porting.xml:
27403         * docs/pwg/appendix-porting.xml:
27404           Document new-pad/state-change signal renames and the FixedList
27405           type rename.
27406
27407 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27408
27409         * docs/manual/advanced-autoplugging.xml:
27410         * docs/manual/basics-helloworld.xml:
27411         * docs/manual/basics-pads.xml:
27412         * docs/random/ds/0.9-suggested-changes:
27413         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27414         * gst/gstelement.h:
27415         * gst/gstevent.h:
27416         * gst/gstformat.h:
27417         * gst/gstquery.h:
27418         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27419         (gst_structure_parse_array), (gst_structure_parse_value):
27420         * gst/gstvalue.c: (gst_type_is_fixed),
27421         (gst_value_list_prepend_value), (gst_value_list_append_value),
27422         (gst_value_list_get_size), (gst_value_list_get_value),
27423         (gst_value_transform_array_string), (gst_value_serialize_array),
27424         (gst_value_deserialize_array), (gst_value_intersect_array),
27425         (gst_value_is_fixed), (_gst_value_initialize):
27426         * gst/gstvalue.h:
27427           GstElement::new-pad -> pad-added, GstElement::state-change ->
27428           state-changed, GstValueFixedList -> GstValueArray, add format and
27429           flags as their own arguments in gst_element_seek() (should improve
27430           "bindeability"), remove function generators since they don't work
27431           under a whole bunch of compilers (they were deprecated already
27432           anyway).
27433
27434 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27435
27436         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27437         (_gst_debug_register_funcptr):
27438         * gst/gstinfo.h:
27439           Fix illegal cast on some platforms (#309253).
27440
27441 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27442
27443         * gst/gstmessage.c: (gst_message_new_custom):
27444         * gst/gstmessage.h:
27445           Add _new_custom, make _new_application a macro to _new_custom.
27446
27447 2005-07-20  Wim Taymans  <wim@fluendo.com>
27448
27449         * gst/base/gstbasesrc.c: (gst_base_src_init),
27450         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27451         * gst/base/gstbasesrc.h:
27452         Add a gboolean to decide when to push out a discont.
27453
27454         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27455         (gst_queue_loop), (gst_queue_handle_src_query),
27456         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27457         (gst_queue_set_property), (gst_queue_get_property):
27458         Some cleanups.
27459
27460         * tests/threadstate/threadstate1.c: (main):
27461         Make a thread test compile and run... very silly..
27462
27463
27464 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27465
27466         * docs/manual/appendix-porting.xml:
27467           Mention removal of libgstgconf-0.9.la and existence of gconf
27468           elements.
27469
27470 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27471
27472         * docs/pwg/advanced-clock.xml:
27473         * docs/pwg/appendix-porting.xml:
27474         * docs/pwg/intro-preface.xml:
27475         * docs/pwg/other-base.xml:
27476         * docs/pwg/other-manager.xml:
27477         * docs/pwg/other-nton.xml:
27478         * docs/pwg/other-ntoone.xml:
27479         * docs/pwg/other-oneton.xml:
27480         * docs/pwg/pwg.xml:
27481           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27482           demuxer), remove n-to-n (was never written), fix some code examples
27483           and links and update the porting section to include all this.
27484
27485 2005-07-19  Wim Taymans  <wim@fluendo.com>
27486
27487         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27488         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27489         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27490         (gst_queue_src_activate_push), (gst_queue_change_state),
27491         (gst_queue_get_property):
27492         * gst/gstqueue.h:
27493         Propagate GstFlowReturn more intelligently upstream and output
27494         an ERROR/EOS when streaming stopped due to fatal error.
27495
27496 2005-07-19  Wim Taymans  <wim@fluendo.com>
27497
27498         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27499         Don't block forever for the state change to complete, the
27500         pipeline already did with a sensible timeout.
27501
27502 2005-07-19  Wim Taymans  <wim@fluendo.com>
27503
27504         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27505         Make sure we never call the create function is we
27506         got deactivated.
27507
27508 2005-07-19  Andy Wingo  <wingo@pobox.com>
27509
27510         * gst/parse/parse.l: Attempt to solve bug #172815.
27511
27512 2005-07-19  Wim Taymans  <wim@fluendo.com>
27513
27514         * docs/design/part-clocks.txt:
27515         * docs/design/part-events.txt:
27516         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27517         Small docs updates.
27518         Only update the seeking values when we are not
27519         busy streaming.
27520
27521 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27522
27523         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27524           Oops, ignore the result of gst_pad_push_event here.
27525
27526 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27527
27528         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27529         (gst_base_src_activate_push):
27530           Send discont event from the loop function, as pads
27531           aren't activated yet in the activate_push handler.
27532
27533         * gst/gstbin.c: (bin_bus_handler):
27534           Don't leak element name.
27535
27536 2005-07-18  Andy Wingo  <wingo@pobox.com>
27537
27538         * configure.ac: Use AS_LIBTOOL_TAGS.
27539
27540 2005-07-18  Wim Taymans  <wim@fluendo.com>
27541
27542         * docs/gst/gstreamer.types:
27543         Remove deleted types.
27544
27545 2005-07-18  Wim Taymans  <wim@fluendo.com>
27546
27547         * check/elements/gstfakesrc.c: (GST_START_TEST):
27548         * configure.ac:
27549         * gst/Makefile.am:
27550         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27551         (init_popt_callback):
27552         * gst/gst.h:
27553         * gst/gst_private.h:
27554         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27555         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27556         * gst/gstbin.h:
27557         * gst/gstbus.h:
27558         * gst/gstconfig.h.in:
27559         * gst/gstelement.c: (gst_element_class_init),
27560         (gst_element_set_base_time), (gst_element_get_base_time),
27561         (iterator_fold_with_resync), (gst_element_change_state),
27562         (gst_element_dispose), (gst_element_get_bus):
27563         * gst/gstelement.h:
27564         * gst/gstelementfactory.h:
27565         * gst/gsterror.c: (_gst_core_errors_init):
27566         * gst/gsterror.h:
27567         * gst/gstevent.h:
27568         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27569         * gst/gstindex.c:
27570         * gst/gstinfo.c: (_gst_debug_init):
27571         * gst/gstmessage.c: (_gst_message_copy):
27572         * gst/gstmessage.h:
27573         * gst/gstminiobject.h:
27574         * gst/gstobject.c:
27575         * gst/gstobject.h:
27576         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27577         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27578         * gst/gstpad.h:
27579         * gst/gstparse.h:
27580         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27581         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27582         (gst_pipeline_get_last_stream_time):
27583         * gst/gstpipeline.h:
27584         * gst/gstpluginfeature.h:
27585         * gst/gstquery.h:
27586         * gst/gstscheduler.c:
27587         * gst/gstscheduler.h:
27588         * gst/gststructure.h:
27589         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27590         (gst_task_finalize), (gst_task_func), (gst_task_create),
27591         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27592         (gst_task_stop), (gst_task_pause):
27593         * gst/gsttask.h:
27594         * gst/gsttypefind.h:
27595         * gst/gsttypes.h:
27596         * gst/registries/gstlibxmlregistry.c: (load_feature),
27597         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27598         * gst/registries/gstxmlregistry.c:
27599         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27600         * gst/schedulers/threadscheduler.c:
27601         * libs/gst/control/dparammanager.h:
27602         * tools/gst-inspect.c: (print_element_list),
27603         (print_plugin_features), (print_element_features):
27604         * tools/gst-xmlinspect.c: (print_element_list),
27605         (print_plugin_info), (main):
27606         Removed plugable schedulers.
27607         Removed Scheduler/Manager from elements.
27608         Removed gsttypes.h, rearranged includes.
27609         Removed dependency pad<->element, element<>pipeline, and
27610         various others,  fix includes.
27611         implement gst_pad_get_parent() with gst_object_get_parent()
27612         Make GstTask sefcontained.
27613         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27614         timeout.
27615         Fix endless loop in iterator_fold_with_resync.
27616
27617
27618 2005-07-18  Wim Taymans  <wim@fluendo.com>
27619
27620         * gst/Makefile.am:
27621         * gst/gstarch.h:
27622         Remove old file.
27623
27624 2005-07-18  Wim Taymans  <wim@fluendo.com>
27625
27626         * gst/Makefile.am:
27627         No more cothreads.h
27628
27629 2005-07-18  Wim Taymans  <wim@fluendo.com>
27630
27631         * gst/cothreads.c:
27632         * gst/cothreads.h:
27633         Let's remove these.
27634
27635 2005-07-18  Wim Taymans  <wim@fluendo.com>
27636
27637         * docs/design/part-dynamic.txt:
27638         * docs/design/part-events.txt:
27639         * docs/design/part-seeking.txt:
27640         Some more docs in the works.
27641
27642         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27643         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27644         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27645         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27646         (gst_base_transform_handle_buffer),
27647         (gst_base_transform_sink_activate_push),
27648         (gst_base_transform_src_activate_pull),
27649         (gst_base_transform_set_passthrough),
27650         (gst_base_transform_is_passthrough):
27651         Refcounting fixes.
27652
27653         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27654         Cleanups.
27655
27656         * gst/gstevent.c: (gst_event_finalize):
27657         Set SRC to NULL.
27658
27659         * gst/gstutils.c: (gst_element_unlink),
27660         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27661         (gst_pad_proxy_setcaps):
27662         * gst/gstutils.h:
27663         Add _get_parent_element() to get a pads parent as an element.
27664
27665 2005-07-18  Wim Taymans  <wim@fluendo.com>
27666
27667         * check/gst/gstbin.c: (GST_START_TEST):
27668         Remove bogus test.
27669
27670 2005-07-18  Wim Taymans  <wim@fluendo.com>
27671
27672         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27673         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27674         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27675         (gst_base_sink_event), (gst_base_sink_do_sync),
27676         (gst_base_sink_chain), (gst_base_sink_loop),
27677         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27678         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27679         Refcounting fixes.
27680         Fix logic for returning ASYNC when not prerolled.
27681
27682 2005-07-18  Wim Taymans  <wim@fluendo.com>
27683
27684         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27685         Fix nasty refcount bug.
27686
27687 2005-07-16 Philippe Khalaf <burger@speedy.org>
27688
27689         * gst/elements/gstfdsrc.c:
27690         * gst/elements/gstfdsrc.h:
27691         * gst/elements/gstelements.c:
27692         * gst/elements/Makefile.am:
27693         Ported fdsrc to 0.9.
27694
27695 2005-07-16  Wim Taymans  <wim@fluendo.com>
27696
27697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27698         (gst_base_sink_do_sync):
27699         Fix compile error.
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_event), (gst_base_sink_get_times),
27705         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27706         * gst/base/gstbasesink.h:
27707         Store and use discont values when syncing buffers as described
27708         in design docs.
27709         
27710         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27711         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27712         (gst_base_src_activate_push):
27713         Push discont event when starting.
27714
27715         * gst/elements/gstidentity.c: (gst_identity_transform):
27716         Small cleanups.
27717
27718         * gst/gstbin.c: (gst_bin_change_state):
27719         Small cleanups in base_time  distribution.
27720
27721         * gst/gstelement.c: (gst_element_set_base_time),
27722         (gst_element_get_base_time), (gst_element_change_state):
27723         * gst/gstelement.h:
27724         Added methods for the base_time of the element.
27725         Some MT fixes.
27726
27727         * gst/gstpipeline.c: (gst_pipeline_send_event),
27728         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27729         (gst_pipeline_get_last_stream_time):
27730         * gst/gstpipeline.h:
27731         MT fixes.
27732         Handle seeking as described in design doc, remove stream_time
27733         hack.
27734         Cleanups clock and stream_time selection code. Added accessors
27735         for the stream_time.
27736         
27737
27738 2005-07-16  Andy Wingo  <wingo@pobox.com>
27739
27740         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27741         (#305291).
27742
27743 2005-07-16  Wim Taymans  <wim@fluendo.com>
27744
27745         * check/gst/gstbin.c: (GST_START_TEST):
27746         Make elements silent as the deep_notify refs the
27747         parent, which might make the test fail.
27748
27749         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27750         Don't hold the lock for too long.
27751
27752 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27753
27754         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27755           Don't unref the caps we passed to gst_caps_make_writable() after
27756           passing them. gst_caps_make_writable() will do that for us.
27757
27758 2005-07-15  Andy Wingo  <wingo@pobox.com>
27759
27760         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27761         (#157311).
27762
27763         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27764         own marshalling function for the handoff signal. Properly type the
27765         buffer as a buffer. Fixes some warnings. Should do a more general
27766         solution.
27767         (gst_identity_class_init): Plug into the right marshaller.
27768
27769 2005-07-15  Wim Taymans  <wim@fluendo.com>
27770
27771         * docs/design/part-TODO.txt:
27772         * docs/design/part-clocks.txt:
27773         * docs/design/part-element-sink.txt:
27774         * docs/design/part-events.txt:
27775         * docs/design/part-gstpipeline.txt:
27776         Updated docs, mostly DISCONT related.
27777
27778 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27779
27780         * docs/pwg/building-pads.xml:
27781           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27782
27783 2005-07-15  Andy Wingo  <wingo@pobox.com>
27784
27785         * tools/gst-typefind.c: Update, add copyright block.
27786
27787         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27788         Normalize and truncate caps before fixation.
27789
27790         * gst/gstcaps.h:
27791         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27792         discards all but the first structure from its argument.
27793
27794 2005-07-15  Wim Taymans  <wim@fluendo.com>
27795
27796         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27797         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27798         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27799         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27800         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27801         (gst_base_transform_chain), (gst_base_transform_change_state),
27802         (gst_base_transform_set_passthrough),
27803         (gst_base_transform_is_passthrough):
27804         * gst/base/gstbasetransform.h:
27805         Make passthrough work using the bufferpools.
27806         Changed API a bit, subclasses have to write into a buffer
27807         provided by the base class.
27808         More debug info in nego functions.
27809         
27810         * gst/elements/gstidentity.c: (gst_identity_init),
27811         (gst_identity_transform):
27812         Port to new base class.
27813
27814 2005-07-15  Wim Taymans  <wim@fluendo.com>
27815
27816         * gst/gstmessage.c: (gst_message_new_state_changed):
27817         * tools/gst-launch.c: (event_loop), (main):
27818         Totally dump messages in -launch with the -m option.
27819         Fix message name for State messages,
27820
27821 2005-07-14  Wim Taymans  <wim@fluendo.com>
27822
27823         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27824         Post error messages on errors.
27825
27826 2005-07-14  Wim Taymans  <wim@fluendo.com>
27827
27828         * gst/gstcaps.c: (gst_caps_do_simplify):
27829         Remove debug info.
27830
27831         * gst/gsterror.h:
27832         Define error for stream stopped.
27833
27834         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27835         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27836         Do proper return values.
27837
27838         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27839         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27840         (gst_pad_get_range):
27841         Better return values.
27842
27843         * gst/gstpad.h:
27844         Reorganise return values, add macro to check for fatal errors.
27845
27846         * gst/gstqueue.c: (gst_queue_chain):
27847         Return proper GstFlowReturn values,
27848
27849 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27850
27851         * docs/gst/gstreamer-sections.txt:
27852         * docs/gst/gstreamer.types:
27853         * docs/gst/tmpl/gst.sgml:
27854         * docs/gst/tmpl/gstbasesink.sgml:
27855         * docs/gst/tmpl/gstbasesrc.sgml:
27856         * docs/gst/tmpl/gstbasetransform.sgml:
27857         * docs/gst/tmpl/gstbin.sgml:
27858         * docs/gst/tmpl/gstbuffer.sgml:
27859         * docs/gst/tmpl/gstcaps.sgml:
27860         * docs/gst/tmpl/gstclock.sgml:
27861         * docs/gst/tmpl/gstcompat.sgml:
27862         * docs/gst/tmpl/gstconfig.sgml:
27863         * docs/gst/tmpl/gstelement.sgml:
27864         * docs/gst/tmpl/gstelementdetails.sgml:
27865         * docs/gst/tmpl/gstelementfactory.sgml:
27866         * docs/gst/tmpl/gstenumtypes.sgml:
27867         * docs/gst/tmpl/gsterror.sgml:
27868         * docs/gst/tmpl/gstevent.sgml:
27869         * docs/gst/tmpl/gstfakesink.sgml:
27870         * docs/gst/tmpl/gstfakesrc.sgml:
27871         * docs/gst/tmpl/gstfilesink.sgml:
27872         * docs/gst/tmpl/gstfilesrc.sgml:
27873         * docs/gst/tmpl/gstfilter.sgml:
27874         * docs/gst/tmpl/gstformat.sgml:
27875         * docs/gst/tmpl/gstghostpad.sgml:
27876         * docs/gst/tmpl/gstimplementsinterface.sgml:
27877         * docs/gst/tmpl/gstindex.sgml:
27878         * docs/gst/tmpl/gstindexfactory.sgml:
27879         * docs/gst/tmpl/gstinfo.sgml:
27880         * docs/gst/tmpl/gstiterator.sgml:
27881         * docs/gst/tmpl/gstmacros.sgml:
27882         * docs/gst/tmpl/gstmemchunk.sgml:
27883         * docs/gst/tmpl/gstminiobject.sgml:
27884         * docs/gst/tmpl/gstobject.sgml:
27885         * docs/gst/tmpl/gstpad.sgml:
27886         * docs/gst/tmpl/gstpadtemplate.sgml:
27887         * docs/gst/tmpl/gstparse.sgml:
27888         * docs/gst/tmpl/gstpipeline.sgml:
27889         * docs/gst/tmpl/gstplugin.sgml:
27890         * docs/gst/tmpl/gstpluginfeature.sgml:
27891         * docs/gst/tmpl/gstquery.sgml:
27892         * docs/gst/tmpl/gstqueue.sgml:
27893         * docs/gst/tmpl/gstregistry.sgml:
27894         * docs/gst/tmpl/gstregistrypool.sgml:
27895         * docs/gst/tmpl/gstscheduler.sgml:
27896         * docs/gst/tmpl/gstschedulerfactory.sgml:
27897         * docs/gst/tmpl/gststructure.sgml:
27898         * docs/gst/tmpl/gstsystemclock.sgml:
27899         * docs/gst/tmpl/gsttaglist.sgml:
27900         * docs/gst/tmpl/gsttagsetter.sgml:
27901         * docs/gst/tmpl/gsttrace.sgml:
27902         * docs/gst/tmpl/gsttrashstack.sgml:
27903         * docs/gst/tmpl/gsttypefind.sgml:
27904         * docs/gst/tmpl/gsttypefindfactory.sgml:
27905         * docs/gst/tmpl/gsttypes.sgml:
27906         * docs/gst/tmpl/gsturihandler.sgml:
27907         * docs/gst/tmpl/gsturitype.sgml:
27908         * docs/gst/tmpl/gstutils.sgml:
27909         * docs/gst/tmpl/gstvalue.sgml:
27910         * docs/gst/tmpl/gstversion.sgml:
27911         * docs/gst/tmpl/gstxml.sgml:
27912         * docs/libs/tmpl/gstcontrol.sgml:
27913         * docs/libs/tmpl/gstdataprotocol.sgml:
27914         * docs/libs/tmpl/gstdparam.sgml:
27915         * docs/libs/tmpl/gstdplinint.sgml:
27916         * docs/libs/tmpl/gstdpman.sgml:
27917         * docs/libs/tmpl/gstdpsmooth.sgml:
27918         * docs/libs/tmpl/gstgetbits.sgml:
27919         * docs/libs/tmpl/gstunitconvert.sgml:
27920         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27921         (gst_push_src_base_init), (gst_push_src_class_init),
27922         (gst_push_src_init), (gst_push_src_create):
27923         * gst/base/gstpushsrc.h:
27924         * gst/elements/gstelements.c:
27925         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27926         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27927         (gst_fake_sink_init), (gst_fake_sink_set_property),
27928         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27929         (gst_fake_sink_event), (gst_fake_sink_preroll),
27930         (gst_fake_sink_render), (gst_fake_sink_change_state):
27931         * gst/elements/gstfakesink.h:
27932         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27933         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27934         (gst_fake_src_base_init), (gst_fake_src_class_init),
27935         (gst_fake_src_init), (gst_fake_src_event_handler),
27936         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27937         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27938         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27939         (gst_fake_src_create_buffer), (gst_fake_src_create),
27940         (gst_fake_src_start), (gst_fake_src_stop):
27941         * gst/elements/gstfakesrc.h:
27942         * gst/elements/gstfilesink.c: (_do_init),
27943         (gst_file_sink_base_init), (gst_file_sink_class_init),
27944         (gst_file_sink_init), (gst_file_sink_dispose),
27945         (gst_file_sink_set_location), (gst_file_sink_set_property),
27946         (gst_file_sink_get_property), (gst_file_sink_open_file),
27947         (gst_file_sink_close_file), (gst_file_sink_query),
27948         (gst_file_sink_event), (gst_file_sink_render),
27949         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27950         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27951         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27952         * gst/elements/gstfilesink.h:
27953         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27954         (gst_file_src_class_init), (gst_file_src_init),
27955         (gst_file_src_finalize), (gst_file_src_set_location),
27956         (gst_file_src_set_property), (gst_file_src_get_property),
27957         (gst_file_src_map_region), (gst_file_src_map_small_region),
27958         (gst_file_src_create_mmap), (gst_file_src_create_read),
27959         (gst_file_src_create), (gst_file_src_is_seekable),
27960         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27961         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27962         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27963         (gst_file_src_uri_handler_init):
27964         * gst/elements/gstfilesrc.h:
27965           more autistic cleanliness in functions/names/defines
27966
27967 2005-07-13  Andy Wingo  <wingo@pobox.com>
27968
27969         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27970         source couldn't negotiate.
27971
27972         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27973         connections again.
27974
27975         * gst/gstutils.h:
27976         * gst/gstutils.c (gst_element_link_pads_filtered): New old
27977         function. I am channeling Hades. Put your boots on suckers!!!
27978
27979 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
27980
27981         * testsuite/caps/Makefile.am:
27982         * testsuite/caps/value_compare.c:
27983         * testsuite/caps/value_intersect.c:
27984         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27985           move two testsuite apps over to the check dir
27986
27987 2005-07-12  Wim Taymans  <wim@fluendo.com>
27988
27989         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27990         Added more debug info in the negotiate process.
27991
27992         * gst/gstmessage.h:
27993         Prepare for segment playback.
27994
27995         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27996         Better debugging.
27997
27998         * gst/gstutils.c:
27999         Some more docs.
28000
28001         * tools/gst-launch.c: (main):
28002         NULL pipeline on errors.
28003
28004 2005-07-12  Andy Wingo  <wingo@pobox.com>
28005
28006         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28007         not it comes from a malloc region. Make sure our copy gets freed.
28008
28009 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28010
28011         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28012         * check/gst/gstmessage.c: (GST_START_TEST):
28013         * check/gst/gststructure.c: (GST_START_TEST),
28014         (gst_structure_suite), (main):
28015           more testing
28016         * gst/gstelement.c: (gst_element_message_full):
28017           clean up GError and debug string now that they get copied
28018         * gst/gstmessage.c: (gst_message_new_error),
28019         (gst_message_new_warning), (gst_message_parse_error),
28020         (gst_message_parse_warning):
28021           use GST_TYPE_G_ERROR for structure_new, and take copies of
28022           arguments, so that we don't mess up refcounting
28023
28024 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28025
28026         * check/Makefile.am:
28027           add per-test valgrind targets
28028         * check/gst-libs/gdp.c: (GST_START_TEST),
28029         (gst_data_protocol_suite), (main):
28030           clean up
28031
28032 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28033
28034         * check/Makefile.am:
28035           instate more valgrindable tests
28036         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28037         (GST_START_TEST), (fakesrc_suite):
28038         * check/gst/gstpad.c: (GST_START_TEST):
28039         * check/gst/gststructure.c: (GST_START_TEST):
28040           fix test leaks
28041         * docs/gst/tmpl/gstminiobject.sgml:
28042         * gst/gstpad.c: (gst_pad_finalize):
28043           fix the static mutex leak
28044
28045 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28046
28047         * check/Makefile.am:
28048           add two more tests for valgrinding
28049         * check/gst/gstvalue.c: (GST_START_TEST):
28050           test refcount of deserialized buffer, found a leak
28051         * docs/gst/gstreamer-docs.sgml:
28052         * docs/gst/gstreamer-sections.txt:
28053         * docs/gst/gstreamer.types:
28054         * docs/gst/tmpl/gstminiobject.sgml:
28055           add miniobject to docs
28056         * gst/gstminiobject.c:
28057           add some docs
28058         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28059         (gst_string_unwrap):
28060           fix a hard-to-find invalid write for one of the tests
28061           fix a leak for deserialized buffers
28062
28063 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28064
28065         * docs/pwg/advanced-events.xml:
28066         * docs/pwg/advanced-request.xml:
28067         * docs/pwg/advanced-scheduling.xml:
28068         * docs/pwg/appendix-porting.xml:
28069         * docs/pwg/building-boiler.xml:
28070         * docs/pwg/intro-preface.xml:
28071         * docs/pwg/other-ntoone.xml:
28072           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28073           of example code and explanation for pad activation, loop() and
28074           getrange() functions and a bit more. Remove old comments pointing
28075           to loop-functions.
28076         * examples/pwg/Makefile.am:
28077           Add loop/getrange examples.
28078
28079 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28080
28081         * configure.ac:
28082           check for valgrind binary + some fixes
28083         * check/gst.supp:
28084           valgrind suppressions for the tests
28085         * check/Makefile.am:
28086           add a valgrind: target that valgrinds the unit tests
28087         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28088         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28089         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28090         * check/gst/gstghostpad.c:
28091           added some cleanup
28092         * check/gst/gstdata.c:
28093           removed
28094         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28095         (thread_unref), (gst_mini_object_suite), (main):
28096           added
28097         * gst/gst.c: (gst_deinit):
28098         * gst/gst.h:
28099           add a method to clean up.
28100         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28101         (gst_system_clock_obtain):
28102           allow for disposing the system clock.
28103         * tools/gst-launch.c: (main):
28104           deinit
28105
28106 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28107
28108         * docs/gst/tmpl/gstbasesrc.sgml:
28109         * docs/gst/tmpl/gstfakesrc.sgml:
28110         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28111         (gst_base_src_init), (gst_base_src_set_property),
28112         (gst_base_src_get_property), (gst_base_src_get_range),
28113         (gst_base_src_start):
28114         * gst/base/gstbasesrc.h:
28115           add num-buffers property
28116         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28117         (gst_fakesrc_init), (gst_fakesrc_set_property),
28118         (gst_fakesrc_get_property), (gst_fakesrc_create),
28119         (gst_fakesrc_start):
28120           remove num-buffers property
28121
28122 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28123
28124         * docs/gst/gstreamer-sections.txt:
28125         * docs/gst/tmpl/gstbasesink.sgml:
28126         * docs/gst/tmpl/gstbasesrc.sgml:
28127         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28128         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28129         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28130         (gst_base_sink_set_property), (gst_base_sink_get_property),
28131         (gst_base_sink_handle_object), (gst_base_sink_event),
28132         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28133         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28134         (gst_base_sink_loop), (gst_base_sink_deactivate),
28135         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28136         (gst_base_sink_change_state):
28137         * gst/base/gstbasesink.h:
28138         * gst/base/gstbasesrc.h:
28139         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28140         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28141         (gst_filesink_init):
28142           more macro splitting
28143
28144 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28145
28146         * gst/gstelement.c: (gst_element_get_bus):
28147           add debug
28148         * tools/gst-launch.c: (check_intr), (event_loop):
28149           fix bus leaks
28150
28151 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28152
28153         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28154           fix a caps leak
28155
28156 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28157
28158         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28159         (gst_base_src_finalize):
28160           add finalize method and clean up properly
28161         * gst/gstpipeline.c: (gst_pipeline_dispose):
28162           add debug
28163
28164 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28165
28166         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28167         (gst_bin_suite):
28168           add more things to check
28169         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28170         * gst/gstelement.c:
28171           more debug
28172
28173 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28174
28175         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28176         (GST_START_TEST), (fakesrc_suite):
28177         * check/gst-libs/gdp.c: (GST_START_TEST):
28178         * check/gst/gst.c: (GST_START_TEST):
28179         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28180         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28181         * check/gst/gstbus.c: (GST_START_TEST):
28182         * check/gst/gstcaps.c: (GST_START_TEST):
28183         * check/gst/gstdata.c: (GST_START_TEST):
28184         * check/gst/gstelement.c: (GST_START_TEST):
28185         * check/gst/gstghostpad.c: (GST_START_TEST):
28186         * check/gst/gstiterator.c: (GST_START_TEST):
28187         * check/gst/gstmessage.c: (GST_START_TEST):
28188         * check/gst/gstobject.c: (GST_START_TEST):
28189         * check/gst/gstpad.c: (GST_START_TEST):
28190         * check/gst/gststructure.c: (GST_START_TEST):
28191         * check/gst/gstsystemclock.c: (GST_START_TEST),
28192         (gst_systemclock_suite):
28193         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28194         * check/gst/gstvalue.c: (GST_START_TEST):
28195         * check/pipelines/cleanup.c: (GST_START_TEST):
28196         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28197         * check/states/sinks.c: (GST_START_TEST):
28198         * check/gstcheck.c: (gst_check_init):
28199         * check/gstcheck.h:
28200           add debugging category
28201           use GST_START_TEST now, so we add a debug line
28202
28203 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28204
28205         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28206           add test for state change message on a bin
28207         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28208           add another test
28209         * gst/gstbin.c: (gst_bin_init):
28210         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28211         * gst/gstelement.c: (gst_element_post_message),
28212         (gst_element_set_state):
28213         * gst/gstelementfactory.c: (gst_element_factory_create):
28214         * gst/gstmessage.c: (gst_message_new):
28215         * gst/gstscheduler.c:
28216           various debugging additions and cleanups
28217
28218 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28219
28220         * check/Makefile.am:
28221         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28222         (main):
28223           adding tests for elements
28224         * gst/gstelement.c: (gst_element_dispose):
28225
28226 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28227
28228         * gst/registries/gstlibxmlregistry.c: (load_feature):
28229           plug more leaks.  A simple gst_init() now is leakfree, yay.
28230
28231 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28232
28233         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28234         (gst_xml_registry_load):
28235           plug another memleak
28236
28237 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28238
28239         * configure.ac:
28240           use GST_SET_ERROR_CFLAGS
28241         * docs/faq/cvs.xml:
28242           change to ERROR_CFLAGS
28243
28244 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28245
28246         * configure.ac:
28247           make GST_ERROR_CFLAGS overridable and re-enable Werror
28248         * docs/faq/cvs.xml:
28249           add a note about error CFLAGS
28250         * docs/gst/tmpl/gstfakesrc.sgml:
28251         * gst/elements/gstfakesrc.c:
28252           comment out some unused code
28253         * gst/gst.c: (split_and_iterate):
28254         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28255         (load_feature):
28256           plug some memleaks
28257
28258 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28259
28260         * common/Makefile.am:
28261         * common/gtk-doc.mak:
28262         * docs/gst/Makefile.am:
28263           factor out gtk-doc.mak
28264
28265 2005-07-07  Wim Taymans  <wim@fluendo.com>
28266
28267         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28268         (gst_thread_scheduler_dispose):
28269         Unlock the STREAM_LOCK completely.
28270
28271 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28272
28273         * check/Makefile.am:
28274         * check/elements/.cvsignore:
28275         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28276         (START_TEST), (fakesrc_suite), (main):
28277         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28278         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28279         (gst_fakesrc_create), (gst_fakesrc_start):
28280         * gst/elements/gstfakesrc.h:
28281           adding a first element test
28282
28283 2005-07-07  Andy Wingo  <wingo@pobox.com>
28284
28285         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28286         debug message.
28287
28288 2005-07-07  Wim Taymans  <wim@fluendo.com>
28289
28290         * gst/gstquery.c:
28291         * gst/gstquery.h:
28292         Remove old types
28293
28294 2005-07-07  Wim Taymans  <wim@fluendo.com>
28295
28296         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28297         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28298         Allow subclasses to implement their own negotiation.
28299
28300 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28301
28302         * docs/design/part-gstbin.txt:
28303         * docs/design/part-gstpipeline.txt:
28304           Update design notes to reflect the movement of
28305           responsibility for bus handling from GstPipeline to
28306           GstBin
28307
28308 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28309
28310         * configure.ac:
28311           Remove unnecessary queue2/3/4 examples.
28312
28313 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28314
28315         * examples/Makefile.am:
28316         * examples/helloworld/helloworld.c: (event_loop), (main):
28317         * examples/queue/queue.c: (event_loop), (main):
28318         * examples/queue2/queue2.c: (main):
28319           Update a couple of the examples to work again.
28320
28321         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28322         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28323          Spelling corrections and extra debug.
28324         
28325         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28326         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28327         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28328         * gst/gstbin.h:
28329         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28330         (gst_pipeline_change_state):
28331         * gst/gstpipeline.h:
28332           Move the bus handler for children to the GstBin, and create a
28333           separate bus for receiving messages from children to the one the
28334           bus sends 'upwards' on.
28335
28336 2005-07-06  Wim Taymans  <wim@fluendo.com>
28337
28338         * gst/base/README:
28339         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28340         (gst_base_sink_handle_object), (gst_base_sink_loop),
28341         (gst_base_sink_change_state):
28342         * gst/base/gstbasesink.h:
28343         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28344         (gst_base_src_init), (gst_base_src_setcaps),
28345         (gst_base_src_getcaps), (gst_base_src_loop),
28346         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28347         (gst_base_src_start), (gst_base_src_change_state):
28348         * gst/base/gstbasesrc.h:
28349         Make basesrc negotiate.
28350         Handle the case where preroll fails in basesink.
28351         Update README.
28352
28353 2005-07-06  Wim Taymans  <wim@fluendo.com>
28354
28355         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28356         Implement the fixate function.
28357         Clean up acceptcaps.
28358
28359 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28360
28361         * docs/pwg/building-filterfactory.xml:
28362         * docs/pwg/pwg.xml:
28363           Remove never-written filter-factory chapter; I'll add the various
28364           base classes to part 4 ("other element types") later on.
28365
28366 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28367
28368         * docs/pwg/advanced-negotiation.xml:
28369         * docs/pwg/building-boiler.xml:
28370         * docs/pwg/building-pads.xml:
28371         * docs/pwg/pwg.xml:
28372         * examples/pwg/Makefile.am:
28373           Add a chapter on caps negotiation, simplify the original code
28374           samples a bit w.r.t. caps negotiation, add link to the advanced
28375           section. Add a bunch of examples showing different use cases of
28376           different types of caps negotiation. Upstream renegotiation isn't
28377           fully documented yet since nobody knows how that works.
28378
28379 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28380
28381         * check/gst/gstpad.c:
28382         * check/gstcheck.c:
28383         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28384           if pad has no parent, return NULL as list of internal links
28385
28386 2005-07-05  Andy Wingo  <wingo@pobox.com>
28387
28388         * gst/elements/gstfilesrc.c:
28389         * gst/elements/gstfakesrc.c: 
28390         * gst/base/gstpushsrc.c:
28391         * gst/base/gstbasesrc.h: 
28392         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28393         
28394 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28395
28396         * Makefile.am:
28397           better report generation target (lcov needs a patch)
28398
28399 2005-07-05  Andy Wingo  <wingo@pobox.com>
28400
28401         * gst/elements, testsuite: Null if we got it...
28402
28403 2005-07-05  Wim Taymans  <wim@fluendo.com>
28404
28405         * configure.ac:
28406         * libs/gst/dataprotocol/Makefile.am:
28407         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28408         * libs/gst/dataprotocol/dataprotocol.h:
28409         * pkgconfig/Makefile.am:
28410         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28411         * pkgconfig/gstreamer-dataprotocol.pc.in:
28412         Ported dataprotol to 0.9. 
28413         Added pkgconfig files.
28414
28415 2005-07-05  Andy Wingo  <wingo@pobox.com>
28416
28417         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28418         Default to returning TRUE for the case when tranform_caps returns
28419         a fixed caps, like for identity or volume.
28420
28421         * check/gst/gstbus.c (pound_bus_with_messages): 
28422         * check/gst/gstmessage.c (START_TEST): 
28423         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28424         message API change.
28425
28426         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28427         logic weaks here: always run transform_caps, trying passthrough
28428         operation only if the original caps intersects with the transform.
28429
28430         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28431         source and sink caps.
28432
28433         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28434         Intersect the peer caps with the pad template before going into
28435         transform_caps.
28436         (gst_base_transform_transform_caps): More debugging.
28437
28438         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28439         src argument.
28440
28441 2005-07-04  Edward Hervey  <edward@fluendo.com>
28442
28443         * gst/gstutils.c:
28444         * gst/gstutils.h:
28445         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28446         in bindings.
28447
28448 2005-07-04  Andy Wingo  <wingo@pobox.com>
28449
28450         * check/gst/gstpad.c: Only set explicit caps on pads.
28451
28452 2005-07-01  Andy Wingo  <wingo@pobox.com>
28453
28454         * tests/network-clock.scm: Commentary update.
28455
28456         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28457         Didn't really make sense, not implementable with basetransform,
28458         etc.
28459         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28460         attempt at implementing the sync property, needs an unlock method.
28461
28462         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28463         New func, by default returns the same caps (the identity
28464         transformation).
28465         (gst_base_transform_getcaps): Uses transform_caps to return
28466         something sensible.
28467         (gst_base_transform_setcaps): Complicated logic to get caps on
28468         both pads, even if they are different, and to call set_caps once
28469         for every time both pads get their caps set.
28470         (gst_base_transform_handle_buffer): Give the ref to the transform
28471         function. Allows in-place modification of the buffer.
28472
28473         * gst/base/gstbasetransform.h (transform_caps): New class method.
28474         Given caps on one side, what can I do on the other.
28475         (set_caps): Take two caps, one for each side of the element.
28476
28477         * gst/gstpad.h:
28478         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28479         caps in place. This is safe because we can check the mutability of
28480         the caps, and a good idea because fixate functions are just called
28481         as a matter of last resort. (Not actually implemented.)
28482         (gst_pad_set_caps): If the caps we're setting is actually the same
28483         as the existing pad caps, just update the pointer without calling
28484         setcaps. Assert that caps is either NULL or fixed, as per the
28485         docs.
28486
28487         * gst/gstghostpad.c: Update for fixate changes.
28488
28489 2005-07-02  Andy Wingo  <wingo@pobox.com>
28490
28491         * gst/gstcaps.c:
28492         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28493         two refcounts makes it immutable, which is enough. Doc more.
28494
28495 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28496
28497         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28498           Put the mini_object into GValue as a mini_object,
28499           not a gpointer, since that's how we declared
28500           the signal.
28501
28502 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28503
28504         * examples/pwg/Makefile.am:
28505           Fix buildbot again.
28506
28507 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28508
28509         * docs/pwg/building-testapp.xml:
28510           Add extra check.
28511         * examples/pwg/Makefile.am:
28512           Fix buildbot.
28513
28514 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28515
28516         * configure.ac:
28517         * examples/Makefile.am:
28518         * examples/pwg/Makefile.am:
28519         * examples/pwg/extract.pl:
28520           Enable building the PWG examples.
28521         * docs/pwg/advanced-interfaces.xml:
28522           Add URI interface stub.
28523         * docs/pwg/advanced-types.xml:
28524         * docs/pwg/other-autoplugger.xml:
28525         * docs/pwg/appendix-porting.xml:
28526         * docs/pwg/pwg.xml:
28527           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28528         * docs/pwg/building-boiler.xml:
28529         * docs/pwg/building-chainfn.xml:
28530         * docs/pwg/building-pads.xml:
28531         * docs/pwg/building-props.xml:
28532         * docs/pwg/building-state.xml:
28533         * docs/pwg/building-testapp.xml:
28534           Update the building-*.xml parts for 0.9 changes. All examples
28535           code blocks compile in examples/pwg/*.
28536
28537 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28538
28539         * docs/manual/advanced-autoplugging.xml:
28540         * docs/manual/appendix-checklist.xml:
28541         * docs/manual/appendix-integration.xml:
28542         * docs/manual/highlevel-components.xml:
28543           Fix playbin/decodebin examples, update docs a bit, mention bus
28544           instead of signals in various places, mention kmplayer and
28545           kaffeine since they have a working GStreamer backend in the KDE
28546           section.
28547
28548 2005-06-30  Wim Taymans  <wim@fluendo.com>
28549
28550         * CHANGES-0.9:
28551         * docs/design/draft-ghostpads.txt:
28552         * docs/design/draft-push-pull.txt:
28553         * docs/design/draft-query.txt:
28554         * docs/design/part-TODO.txt:
28555         * docs/design/part-query.txt:
28556         Added CHANGES-0.9 doc, updated status of other docs.
28557         
28558         * gst/gstquery.h:
28559         Remove "hmm" macro
28560
28561 2005-06-30  Wim Taymans  <wim@fluendo.com>
28562
28563         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28564         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28565         (gst_base_sink_change_state):
28566         * gst/base/gstbasesink.h:
28567         Some tweaks, only EOS and a buffer complete a preroll.
28568
28569 2005-06-30  Andy Wingo  <wingo@pobox.com>
28570
28571         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28572         activate_push down to the internal pad as well.
28573
28574 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28575
28576         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28577
28578         * gst/gsttaginterface.c:
28579           Some documentation fixes (#307394 and #307397).
28580
28581 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28582
28583         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28584
28585         * gst/gstvalue.c: (gst_value_intersect_list):
28586           Fix memleak (#309125).
28587
28588 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28589
28590         * docs/manual/advanced-dataaccess.xml:
28591           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28592         * docs/manual/basics-pads.xml:
28593           Add reference for filtered caps to above chapter.
28594
28595 2005-06-30  Wim Taymans  <wim@fluendo.com>
28596
28597         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28598         (gst_bin_change_state):
28599         Probes are gone.
28600         Lame attempt at making the state change function a bit
28601         more readable.
28602
28603 2005-06-30  Wim Taymans  <wim@fluendo.com>
28604
28605         * docs/design/part-clocks.txt:
28606         * docs/design/part-element-sink.txt:
28607         * docs/design/part-events.txt:
28608         * docs/design/part-preroll.txt:
28609         * docs/design/part-states.txt:
28610         Some more tweeks and additions to the docs.
28611
28612 2005-06-30  Wim Taymans  <wim@fluendo.com>
28613
28614         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28615         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28616         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28617         (gst_pad_check_pull_range), (gst_pad_get_range),
28618         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28619         * gst/gstpad.h:
28620         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28621         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28622         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28623         (gst_pad_remove_buffer_probe):
28624         Removed atomic operations, use existing LOCK.
28625         Move exception handling out of main code path.
28626
28627 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28628
28629         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28630         (silly_return_true_function), (gst_pad_class_init),
28631         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28632         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28633         (gst_pad_send_event):
28634           Fix accumulator, add default value by using _emitv() instead
28635           of _emit() for signal emission.
28636
28637 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28638
28639         * docs/manual/advanced-dataaccess.xml:
28640         * examples/manual/Makefile.am:
28641           Add probe example.
28642         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28643           Make work (??).
28644
28645 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28646
28647         * gst/elements/gstfilesink.c: (gst_filesink_render):
28648           Simplify code so that we don't have to handle short
28649           writes and return GST_FLOW_ERROR if an error occured.
28650
28651 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28652
28653         * docs/gst/gstreamer-docs.sgml:
28654           Remove probes more.
28655
28656 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28657
28658         * docs/gst/gstreamer-sections.txt:
28659         * docs/gst/tmpl/gstpad.sgml:
28660         * docs/gst/tmpl/gstprobe.sgml:
28661         * gst/Makefile.am:
28662         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28663         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28664         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28665         (gst_pad_push_event), (gst_pad_send_event):
28666         * gst/gstpad.h:
28667         * gst/gstutils.c: (gst_pad_add_data_probe),
28668         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28669         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28670         (gst_pad_remove_buffer_probe):
28671         * gst/gstutils.h:
28672           Remove old probes, add new g-signal-based probes and some utility
28673           functions.
28674
28675 2005-06-29  Edward Hervey  <edward@fluendo.com>
28676
28677         * gst/gstelementfactory.c:
28678         * gst/gstutils.h:
28679         * gst/gstutils.c:
28680         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28681         the definition to the header file.
28682
28683 2005-06-29  Andy Wingo  <wingo@pobox.com>
28684
28685         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28686         plugins from the source directory.
28687
28688 2005-06-29  Wim Taymans  <wim@fluendo.com>
28689
28690         * docs/gst/tmpl/gstbuffer.sgml:
28691         * docs/gst/tmpl/gstclock.sgml:
28692         Some fixings for blantently wrong text.
28693
28694 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28695
28696         * check/Makefile.am:
28697         * gst/gst.c: (add_path_func), (init_pre):
28698         * gst/gstregistry.c: (gst_registry_add_path):
28699           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28700           only scan the GST_PLUGIN_PATH locations, and not add
28701           system locations
28702
28703 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28704
28705         * docs/gst/gstreamer-sections.txt:
28706         * docs/gst/tmpl/gstbasesrc.sgml:
28707         * gst/gstelement.c:
28708         * gst/gstelement.h:
28709         * gst/gstevent.c:
28710         * gst/gstutils.c:
28711           doc fixes
28712
28713 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28714
28715         * docs/manual/advanced-autoplugging.xml:
28716           Fix autoplugging example.
28717
28718 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28719
28720         * docs/manual/advanced-autoplugging.xml:
28721         * docs/manual/mime-world.fig:
28722           Try to get autoplugging working, fix type detection. Fix text
28723           in hello-world image.
28724
28725 2005-06-29  Wim Taymans  <wim@fluendo.com>
28726
28727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28728         (gst_base_sink_change_state):
28729         Small debug line.
28730
28731         * gst/gstclock.h:
28732         map SIGNAL and BROADCAST to the right function.
28733
28734         * gst/gstobject.h:
28735         Remove redundant braces.
28736
28737         * gst/gstpad.c: (gst_pad_set_caps):
28738         Don't call setcaps function when reseting caps to NULL.
28739
28740         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28741         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28742         (gst_system_clock_id_unschedule):
28743         Use BROADCAST as this is what we do.
28744
28745 2005-06-29  Wim Taymans  <wim@fluendo.com>
28746
28747         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28748         We are actually prerolling before commiting the state
28749         change. 
28750
28751 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28752
28753         * docs/manual/advanced-clocks.xml:
28754         * docs/manual/advanced-interfaces.xml:
28755         * docs/manual/advanced-metadata.xml:
28756         * docs/manual/advanced-position.xml:
28757         * docs/manual/advanced-schedulers.xml:
28758         * docs/manual/advanced-threads.xml:
28759         * docs/manual/appendix-porting.xml:
28760         * docs/manual/basics-bins.xml:
28761         * docs/manual/basics-bus.xml:
28762         * docs/manual/basics-elements.xml:
28763         * docs/manual/basics-helloworld.xml:
28764         * docs/manual/basics-pads.xml:
28765         * docs/manual/highlevel-components.xml:
28766         * docs/manual/manual.xml:
28767         * docs/manual/thread.fig:
28768           Update (until threads/scheduling) Application Development Manual;
28769           remove GstThread, add GstBus, add simple porting checklist, add
28770           documentation for tag writing, clocks, make all examples until this
28771           part compile and run.
28772         * examples/manual/Makefile.am:
28773           Update from changes to Application Development Manual; add bus
28774           example, remove thread example.
28775
28776 2005-06-28  Wim Taymans  <wim@fluendo.com>
28777
28778         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28779         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28780         (gst_bus_source_dispatch):
28781         Add debugging messages.
28782         Make internal methods static.
28783         Handle the case where the bus is flushed in the handler.
28784         
28785         * gst/gstelement.c: (gst_element_get_bus):
28786         Fix refcount in _get_bus();
28787
28788         * gst/gstpipeline.c: (gst_pipeline_change_state),
28789         (gst_pipeline_get_clock_func):
28790         Clock refcounting fixes.
28791         Handle the case where preroll timed out more gracefully.
28792         
28793         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28794         Clean up the internal thread in dispose. This is needed
28795         for subclasses that actually get disposed.
28796         
28797         * gst/schedulers/threadscheduler.c:
28798         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28799         (gst_thread_scheduler_dispose):
28800         Free thread pool in dispose.
28801
28802 2005-06-28  Andy Wingo  <wingo@pobox.com>
28803
28804         * tests/network-clock-utils.scm (debug, print-event): New utils.
28805
28806         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28807         (*packet-loss*): Unified loss probability.
28808         (network-time): Report out-of-band events.
28809
28810         * tests/plot-data: Add support for out-of-band events. Hack it
28811         into this script instead of passing it down the pipe; should fix
28812         this later.
28813
28814 2005-06-28  Wim Taymans  <wim@fluendo.com>
28815
28816         * docs/gst/gstreamer.types:
28817         * docs/gst/tmpl/gstbasesrc.sgml:
28818         * docs/gst/tmpl/gstpad.sgml:
28819         Docs fixes.
28820
28821 2005-06-28  Wim Taymans  <wim@fluendo.com>
28822
28823         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28824         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28825         (gst_proxy_pad_do_fixatecaps):
28826         Correctly proxy the check_pull_range function.
28827
28828 2005-06-28  Andy Wingo  <wingo@pobox.com>
28829
28830         * tests/network-clock.scm: Removed need for slib.
28831         
28832 2005-06-28  Wim Taymans  <wim@fluendo.com>
28833
28834         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28835         (gst_basesink_preroll_queue_flush):
28836         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28837         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28838         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28839         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28840         (gst_proxy_pad_set_property):
28841         * gst/gstpad.c:
28842         * gst/gstpad.h:
28843         * gst/gstqueue.c: (gst_queue_init):
28844         The deprecated pad loop function is removed now.
28845
28846 2005-06-28  Andy Wingo  <wingo@pobox.com>
28847
28848         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28849         New parameters, simulate network packet loss.
28850
28851         * tests/network-clock-utils.scm: Initialize the RNG.
28852
28853 2005-06-28  Wim Taymans  <wim@fluendo.com>
28854
28855         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28856         (gst_basesink_event), (gst_basesink_deactivate):
28857         Flushing the preroll queue always needs to unlock the waiters.
28858
28859 2005-06-28  Edward Hervey  <edward@fluendo.com>
28860
28861         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28862         Wheen a seek was successful on a pipeline, set the stream_time to the
28863         seek offset in order to have a synchronized stream_time.
28864
28865 2005-06-28  Wim Taymans  <wim@fluendo.com>
28866
28867         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28868         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28869         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28870         (gst_proxy_pad_do_fixatecaps):
28871         Call wrapper function instead of just calling the function
28872         pointers. This takes care of any locking and whatmore.
28873
28874 2005-06-28  Wim Taymans  <wim@fluendo.com>
28875
28876         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28877         (gst_pad_pull_range):
28878         * gst/gstpad.h:
28879         CONNECTED -> LINKED.
28880
28881 2005-06-28  Andy Wingo  <wingo@pobox.com>
28882
28883         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28884         source-munging commit!!!
28885
28886         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
28887         (gst_object_sink): Take gpointer arguments, not GstObject --
28888         avoids casts. Like GLib.
28889
28890         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28891         activate.
28892
28893 2005-06-27  Andy Wingo  <wingo@pobox.com>
28894
28895         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28896         remaining buffer.
28897
28898         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28899         returns a sorted copy of the trace list.
28900         (gst_alloc_trace_print_live): New API, only prints traces with
28901         live objects. Sort the list.
28902         (gst_alloc_trace_print_all): Sort the list.
28903         (gst_alloc_trace_print): Align columns.
28904
28905         * gst/elements/gstttypefindelement.c:
28906         * gst/elements/gsttee.c:
28907         * gst/base/gstbasesrc.c:
28908         * gst/base/gstbasesink.c:
28909         * gst/base/gstbasetransform.c:
28910         * gst/gstqueue.c: Adapt for pad activation changes.
28911
28912         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28913         sched.
28914         (gst_pipeline_dispose): Drop ref on sched.
28915
28916         * gst/gstpad.c (gst_pad_init): Set the default activate func.
28917         (gst_pad_activate_default): Push mode by default.
28918         (pre_activate_switch, post_activate_switch): New stubs, things to
28919         do before and after switching activation modes on pads.
28920         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28921         the pad's activate function to choose which mode to activate.
28922         Shortcut on deactivation and call the right function directly.
28923         (gst_pad_activate_pull): New API, (de)activates a pad in pull
28924         mode.
28925         (gst_pad_activate_push): New API, same for push mode.
28926         (gst_pad_set_activate_function) 
28927         (gst_pad_set_activatepull_function) 
28928         (gst_pad_set_activatepush_function): Setters for new API.
28929
28930         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28931         Trace all miniobjects.
28932         (gst_mini_object_make_writable): Unref the arg if we copy, like
28933         gst_caps_make_writable.
28934
28935         * gst/gstmessage.c (_gst_message_initialize): No trace init.
28936
28937         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
28938         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28939         Adapt for new pad API.
28940
28941         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28942
28943         * gst/gstelement.h:
28944         * gst/gstelement.c (gst_element_iterate_src_pads) 
28945         (gst_element_iterate_sink_pads): New API functions.
28946         
28947         * gst/gstelement.c (iterator_fold_with_resync): New utility,
28948         should fold into gstiterator.c in some form.
28949         (gst_element_pads_activate): Simplified via use of fold and
28950         delegation of decisions to gstpad->activate.
28951
28952         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28953         help in debugging.
28954
28955         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28956         class once in init, like gstmessage. Didn't run into this issue
28957         but it seems correct. Don't initialize a trace, gstminiobject does
28958         that.
28959
28960         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28961         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28962         to the bus.
28963         (assert_live_count): New util function, uses alloc traces to check
28964         cleanup.
28965
28966         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28967         To be modified when unlink drops the internal pad.
28968
28969 2005-06-27  Wim Taymans  <wim@fluendo.com>
28970
28971         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28972         (gst_bin_change_state):
28973         Cleanup the get_state() function a little, make sure it
28974         iterates the same set of elements.
28975         Added stub iterate_state_order().
28976
28977 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
28978
28979         * docs/gst/gstreamer-docs.sgml:
28980         * docs/gst/gstreamer-sections.txt:
28981         * docs/gst/gstreamer.types:
28982         * docs/gst/tmpl/gstbasesink.sgml:
28983         * docs/gst/tmpl/gstbasesrc.sgml:
28984         * docs/gst/tmpl/gstbasetransform.sgml:
28985         * docs/gst/tmpl/gstelement.sgml:
28986         * docs/gst/tmpl/gstiterator.sgml:
28987         * gst/base/gstbasesrc.c:
28988         * gst/base/gstbasesrc.h:
28989         * gst/base/gstbasetransform.h:
28990         * gst/gstelement.c:
28991         * gst/gstiterator.h:
28992           adding basetransform and iterator docs
28993
28994 2005-06-27  Andy Wingo  <wingo@pobox.com>
28995
28996         * docs/design/part-activation.txt: Notes on how activation should
28997         work -- not quite implemented yet.
28998
28999 2005-06-25  Wim Taymans  <wim@fluendo.com>
29000
29001         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29002         At least get the chain function correct, needs more
29003         fixing.
29004
29005 2005-06-25  Wim Taymans  <wim@fluendo.com>
29006
29007         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29008         (gst_basesink_handle_object), (gst_basesink_event),
29009         (gst_basesink_do_sync), (gst_basesink_handle_event),
29010         (gst_basesink_change_state):
29011         * gst/gsttask.h:
29012         Right, two problems here: ghostpads don't take locks and
29013         glib _rec_mutex_lock_full() with depth==0 still locks.
29014         Catch illegal locking and g_warn them.
29015
29016 2005-06-25  Wim Taymans  <wim@fluendo.com>
29017
29018         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29019         Have to check for completion now...
29020
29021 2005-06-25  Wim Taymans  <wim@fluendo.com>
29022
29023         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29024         (gst_basesink_handle_object), (gst_basesink_event),
29025         (gst_basesink_do_sync), (gst_basesink_handle_event),
29026         (gst_basesink_change_state):
29027         * gst/gstpad.h:
29028         Unlock STREAM_LOCK whatever the recursion was.
29029
29030 2005-06-25  Wim Taymans  <wim@fluendo.com>
29031
29032         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29033         (gst_basesink_preroll_queue_empty),
29034         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29035         (gst_basesink_event), (gst_basesink_do_sync),
29036         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29037         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29038         (gst_basesink_change_state):
29039         Reworked the base sink, handle event and buffer serialisation
29040         correctly and removed possible deadlock.
29041         Handle EOS correctly.
29042
29043 2005-06-25  Wim Taymans  <wim@fluendo.com>
29044
29045         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29046         (gst_pipeline_change_state):
29047         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29048         Allow elements to post EOS in the state change function.
29049         Fix up -launch, make it exit the poll loop when the
29050         pipeline actually changed state.
29051         Fix up warning parsing in -launch.
29052
29053 2005-06-25  Wim Taymans  <wim@fluendo.com>
29054
29055         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29056         (gst_tee_sink_activate):
29057         Core takes STREAM_LOCK for us now.
29058
29059 2005-06-25  Wim Taymans  <wim@fluendo.com>
29060
29061         * gst/gstelement.c: (gst_element_get_state_func),
29062         (gst_element_set_state):
29063         * gst/gstelement.h:
29064         * gst/gstmessage.c: (gst_message_parse_error),
29065         (gst_message_parse_warning):
29066         Keep track of current target state while performing a state
29067         change so that subclasses can do something interesting.
29068         Fix parsing of warning/error messages when GError is NULL.
29069
29070 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29071
29072         * docs/gst/Makefile.am:
29073         * docs/gst/gstreamer-docs.sgml:
29074         * docs/gst/gstreamer-sections.txt:
29075         * docs/gst/gstreamer.types:
29076         * docs/gst/tmpl/gstbasesink.sgml:
29077         * docs/gst/tmpl/gstbasesrc.sgml:
29078         * docs/gst/tmpl/gstbin.sgml:
29079         * docs/gst/tmpl/gstcompat.sgml:
29080         * docs/gst/tmpl/gstfakesink.sgml:
29081         * docs/gst/tmpl/gstfakesrc.sgml:
29082         * docs/gst/tmpl/gstfilesink.sgml:
29083         * docs/gst/tmpl/gstfilesrc.sgml:
29084         * docs/gst/tmpl/gstindex.sgml:
29085         * docs/manual/appendix-quotes.xml:
29086         * gst/base/gstbasesrc.h:
29087         * gst/elements/gstfakesrc.h:
29088         * gst/gstmessage.h:
29089           start pulling in base classes and elements in our docs
29090
29091 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29092
29093         * docs/gst/Makefile.am:
29094         * docs/libs/Makefile.am:
29095           fixed make distcheck with gtk-doc 1.3
29096
29097 2005-06-23  Wim Taymans  <wim@fluendo.com>
29098
29099         * gst/gstelement.c: (gst_element_get_state_func),
29100         (gst_element_set_state), (gst_element_change_state):
29101         When the state did not change, also report NO_PREROLL
29102         when it matters.
29103
29104 2005-06-23  Wim Taymans  <wim@fluendo.com>
29105
29106         * gst/gstpad.c: (gst_pad_event_default):
29107         * gst/gstqueue.c: (gst_queue_loop):
29108         No unsafe task pausing please.
29109
29110 2005-06-23  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/schedulers/threadscheduler.c:
29113         (gst_thread_scheduler_task_start),
29114         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29115         Ref the task before pushing it on the threadpool. This
29116         makes sure that we have a ref when the threadfunction is
29117         actually called.
29118
29119 2005-06-23  Andy Wingo  <wingo@pobox.com>
29120
29121         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29122         offset is greater than the file's size.
29123
29124         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29125         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29126         * gst/gstobject.c (gst_object_class_init): Make the class lock
29127         recursive. Wim won't let me drop deep_notify. Decodebin works
29128         again, whoopdy doo.
29129
29130         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29131         internal pad, and hacks accordingly. Doesn't do it on the target
29132         pad because we change its caps. Probably catches all cases of
29133         interest tho.
29134         (gst_ghost_pad_set_property): Connect to notify::caps as
29135         appropritate.
29136
29137         * tests/network-clock.scm (plot-simulation): Pipe data to the
29138         elite python skript.
29139
29140         * tests/network-clock-utils.scm (define-parameter): New macro,
29141         defines a parameter that can be set via the command line.
29142         (set-parameter!, parse-parameter-arguments): Command line args
29143         parser.
29144
29145         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29146         stdin.
29147
29148 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29149
29150         * gst/elements/gsttypefindelement.c:
29151         (gst_type_find_element_handle_event):
29152           Don't restart typefinding on a discont.
29153         * gst/gstelement.c: (gst_element_set_state):
29154           Debug spelling fix.
29155         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29156           Allow changing mode of an active pad.
29157           Debug output fixes.
29158         * gst/registries/gstlibxmlregistry.c: (load_feature):
29159           Don't cast a static pad template to a normal pad template.
29160
29161 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29162
29163         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29164         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29165           remove gst_strtoll completely, since it didn't actually do
29166           anything more than what g_ascii_strtoull already does.
29167           check for range errors when deserializing
29168           do a cast for the unsigned cases; but further fixing needs
29169           a decision on what the interpretation of "(int)" and
29170           deserialization should be for values that fall outside the
29171           type's boundaries (ie, refuse, or interpret as casting)
29172
29173 2005-06-23  Wim Taymans  <wim@fluendo.com>
29174
29175         * check/Makefile.am:
29176         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29177         * docs/design/part-live-source.txt:
29178         * docs/design/part-states.txt:
29179         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29180         (gst_basesrc_set_live), (gst_basesrc_is_live),
29181         (gst_basesrc_get_range), (gst_basesrc_activate),
29182         (gst_basesrc_change_state):
29183         * gst/base/gstbasesrc.h:
29184         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29185         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29186         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29187         * gst/gstelement.c: (gst_element_get_state_func),
29188         (gst_element_set_state):
29189         * gst/gstelement.h:
29190         * gst/gsttypes.h:
29191         * tools/gst-launch.c: (event_loop), (main):
29192         Added support for live sources and other elements that
29193         cannot do preroll.
29194         Updated design docs, added live-source design doc.
29195         Implemented live source functionality in basesrc
29196         Fix error condition in _bin_get_state()
29197         Implement live source handling in -launch.
29198         Added check for live sources.
29199         Fixed case in GstBin where elements were changed state
29200         multiple times.
29201
29202
29203 2005-06-23  Andy Wingo  <wingo@pobox.com>
29204
29205         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29206         borken refcounting.
29207
29208         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29209         gst_caps_replace takes care of this for us.
29210
29211         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29212         gst_pad_set_caps on the target, not just its setcaps() function.
29213
29214         * tests/network-clock.scm: 
29215         * tests/network-clock-utils.scm: A network clock simulator.
29216         Something of an algorithmic testbed before doing something in C.
29217
29218 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29219
29220         * check/Makefile.am:
29221         * check/gst/capslist.h:
29222           copy over from 0.8, and add two with bitmasks specified with
29223           (int) 0xFF...
29224         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29225           add test to parse everything from capslist.h
29226         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29227         (main):
29228           add test for structure deserialization
29229         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29230           add tests for deserialization of strings to int types
29231         * gst/gststructure.c: (gst_structure_nth_field_name):
29232         * gst/gststructure.h:
29233           add a way to get the name of a field referenced by index
29234         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29235           instead of checking if the resulting long long lies between
29236           min and max, we check if the long long would fit into
29237           a number of bytes for the final type.
29238           This fixes cases where a string represents 2^32 - 1, which
29239           when cast to int would be the (valid) -1, but is bigger than
29240           G_MAXINT
29241
29242 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29243
29244         * gst/parse/grammar.y:
29245           add a log line for type deserialization
29246
29247 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29248
29249         * check/gst/gstvalue.c: (START_TEST):
29250         * gst/gstvalue.c: (gst_value_deserialize):
29251           return long long, not int, so gint64 deserialization actually
29252           works.  Is there any flag that makes the compiler check this ?
29253           Fixes #308559
29254
29255 2005-06-22  Wim Taymans  <wim@fluendo.com>
29256
29257         * gst/gstbuffer.h:
29258         Added convenience macros for setting buffers in GValue.
29259
29260 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29261
29262         * check/gst/.cvsignore:
29263         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29264           add a test deserializing int64, and comment part out because
29265           it fails, yay !
29266
29267 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29268
29269         * check/Makefile.am:
29270         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29271         * testsuite/Makefile.am:
29272         * testsuite/caps/Makefile.am:
29273         * testsuite/caps/value_serialize.c:
29274         * testsuite/test_gst_init.c:
29275           move a value_serialize test over
29276
29277 2005-06-20  Wim Taymans  <wim@fluendo.com>
29278
29279         * gst/gstpad.c:
29280         Small doc updates.
29281         
29282         * gst/gstvalue.c: (gst_value_compare_buffer),
29283         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29284         (gst_value_compare_flags), (gst_value_serialize_flags),
29285         (gst_value_deserialize_flags), (_gst_value_initialize):
29286         Fix serialisation of buffers, they are not boxed types anymore
29287
29288 2005-06-20  Wim Taymans  <wim@fluendo.com>
29289
29290         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29291         Testcase to show error in buffer-on-caps serialisation.
29292
29293 2005-06-20  Andy Wingo  <wingo@pobox.com>
29294
29295         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29296         will be adding to later.
29297
29298         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29299         if its socks fill with rocks.
29300         (gst_system_clock_obtain): Set the name on object construction.
29301         Avoid double-checked locking.
29302
29303 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29304
29305         * gst/gsturi.c: (gst_element_make_from_uri):
29306           Fix potential endless loop.
29307
29308 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29309
29310         * check/Makefile.am:
29311           add gsttag
29312         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29313         (main):
29314           move over from testsuite dir and clean up
29315         * configure.ac:
29316         * gst/gsttag.c:
29317         * testsuite/Makefile.am:
29318         * testsuite/tags/.cvsignore:
29319         * testsuite/tags/Makefile.am:
29320         * testsuite/tags/merge.c:
29321           remove testsuite/tags
29322
29323 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29324
29325         * docs/gst/gstreamer-sections.txt:
29326         * docs/gst/tmpl/gstenumtypes.sgml:
29327         * win32/gstenumtypes.c:
29328           clean up documentation build a little
29329
29330 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29331
29332         * check/gstcheck.h:
29333           add macros for checking refcounts on objects and caps
29334         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29335           add some more unit tests
29336         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29337         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29338           fix leaked refcounts (I hope :)) so unittest works
29339         * gst/gstpad.h:
29340           whitespace removal
29341
29342 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29343
29344         * configure.ac: back to HEAD
29345
29346 === release 0.9.1 ===
29347
29348 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29349
29350         * NEWS:
29351         * RELEASE:
29352           updated
29353
29354 2005-06-17  Andy Wingo  <wingo@pobox.com>
29355
29356         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29357         assert; it's always possible that the pad gets deactivated in
29358         between the checks in gstpad.c and the implementation. Rely on
29359         finish_preroll() to return a FLUSHING or similar instead of on the
29360         assert.
29361         
29362         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29363         clock and post an EOS message if we come out of finish_preroll in
29364         the playing state.
29365
29366 2005-06-16  David Schleef  <ds@schleef.org>
29367
29368         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29369         (gst_capsfilter_set_property): Allow NULL as possible value
29370         for filter_caps property, indicating GST_CAPS_ANY.
29371
29372 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29373
29374         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29375           fix debug output
29376         * gst/schedulers/Makefile.am:
29377           use libgst prefix
29378         * gstreamer.spec.in:
29379           fix spec for it
29380
29381 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29382
29383         * gstreamer.spec.in:
29384           clean up
29385
29386 2005-06-08  Andy Wingo  <wingo@pobox.com>
29387
29388         * gst/gstutils.c: RPAD fixes all around.
29389         (gst_element_link_pads): Refcounting fixes.
29390
29391         * tools/gst-inspect.c:
29392         * tools/gst-xmlinspect.c:
29393         * parse/grammar.y:
29394         * gst/base/gsttypefindhelper.c:
29395         * gst/base/gstbasesink.c:
29396         * gst/gstqueue.c: RPAD fixes.
29397
29398         * gst/gstghostpad.h:
29399         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29400         pads. The tricky thing is they provide both source and sink
29401         interfaces, since they proxy the internal pad for the external
29402         pad, and vice versa. Implement with lower-level ProxyPad objects,
29403         with the interior proxy pad as a child of the exterior ghost pad.
29404         Should write a doc on this.
29405         
29406         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29407         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29408         gst_object API.
29409         
29410         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29411         pads are real pads. No ghost pads in this file. Not documenting
29412         the myriad s/RPAD/PAD/ and REALIZE fixes.
29413         (gst_pad_class_init): Add properties for "direction" and
29414         "template". Both are construct-only, so they can't change during
29415         the life of the pad. Fixes properly deriving from GstPad.
29416         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29417         derived objects, just set properties when creating the objects via
29418         g_object_new.
29419         (gst_pad_get_parent): Implement as a function, return NULL if the
29420         parent is not an element.
29421         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29422         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29423         
29424         * gst/gstobject.c (gst_object_class_init): Make name a construct
29425         property. Don't set it in the object init.
29426
29427         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29428         with UNKNOWN direction.
29429         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29430         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29431         (gst_element_remove_pad): Remove ghost-pad special cases.
29432         (gst_element_pads_activate): Remove rpad cruft.
29433
29434         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29435         catch the pad's-parent-not-an-element case.
29436
29437         * gst/gst.h: Include gstghostpad.h.
29438
29439         * gst/gst.c (init_post): No more real, ghost pads.
29440
29441         * gst/Makefile.am: Add gstghostpad.[ch].
29442
29443         * check/Makefile.am:
29444         * check/gst/gstbin.c:
29445         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29446         into a bin creates ghost pads, and that the refcounts are right.
29447         Partly moved from gstbin.c.
29448
29449 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29450
29451         * check/gst-libs/.cvsignore:
29452         * check/gst/.cvsignore:
29453         * check/pipelines/.cvsignore:
29454           ignore more
29455         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29456         (START_TEST), (cleanup_suite), (main):
29457           add some tests related to cleanup after running pipelines
29458
29459 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29460
29461         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29462           add a testsuite for GstBuffer
29463
29464 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29465
29466         * gst/gstminiobject.h:
29467           add defines for accessing the refcount
29468
29469 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29470
29471         * Makefile.am: added support for html unit test coverage reports
29472
29473 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29474
29475         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29476           Free existing caps if the capsfilter changes. Add a FIXME about
29477           setting those caps on the pads.
29478
29479         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29480           Before adding a ghost pad to a parent bin, check that there isn't
29481           already one for the element on the bin. Prevents infinite recursion
29482           when using decodebin in parse pipelines. Andy says he'll rewrite the
29483           way this works anyway, so ignore the hack.
29484
29485 2005-06-02  Andy Wingo  <wingo@pobox.com>
29486
29487         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29488         file size, pass it on to the type find helper.
29489
29490         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29491         segment_start and segment_end properly according to the seek
29492         method. Segment_end is still a bit flaky because offset can be
29493         negative for CUR and END cases, but it takes -1 as an "unset"
29494         value.
29495
29496 2005-06-02  Wim Taymans  <wim@fluendo.com>
29497
29498         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29499         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29500         (gst_basesink_activate):
29501         * gst/base/gstbasesink.h:
29502         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29503         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29504         (gst_pad_query), (gst_pad_start_task):
29505         * gst/gstpad.h:
29506         * gst/gstqueue.c: (gst_queue_bufferalloc),
29507         (gst_queue_handle_sink_event), (gst_queue_chain):
29508         Bufferalloc: return GstFlowReturn to more accuratly report
29509         why allocation failed.
29510
29511 2005-06-02  Wim Taymans  <wim@fluendo.com>
29512
29513         * gst/gstpipeline.c: (gst_pipeline_send_event):
29514         Take snapshot of state without blocking.
29515
29516 2005-06-02  Wim Taymans  <wim@fluendo.com>
29517
29518         * docs/design/part-TODO.txt:
29519         * docs/design/part-caps.txt:
29520         * docs/design/part-clocks.txt:
29521         * docs/design/part-negotiation.txt:
29522         * docs/design/part-preroll.txt:
29523         Small doc updates 
29524
29525 2005-05-30  Wim Taymans  <wim@fluendo.com>
29526
29527         * gst/elements/gstidentity.c: (gst_identity_event),
29528         (gst_identity_transform), (gst_identity_get_property):
29529         Protect last_message property as it is accessed from
29530         multiple threads.
29531
29532 2005-05-30  Wim Taymans  <wim@fluendo.com>
29533
29534         * gst/gstelement.c: (gst_element_init),
29535         (gst_element_pads_activate), (gst_element_change_state):
29536         Slicker pad activation code.
29537
29538 2005-05-30  Wim Taymans  <wim@fluendo.com>
29539
29540         * gst/Makefile.am:
29541         * gst/gstelement.h:
29542         * gst/gstelementfactory.h:
29543         * gst/gsttypes.h:
29544         Move elementfactory methods to separate .h file.
29545
29546 2005-05-30  Wim Taymans  <wim@fluendo.com>
29547
29548         * docs/design/part-overview.txt:
29549         * gst/gstsystemclock.h:
29550         Small typo fixes, doc updates.
29551
29552 2005-05-30  Wim Taymans  <wim@fluendo.com>
29553
29554         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29555         (init_popt_callback):
29556         Remove cpu-opt flag.
29557
29558 2005-05-30  Wim Taymans  <wim@fluendo.com>
29559
29560         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29561         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29562         * gst/gstbuffer.h:
29563         Avoid typechecking in places where not needed.
29564         Added accessor for malloc_data.
29565
29566 2005-05-30  Wim Taymans  <wim@fluendo.com>
29567
29568         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29569         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29570         (gst_pad_configure_sink), (gst_pad_configure_src),
29571         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29572         (gst_pad_start_task):
29573         Propagate errors from _set_caps() in configure_src/sink
29574         functions instead of returning TRUE.
29575         FLUSH events can travel up and downstream
29576
29577
29578 2005-05-30  Wim Taymans  <wim@fluendo.com>
29579
29580         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29581         (gst_basesink_activate):
29582         Handle EOS in preroll.
29583
29584 2005-05-30  Wim Taymans  <wim@fluendo.com>
29585
29586         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29587         (gst_queue_loop), (gst_queue_handle_src_event):
29588         Remove old pieces of code
29589         Flushing the queue in an upstream event is a very bad idea.
29590
29591 2005-05-26  Andy Wingo  <wingo@pobox.com>
29592
29593         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29594         gst_value_set_mini_object so as to add a ref on the object (which
29595         will be removed when the value is unset).
29596
29597         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29598         arg type in ::handoff.
29599
29600         * gst/gstelement.c (gst_element_change_state): Also deactivate
29601         pads in READY->NULL, just in case the element didn't make it to
29602         PAUSED. Wingo tested, Wim approved.
29603
29604 2005-05-26  Wim Taymans  <wim@fluendo.com>
29605
29606         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29607         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29608         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29609         A flushing pad cannot be used to alloc_buffer from.
29610
29611 2005-05-26  Wim Taymans  <wim@fluendo.com>
29612
29613         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29614         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29615         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29616         (gst_bus_create_watch), (gst_bus_add_watch_full):
29617         * gst/gstbus.h:
29618         Implement a real GSource and use g_main_context_wakeup() to
29619         signal new messages instead of the socketpair.
29620
29621 2005-05-25  Wim Taymans  <wim@fluendo.com>
29622
29623         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29624         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29625         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29626         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29627         (gst_pad_send_event), (gst_pad_start_task):
29628         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29629         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29630         (gst_queue_sink_activate), (gst_queue_src_activate),
29631         (gst_queue_change_state):
29632         * gst/gstqueue.h:
29633         Fix state changes for non sinks. We now change sinks, then elements
29634         with unconnected srcpads, then the rest.
29635         More efficient queue unlocking in flush and state changes.
29636         Set the pad activate mode even if it does not have an activate
29637         function.
29638
29639 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29640
29641         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29642           Don't go in pull mode for non-seekable sources.
29643         * gst/elements/gsttypefindelement.h:
29644         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29645         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29646         (free_entry), (stop_typefinding),
29647         (gst_type_find_element_handle_event), (find_peek),
29648         (gst_type_find_element_chain), (do_pull_typefind),
29649         (gst_type_find_element_change_state):
29650           Allow typefinding (w/o seeking) in push-mode, simplified version
29651           of what was in 0.8.
29652         * gst/gstutils.c: (gst_buffer_join):
29653         * gst/gstutils.h:
29654           gst_buffer_join() from 0.8.
29655
29656 2005-05-25  Wim Taymans  <wim@fluendo.com>
29657
29658         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29659         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29660         (gst_pad_send_event), (gst_pad_start_task):
29661         Disable attempt at mode switching until it is figured out.
29662
29663 2005-05-25  Wim Taymans  <wim@fluendo.com>
29664
29665         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29666         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29667         (gst_basesink_finish_preroll), (gst_basesink_chain),
29668         (gst_basesink_loop), (gst_basesink_activate),
29669         (gst_basesink_change_state):
29670         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29671         (gst_basesrc_get_range), (gst_basesrc_loop),
29672         (gst_basesrc_activate):
29673         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29674         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29675         (gst_real_pad_init), (gst_real_pad_set_property),
29676         (gst_real_pad_get_property), (gst_pad_set_active),
29677         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29678         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29679         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29680         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29681         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29682         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29683         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29684         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29685         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29686         (gst_pad_stop_task):
29687         * gst/gstpad.h:
29688         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29689         (gst_queue_loop), (gst_queue_src_activate):
29690         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29691         (gst_task_get_state):
29692         * gst/gsttask.h:
29693         * gst/schedulers/threadscheduler.c:
29694         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29695         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29696         in task function.
29697         Remove ACTIVE pad flag, use FLUSHING everywhere
29698         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29699         functions.
29700         Add locks around IS_FLUSHING when reading.
29701         Take STREAM lock in chain(), get_range() functions so plugins
29702         don't need to take it anymore.
29703         
29704
29705
29706 2005-05-25  Wim Taymans  <wim@fluendo.com>
29707
29708         * tools/gst-launch.c: (event_loop):
29709         Unref message after using its contents instead of
29710         before.
29711
29712 2005-05-24  Wim Taymans  <wim@fluendo.com>
29713
29714         * docs/design/draft-ghostpads.txt:
29715         * docs/design/draft-push-pull.txt:
29716         * docs/design/draft-query.txt:
29717         * docs/design/part-overview.txt:
29718         Docs updates, added general overview doc.
29719
29720 2005-05-21  David Schleef  <ds@schleef.org>
29721
29722         * docs/gst/tmpl/old/GstBin.sgml:
29723         * docs/gst/tmpl/old/GstBuffer.sgml:
29724         * docs/gst/tmpl/old/GstCaps.sgml:
29725         * docs/gst/tmpl/old/GstClock.sgml:
29726         * docs/gst/tmpl/old/GstCompat.sgml:
29727         * docs/gst/tmpl/old/GstData.sgml:
29728         * docs/gst/tmpl/old/GstElement.sgml:
29729         * docs/gst/tmpl/old/GstEvent.sgml:
29730         * docs/gst/tmpl/old/GstIndex.sgml:
29731         * docs/gst/tmpl/old/GstStructure.sgml:
29732         * docs/gst/tmpl/old/GstTag.sgml:
29733         * docs/gst/tmpl/old/cothreads.sgml:
29734         * docs/gst/tmpl/old/cothreads_compat.sgml:
29735         * docs/gst/tmpl/old/gettext.sgml:
29736         * docs/gst/tmpl/old/gobject2gtk.sgml:
29737         * docs/gst/tmpl/old/grammar.tab.sgml:
29738         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29739         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29740         * docs/gst/tmpl/old/gst_private.sgml:
29741         * docs/gst/tmpl/old/gstaggregator.sgml:
29742         * docs/gst/tmpl/old/gstarch.sgml:
29743         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29744         * docs/gst/tmpl/old/gstbufferstore.sgml:
29745         * docs/gst/tmpl/old/gstdata_private.sgml:
29746         * docs/gst/tmpl/old/gstdisksink.sgml:
29747         * docs/gst/tmpl/old/gstdisksrc.sgml:
29748         * docs/gst/tmpl/old/gstelementfactory.sgml:
29749         * docs/gst/tmpl/old/gstextratypes.sgml:
29750         * docs/gst/tmpl/old/gstfakesink.sgml:
29751         * docs/gst/tmpl/old/gstfakesrc.sgml:
29752         * docs/gst/tmpl/old/gstfdsink.sgml:
29753         * docs/gst/tmpl/old/gstfdsrc.sgml:
29754         * docs/gst/tmpl/old/gstfilesink.sgml:
29755         * docs/gst/tmpl/old/gstfilesrc.sgml:
29756         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29757         * docs/gst/tmpl/old/gstidentity.sgml:
29758         * docs/gst/tmpl/old/gstindexfactory.sgml:
29759         * docs/gst/tmpl/old/gstmarshal.sgml:
29760         * docs/gst/tmpl/old/gstmd5sink.sgml:
29761         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29762         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29763         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29764         * docs/gst/tmpl/old/gstpipefilter.sgml:
29765         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29766         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29767         * docs/gst/tmpl/old/gstshaper.sgml:
29768         * docs/gst/tmpl/old/gstspider.sgml:
29769         * docs/gst/tmpl/old/gstspideridentity.sgml:
29770         * docs/gst/tmpl/old/gststatistics.sgml:
29771         * docs/gst/tmpl/old/gsttee.sgml:
29772         * docs/gst/tmpl/old/gsttimecache.sgml:
29773         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29774         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29775         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29776         * docs/gst/tmpl/old/types.sgml:
29777           I didn't intend to add these or check them in.
29778
29779 2005-05-19  David Schleef  <ds@schleef.org>
29780
29781         * configure.ac: Use -no-common everywhere.  In a sane world, it
29782           would be the default in libtool, because without it, you can't
29783           build DLLs on Windows.
29784         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29785         * docs/gst/gstreamer-sections.txt:
29786         * docs/gst/tmpl/gstcpu.sgml:
29787         * docs/gst/tmpl/gstdata.sgml:
29788         * docs/gst/tmpl/gstthread.sgml:
29789
29790 2005-05-19  David Schleef  <ds@schleef.org>
29791
29792         * gst/gstminiobject.c: (gst_value_set_mini_object),
29793         (gst_value_take_mini_object), (gst_value_get_mini_object):
29794         * gst/gstminiobject.h: Add GValue set/get functions.
29795
29796 2005-05-19  Wim Taymans  <wim@fluendo.com>
29797
29798         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29799         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29800         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29801         * gst/gstbuffer.h:
29802         * gst/gstbus.c: (gst_bus_post):
29803         * gst/gstelement.c: (gst_element_get_random_pad):
29804         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29805         Make subbufer unref the parent in finalize.
29806         some more debugging info.
29807
29808
29809 2005-05-19  Wim Taymans  <wim@fluendo.com>
29810
29811         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29812         (gst_basesink_init), (gst_basesink_finalize),
29813         (gst_basesink_activate), (gst_basesink_change_state):
29814         Don't free preroll queue too early.
29815
29816 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29817
29818         * gst/Makefile.am:
29819         * gst/ROADMAP:
29820           Hi, I'm outdated. Please shoot me.
29821
29822 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29823
29824         * gst/gstpipeline.c: (gst_pipeline_send_event):
29825           Do not access variables after they have been deleted.
29826
29827 2005-05-19  Wim Taymans  <wim@fluendo.com>
29828
29829         * tools/gst-inspect.c: (print_plugin_features):
29830         A plugin feature does unfortunatly not use the
29831         object name yet...
29832
29833 2005-05-18  Wim Taymans  <wim@fluendo.com>
29834
29835         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29836         Port _span() functions to new subbuffers.
29837
29838 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29839
29840         * gst/gstbin.c: (gst_bin_add_func):
29841           Fix clock settery in bins when adding kids after the clock has
29842           been selected.
29843
29844 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29845
29846         * gst/elements/gstidentity.c: (gst_identity_class_init):
29847           Workaround until signals support GstMiniObject.
29848
29849 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29850
29851         * gst/gstbuffer.c:
29852         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29853
29854 2005-05-18  Wim Taymans  <wim@fluendo.com>
29855
29856         * gst/base/Makefile.am:
29857         * gst/base/gstadapter.c: (gst_adapter_base_init),
29858         (gst_adapter_class_init), (gst_adapter_init),
29859         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29860         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29861         (gst_adapter_flush), (gst_adapter_available),
29862         (gst_adapter_available_fast):
29863         * gst/base/gstadapter.h:
29864         Ported and added adapter to the base classes.
29865
29866 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29867
29868         * gst/gst.c:
29869         * gst/gstmessage.c:
29870           Make sure the class is reffed/unreffed once before threads can be
29871           used.  Fixes #304551.
29872
29873 2005-05-17  Wim Taymans  <wim@fluendo.com>
29874
29875         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29876         (gst_basesink_chain_unlocked), (gst_basesink_activate):
29877         * gst/gstminiobject.c: (gst_mini_object_get_type),
29878         (gst_mini_object_free):
29879         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29880         (gst_pad_push), (gst_pad_push_event):
29881         * gst/gstqueue.c: (gst_queue_change_state):
29882         Don't queue buffers in basesink when we are flushing.
29883         Unref buffer when flushing in basesink.
29884         Flush queue when going to READY
29885         Unref buffer when _push() returns an error.
29886         Don't free MiniObject instance when refcount is incremented
29887         in _finalize() so that we can recover objects.
29888
29889 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29890
29891         * docs/manual/advanced-schedulers.xml:
29892         * docs/manual/appendix-checklist.xml:
29893         * docs/pwg/advanced-clock.xml:
29894         * docs/pwg/advanced-interfaces.xml:
29895         * docs/pwg/advanced-request.xml:
29896         * docs/pwg/advanced-types.xml:
29897         * docs/pwg/intro-preface.xml:
29898         * examples/plugins/example.c: (gst_example_get_type),
29899         (gst_example_class_init), (gst_example_chain),
29900         (gst_example_set_property), (gst_example_get_property),
29901         (gst_example_change_state), (plugin_init):
29902         * examples/plugins/example.h:
29903           small doc fixes
29904
29905 2005-05-17  Wim Taymans  <wim@fluendo.com>
29906
29907         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29908         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29909         * gst/gstqueue.c: (gst_queue_change_state):
29910         Clear queue when going to READY.
29911         Remove IN_SETCAPS flag too.
29912
29913 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
29914
29915         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29916           Remove implicit cast from gboolean to GstElementStateReturn;
29917           make sure we still return failure in paused => ready case if
29918           the parent class fails to change state and our own stop 
29919           vfunc succeeds.
29920
29921 2005-05-17  Wim Taymans  <wim@fluendo.com>
29922
29923         * tools/gst-launch.c: (event_loop):
29924         Message was unreffed too soon.
29925
29926 2005-05-16  Andy Wingo  <wingo@pobox.com>
29927
29928         * gst/gstbin.c (sink_iterator_filter): Err... um...
29929
29930         * check/gst/gstbin.c (test_ghost_pads): New test for the
29931         ghosting-if-elements-not-in-same-bin behavior.
29932
29933 2005-05-16  David Schleef  <ds@schleef.org>
29934
29935         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29936         accessing refcount directly.
29937
29938 2005-05-15  David Schleef  <ds@schleef.org>
29939
29940         * check/Makefile.am: remove GstData checks
29941         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29942         * gst/Makefile.am: add miniobject, remove data
29943         * gst/gst.h: add miniobject, remove data
29944         * gst/gstdata.c: remove
29945         * gst/gstdata.h: remove
29946         * gst/gstdata_private.h: remove
29947         * gst/gsttypes.h: remove GstEvent and GstMessage
29948         * gst/gstelement.c: (gst_element_post_message): fix for API changes
29949         * gst/gstmarshal.list: change BOXED -> OBJECT
29950
29951         Implement GstMiniObject.
29952         * gst/gstminiobject.c:
29953         * gst/gstminiobject.h:
29954
29955         Modify to be subclasses of GstMiniObject.
29956         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29957         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29958         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29959         (gst_subbuffer_get_type), (gst_subbuffer_init),
29960         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29961         (gst_buffer_span):
29962         * gst/gstbuffer.h:
29963         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29964         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29965         (_gst_event_copy), (gst_event_new):
29966         * gst/gstevent.h:
29967         * gst/gstmessage.c: (_gst_message_initialize),
29968         (gst_message_get_type), (gst_message_class_init),
29969         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29970         (gst_message_new), (gst_message_new_error),
29971         (gst_message_new_warning), (gst_message_new_tag),
29972         (gst_message_new_state_changed), (gst_message_new_application):
29973         * gst/gstmessage.h:
29974         * gst/gstprobe.c: (gst_probe_perform),
29975         (gst_probe_dispatcher_dispatch):
29976         * gst/gstprobe.h:
29977         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29978         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29979         (_gst_query_copy), (gst_query_new):
29980
29981         Update elements for GstData -> GstMiniObject changes
29982         * gst/gstquery.h:
29983         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29984         (gst_queue_chain), (gst_queue_loop):
29985         * gst/elements/gstbufferstore.c:
29986         (gst_buffer_store_add_buffer_func),
29987         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29988         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29989         (gst_fakesink_render):
29990         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29991         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29992         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29993         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29994         (gst_filesrc_create_read):
29995         * gst/elements/gstidentity.c: (gst_identity_class_init):
29996         * gst/elements/gsttypefindelement.c:
29997         (gst_type_find_element_src_event), (free_entry_buffers),
29998         (gst_type_find_element_handle_event):
29999         * libs/gst/dataprotocol/dataprotocol.c:
30000         (gst_dp_header_from_buffer):
30001         * libs/gst/dataprotocol/dataprotocol.h:
30002         * libs/gst/dataprotocol/dp-private.h:
30003
30004 2005-05-15  David Schleef  <ds@schleef.org>
30005
30006         * gst/elements/gstelements.c: Don't include headers that were
30007         just removed.
30008
30009 2005-05-15  David Schleef  <ds@schleef.org>
30010
30011         * gst/elements/Makefile.am: Remove some elements that don't
30012         need to be in the core (or even exist at all).
30013         * gst/elements/gstaggregator.c:
30014         * gst/elements/gstaggregator.h:
30015         * gst/elements/gstmd5sink.c:
30016         * gst/elements/gstmd5sink.h:
30017         * gst/elements/gstmultifilesrc.c:
30018         * gst/elements/gstmultifilesrc.h:
30019         * gst/elements/gstpipefilter.c:
30020         * gst/elements/gstpipefilter.h:
30021         * gst/elements/gstshaper.c:
30022         * gst/elements/gstshaper.h:
30023         * gst/elements/gststatistics.c:
30024         * gst/elements/gststatistics.h:
30025         * po/POTFILES.in: Remove above files.
30026
30027 2005-05-14  Andy Wingo  <wingo@pobox.com>
30028
30029         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30030         so as to get the refs right.
30031         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30032         unreffing objects that don't pass the filter.
30033
30034         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30035         gst_element_set_bus.
30036         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30037         normal cases, this will destroy the bus.
30038
30039         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30040         object.
30041
30042         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30043         has no sinks.
30044
30045 2005-05-13  Andy Wingo  <wingo@pobox.com>
30046
30047         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30048         gst_pad_link, call pad_link_maybe_ghosting,
30049         (pad_link_maybe_ghosting): Links pads, making sure that the
30050         elements being linked are in the same bin.
30051         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30052         Helpers for pad_link_maybe_ghosting.
30053
30054 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30055
30056         * configure.ac:
30057           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30058
30059 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30060
30061         * docs/design/part-element-source.txt:
30062           Mention GstPushSrc
30063
30064 2005-05-12  Wim Taymans  <wim@fluendo.com>
30065
30066         * gst/base/gstbasesink.c: (gst_basesink_init),
30067         (gst_basesink_activate):
30068         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30069         (gst_basesrc_is_seekable):
30070         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30071         (bin_element_is_sink), (gst_bin_change_state):
30072         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30073         * gst/gstelement.h:
30074         Identify sinks by their flag to avoid overly complicated
30075         checks (fow now).
30076         Do state changes even for elements not reachable from the
30077         sinks.
30078         BaseSink is a sink now :)
30079         Some more debugging info in the basesrc.
30080
30081
30082 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30083
30084         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30085           Implement _query on a bin, similar to _send_event.
30086
30087 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30088
30089         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30090           Discont event offset format should be GST_FORMAT_BYTES,
30091           not GST_FORMAT_TIME.
30092
30093 2005-05-12  Wim Taymans  <wim@fluendo.com>
30094
30095         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30096         Same fix as Ronald's but without the signal. 
30097
30098 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30099
30100         * gst/gstutils.c: (gst_element_query_position):
30101           No, an element is not a pad.
30102
30103 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30104
30105         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30106         (gst_bin_get_state):
30107           If a child is removed from a bin while we remove the child from
30108           the bin and while we're retrieving its state, signal this to the
30109           get_state function so we abort the wait (instead of waiting for
30110           a timeout) and can immediately re-iterate over all other elements.
30111
30112 2005-05-12  Wim Taymans  <wim@fluendo.com>
30113
30114         * gst/base/Makefile.am:
30115         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30116         (gst_basesrc_start):
30117         * gst/base/gstbasesrc.h:
30118         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30119         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30120         (gst_pushsrc_init), (gst_pushsrc_create):
30121         * gst/base/gstpushsrc.h:
30122         Added is_seekable to BaseSrc
30123         Added simple PushSrc.
30124
30125 2005-05-11  Wim Taymans  <wim@fluendo.com>
30126
30127         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30128         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30129         (gst_element_link_pads), (gst_element_query_position),
30130         (gst_element_query_convert), (intersect_caps_func),
30131         (gst_pad_query_position), (gst_pad_query_convert):
30132         Fix refcounting in utils function.
30133         No point in trying to activate a pad when it's added, it could
30134         be added from the state change function and then we deadlock, the
30135         element has to decide what to do.
30136
30137 2005-05-10  Andy Wingo  <wingo@pobox.com>
30138
30139         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30140         *all* the arguments.
30141
30142         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30143         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30144         lock (according to the docs -- if this is wrong change the docs).
30145
30146         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30147         flush messages in the NULL state.
30148
30149         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30150         message immediately and return.
30151         (gst_bus_set_flushing): New function. If a bus is flushing, it
30152         flushes out any queued messages and immediately unrefs new
30153         messages. This is so when an element goes to NULL, all of the
30154         unhandled messages coming from it can be freed, and their
30155         references to the element dropped. In other words: message source
30156         ref considered harmful :P
30157
30158         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30159         we're finished with it.
30160
30161         * gst/gstmessage.c (gst_message_new_state_changed): 
30162
30163 2005-05-10  Wim Taymans  <wim@fluendo.com>
30164
30165         * gst/gstvalue.c: (gst_value_compare_flags),
30166         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30167         (_gst_value_initialize):
30168         Added flags serialize/deserialize/compare code.
30169
30170 2005-05-09  Andy Wingo  <wingo@pobox.com>
30171
30172         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30173         Intersect the peer's caps with our caps.
30174
30175 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30176
30177         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30178         * gst/elements/gsttypefindelement.c: (find_peek):
30179           Handle negative offsets better. Fixes decodebin.
30180
30181 2005-05-09  Wim Taymans  <wim@fluendo.com>
30182
30183         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30184         (gst_base_transform_event):
30185         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30186         Implement accept_caps.
30187         Fix silly lock/unlock mismatch in base class.
30188
30189 2005-05-09  Wim Taymans  <wim@fluendo.com>
30190
30191         * docs/design/draft-push-pull.txt:
30192         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30193         * gst/elements/gstfilesink.c: (gst_filesink_init),
30194         (gst_filesink_query):
30195         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30196         (gst_type_find_handle_src_query), (find_element_get_length):
30197         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30198         * gst/gstelement.h:
30199         * gst/gstmessage.c:
30200         * gst/gstmessage.h:
30201         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30202         (gst_real_pad_get_caps_unlocked),
30203         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30204         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30205         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30206         (gst_real_pad_dispose), (gst_real_pad_finalize),
30207         (gst_pad_load_and_link), (gst_pad_save_thyself),
30208         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30209         (gst_pad_check_pull_range), (gst_pad_pull_range),
30210         (gst_pad_template_get_type), (gst_pad_template_class_init),
30211         (gst_pad_template_init), (gst_pad_template_dispose),
30212         (name_is_valid), (gst_static_pad_template_get),
30213         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30214         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30215         (gst_pad_get_element_private), (gst_pad_start_task),
30216         (gst_pad_pause_task), (gst_pad_stop_task),
30217         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30218         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30219         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30220         (gst_ghost_pad_new):
30221         * gst/gstpad.h:
30222         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30223         (gst_query_new_position), (gst_query_set_position),
30224         (gst_query_parse_position), (gst_query_new_convert),
30225         (gst_query_set_convert), (gst_query_parse_convert):
30226         * gst/gstquery.h:
30227         * gst/gstqueryutils.c:
30228         * gst/gstqueryutils.h:
30229         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30230         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30231         (gst_queue_handle_src_query):
30232         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30233         (gst_element_query_position), (gst_element_query_convert),
30234         (intersect_caps_func), (gst_pad_query_position),
30235         (gst_pad_query_convert):
30236         * gst/gstutils.h:
30237         * tools/gst-inspect.c: (print_pad_info):
30238         * tools/gst-xmlinspect.c: (print_element_info):
30239         Remove old query functions. Ported old code.
30240         Added position/convert helper functions to gstutils.
30241         Reordered gstpad.c code, grouping relevant things.
30242         Remove gst_message_new(), always need to speficy a specific
30243         message.
30244
30245
30246 2005-05-09  Andy Wingo  <wingo@pobox.com>
30247
30248         * gst/gstiterator.h: Add some includes.
30249
30250         * gst/gstqueryutils.h: Include more headers.
30251
30252         * gst/gstpad.h:
30253         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30254         some uses of gst_pad_query.
30255
30256         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30257         NULL out parameters.
30258         (gst_query_new_position): New proc, allocates a new position
30259         query.
30260
30261         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30262         gstqueryutils.c to the build.
30263
30264         * gst/gststructure.c (gst_structure_set_valist): Implement with
30265         the generic G_VALUE_COLLECT.
30266         
30267 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30268
30269         * gst/Makefile.am: (gst_headers):
30270         Added gstqueryutils.h to the list of headers to install, that was
30271         a 'nachty' move wingo :)
30272
30273 2005-05-06  Andy Wingo  <wingo@pobox.com>
30274
30275         * gst/gstquery.h
30276         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30277         GstData, init a memchunk.
30278         (standard_definitions): Add a few query types, deprecate a few.
30279         (gst_query_get_type): New proc.
30280         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30281         implementation.
30282         (gst_query_new_application, gst_query_get_structure): New public
30283         procs.
30284
30285         * docs/design/draft-query.txt: Removed LINKS from the query types,
30286         because all the rest can be dispatched to other pads -- seemed
30287         ugly to have a query that couldn't be dispatched. internal_links
30288         is fine as a pad method.
30289
30290         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30291         in gstpad.c, but maintain binary compatibility for the moment.
30292         Will fix before 0.9 is out.
30293
30294         * gst/gstqueryutils.c: 
30295         * gst/gstqueryutils.h: New files, implement 3 methods for each
30296         query type: parse_query, parse_response, and set. Probably need an
30297         allocator as well.
30298
30299         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30300
30301         * gst/elements/gstfilesink.c (gst_filesink_query2):
30302         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30303         query_types, and formats methods.
30304
30305         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30306         (gst_pad_set_query2_function): New functions.
30307         (gst_real_pad_init): Set query2_default as the default query2
30308         function. Basically just dispatches to internally linked pads.
30309
30310         Needs review!
30311         
30312         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30313         without using the atomic operations. Only one thread can possibly
30314         be accessing the data at this point. Changed so as to avoid
30315         gst_atomic operations.
30316
30317 2005-05-06  Wim Taymans  <wim@fluendo.com>
30318
30319         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30320         Also set caps if we use the fallback buffer alloc.
30321
30322 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30323
30324         * docs/gst/Makefile.am:
30325         * docs/gst/gstreamer-docs.sgml:
30326         * docs/gst/gstreamer-sections.txt:
30327         * docs/gst/tmpl/gstatomic.sgml:
30328         * docs/gst/tmpl/gstmemchunk.sgml:
30329         * testsuite/elements/struct_i386.h:
30330         * win32/GStreamer.vcproj:
30331         * win32/Makefile:
30332           Purge GstAtomic stuff from docs and win32 makefiles as well
30333
30334 2005-05-06  Wim Taymans  <wim@fluendo.com>
30335
30336         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30337         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30338         * gst/gstpad.c: (gst_pad_peer_get_caps):
30339         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30340         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30341         (gst_queue_src_activate), (gst_queue_change_state):
30342         * gst/gstqueue.h:
30343         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30344         (intersect_caps_func):
30345         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30346         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30347         Some fixes for the peer_get_caps() change.
30348
30349 2005-05-06  Wim Taymans  <wim@fluendo.com>
30350
30351         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30352         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30353         (gst_basesink_activate):
30354         Actually do something with error codes returned from the push
30355         functions.
30356
30357 2005-05-06  Wim Taymans  <wim@fluendo.com>
30358
30359         * docs/design/part-element-sink.txt:
30360         * docs/design/part-element-source.txt:
30361         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30362         (gst_basesink_event), (gst_basesink_activate):
30363         * gst/base/gstbasesink.h:
30364         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30365         (gst_basesrc_activate):
30366         * gst/base/gstbasesrc.h:
30367         * gst/gstelement.c: (gst_element_pads_activate):
30368         Some more documentation.
30369         Fixed scheduling decision in _pads_activate().
30370
30371 2005-05-05  Andy Wingo  <wingo@pobox.com>
30372
30373         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30374         the test suite.
30375
30376 2005-05-05  Wim Taymans  <wim@fluendo.com>
30377
30378         * gst/base/Makefile.am:
30379         * gst/base/gstbasesink.h:
30380         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30381         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30382         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30383         (gst_collectpads_class_init), (gst_collectpads_init),
30384         (gst_collectpads_finalize), (gst_collectpads_new),
30385         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30386         (find_pad), (gst_collectpads_remove_pad),
30387         (gst_collectpads_is_active), (gst_collectpads_collect),
30388         (gst_collectpads_collect_range), (gst_collectpads_start),
30389         (gst_collectpads_stop), (gst_collectpads_peek),
30390         (gst_collectpads_pop), (gst_collectpads_available),
30391         (gst_collectpads_read), (gst_collectpads_flush),
30392         (gst_collectpads_chain):
30393         * gst/base/gstcollectpads.h:
30394         * gst/elements/Makefile.am:
30395         * gst/elements/gstelements.c:
30396         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30397         (gst_fakesink_get_times), (gst_fakesink_event),
30398         (gst_fakesink_preroll), (gst_fakesink_render):
30399         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30400         (gst_filesink_init), (gst_filesink_set_location),
30401         (gst_filesink_open_file), (gst_filesink_close_file),
30402         (gst_filesink_pad_query), (gst_filesink_event),
30403         (gst_filesink_render), (gst_filesink_change_state):
30404         * gst/elements/gstfilesink.h:
30405         Added object to help in making collect pad based elements.
30406         Ported filesink.
30407         Make event function in sink baseclass return gboolean.
30408
30409 2005-05-05  Wim Taymans  <wim@fluendo.com>
30410
30411         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30412         (gst_bin_get_by_name):
30413         * gst/gstbuffer.h:
30414         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30415         (gst_clock_finalize):
30416         * gst/gstdata.c: (gst_data_replace):
30417         * gst/gstdata.h:
30418         * gst/gstelement.c: (gst_element_request_pad),
30419         (gst_element_pads_activate):
30420         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30421         (gst_object_unref):
30422         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30423         (gst_pad_set_checkgetrange_function),
30424         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30425         (gst_pad_check_pull_range), (gst_pad_pull_range),
30426         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30427         (gst_pad_pause_task), (gst_pad_stop_task):
30428         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30429         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30430         Fix name lookup in GstBin.
30431         Added _data_replace() function and _buffer_replace()
30432         Use finalize method to clean up clock.
30433         Fix refcounting on request pads.
30434         Fix pad schedule mode error.
30435         Some more object refcounting debug info,
30436
30437
30438 2005-05-04  Andy Wingo <wingo@pobox.com>
30439
30440         * check/Makefile.am:
30441         * docs/gst/tmpl/gstatomic.sgml:
30442         * docs/gst/tmpl/gstplugin.sgml:
30443         * gst/base/gstbasesink.c: (gst_basesink_activate):
30444         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30445         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30446         (gst_basesrc_query), (gst_basesrc_set_property),
30447         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30448         (gst_basesrc_activate):
30449         * gst/base/gstbasesrc.h:
30450         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30451         (gst_base_transform_src_activate):
30452         * gst/elements/gstelements.c:
30453         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30454         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30455         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30456         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30457         (gst_type_find_element_checkgetrange),
30458         (gst_type_find_element_activate):
30459         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30460         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30461         (gst_caps_load_thyself):
30462         * gst/gstelement.c: (gst_element_pads_activate),
30463         (gst_element_save_thyself), (gst_element_restore_thyself):
30464         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30465         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30466         * gst/gstpad.h:
30467         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30468         (gst_xml_parse_file), (gst_xml_parse_memory),
30469         (gst_xml_get_element), (gst_xml_make_element):
30470         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30471         (_file_index_id_save_xml), (gst_file_index_commit):
30472         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30473         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30474         (load_paths):
30475         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30476         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30477         * tools/gst-complete.c: (main):
30478         * tools/gst-compprep.c: (main):
30479         * tools/gst-inspect.c: (print_element_properties_info):
30480         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30481         * tools/gst-xmlinspect.c: (print_element_properties):
30482         GCC 4 fixen.
30483         
30484 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30485
30486         * gst/gstplugin.c: (gst_plugin_check_module),
30487         (gst_plugin_check_file), (gst_plugin_load_file):
30488             apply patch from #172526 to make register work on MacOSX
30489
30490 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30491
30492         * docs/gst/tmpl/gstconfig.sgml:
30493         * gst/gstconfig.h.in:
30494           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30495         * testsuite/debug/printf_extension.c: (main):
30496           Do not use GST_PTR_FORMAT on pointers to types with
30497           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30498         * testsuite/elements/property.h:
30499           use correct printf format
30500
30501 2005-05-02  Wim Taymans  <wim@fluendo.com>
30502
30503         * docs/design/draft-push-pull.txt:
30504         * docs/design/draft-query.txt:
30505         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30506         (gst_basesrc_start):
30507         Added draft for new query API.
30508         Added draft for better selecting scheduling methods.
30509         Make basesrc ignore length if the subclass does not support
30510         it.
30511
30512 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30513
30514         * gst/Makefile.am:
30515           possible fixes for automake-1.5 - _LIBADD is reserved
30516
30517 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30518
30519         * docs/faq/Makefile.am:
30520         * docs/manual/Makefile.am:
30521         * docs/manuals.mak:
30522         * docs/pwg/Makefile.am:
30523         * gst/Makefile.am:
30524           possible fixes for automake-1.5
30525
30526 2005-04-28  Wim Taymans  <wim@fluendo.com>
30527
30528         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30529         (gst_basesink_pad_getcaps), (gst_basesink_init),
30530         (gst_basesink_do_sync):
30531         * gst/gstclock.c: (gst_clock_entry_new):
30532         * gst/gstevent.c: (gst_event_discont_get_value):
30533         * gst/gstpipeline.c: (pipeline_bus_handler),
30534         (gst_pipeline_change_state):
30535         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30536         Better debugging of clocking info.
30537         Allow NULL values when getting discont values.
30538
30539 2005-04-27  Wim Taymans  <wim@fluendo.com>
30540
30541         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30542         * check/gst/gstpad.c: (gst_pad_suite):
30543         Increase timeout for checks.
30544
30545 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30546
30547         * check/Makefile.am:
30548           fix the broken rule for cleanup.  Apparently this rule is
30549           only needed on FC2, so maybe this warrants further autotool
30550           inspection.
30551
30552 2005-04-26  Wim Taymans  <wim@fluendo.com>
30553
30554         * gst/gsttrashstack.h:
30555         Ooohh. a nasty one! After having a failed pop() from the stack,
30556         it's possible that the stack is empty. In that case, don't
30557         follow the NULL pointer.
30558
30559 2005-04-25  Wim Taymans  <wim@fluendo.com>
30560
30561         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30562         (gst_pad_set_checkgetrange_function),
30563         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30564         (gst_pad_check_pull_range), (gst_pad_pull_range),
30565         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30566         (gst_pad_pause_task), (gst_pad_stop_task):
30567         * gst/gstplugin.c: (gst_plugin_load):
30568         * gst/gstplugin.h:
30569         Remove gst_library_load as it does more harm than good with
30570         the new g_module flags.
30571         Revert bogus caps template check in pad linking, pad caps
30572         are important when linking not the template, which is more
30573         general than the current caps.
30574
30575 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30576
30577         * gst/autoplug/.cvsignore:
30578         * gst/autoplug/Makefile.am:
30579         * gst/autoplug/gstsearchfuncs.c:
30580         * gst/autoplug/gstsearchfuncs.h:
30581         * gst/autoplug/gstspider.c:
30582         * gst/autoplug/gstspider.h:
30583         * gst/autoplug/gstspideridentity.c:
30584         * gst/autoplug/gstspideridentity.h:
30585         * gst/autoplug/spidertest.c:
30586           Die, spider, die.
30587
30588 2005-04-25  Wim Taymans  <wim@fluendo.com>
30589
30590         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30591         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30592         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30593         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30594         * gst/gstpad.h:
30595         Added stubs for unimplemented functions. 
30596
30597 2005-04-24  David Schleef  <ds@schleef.org>
30598
30599         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30600         please fix.
30601
30602 2005-04-24  David Schleef  <ds@schleef.org>
30603
30604         Convert everything from GstAtomicInt to g_atomic_int_*, and
30605         remove gstatomic.
30606         * gst/Makefile.am:
30607         * gst/gstatomic.c:
30608         * gst/gstatomic.h:
30609         * gst/gstatomic_impl.h:
30610         * gst/gstbuffer.c:
30611         * gst/gstcaps.c:
30612         * gst/gstcaps.h:
30613         * gst/gstclock.c:
30614         * gst/gstclock.h:
30615         * gst/gstdata.c:
30616         * gst/gstdata.h:
30617         * gst/gstdata_private.h:
30618         * gst/gstevent.c:
30619         * gst/gstinfo.c:
30620         * gst/gstinfo.h:
30621         * gst/gstmessage.c:
30622         * gst/gstobject.c:
30623         * gst/gstobject.h:
30624         * gst/gststructure.c:
30625         * gst/gststructure.h:
30626         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30627         * gst/gstutils.h:
30628
30629 2005-04-24  David Schleef  <ds@schleef.org>
30630
30631         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30632         make the regressions tests work.  Remove some code that is no
30633         longer true.
30634         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30635         Disable warning for pads without templates.
30636
30637 2005-04-24  David Schleef  <ds@schleef.org>
30638
30639         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30640         functions that handle filtered links.
30641         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30642         removed functions.
30643         * gst/gstutils.c: Fix/remove utility functions that handle
30644         filtered caps.
30645         * gst/gstutils.h:
30646         * gst/gstvalue.c: Add serialization/deserialization of caps
30647         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30648         requires fixing so that the filter caps notation creates
30649         a capsfilter element and sets the filter_caps property.  I
30650         think everyone probably wants to keep the shorthand notation.
30651         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30652         * docs/gst/tmpl/gstpad.sgml:
30653
30654         * gst/elements/gstelements.c: Register capsfilter element.
30655         * gst/Makefile.am: fix spacing
30656         * docs/random/ds/0.9-suggested-changes: random
30657
30658 2005-04-23  David Schleef  <ds@schleef.org>
30659
30660         * gst/elements/Makefile.am:
30661         * gst/elements/gstcapsfilter.c: New element that acts like an
30662         identity, but filters caps.  Will eventually replace filtered
30663         caps in pad linking.
30664         * gst/gstutils.c: (gst_element_create_all_pads): New function
30665         to create all the ALWAYS pads that are registered with an
30666         element class.  This functionality should eventually be
30667         merged in with GstElement initialization.
30668         * gst/gstutils.h:
30669         * testsuite/trigger/README: part of trigger test code that should
30670         have been checked in a long time ago.
30671
30672 2005-04-23  David Schleef  <ds@schleef.org>
30673
30674         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30675         needed with new versions of libtool (nobody will confirm this),
30676         and hard to carry around.
30677         * gst/autoplug/Makefile.am:
30678         * gst/base/Makefile.am:
30679         * gst/elements/Makefile.am:
30680         * gst/indexers/Makefile.am:
30681         * gst/schedulers/Makefile.am:
30682         * libs/gst/bytestream/Makefile.am:
30683         * libs/gst/control/Makefile.am:
30684         * libs/gst/dataprotocol/Makefile.am:
30685         * libs/gst/getbits/Makefile.am:
30686
30687 2005-04-21  Wim Taymans  <wim@fluendo.com>
30688
30689         * docs/design/draft-push-pull.txt:
30690         * docs/design/part-MT-refcounting.txt:
30691         * docs/design/part-TODO.txt:
30692         * docs/design/part-caps.txt:
30693         * docs/design/part-events.txt:
30694         * docs/design/part-gstbus.txt:
30695         * docs/design/part-gstpipeline.txt:
30696         * docs/design/part-messages.txt:
30697         * docs/design/part-push-pull.txt:
30698         * docs/design/part-query.txt:
30699         Some more docs.
30700
30701 2005-04-21  Wim Taymans  <wim@fluendo.com>
30702
30703         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30704         (gst_message_new), (gst_message_new_error),
30705         (gst_message_new_warning), (gst_message_new_tag),
30706         (gst_message_new_state_changed), (gst_message_new_application),
30707         (gst_message_get_structure):
30708         * gst/gstmessage.h:
30709         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30710         (gst_structure_copy_conditional):
30711         Use parent refcount in GstMessage to ensure GstStructure
30712         consistency.
30713         Cleaned up headers a bit.
30714         
30715
30716 2005-04-20  Wim Taymans  <wim@fluendo.com>
30717
30718         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30719         (gst_basesink_pad_getcaps), (gst_basesink_init),
30720         (gst_basesink_chain_unlocked):
30721         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30722         (gst_type_find_helper):
30723         * gst/elements/gsttypefindelement.c:
30724         (gst_type_find_element_have_type), (gst_type_find_element_init),
30725         (stop_typefinding), (gst_type_find_element_handle_event),
30726         (find_suggest), (gst_type_find_element_chain),
30727         (gst_type_find_element_checkgetrange),
30728         (gst_type_find_element_getrange), (do_typefind),
30729         (gst_type_find_element_activate):
30730         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30731         (gst_buffer_default_free), (gst_buffer_default_copy),
30732         (gst_buffer_set_caps):
30733         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30734         (gst_caps_replace):
30735         * gst/gstmessage.c: (gst_message_new),
30736         (gst_message_new_state_changed):
30737         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30738         (gst_pad_set_checkgetrange_function),
30739         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30740         (gst_pad_set_caps), (gst_pad_check_pull_range),
30741         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30742         * gst/gstpad.h:
30743         * gst/gsttypefind.c: (gst_type_find_register):
30744         Make gst_caps_replace() work like other _replace() functions.
30745         Use _caps_replace() where possible.
30746         Make sure _message_new() initialises its field.
30747         Add gst_static_pad_template_get_caps()
30748
30749
30750 2005-04-18  Andy Wingo  <wingo@pobox.com>
30751
30752         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30753         on the peer, not the pad. I think that was a typo. Pass an extra
30754         arg to see if random access is possible. Activate the pads as
30755         PULL_RANGE if possible.
30756
30757         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30758
30759         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30760         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30761         to PROP_....
30762
30763 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30764
30765         * docs/faq/using.xml:
30766           Add note on gstreamer-properties (#154996).
30767
30768 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30769
30770         * docs/random/bbb/optional-properties:
30771           Some analysis on optional properties.
30772
30773 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30774
30775         * docs/gst/tmpl/gstelementfactory.sgml:
30776         * gst/gstelement.h:
30777         * gst/gstelementfactory.c: (gst_element_factory_init),
30778         (gst_element_factory_cleanup), (gst_element_register),
30779         (__gst_element_factory_add_static_pad_template),
30780         (gst_element_factory_get_static_pad_templates),
30781         (gst_element_factory_can_src_caps),
30782         (gst_element_factory_can_sink_caps):
30783         * gst/registries/Makefile.am:
30784         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30785         (gst_xml_registry_class_init), (gst_xml_registry_init),
30786         (gst_xml_registry_new), (gst_xml_registry_set_property),
30787         (gst_xml_registry_get_property), (get_time), (make_dir),
30788         (gst_xml_registry_get_perms_func),
30789         (plugin_times_older_than_recurse), (plugin_times_older_than),
30790         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30791         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30792         (add_to_char_array), (read_string), (read_uint), (read_enum),
30793         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30794         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30795         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30796         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30797         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30798         (gst_xml_registry_rebuild):
30799         * gst/registries/gstlibxmlregistry.h:
30800         * tools/gst-compprep.c: (main):
30801         * tools/gst-inspect.c: (print_pad_templates_info):
30802         * tools/gst-xmlinspect.c: (print_element_info):
30803           Use libxml2 for registry parsing, use staticpadtemplates in
30804           elementfactories. Makes gst_init() +/- 10x faster.
30805
30806 2005-04-12  Wim Taymans  <wim@fluendo.com>
30807
30808         * gst/base/Makefile.am:
30809         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30810         (gst_basesink_pad_getcaps), (gst_basesink_init),
30811         (gst_basesink_event), (gst_basesink_change_state):
30812         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30813         (gst_basesrc_init), (gst_basesrc_query),
30814         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30815         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30816         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30817         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30818         (gst_basesrc_stop), (gst_basesrc_activate),
30819         (gst_basesrc_change_state):
30820         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30821         (helper_find_suggest), (gst_type_find_helper):
30822         * gst/base/gsttypefindhelper.h:
30823         * gst/elements/Makefile.am:
30824         * gst/elements/gstelements.c:
30825         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30826         (gst_fakesink_get_times), (gst_fakesink_event),
30827         (gst_fakesink_preroll), (gst_fakesink_render):
30828         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30829         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30830         (gst_fakesrc_get_property), (gst_fakesrc_create),
30831         (gst_fakesrc_start), (gst_fakesrc_stop):
30832         * gst/elements/gstfakesrc.h:
30833         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30834         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30835         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30836         (gst_filesrc_create_read), (gst_filesrc_create),
30837         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30838         (gst_filesrc_start):
30839         * gst/elements/gsttypefindelement.c:
30840         (gst_type_find_element_have_type), (gst_type_find_element_init),
30841         (start_typefinding), (stop_typefinding), (push_buffer_store),
30842         (gst_type_find_element_handle_event),
30843         (gst_type_find_element_chain),
30844         (gst_type_find_element_checkgetrange),
30845         (gst_type_find_element_getrange), (do_typefind),
30846         (gst_type_find_element_activate),
30847         (gst_type_find_element_change_state):
30848         * gst/elements/gsttypefindelement.h:
30849         * gst/gstpipeline.c: (pipeline_bus_handler):
30850         Added typefind helper.
30851         Small preroll fix in the base sink.
30852         Disable typefind code in basesrc.
30853         Crude port of typefindelement.
30854         Fakesrc cleanups.
30855
30856
30857 2005-04-11  Wim Taymans  <wim@fluendo.com>
30858
30859         * check/gst/gstbus.c: (gstbus_suite):
30860         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30861         * check/gstcheck.h:
30862           Fix up the timeout so that the test does not fail.
30863
30864 2005-04-06  Wim Taymans  <wim@fluendo.com>
30865
30866         * gst/base/README:
30867         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30868         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30869         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30870         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30871         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30872         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30873         (gst_basesrc_stop), (gst_basesrc_activate),
30874         (gst_basesrc_change_state), (basesrc_find_peek),
30875         (basesrc_find_suggest), (gst_basesrc_type_find):
30876         * gst/base/gstbasesrc.h:
30877         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30878         (gst_filesrc_class_init), (gst_filesrc_init),
30879         (gst_filesrc_finalize), (gst_filesrc_set_location),
30880         (gst_filesrc_set_property), (gst_filesrc_get_property),
30881         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30882         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30883         (gst_filesrc_create_read), (gst_filesrc_create),
30884         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30885         * gst/elements/gstfilesrc.h:
30886         * gst/gstelement.c: (gst_element_get_state_func),
30887         (gst_element_lost_state), (gst_element_pads_activate):
30888         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30889         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30890         (gst_pad_pull_range):
30891         * gst/gstpad.h:
30892         More work on the generic source base class, implement seeking,
30893         query.
30894         Make filesrc extend the base source class.
30895         Added gst_pad_set_checkgetrange_function to GstPad.
30896
30897 2005-04-06  Andy Wingo  <wingo@pobox.com>
30898
30899         * pkgconfig/gstreamer-base.pc.in:
30900         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30901
30902         * pkgconfig/Makefile.am:
30903         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30904
30905 2005-04-04  Wim Taymans  <wim@fluendo.com>
30906
30907         * gst/base/Makefile.am:
30908         * gst/base/README:
30909         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30910         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30911         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30912         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30913         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30914         (gst_basesrc_base_init), (gst_basesrc_class_init),
30915         (gst_basesrc_init), (gst_basesrc_get_formats),
30916         (gst_basesrc_get_query_types), (gst_basesrc_query),
30917         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30918         (gst_basesrc_set_property), (gst_basesrc_get_property),
30919         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30920         (gst_basesrc_loop), (gst_basesrc_activate),
30921         (gst_basesrc_change_state):
30922         * gst/base/gstbasesrc.h:
30923         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30924         (gst_fakesrc_class_init), (gst_fakesrc_init),
30925         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30926         (gst_fakesrc_get_property), (gst_fakesrc_create):
30927         * gst/elements/gstfakesrc.h:
30928         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30929         (gst_filesrc_open_file), (gst_filesrc_loop),
30930         (gst_filesrc_activate), (filesrc_find_peek),
30931         (gst_filesrc_type_find):
30932         Made base source class, make fakesrc extend it.
30933         Add comments to basesink class.
30934         Some filesrc cleanup.
30935
30936 2005-03-31  David Schleef  <ds@schleef.org>
30937
30938         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30939         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30940         expected to link against libgstreamer.
30941         * gst/base/Makefile.am: link against libgstreamer
30942         * gst/elements/Makefile.am: same
30943
30944 2005-03-31  Andy Wingo  <wingo@pobox.com>
30945
30946         * tests/instantiate/Makefile.am:
30947         * tests/instantiate/caps.c: Add test to test speed of caps copy
30948         and free.
30949
30950         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30951         GMemChunk to be fair.
30952
30953         * gst/gsttrashstack.h: Remove warning about using the fallback
30954         trash stack implementation, it's still faster than malloc.
30955
30956 2005-03-30  Andy Wingo  <wingo@pobox.com>
30957
30958         * tests/complexity.c: Add a copyright.
30959
30960 2005-03-31  Wim Taymans  <wim@fluendo.com>
30961
30962         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30963         (gst_base_transform_class_init), (gst_base_transform_init),
30964         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30965         (gst_base_transform_get_property),
30966         (gst_base_transform_sink_activate),
30967         (gst_base_transform_src_activate),
30968         (gst_base_transform_change_state):
30969         * gst/base/gstbasetransform.h:
30970         * gst/elements/gstidentity.c: (gst_identity_class_init),
30971         (gst_identity_event), (gst_identity_check_perfect),
30972         (gst_identity_transform), (gst_identity_start),
30973         (gst_identity_stop):
30974         Added start/stop methods to transform base class so subclasses 
30975         don't need to deal with state changes even.
30976
30977 2005-03-31  Wim Taymans  <wim@fluendo.com>
30978
30979         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30980         (gst_event_new_discontinuous), (gst_event_discont_get_value):
30981         * gst/gstevent.h:
30982         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30983         (gst_pad_pull_range):
30984         Added rate to the discont event to prepare for variable speed
30985         and reverse playback.
30986
30987 2005-03-29  David Schleef  <ds@schleef.org>
30988
30989         * configure.ac:
30990         * testsuite/trigger/Makefile.am:
30991         * testsuite/trigger/trigger.c: A little example program to show
30992         how trigger-based elements can work.
30993
30994 2005-03-29  Wim Taymans  <wim@fluendo.com>
30995
30996         * gst/base/Makefile.am:
30997         * gst/base/README:
30998         * gst/base/gstbasesink.c: (gst_basesink_get_type),
30999         (gst_basesink_base_init), (gst_basesink_class_init),
31000         (gst_basesink_pad_getcaps), (gst_basesink_init),
31001         (gst_basesink_activate), (gst_basesink_change_state):
31002         * gst/base/gstbasesink.h:
31003         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31004         (gst_base_transform_base_init), (gst_base_transform_finalize),
31005         (gst_base_transform_class_init), (gst_base_transform_init),
31006         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31007         (gst_base_transform_event), (gst_base_transform_getrange),
31008         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31009         (gst_base_transform_set_property),
31010         (gst_base_transform_get_property),
31011         (gst_base_transform_sink_activate),
31012         (gst_base_transform_src_activate),
31013         (gst_base_transform_change_state):
31014         * gst/base/gstbasetransform.h:
31015         * gst/elements/gstidentity.c: (gst_identity_finalize),
31016         (gst_identity_class_init), (gst_identity_init),
31017         (gst_identity_event), (gst_identity_check_perfect),
31018         (gst_identity_transform), (gst_identity_set_property),
31019         (gst_identity_get_property), (gst_identity_change_state):
31020         * gst/elements/gstidentity.h:
31021         * gst/gstelement.c: (gst_element_get_state_func),
31022         (gst_element_lost_state), (gst_element_pads_activate):
31023         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31024         (gst_pad_check_pull_range), (gst_pad_pull_range):
31025         * gst/gstpad.h:
31026         Simplify pad activation.
31027         Added function to check if pull_range can be performed.
31028         Error out when pulling inactive or flushing pads.
31029         Removed const from refcounted types as it does not make sense.
31030         Simplify pad templates in basesink
31031         Added base class for simple 1-to-1 transforms.
31032         Make identity subclass the base transform.
31033
31034 2005-03-29  Andy Wingo  <wingo@pobox.com>
31035
31036         * docs/libs/gstreamer-libs-overrides.txt: 
31037         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31038         really don't understand what's going on, but like whatever. I want
31039         green buildbot!
31040
31041         * docs/gst/Makefile.am:
31042         * docs/libs/Makefile.am: Dist the overrides files.
31043
31044         * check/Makefile.am (clean-local): Remove .libs directories.
31045
31046         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31047         elements to EXTRA_DIST, so po/ files are happy.
31048
31049         * po/POTFILES.in: Er, remove it here.
31050
31051         * po/POTFILES: Remove gstspider.c.
31052
31053         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31054
31055         * docs/libs/gstreamer-libs-docs.sgml: 
31056         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31057         bytestream.
31058
31059         * tests/complexity.c (main): Set the length of the preroll queue
31060         on the sinks to prevent a lockup.
31061
31062         * libs/gst/dataprotocol/Makefile.am: 
31063         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31064         the same as the one in check/gst-libs/gdp.c.
31065
31066         * po/, docs/gst/: Commit automatic changes to docs and po files.
31067
31068         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31069         the versioned libgstbase.
31070
31071         * check/Makefile.am: Depend on an unversioned gst-register, seems
31072         to make autoconf happier.
31073
31074         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31075
31076 2005-03-28  Wim Taymans  <wim@fluendo.com>
31077
31078         * configure.ac:
31079         * docs/design/part-gstelement.txt:
31080         * docs/design/part-negotiation.txt:
31081         * docs/design/part-preroll.txt:
31082         * docs/design/part-scheduling.txt:
31083         * docs/design/part-states.txt:
31084         * gst/Makefile.am:
31085         * gst/base/Makefile.am:
31086         * gst/base/README:
31087         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31088         (gst_basesink_base_init), (gst_basesink_class_init),
31089         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31090         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31091         (gst_basesink_set_pad_functions),
31092         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31093         (gst_basesink_set_property), (gst_basesink_get_property),
31094         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31095         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31096         (gst_basesink_preroll_queue_push),
31097         (gst_basesink_preroll_queue_empty),
31098         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31099         (gst_basesink_event), (gst_basesink_get_times),
31100         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31101         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31102         (gst_basesink_loop), (gst_basesink_activate),
31103         (gst_basesink_change_state):
31104         * gst/base/gstbasesink.h:
31105         * gst/elements/Makefile.am:
31106         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31107         (gst_fakesink_class_init), (gst_fakesink_init),
31108         (gst_fakesink_set_property), (gst_fakesink_get_property),
31109         (gst_fakesink_get_times), (gst_fakesink_event),
31110         (gst_fakesink_preroll), (gst_fakesink_render),
31111         (gst_fakesink_change_state):
31112         * gst/elements/gstfakesink.h:
31113         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31114         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31115         * gst/gstelement.c: (gst_element_add_pad),
31116         (gst_element_get_state_func), (gst_element_abort_state),
31117         (gst_element_commit_state), (gst_element_lost_state),
31118         (gst_element_set_state), (gst_element_pads_activate):
31119         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31120         * gst/gstpipeline.c: (gst_pipeline_send_event),
31121         (gst_pipeline_change_state):
31122         Added state change code.
31123         Added/updated docs.
31124         Added sink base class, make fakesink extend the base class.
31125         Small cleanups in GstPipeline.
31126
31127 2005-03-26  David Schleef  <ds@schleef.org>
31128
31129         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31130         is broken and should be implemented in a different library.
31131         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31132         * gst/gst.h: remove gstcpu.h
31133         * gst/gstcpu.c: remove
31134         * gst/gstcpu.h: remove
31135         * gst/Makefile.am.future: Remove this file.  It's ancient.
31136
31137 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31138
31139         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31140         (gst_bin_send_event):
31141           Add default event/set_manager handlers. The set_manager handler
31142           takes care that the manager is distributed over kids that were
31143           already in the bin before the manager was set. The event handler
31144           is a utility virtual function that sends the event over all sinks,
31145           so that gst_element_send_event (bin, event); has the expected
31146           behaviour.
31147         * gst/gstpad.c: (gst_pad_event_default):
31148           Re-install default event handling for discontinuities, so that
31149           seeking works without requiring hacks in applications or extra
31150           code in sinks.
31151         * gst/gstpipeline.c: (gst_pipeline_class_init),
31152         (gst_pipeline_send_event):
31153           Half hack, half utility: set a pipeline to PAUSED for seek events,
31154           since that is the only way we can guarantee a/v sync. Means that
31155           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31156           and it "just works".
31157
31158 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31159
31160         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31161           Lock/unlock mismatch.
31162
31163 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31164
31165         * docs/faq/gst-uninstalled:
31166           add gst-plugins-base
31167         * docs/gst/Makefile.am:
31168           don't error out until docs are fixed
31169         * docs/gst/gstreamer.types:
31170           remove thread
31171
31172 2005-03-22  Wim Taymans  <wim@fluendo.com>
31173
31174         * check/Makefile.am:
31175         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31176         * gst/gststructure.c: (gst_structure_set_valist),
31177         (gst_structure_copy_conditional):
31178         Activated more tests.
31179         Added message test.
31180         Added G_TYPE_POINTER to GstStructure.
31181         
31182
31183 2005-03-22  Wim Taymans  <wim@fluendo.com>
31184
31185         * docs/design/part-TODO.txt:
31186         * docs/design/part-events.txt:
31187         * docs/design/part-gstbin.txt:
31188         * docs/design/part-gstbus.txt:
31189         * docs/design/part-gstpipeline.txt:
31190         * docs/design/part-messages.txt:
31191         * gst/gstbus.c:
31192         * gst/gstmessage.c:
31193         Docs updates
31194
31195 2005-03-21  Wim Taymans  <wim@fluendo.com>
31196
31197         * gst/gstbus.c: (gst_bus_post):
31198         Fix copy-and-paste error.
31199
31200 2005-03-21  Wim Taymans  <wim@fluendo.com>
31201
31202         * check/Makefile.am:
31203         * gst/Makefile.am:
31204         * gst/elements/Makefile.am:
31205         * gst/elements/gstelements.c:
31206         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31207         (gst_fakesink_event), (gst_fakesink_chain):
31208         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31209         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31210         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31211         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31212         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31213         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31214         (gst_fakesrc_loop), (gst_fakesrc_activate),
31215         (gst_fakesrc_change_state):
31216         * gst/elements/gstfakesrc.h:
31217         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31218         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31219         (gst_filesrc_open_file), (gst_filesrc_loop),
31220         (gst_filesrc_activate), (gst_filesrc_change_state),
31221         (filesrc_find_peek), (filesrc_find_suggest),
31222         (gst_filesrc_type_find):
31223         * gst/elements/gstidentity.c: (gst_identity_finalize),
31224         (gst_identity_class_init), (gst_identity_init),
31225         (gst_identity_proxy_getcaps), (identity_queue_push),
31226         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31227         (gst_identity_getrange), (gst_identity_chain),
31228         (gst_identity_sink_loop), (gst_identity_src_loop),
31229         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31230         (gst_identity_set_property), (gst_identity_get_property),
31231         (gst_identity_change_state):
31232         * gst/elements/gstidentity.h:
31233         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31234         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31235         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31236         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31237         (gst_tee_sink_activate):
31238         * gst/elements/gsttee.h:
31239         * gst/gst.c: (gst_register_core_elements), (init_post):
31240         * gst/gst.h:
31241         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31242         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31243         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31244         (gst_bin_change_state):
31245         * gst/gstbin.h:
31246         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31247         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31248         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31249         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31250         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31251         (bus_watch_callback), (bus_watch_destroy),
31252         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31253         (poll_timeout), (gst_bus_poll):
31254         * gst/gstbus.h:
31255         * gst/gstcaps.h:
31256         * gst/gstdata.h:
31257         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31258         (gst_element_post_message), (gst_element_message_full),
31259         (gst_element_get_state_func), (gst_element_get_state),
31260         (gst_element_abort_state), (gst_element_commit_state),
31261         (gst_element_lost_state), (gst_element_set_state),
31262         (gst_element_pads_activate), (gst_element_change_state),
31263         (gst_element_dispose), (gst_element_set_manager_func),
31264         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31265         (gst_element_set_manager), (gst_element_get_manager),
31266         (gst_element_set_bus), (gst_element_get_bus),
31267         (gst_element_set_scheduler), (gst_element_get_scheduler):
31268         * gst/gstelement.h:
31269         * gst/gstevent.c: (gst_event_new_segment_seek),
31270         (gst_event_new_flush):
31271         * gst/gstevent.h:
31272         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31273         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31274         (gst_message_new_eos), (gst_message_new_error),
31275         (gst_message_new_warning), (gst_message_new_tag),
31276         (gst_message_new_state_changed), (gst_message_new_application),
31277         (gst_message_get_structure), (gst_message_parse_tag),
31278         (gst_message_parse_state_changed), (gst_message_parse_error),
31279         (gst_message_parse_warning):
31280         * gst/gstmessage.h:
31281         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31282         (gst_real_pad_set_property), (gst_pad_set_active),
31283         (gst_pad_is_active), (gst_pad_set_blocked_async),
31284         (gst_pad_set_blocked), (gst_pad_is_blocked),
31285         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31286         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31287         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31288         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31289         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31290         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31291         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31292         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31293         (gst_pad_set_caps), (gst_pad_configure_sink),
31294         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31295         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31296         (gst_real_pad_dispose), (gst_real_pad_finalize),
31297         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31298         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31299         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31300         * gst/gstpad.h:
31301         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31302         (pipeline_bus_handler), (gst_pipeline_change_state),
31303         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31304         * gst/gstpipeline.h:
31305         * gst/gstprobe.h:
31306         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31307         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31308         (gst_queue_link_src), (gst_queue_bufferalloc),
31309         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31310         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31311         (gst_queue_loop), (gst_queue_handle_src_event),
31312         (gst_queue_handle_src_query), (gst_queue_src_activate),
31313         (gst_queue_change_state):
31314         * gst/gstqueue.h:
31315         * gst/gstscheduler.c: (gst_scheduler_init),
31316         (gst_scheduler_dispose), (gst_scheduler_create_task),
31317         (gst_scheduler_factory_create):
31318         * gst/gstscheduler.h:
31319         * gst/gststructure.c: (gst_structure_get_type),
31320         (gst_structure_copy_conditional):
31321         * gst/gststructure.h:
31322         * gst/gsttaginterface.h:
31323         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31324         (gst_task_init), (gst_task_dispose), (gst_task_create),
31325         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31326         (gst_task_pause):
31327         * gst/gsttask.h:
31328         * gst/gstthread.c:
31329         * gst/gstthread.h:
31330         * gst/gsttypes.h:
31331         * gst/schedulers/Makefile.am:
31332         * gst/schedulers/cothreads_compat.h:
31333         * gst/schedulers/entryscheduler.c:
31334         * gst/schedulers/faircothreads.c:
31335         * gst/schedulers/faircothreads.h:
31336         * gst/schedulers/fairscheduler.c:
31337         * gst/schedulers/gstbasicscheduler.c:
31338         * gst/schedulers/gstoptimalscheduler.c:
31339         * gst/schedulers/gthread-cothreads.h:
31340         * gst/schedulers/threadscheduler.c:
31341         (gst_thread_scheduler_task_get_type),
31342         (gst_thread_scheduler_task_class_init),
31343         (gst_thread_scheduler_task_init),
31344         (gst_thread_scheduler_task_start),
31345         (gst_thread_scheduler_task_stop),
31346         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31347         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31348         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31349         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31350         (plugin_init):
31351         * libs/gst/Makefile.am:
31352         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31353         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31354         (gst_file_pad_parent_set):
31355         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31356         (gst_dp_event_from_packet):
31357         * tests/complexity.c: (main):
31358         * tests/mass_elements.c: (main):
31359         * testsuite/states/locked.c: (message_received), (main):
31360         * testsuite/states/parent.c: (main):
31361         * tools/gst-inspect.c: (print_element_flag_info),
31362         (print_implementation_info), (print_pad_info):
31363         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31364         (main):
31365         * tools/gst-md5sum.c: (event_loop), (main):
31366         * tools/gst-typefind.c: (main):
31367         * tools/gst-xmlinspect.c: (print_element_info):
31368         Next big merge.
31369         Added GstBus for mainloop integration.
31370         Added GstMessage for sending notifications on the bus.
31371         Added GstTask as an abstraction for pipeline entry points.
31372         Removed GstThread.
31373         Removed Schedulers.
31374         Simplified GstQueue for multithreaded core.
31375         Made _link threadsafe, removed old capsnego.
31376         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31377         Added pad blocking functions.
31378         Reworked scheduling functions in GstPad to prepare for
31379         scheduling updates soon.
31380         Moved events out of data stream.
31381         Simplified GstEvent types.
31382         Added return values to push/pull.
31383         Removed clocking from GstElement.
31384         Added prototypes for state change function for next merge.
31385         Removed iterate from bins and state change management.
31386         Fixed some elements, disabled others for now.
31387         Fixed -inspect and -launch.
31388         Added check for GstBus.
31389
31390 2005-03-10  Wim Taymans  <wim@fluendo.com>
31391
31392         * docs/design/part-MT-refcounting.txt:
31393         * docs/design/part-clocks.txt:
31394         * docs/design/part-gstelement.txt:
31395         * docs/design/part-gstobject.txt:
31396         * docs/design/part-standards.txt:
31397         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31398         (gst_bin_remove_func), (gst_bin_remove):
31399         * gst/gstbin.h:
31400         * gst/gstbuffer.c:
31401         * gst/gstcaps.h:
31402         * testsuite/clock/clock1.c: (main):
31403         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31404         (main):
31405         * testsuite/dlopen/loadgst.c: (do_test):
31406         * testsuite/refcounting/bin.c: (add_remove_test1),
31407         (add_remove_test2), (main):
31408         * testsuite/refcounting/element.c: (main):
31409         * testsuite/refcounting/element_pad.c: (main):
31410         * testsuite/refcounting/pad.c: (main):
31411         * tools/gst-launch.c: (sigint_handler_sighandler):
31412         * tools/gst-typefind.c: (main):
31413         Doc updates.
31414         Added doc about clock.
31415         removed gst_bin_iterate_recurse_up(), marked methods
31416         for removal.
31417         Fix more testsuites.
31418
31419 2005-03-09  Wim Taymans  <wim@fluendo.com>
31420
31421         * gst/gstpad.c: (gst_pad_get_direction),
31422         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31423         (gst_pad_collect_valist):
31424         * testsuite/bins/interface.c: (main):
31425         * testsuite/caps/audioscale.c: (test_caps):
31426         * testsuite/caps/caps.c: (test1), (test2), (test3):
31427         * testsuite/caps/deserialize.c: (main):
31428         * testsuite/caps/enumcaps.c: (main):
31429         * testsuite/caps/filtercaps.c: (main):
31430         * testsuite/caps/intersect2.c: (main):
31431         * testsuite/caps/random.c: (main):
31432         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31433         * testsuite/caps/sets.c: (check_caps):
31434         * testsuite/caps/simplify.c: (check_caps), (main):
31435         * testsuite/caps/subtract.c: (check_caps):
31436         Fix _pad_get_direction wrt ghostpads.
31437         Fix caps testsuite.
31438
31439 2005-03-09  Wim Taymans  <wim@fluendo.com>
31440
31441         * check/Makefile.am:
31442         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31443         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31444         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31445         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31446         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31447         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31448         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31449         (bin_element_is_sink), (gst_bin_iterate_sinks),
31450         (gst_bin_iterate_all_by_interface):
31451         * gst/gstbin.h:
31452         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31453         (gst_element_change_state), (gst_element_dispose),
31454         (gst_element_finalize), (gst_element_set_loop_function):
31455         * gst/gstelement.h:
31456         * gst/gstiterator.c: (find_custom_fold_func):
31457         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31458         (gst_pad_collectv), (gst_pad_collect_valist),
31459         (gst_pad_template_new):
31460         * gst/gstpipeline.c: (gst_pipeline_class_init),
31461         (gst_pipeline_dispose), (gst_pipeline_set_property),
31462         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31463         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31464         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31465         * gst/gstutils.h:
31466         * gst/schedulers/entryscheduler.c:
31467         * gst/schedulers/gstbasicscheduler.c:
31468         (gst_basic_scheduler_cothreaded_chain),
31469         (gst_basic_scheduler_chain_add_element):
31470         * testsuite/bins/interface.c: (main):
31471         Added GstBin test.
31472         Added GstSystemClock test.
31473         Implemented clock distribution code in GstBin.
31474         Implemented iterate sinks method for future use.
31475         Rearranged gstelement.h
31476         Fix GstIterator comparison bug.
31477         Moved some code to GstPipeline, mostly clocking related.
31478
31479 2005-03-09  Wim Taymans  <wim@fluendo.com>
31480
31481         * configure.ac:
31482         * gst/gst_private.h:
31483         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31484         (gst_bin_remove_func), (gst_bin_remove),
31485         (gst_bin_get_by_name_recurse_up):
31486         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31487         (gst_clock_id_compare_func), (gst_clock_id_wait),
31488         (gst_clock_id_wait_async), (gst_clock_init),
31489         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31490         * gst/gstelement.h:
31491         * gst/gstinfo.c: (_gst_debug_init):
31492         * gst/gstobject.h:
31493         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31494         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31495         * gst/gstpad.h:
31496         Bump version number, we're now 0.9.0
31497         Add future debugging category.
31498         Fix NULL _unref() in _get_by_name_recurse_up
31499         Rearrange gstpad.h.
31500         Update some docs.
31501
31502 2005-03-08  Wim Taymans  <wim@fluendo.com>
31503
31504         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31505         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31506         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31507         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31508         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31509         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31510         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31511         * gst/elements/gstidentity.c: (gst_identity_class_init):
31512         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31513         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31514         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31515         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31516         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31517         (gst_tee_link):
31518         * gst/gstelement.c: (gst_element_class_init),
31519         (gst_element_base_class_init), (gst_element_init),
31520         (gst_element_get_random_pad), (gst_element_wait_state_change),
31521         (gst_element_change_state), (gst_element_dispose),
31522         (gst_element_finalize), (gst_element_set_loop_function):
31523         * gst/gstelement.h:
31524         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31525         * gst/gstthread.c: (gst_thread_class_init),
31526         (gst_thread_release_children_locks), (gst_thread_change_state):
31527         * gst/schedulers/gstbasicscheduler.c:
31528         (gst_basic_scheduler_loopfunc_wrapper),
31529         (gst_basic_scheduler_chain_wrapper),
31530         (gst_basic_scheduler_src_wrapper),
31531         (gst_basic_scheduler_remove_element):
31532         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31533         Remove threadsafe properties. Fix elements because GObject
31534         complains when installing a property before declaring a
31535         set/get_property handler.
31536         Rearrange gstelement.h file, use STATE macros for state locks.
31537         Free mutexes in the finalize method instead of dispose.
31538
31539 2005-03-08  Wim Taymans  <wim@fluendo.com>
31540
31541         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31542         * gst/gstthread.c: (gst_thread_release_children_locks):
31543         Added parentage check.
31544         Fix build og GstThread again.
31545
31546 2005-03-08  Wim Taymans  <wim@fluendo.com>
31547
31548         * docs/design/part-MT-refcounting.txt:
31549         * docs/design/part-conventions.txt:
31550         * docs/design/part-gstobject.txt:
31551         * docs/design/part-relations.txt:
31552         * docs/design/part-standards.txt:
31553         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31554         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31555         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31556         (gst_bin_iterate_all_by_interface):
31557         * gst/gstbuffer.h:
31558         * gst/gstclock.h:
31559         * gst/gstelement.c: (gst_element_class_init),
31560         (gst_element_change_state), (gst_element_set_loop_function):
31561         * gst/gstelement.h:
31562         * gst/gstiterator.c:
31563         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31564         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31565         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31566         (gst_object_set_parent), (gst_object_unparent),
31567         (gst_object_check_uniqueness):
31568         * gst/gstobject.h:
31569         Docs updates, clean up some headers.
31570
31571 2005-03-07  Wim Taymans  <wim@fluendo.com>
31572
31573         * check/.cvsignore:
31574         * check/Makefile.am:
31575         * check/gst-libs/.cvsignore:
31576         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31577         * check/gst/.cvsignore:
31578         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31579         (START_TEST), (gstbus_suite), (main):
31580         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31581         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31582         (gst_data_suite), (main):
31583         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31584         (add_fold_func), (gstiterator_suite), (main):
31585         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31586         (thread_name_object), (thread_name_object_default),
31587         (gst_object_name_compare), (gst_object_suite), (main):
31588         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31589         (gst_pad_suite), (main):
31590         * check/gstcheck.c: (gst_check_log_message_func),
31591         (gst_check_log_critical_func), (gst_check_init):
31592         * check/gstcheck.h:
31593         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31594         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31595         Added checks.
31596
31597 2005-03-07  Wim Taymans  <wim@fluendo.com>
31598
31599         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31600         (gst_list_iterator_next), (gst_list_iterator_resync),
31601         (gst_list_iterator_free), (gst_iterator_new_list),
31602         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31603         (gst_iterator_free), (gst_iterator_push), (filter_next),
31604         (filter_resync), (filter_uninit), (filter_free),
31605         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31606         (gst_iterator_foreach), (find_custom_fold_func),
31607         (gst_iterator_find_custom):
31608         * gst/gstiterator.h:
31609         Added missing files.
31610
31611 2005-03-07  Wim Taymans  <wim@fluendo.com>
31612
31613         * Makefile.am:
31614         * configure.ac:
31615         * docs/design/part-MT-refcounting.txt:
31616         * docs/design/part-conventions.txt:
31617         * docs/design/part-gstobject.txt:
31618         * docs/design/part-relations.txt:
31619         * examples/mixer/mixer.c: (main):
31620         * examples/thread/thread.c: (eos), (main):
31621         * gst/Makefile.am:
31622         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31623         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31624         (gst_spider_plug_from_srcpad):
31625         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31626         (gst_spider_identity_change_state),
31627         (gst_spider_identity_sink_loop_type_finding):
31628         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31629         * gst/elements/gstidentity.c: (gst_identity_init):
31630         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31631         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31632         * gst/elements/gsttypefindelement.c: (free_entry):
31633         * gst/gst.c:
31634         * gst/gst.h:
31635         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31636         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31637         (gst_bin_set_index), (gst_bin_set_element_sched),
31638         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31639         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31640         (gst_bin_iterate_elements), (iterate_child_recurse),
31641         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31642         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31643         (compare_interface), (gst_bin_get_by_interface),
31644         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31645         * gst/gstbin.h:
31646         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31647         (gst_buffer_default_free), (gst_buffer_default_copy),
31648         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31649         (gst_buffer_create_sub):
31650         * gst/gstbuffer.h:
31651         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31652         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31653         (gst_caps_unref), (gst_static_caps_get),
31654         (gst_caps_remove_and_get_structure), (gst_caps_append),
31655         (gst_caps_append_structure), (gst_caps_remove_structure),
31656         (gst_caps_copy_nth), (gst_caps_set_simple),
31657         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31658         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31659         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31660         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31661         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31662         (gst_caps_structure_figure_out_union),
31663         (gst_caps_switch_structures), (gst_caps_do_simplify),
31664         (gst_caps_replace), (gst_caps_from_string),
31665         (gst_caps_copy_conditional):
31666         * gst/gstcaps.h:
31667         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31668         (_gst_clock_id_free), (gst_clock_id_unref),
31669         (gst_clock_id_compare_func), (gst_clock_id_wait),
31670         (gst_clock_id_wait_async), (gst_clock_class_init),
31671         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31672         (gst_clock_get_time), (gst_clock_set_time_adjust),
31673         (gst_clock_set_property), (gst_clock_get_property):
31674         * gst/gstclock.h:
31675         * gst/gstcompat.h:
31676         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31677         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31678         * gst/gstdata.h:
31679         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31680         (gst_element_requires_clock), (gst_element_provides_clock),
31681         (gst_element_set_clock), (gst_element_clock_wait),
31682         (gst_element_wait), (gst_element_set_time_delay),
31683         (gst_element_is_indexable), (gst_element_add_pad),
31684         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31685         (pad_compare_name), (gst_element_get_static_pad),
31686         (gst_element_request_pad), (gst_element_get_request_pad),
31687         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31688         (gst_element_class_get_pad_template_list),
31689         (gst_element_class_get_pad_template), (gst_element_error_func),
31690         (gst_element_get_random_pad), (gst_element_get_event_masks),
31691         (gst_element_send_event), (gst_element_seek),
31692         (gst_element_get_query_types), (gst_element_query),
31693         (gst_element_get_formats), (gst_element_convert),
31694         (gst_element_is_locked_state), (gst_element_set_locked_state),
31695         (gst_element_sync_state_with_parent), (gst_element_change_state),
31696         (gst_element_finalize), (gst_element_yield),
31697         (gst_element_interrupt), (gst_element_set_scheduler),
31698         (gst_element_get_scheduler), (gst_element_set_loop_function):
31699         * gst/gstelement.h:
31700         * gst/gstevent.h:
31701         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31702         (gst_format_get_by_nick), (gst_format_get_details),
31703         (gst_format_iterate_definitions):
31704         * gst/gstformat.h:
31705         * gst/gstindex.c: (gst_index_gtype_resolver):
31706         * gst/gstinfo.c:
31707         * gst/gstinfo.h:
31708         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31709         (gst_mem_chunk_free):
31710         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31711         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31712         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31713         (gst_object_dispatch_properties_changed),
31714         (gst_object_set_name_default), (gst_object_set_name),
31715         (gst_object_get_name), (gst_object_set_name_prefix),
31716         (gst_object_get_name_prefix), (gst_object_set_parent),
31717         (gst_object_get_parent), (gst_object_unparent),
31718         (gst_object_check_uniqueness), (gst_object_save_thyself),
31719         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31720         (gst_object_set_property), (gst_object_get_property),
31721         (gst_object_get_path_string):
31722         * gst/gstobject.h:
31723         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31724         (gst_real_pad_init), (gst_real_pad_get_property),
31725         (gst_pad_custom_new), (gst_pad_get_direction),
31726         (gst_pad_set_active), (gst_pad_is_active),
31727         (gst_pad_set_event_function), (gst_pad_is_linked),
31728         (gst_pad_link_free), (gst_pad_link_intersect),
31729         (gst_pad_link_fixate), (gst_pad_set_caps),
31730         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31731         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31732         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31733         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31734         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31735         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31736         (gst_pad_realize), (gst_pad_get_allowed_caps),
31737         (gst_real_pad_dispose), (gst_real_pad_finalize),
31738         (gst_pad_collectv), (gst_pad_collect_valist),
31739         (gst_pad_template_dispose), (gst_pad_template_new),
31740         (gst_pad_get_internal_links):
31741         * gst/gstpad.h:
31742         * gst/gstpipeline.c: (gst_pipeline_dispose),
31743         (gst_pipeline_change_state):
31744         * gst/gstpipeline.h:
31745         * gst/gstplugin.c:
31746         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31747         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31748         * gst/gstpluginfeature.h:
31749         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31750         * gst/gstquery.c: (_gst_query_type_initialize),
31751         (gst_query_type_register), (gst_query_type_get_by_nick),
31752         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31753         * gst/gstquery.h:
31754         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31755         * gst/gstscheduler.c: (gst_scheduler_add_element),
31756         (gst_scheduler_factory_create):
31757         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31758         (gst_structure_free), (gst_structure_set_name),
31759         (gst_structure_id_set_value), (gst_structure_set_value),
31760         (gst_structure_set_valist), (gst_structure_remove_field),
31761         (gst_structure_remove_fields),
31762         (gst_structure_remove_fields_valist),
31763         (gst_structure_remove_all_fields), (gst_structure_foreach),
31764         (gst_structure_map_in_place),
31765         (gst_caps_structure_fixate_field_nearest_int),
31766         (gst_caps_structure_fixate_field_nearest_double):
31767         * gst/gststructure.h:
31768         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31769         (gst_system_clock_init), (gst_system_clock_dispose),
31770         (gst_system_clock_async_thread),
31771         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31772         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31773         * gst/gstsystemclock.h:
31774         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31775         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31776         * gst/gsttaginterface.c:
31777         * gst/gstthread.c: (gst_thread_dispose),
31778         (gst_thread_release_children_locks), (gst_thread_change_state),
31779         (gst_thread_main_loop):
31780         * gst/gsttrashstack.h:
31781         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31782         * gst/gsttypes.h:
31783         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31784         (gst_element_request_pad), (gst_element_get_pad_from_template),
31785         (gst_element_request_compatible_pad),
31786         (gst_element_get_compatible_pad_filtered),
31787         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31788         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31789         (gst_element_link_many), (gst_element_link),
31790         (gst_element_link_pads), (gst_element_unlink_pads),
31791         (gst_element_unlink_many), (gst_element_unlink),
31792         (gst_pad_can_link_filtered), (gst_pad_can_link),
31793         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31794         (gst_object_default_error), (gst_bin_add_many),
31795         (gst_bin_remove_many), (gst_element_populate_std_props),
31796         (gst_element_class_install_std_props), (gst_buffer_merge),
31797         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31798         (link_fold_func), (gst_pad_proxy_setcaps):
31799         * gst/gstutils.h:
31800         * gst/gstvalue.c: (gst_value_deserialize_string):
31801         * gst/parse/grammar.y:
31802         * gst/schedulers/gstbasicscheduler.c:
31803         (gst_basic_scheduler_cothreaded_chain),
31804         (gst_basic_scheduler_chain_recursive_add),
31805         (gst_basic_scheduler_pad_link):
31806         * gst/schedulers/gstoptimalscheduler.c:
31807         (get_group_schedule_function),
31808         (gst_opt_scheduler_state_transition),
31809         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31810         * libs/gst/bytestream/bytestream.c:
31811         * libs/gst/dataprotocol/dataprotocol.c:
31812         (gst_dp_header_from_buffer):
31813         * po/nb.po:
31814         * po/ru.po:
31815         * tests/threadstate/threadstate2.c: (eos):
31816         * tools/gst-compprep.c: (main):
31817         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31818         (print_pad_info), (print_children_info):
31819         * tools/gst-launch.c: (idle_func), (main):
31820         * tools/gst-md5sum.c: (idle_func), (main):
31821         * tools/gst-xmlinspect.c: (print_element_info):
31822         First THREADED backport attempt, focusing on adding locks and
31823         making sure the API is threadsafe. Needs more work. More docs
31824         follow this week.
31825
31826 2005-02-24  Andy Wingo  <wingo@pobox.com>
31827
31828         * tests/bench-complexity.scm:
31829         * tests/complexity.gnuplot: New files, good for running complexity
31830         benchmarks.
31831
31832         * tests/Makefile.am:
31833         * tests/complexity.c: New test, sets up N elements, at each level
31834         teeing into M streams per element. Eeeenteresting.
31835
31836         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31837         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31838         running bench-mass_elements.scm.
31839
31840         * tests/bench-mass_elements.scm: New script, runs mass_elements
31841         for various numbers of identities, outputting the results to a
31842         file. Requires guile 1.6. Just for testing.
31843
31844 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31845
31846         * gst/schedulers/fairscheduler.c:
31847           compile with debug disabled
31848
31849 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31850
31851         * configure.ac:
31852           hunting season on 0.9 is now OPEN