gst/gstmessage.*: Also carry the clock in question.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-10-08  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstmessage.c: (gst_message_new_error),
4         (gst_message_new_warning), (gst_message_new_tag),
5         (gst_message_new_state_changed), (gst_message_new_clock_provide),
6         (gst_message_new_clock_lost), (gst_message_new_new_clock),
7         (gst_message_new_segment_start), (gst_message_new_segment_done),
8         (gst_message_parse_state_changed),
9         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10         (gst_message_parse_new_clock):
11         * gst/gstmessage.h:
12         Also carry the clock in question.
13
14 2005-10-08  Wim Taymans  <wim@fluendo.com>
15
16         * gst/gstmessage.c: (gst_message_new_custom),
17         (gst_message_new_eos), (gst_message_new_error),
18         (gst_message_new_warning), (gst_message_new_tag),
19         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20         (gst_message_new_new_clock), (gst_message_new_segment_start),
21         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23         * gst/gstmessage.h:
24         Clean up.
25         Added clock related messages.
26
27         * gst/gstpipeline.c: (gst_pipeline_change_state):
28         Post message when the clock changed.
29
30         * tools/gst-launch.c: (event_loop):
31         Print new clock.
32
33 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
34
35         * tools/gst-inspect.c: (print_element_properties_info):
36           Can't pass NULL strings to g_print() on windows.
37
38 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
39
40         * docs/Makefile.am:
41         * docs/gst/Makefile.am:
42         * docs/gst/gstreamer-docs.sgml:
43         * docs/gst/running.xml:
44         * docs/version.entities.in:
45           add a chapter on running GStreamer.
46           document GST_DEBUG and GST_PLUGIN* env vars
47
48 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
49
50         * Makefile.am:
51           remove include dir
52         * configure.ac:
53           remove PLUGINS_BUILDDIR stuff
54         * gst/gst.c: (init_post):
55           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
56         * idiottest.mak:
57           remove, it was condescending and not needed
58
59 2005-10-08  Wim Taymans  <wim@fluendo.com>
60
61         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
62         (gst_base_sink_handle_object), (gst_base_sink_event),
63         (gst_base_sink_wait), (gst_base_sink_handle_event),
64         (gst_base_sink_change_state):
65         * gst/base/gstbasesink.h:
66         Repost EOS message while going to PLAYING if still EOS.
67         Make sure that when receiving a FLUSH_START we don't attempt
68         to sync on the clock anymore.
69
70 2005-10-08  Wim Taymans  <wim@fluendo.com>
71
72         * tools/gst-launch.c: (event_loop):
73         Better message printout.
74
75 2005-10-08  Wim Taymans  <wim@fluendo.com>
76
77         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
78         (gst_bin_child_proxy_get_children_count):
79         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
80         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
81         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
82         (gst_child_proxy_set_valist):
83         * gst/parse/grammar.y:
84         Make ChildProxy threadsafe and fix mem leaks.
85
86 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         * gst/gst.c: (init_post):
89           debug the GST_PLUGIN_ env vars
90
91 2005-10-08  Wim Taymans  <wim@fluendo.com>
92
93         * check/gst/gstbin.c: (GST_START_TEST):
94         * check/gst/gstmessage.c: (GST_START_TEST):
95         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
96         * gst/gstelement.c: (gst_element_commit_state),
97         (gst_element_lost_state):
98         * gst/gstmessage.c: (gst_message_new_state_changed),
99         (gst_message_parse_state_changed):
100         * gst/gstmessage.h:
101         * tools/gst-launch.c: (event_loop):
102         Added extra field to STATE_CHANGE message with the pending
103         state, which will be different from the new state soon.
104
105 2005-10-08  Wim Taymans  <wim@fluendo.com>
106
107         * gst/gstbus.c: (gst_bus_pop):
108         * gst/gstclock.c:
109         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
110         Small cleanups and doc updates.
111
112 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
113
114         * gst/gst.c: (init_pre):
115         * gst/gstbin.c: (gst_bin_add_func):
116           log distributing clocks and base time
117         * gst/gstregistry.c: (gst_registry_add_plugin),
118         (gst_registry_scan_path_level), (gst_registry_scan_path):
119           clean up the debugging output a little
120         * gst/gstutils.c: (gst_element_state_get_name):
121           warn about a memleak (I've actually seen this be used, though
122           it was probably a bug)
123
124 2005-10-07  Wim Taymans  <wim@fluendo.com>
125
126         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
127         (gst_base_src_init), (gst_base_src_default_newsegment),
128         (gst_base_src_newsegment), (gst_base_src_do_seek),
129         (gst_base_src_loop), (gst_base_src_start):
130         * gst/base/gstbasesrc.h:
131         Make the newsegment event customizable by subclasses.
132
133 2005-10-07  Wim Taymans  <wim@fluendo.com>
134
135         * gst/gstevent.c: (gst_event_new_buffersize),
136         (gst_event_parse_buffersize):
137         * gst/gstevent.h:
138         New event for future idea.
139
140 2005-10-07  Andy Wingo  <wingo@pobox.com>
141
142         * gst/gstelement.c (gst_element_post_message): Doc update.
143
144         * docs/gst/gstreamer-sections.txt: Update.
145
146         * gst/gstmessage.c (gst_message_new_application): Made into a
147         function like honest API calls.
148         (gst_message_new_element): New message type.
149
150         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
151
152         * check/elements/fakesrc.c (test_no_preroll): New check, checks
153         that setting a live fakesrc to PAUSED returns NO_PREROLL both
154         times.
155
156         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
157         NO_PREROLL from gst_element_change_state to fall through.
158
159 2005-10-07  Wim Taymans  <wim@fluendo.com>
160
161         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
162         (gst_ghost_pad_do_activate_push):
163         Activating a ghostpad with no internal pad in push mode
164         is ok.
165
166 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
167
168         * gst/gstobject.h:
169           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
170           Fixes compilation on Windows.
171
172 2005-10-07  Michael Smith <msmith@fluendo.com>
173
174         * tools/gst-inspect.c:
175           Print out feature and plugin count at the end when printing out
176           all features.
177
178 2005-10-04  Michael Smith <msmith@fluendo.com>
179
180         * gst/gsterror.c: (_gst_stream_errors_init):
181           Add another error string used in a few existing plugins.
182
183         * gst/gstplugin.c:
184         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
185         * tools/gst-inspect.c: (print_element_info):
186           When a feature disappears from a plugin (and the feature exists in
187           the cached registry file), things went horribly wrong. This isn't a
188           complete fix, we should actually be removing the 'missing' features
189           from the features list when we load the actual plugin. That's not
190           yet implemented. 
191
192 2005-10-04  Johan Dahlin  <johan@gnome.org>
193
194         * check/gst/gstiterator.c: (GST_START_TEST):
195         * gst/gstbin.c: (gst_bin_iterate_elements),
196         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
197         * gst/gstelement.c: (gst_element_iterate_pads):
198         * gst/gstformat.c: (gst_format_iterate_definitions):
199         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
200         (gst_iterator_new_list), (gst_iterator_filter):
201         * gst/gstiterator.h:
202         * gst/gstquery.c: (gst_query_type_iterate_definitions):
203         Add a GType to GstIterator, update callsites and tests.
204
205 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
206
207         * gst/gstpad.c: (gst_pad_event_default_dispatch):
208           give events a chance to be handled by event probes when the pad
209           is not linked
210
211 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
212
213         * gst/gstevent.c: (gst_event_type_get_name),
214         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
215         * gst/gstevent.h:
216           add string representations for event types
217
218 2005-10-06  Wim Taymans  <wim@fluendo.com>
219
220         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
221         Don't use NULL pointers.
222
223 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
224
225         * gst/gst_private.h:
226         * gst/gstbus.c:
227         * gst/gstelement.c:
228         * gst/gstinfo.c:
229         * gst/gstpluginfeature.c:
230           widen the debug category in output to fit the biggest one we have
231           add a bus category and use it
232           play with the colors
233           fix up some categories
234
235 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
236
237         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
238           add push activation of sink ghost pads.
239           Andye, please verify
240
241 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
242
243         * gst/gstutils.c: (gst_element_link_pads):
244           fix a bug in the case where neither element has a pad
245         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
246           add a test for that case
247
248 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
249
250         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
251           emit have-data before checking for peers.  This allows
252           for probe handlers to connect elements.  This helps autopluggers.
253         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
254         (gst_pad_suite):
255           add six checks, linked/unlinked with no/true/false probe
256
257 2005-10-04  Wim Taymans  <wim@fluendo.com>
258
259         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
260         (gst_fake_sink_event), (gst_fake_sink_preroll),
261         (gst_fake_sink_render), (gst_fake_sink_change_state):
262         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
263         (gst_fake_src_get_property), (gst_fake_src_create),
264         (gst_fake_src_stop):
265         * gst/elements/gstidentity.c: (gst_identity_stop):
266         Protect last_message with lock.
267
268 2005-10-04  Edward Hervey  <edward@fluendo.com>
269
270         * gst/gstformat.h: 
271         Added precision in the comments for GST_FORMAT_DEFAULT
272
273 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
274
275         * tools/gst-launch.c: (main):
276           Don't try to run erroneous pipelines.
277
278 2005-10-04  Julien MOUTTE  <julien@moutte.net>
279
280         * gst/gstbus.c: We don't need this header.
281
282 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
283
284         * configure.ac:
285           back to development
286
287 === release 0.9.3 ===
288
289 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
290
291         * README:
292         * configure.ac:
293           Releasing 0.9.3, "Unregistered"
294
295 2005-10-03  Andy Wingo  <wingo@pobox.com>
296
297         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
298         whereby calling a pad's activatepush() function can start a thread
299         that starts to push or pull before the pad gets the FLUSHING flag
300         unset. Hack around it by holding the stream lock until the flag is
301         set. Need to replace this with a proper solution. Together with
302         the ghost pad fixes, this fixes mp3 playing/tagreading.
303
304         * docs/design/part-gstghostpad.txt: Add a note about activation of
305         proxy pads outside of ghost pads.
306
307         * gst/gstghostpad.c: Implement the ghost pad activation design.
308
309 2005-10-02  Andy Wingo  <wingo@pobox.com>
310
311         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
312         It is volatile, after all.
313
314         * docs/design/part-gstghostpad.txt: Flesh out activation with
315         ghost pads.
316
317         * gst/base/gstbasesrc.c (gst_base_src_init): Use
318         GST_DEBUG_FUNCPTR.
319
320 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
321
322         * configure.ac:
323           Fix (unused) AM_CONDITIONAL tests.
324
325 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
326
327         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
328
329         * gst/gstutils.c: (gst_pad_query_convert):
330           Add assertion that makes sure src_val is >=0, just like
331           gst_query_new_convert() has. (#315895)
332
333 2005-09-30  Edward Hervey  <edward@fluendo.com>
334
335         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
336         Let's not iterate pads we're not interested in, it avoids getting 
337         sky-high refcounts on sinkpad.
338
339 2005-09-30  Wim Taymans  <wim@fluendo.com>
340
341         * gst/gstelement.c: (gst_element_set_state),
342         (gst_element_change_state):
343         Small tweak, element in ASYNC remains ASYNC.
344
345 2005-09-30  Wim Taymans  <wim@fluendo.com>
346
347         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
348         Only error is an error.
349
350         * gst/gstbin.c: (gst_bin_change_state):
351         Better debugging.
352
353         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
354         Also call pad_block in pad alloc.
355
356         * gst/gstutils.c: (gst_flow_get_name):
357         Better debugging.
358
359 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
360
361         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
362         (gst_base_src_get_range):
363           Fix documentation typos. Add some more debug info.
364
365 2005-09-29  David Schleef  <ds@schleef.org>
366
367         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
368           more end-user friendly.
369         * tools/gst-inspect.c: (main): Check if command-line argument is
370           a file and attempt to load that file as a plugin.
371
372 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
373
374         * check/gst/gstbin.c:
375         * check/states/sinks.c:
376           fix tests for the new warning
377         * check/gst/gstpipeline.c:
378           add a test for pipeline and bus interaction
379         * gst/gstelement.c:
380           elements should be NULL if they get disposed; add a warning if not
381
382 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
383
384         * gst/gstobject.c:
385           for 2.6 refcounting, make debug log more correct by printing
386           the actual refcounts at the time of swap (Wim)
387
388 2005-09-29  Andy Wingo  <wingo@pobox.com>
389
390         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
391         removes signal watches previously added via
392         gst_bus_add_signal_watch.
393         (gst_bus_add_signal_watch): Don't return the source id, just store
394         it on the bus if there wasn't an id already.
395
396         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
397         add_signal_watch and remove_signal_watch.
398
399 2005-09-29  Edward Hervey  <edward@fluendo.com>
400
401         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
402         Better if we actually iterate the list :)
403
404 2005-09-29  Wim Taymans  <wim@fluendo.com>
405
406         * check/gst/gstbin.c: (GST_START_TEST):
407         Change for new bus API.
408
409         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
410         (send_messages), (GST_START_TEST), (gstbus_suite):
411         Change for new bus signal API.
412
413         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
414         (gst_bus_source_prepare), (gst_bus_source_check),
415         (gst_bus_create_watch), (gst_bus_add_watch_full),
416         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
417         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
418         * gst/gstbus.h:
419         Remove support for multiple GSources operating on different
420         message types as it is too complex and unneeded when using
421         signals.
422         Added support for receiving signals from the bus.
423
424 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
425
426         * docs/libs/tmpl/gstdataprotocol.sgml:
427         * docs/manual/advanced-dataaccess.xml:
428         * gst/elements/gstcapsfilter.c:
429         * gst/gstutils.c:
430           rename filter-caps to caps property
431
432 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
433
434         * gst/gstvalue.c: (gst_value_deserialize_fraction):
435           More robust fraction string parsing.
436
437         * docs/pwg/appendix-porting.xml:
438           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
439
440 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
441
442         * gst/gstcaps.c: (gst_caps_do_simplify):
443           Thou shalt not free a structure and then continue using it
444           in the next loop iteration.
445
446         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
447         (gst_caps_suite):
448           Add test case for caps simplification.
449
450 2005-09-29  Wim Taymans  <wim@fluendo.com>
451
452         * check/gst/gstbin.c: (GST_START_TEST):
453         Oops.
454
455 2005-09-29  Wim Taymans  <wim@fluendo.com>
456
457         * check/gst/gstbin.c: (GST_START_TEST):
458         Add bus to bin.
459
460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
461         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
462         (find_element), (gst_bin_sort_iterator_next),
463         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
464         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
465         (gst_bin_change_state), (gst_bin_dispose):
466         A bin does not have a bus, it gets the bus from the parent.
467
468         * gst/gstelement.c: (gst_element_requires_clock),
469         (gst_element_provides_clock), (gst_element_is_indexable),
470         (gst_element_is_locked_state), (gst_element_change_state),
471         (gst_element_set_bus_func):
472         Small cleanups.
473
474         * gst/gstpipeline.c: (gst_pipeline_class_init),
475         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
476         The pipeline provides a bus.
477
478 2005-09-28  Johan Dahlin  <johan@gnome.org>
479
480         * gst/gstmessage.c (gst_message_parse_state_changed): Use
481         gst_structure_get_enum instead of gst_structure_get_int
482
483         * gst/gststructure.c (gst_structure_get_enum): Impl.
484
485         * gst/gststructure.h (gst_structure_get_enum): Add
486
487         * docs/gst/gstreamer-sections.txt: Ditto
488
489         * gst/gstmessage.c (gst_message_new_state_changed): Use
490         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
491         which does introspection.
492         Reviewed by Christian Schaller
493
494 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
495
496         * gst/gstinfo.c: (gst_debug_log_default):
497           don't do dummy g_strdup()s
498         * libs/gst/controller/gstcontroller.c:
499         (on_object_controlled_property_changed),
500         (gst_controlled_property_new), (gst_controller_new_valist),
501         (gst_controller_new_list),
502         (gst_controller_remove_properties_valist), (gst_controller_set),
503         (gst_controller_get), (gst_controller_sync_values),
504         (gst_controller_get_value_array), (_gst_controller_class_init),
505         (gst_controller_get_type):
506         * libs/gst/controller/gstcontroller.h:
507         * libs/gst/controller/gstinterpolation.c:
508         (gst_controlled_property_find_timed_value_node):
509           convert // to /**/ comments
510
511 2005-09-28  Wim Taymans  <wim@fluendo.com>
512
513         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
514         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
515         (gst_bus_sync_signal_handler):
516         * gst/gstbus.h:
517         Added async-message and sync-message signals to the bus.
518         Added helper BusFunc to emit signals for all posted messages.
519
520         * gst/gstmessage.c: (gst_message_type_get_name),
521         (gst_message_type_to_quark), (gst_message_get_type):
522         * gst/gstmessage.h:
523         Register quarks for message names.
524
525 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
526
527         * docs/libs/gstreamer-libs-sections.txt:
528         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
529         (gst_controller_new_list):
530         * libs/gst/controller/gstcontroller.h:
531           added another constructor for language bindings
532
533 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
534
535         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
536           add another check
537         * gst/gstbus.c:
538           add some doc
539         * gst/gstinfo.c: (_gst_debug_init):
540           slightly more readable color for refcount debugging
541
542 2005-09-28  Wim Taymans  <wim@fluendo.com>
543
544         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
545         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
546         (find_element), (gst_bin_sort_iterator_next),
547         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
548         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
549         (gst_bin_change_state), (gst_bin_dispose):
550         Small doc fixes. get_clock -> provide_clock.
551
552         * gst/gstelement.c: (gst_element_class_init),
553         (gst_element_provides_clock), (gst_element_provide_clock),
554         (gst_element_get_clock), (gst_element_commit_state),
555         (gst_element_lost_state):
556         * gst/gstelement.h:
557         Make get/set_clock() symetric. Add provide_clock vmethod since
558         that is actually what this function does.
559
560         * gst/gstpipeline.c: (gst_pipeline_class_init),
561         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
562         (gst_pipeline_get_clock):
563         get_clock -> provide_clock.
564
565 2005-09-28  Andy Wingo  <wingo@pobox.com>
566
567         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
568         lieu of real docs...
569
570         * gst/elements/gstfdsrc.c: Cleaned up a bit.
571
572 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
573
574         * gst/elements/gstcapsfilter.c:
575         * gst/elements/gstfakesink.c:
576         * gst/elements/gstfakesrc.c:
577         * gst/elements/gstfdsink.c:
578         * gst/elements/gstfdsrc.c:
579         * gst/elements/gstfilesink.c:
580         * gst/elements/gstfilesrc.c:
581         * gst/elements/gstidentity.c:
582         * gst/elements/gsttee.c:
583         * gst/elements/gsttypefindelement.c:
584           Make element details static.
585
586 2005-09-28  Wim Taymans  <wim@fluendo.com>
587
588         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
589         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
590         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
591         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
592         (gst_bin_change_state), (gst_bin_dispose):
593         Some documentation updates.
594         Clean up dispose handlers.
595
596         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
597         * gst/gstpad.c: (gst_pad_dispose):
598         Clean up dispose handler.
599
600         * gst/gstpipeline.c: (gst_pipeline_change_state):
601         Removed spurious UNLOCK.
602
603 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
604
605         * docs/gst/gstreamer-sections.txt:
606         * gst/base/gstbasesrc.h:
607         * gst/gstelement.h:
608         * gst/gstevent.h:
609         * gst/gstobject.h:
610         * gst/gstpad.h:
611         * gst/gstpipeline.c:
612         * gst/gstpipeline.h:
613         * gst/gstutils.h:
614         * gst/gstxml.h:
615           added two new functions to the docs
616                 documents all undocumented GstXXXFlags
617                 completed some incomplete docs 
618
619 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
620
621         * gst/gstbin.c: (gst_bin_dispose):
622         * gst/gstelement.c: (gst_element_dispose):
623           remove now useless and leaky resurrection code in dispose
624         * gst/base/gstbasesrc.c: (gst_base_src_init):
625         * gst/gstelementfactory.c: (gst_element_factory_create):
626         * gst/gstobject.c: (gst_object_set_parent):
627           add some debugging
628
629 2005-09-27  Wim Taymans  <wim@fluendo.com>
630
631         * docs/design/part-TODO.txt:
632         Update TODO.
633
634         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
635         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
636         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
637         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
638         (gst_bin_change_state):
639         * gst/gstelement.h:
640         Remove element variable, we keep element info in the iterator now.
641
642 2005-09-27  Andy Wingo  <wingo@pobox.com>
643
644         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
645         values.
646
647 2005-09-27  Wim Taymans  <wim@fluendo.com>
648
649         * check/gst/gstbin.c: (GST_START_TEST):
650         Enable check that works now.
651
652         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
653         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
654         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
655         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
656         (gst_bin_change_state):
657         * gst/gstbin.h:
658         Redid the state change algorithm using a topological sort algo.
659         Handles all cases correctly.
660         Exposed iterator for state change order.
661
662         * gst/gstelement.h:
663         Temp storage for state changes. Need to get rid of this soon.
664
665 2005-09-27  Wim Taymans  <wim@fluendo.com>
666
667         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
668         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
669         (link_fold_func), (gst_pad_proxy_setcaps):
670         Leak fixes, the fold functions need to unref the passed object and
671         _get_parent_*() returns ref to parent.
672
673 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
674
675         * check/gst/gstbuffer.c: (test_make_writable):
676           Plug leak in test case and fix 'make check-valgrind'
677
678 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
679
680         * gst/gstbuffer.c: (gst_subbuffer_init):
681           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
682           works correctly in all circumstances (we could have just copied
683           the parent buffer's readonly flag, but conceptually it seems
684           cleaner to mark all subbuffers as read-only). (based on patch
685           by Alessandro Decina, #314710).
686         
687         * check/gst/gstbuffer.c: (create_read_only_buffer),
688         (test_make_writable), (test_subbuffer_make_writable),
689         (gst_test_suite):
690           Add some tests for gst_buffer_make_writable().
691
692 2005-09-27  Wim Taymans  <wim@fluendo.com>
693
694         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
695         use gst_object_has_ancestor().
696
697         * gst/gstobject.c: (gst_object_has_ancestor):
698         * gst/gstobject.h:
699         gst_object_has_ancestor() copied from gstbin.c as it is a
700         usefull function.
701
702         * tests/instantiate/create.c: (create_all_elements):
703         * tests/lat.c: (handoff_src), (handoff_sink):
704         * tests/sched/runxml.c: (main):
705         * tests/seeking/seeking1.c: (main):
706         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
707         (main):
708         Fix compilation of some tests.
709
710 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
711
712         * gst/gsterror.h:
713           Remove comment. GST_TYPE_G_ERROR is here to stay,
714           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
715           (#316961, #300610).
716
717 2005-09-26  Wim Taymans  <wim@fluendo.com>
718
719         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
720         Added check that shows error in state change order.
721
722 2005-09-26  Wim Taymans  <wim@fluendo.com>
723
724         * gst/gstbin.c: (gst_bin_change_state):
725         Make state change function use 3 queues again, we were
726         adding elements in the wrong order.
727
728         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
729         Some debug info,
730
731         * gst/gstpad.c: (gst_pad_dispose):
732         Added some debug info first.
733
734 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
735
736         * docs/design/draft-push-pull.txt:
737         * docs/design/part-events.txt:
738         * docs/design/part-overview.txt:
739         * docs/design/part-scheduling.txt:
740           Replace all _pull_region() with _pull_range()
741           
742 2005-09-26  Andy Wingo  <wingo@pobox.com>
743
744         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
745
746         * check/gst-libs/controller.c: Update for controller api change.
747
748         * configure.ac: 
749         * tests/Makefile.am:
750         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
751         over by GLib bug 118439.
752         
753         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
754         routines to a function.
755
756         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
757
758         * libs/gst/controller/gsthelper.c:
759         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
760         (gst_object_sync_values): Renamed from sink_values. Ugh.
761
762         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
763
764         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
765         Renamed from controller_key, as it is exported.
766
767         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
768
769 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
770
771         * gst/Makefile.am:
772         * gst/gst.h:
773         * gst/gstpad.h:
774         * gst/gstpadtemplate.h:
775         * gst/gstquery.c:
776         * gst/gstquery.h:
777         * gst/gstqueryutils.c:
778         * gst/gstqueryutils.h:
779           remove queryutils headers after moving the two used functions
780           to gstquery.  also fixes build problem for gstsiddec
781
782 2005-09-26  Michael Smith <msmith@fluendo.com>
783
784         * tools/gst-launch.1.in:
785         Correct documentation in manpage of debug syntax
786
787 2005-09-26  Wim Taymans  <wim@fluendo.com>
788
789         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
790         (gst_base_src_is_seekable), (gst_base_src_change_state):
791         Some more debugging info.
792
793 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
794
795         * docs/gst/gstreamer-sections.txt:
796         * gst/base/gstbasetransform.h:
797         * gst/gstindex.h:
798           added more docs
799
800 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
801
802         * docs/gst/.cvsignore:
803         * docs/gst/tmpl/.cvsignore:
804         * docs/gst/tmpl/gstpipeline.sgml:
805         * docs/gst/tmpl/gstplugin.sgml:
806         * gst/gstpipeline.c:
807         * gst/gstplugin.c:
808         * gst/gstplugin.h:
809           inlined the last two docs files
810           removed the tmpl directory from cvs (no more conflicts here!)
811
812 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
813
814         * docs/gst/gstreamer-sections.txt:
815         * docs/gst/tmpl/.cvsignore:
816         * docs/gst/tmpl/gstpad.sgml:
817         * docs/gst/tmpl/gstpadtemplate.sgml:
818         * gst/Makefile.am:
819         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
820         (gst_pad_finalize), (gst_pad_set_pad_template):
821         * gst/gstpad.h:
822         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
823         (gst_pad_template_class_init), (gst_pad_template_init),
824         (gst_pad_template_dispose), (name_is_valid),
825         (gst_static_pad_template_get), (gst_pad_template_new),
826         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
827         (gst_pad_template_pad_created):
828         * gst/gstpadtemplate.h:
829           inlined two more docs
830           factored gstpadtemplate out of gstpad
831
832 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
833
834         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
835         (test_children_state_change_order_semi_sink):
836           Fix test case: we can't rely on a fixed state change order when
837           going from READY => PAUSED because the sink might commit its 
838           new state first when the first buffer created by the source 
839           reaches the sink before the source has finished its change state.
840           (Test case still fails at times, see #316856, comment 5 onwards)
841
842 2005-09-24  Wim Taymans  <wim@fluendo.com>
843
844         * docs/design/part-events.txt:
845         * docs/design/part-gstbus.txt:
846         * docs/design/part-gstpipeline.txt:
847         * docs/design/part-messages.txt:
848         * docs/design/part-overview.txt:
849         * docs/design/part-segments.txt:
850         * gst/gstbin.c:
851         * gst/gstbuffer.c:
852         * gst/gstclock.c:
853         * gst/gstelement.c:
854         * gst/gstevent.c:
855         * gst/gstfilter.c:
856         * gst/gstiterator.c:
857         Various documentation updates.
858
859 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
860
861         * gst/gstclock.h:
862           Well, that's embarassing.  Luckily we weren't using
863           GST_CLOCK_DIFF anywhere.
864
865 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
866
867         * common/gtk-doc.mak:
868           don't fail on building XML, FC4 slave shows a bunch of doc
869           missing bits that I don't get
870         * gst/gstpad.c:
871         * gst/gstpipeline.c:
872         * gst/gststructure.c:
873           some doc updates
874
875 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
876
877         * docs/design/part-gstbin.txt:
878         * docs/design/part-gstbus.txt:
879         * gst/gstbus.c:
880           Add blurb about how the bus goes into flushing mode and
881           drops all messages when its bin goes from READY into NULL 
882           state.
883
884 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
885
886         * docs/gst/gstreamer-sections.txt:
887         * gst/gststructure.c: (gst_structure_get_clock_time):
888         * gst/gststructure.h:
889           add a method to get a GstClockTime out of a structure
890
891 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
892
893         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
894         (test_children_state_change_order_semi_sink), (gst_bin_suite):
895           Added test to check state change order in bins (can still be made
896           to fail here under heavy disk load; bails out with 'Push on pad
897           fakesink:sink0, but it was not activated in push mode').
898
899         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
900           Fix state change order when there is only a semi sink (#316856)
901
902         * gst/gstbus.c: (gst_bus_class_init):
903           Use _class_peek_parent(), not _class_ref(); fix docs to say
904           'default main context' instead of 'mainloop' where that is
905           what's meant.
906
907         * gst/gstelement.c: (gst_element_commit_state),
908         (gst_element_set_state):
909           Fix typos in debug messages
910
911 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
912
913         * docs/README:
914         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
915         * gst/gstpluginfeature.c:
916         * gst/gstutils.c:
917           various doc updates
918         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
919           change an assert into an error until it gets fixed properly
920
921 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
922
923         * docs/gst/gstreamer-sections.txt:
924         * docs/gst/tmpl/.cvsignore:
925         * docs/gst/tmpl/gstelement.sgml:
926         * docs/gst/tmpl/gstinfo.sgml:
927         * docs/gst/tmpl/gstobject.sgml:
928         * gst/gstelement.c:
929         * gst/gstelement.h:
930         * gst/gstinfo.c:
931         * gst/gstinfo.h:
932         * gst/gstobject.c: (gst_object_class_init):
933         * gst/gstobject.h:
934           inlined 3 more biiiig doc files and added some missing docs on the fly
935
936 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
937
938         * check/gst/.cvsignore:
939         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
940         * gst/gstregistryxml.c: (load_plugin),
941         (gst_registry_xml_save_plugin):
942           put back source in registry.  add checks for find_plugin.
943         * testsuite/states/bin.c: (assert_state), (empty_bin),
944         (test_adding_one_element), (main):
945         * testsuite/states/locked.c: (main):
946           some compile/run fixes
947
948 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
949
950         * check/gst/gstvalue.c: (GST_START_TEST):
951           fix leaks in the test itself
952
953 2005-09-22  Wim Taymans  <wim@fluendo.com>
954
955         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
956         (gst_base_sink_send_event), (gst_base_sink_peer_query),
957         (gst_base_sink_query):
958         Prepare for more accurate position reporting and query
959         handling.
960
961         * gst/gstelement.c: (gst_element_send_event),
962         (gst_element_set_state):
963         Add some comment.
964
965 2005-09-22  Wim Taymans  <wim@fluendo.com>
966
967         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
968         (gst_query_parse_segment):
969         * gst/gstquery.h:
970         More documentation.
971         Add segment query for future use.
972
973 2005-09-22  Wim Taymans  <wim@fluendo.com>
974
975         * gst/gstbin.c: (gst_bin_add_func):
976         Some more debug info.
977
978         * gst/gstelement.c: (gst_element_send_event):
979         Simplify send_event
980
981         * gst/gstelement.h:
982         Don't know how flags got broken.
983
984         * gst/gstquery.h:
985         Added new query.
986
987 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
988
989         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
990           Add simplistic test suite for GST_TYPE_DATE serialisation and
991           deserialisation.
992
993 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
994
995         * docs/gst/gstreamer-sections.txt:
996         * gst/gststructure.c: (gst_structure_set_valist),
997         (gst_structure_get_date):
998         * gst/gststructure.h:
999         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1000         (gst_date_copy), (gst_value_compare_date),
1001         (gst_value_serialize_date), (gst_value_deserialize_date),
1002         (gst_value_transform_date_string),
1003         (gst_value_transform_string_date), (_gst_value_initialize):
1004         * gst/gstvalue.h:
1005           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1006           bunch of utility functions along with a hack that checks that
1007           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1008           is required. Part of the grand scheme in #170777.
1009
1010 2005-09-22  Andy Wingo  <wingo@pobox.com>
1011
1012         * gst/gstconfig.h.in: Psych out gtk-doc.
1013
1014         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1015
1016         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1017
1018         * tools/gst-inspect.c (print_element_list): Plug some
1019         inconsequential leaks.
1020
1021         * gst/gstregistry.c (gst_registry_get_default): Doc.
1022
1023         * check/gst/gstplugin.c: 
1024         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1025         * gst/gstelementfactory.c (gst_element_factory_create): 
1026         * gst/gstindexfactory.c (gst_index_factory_create): Update for
1027         refcount changes.
1028
1029         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1030         (gst_plugin_feature_load): Doc, don't eat refs.
1031
1032         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1033         (gst_plugin_list_free): Doc.
1034         (gst_plugin_load_file): Doc updates.
1035
1036         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1037         accessors returning refcounted objects, return a ref.
1038
1039         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1040         accessor for caps. IDEMPOTENCE. Oh yes.
1041
1042 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
1043
1044         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1045
1046         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1047         (_gst_debug_register_funcptr):
1048           Add mutex to serialise access to the hash table with
1049           the function pointer => function name string mapping;
1050           make that hash table static scope (#316809).
1051
1052         * gst/registries/.cvsignore:
1053           Remove left-over file.
1054
1055 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
1056
1057         * docs/pwg/appendix-porting.xml:
1058           And something about newsegment events and caps-on-buffers to
1059           the porting guide (feel free to improve).
1060
1061 2005-09-21  Andy Wingo  <wingo@pobox.com>
1062
1063         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1064         data and event probes on the same pad.
1065         (test_buffer_probe_once): Test that removing probes from within
1066         the probe functions works.
1067
1068 2005-09-21  Andy Wingo  <wingo@pobox.com>
1069
1070         * check/gst/gstutils.c: New file.
1071         (test_buffer_probe_n_times): A simple buffer probe test. More to
1072         come, foolios.
1073
1074         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1075         have-data::buffer, not have-data.
1076         (gst_pad_add_event_probe): Likewise for have-data::event.
1077         (gst_pad_add_data_probe): More docs. The part about 'resolving the
1078         peer' isn't quite right yet though.
1079         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
1080         (gst_pad_remove_data_probe): Change to take the guint handler_id
1081         as their arg, not the function+data, which is more glib-like.
1082
1083         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1084         the signal emission to indicate if the data is a buffer or an
1085         event.
1086         (gst_pad_get_type): Initialize buffer and event quarks.
1087         (gst_pad_class_init): have-data is now a detailed signal, yes it
1088         is.
1089
1090 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
1091
1092         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1093         * gst/gstutils.c: (gst_util_set_value_from_string),
1094         (gst_util_set_object_arg):
1095           Don't put functional code in g_return_if_fail() or
1096           g_return_val_if_fail() statements, otherwise things will 
1097           break when G_DISABLE_CHECKS is defined during compilation.
1098
1099 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1100
1101         * docs/gst/tmpl/.cvsignore:
1102         * docs/gst/tmpl/gstvalue.sgml:
1103         * gst/gstvalue.c:
1104         * gst/gstvalue.h:
1105           inlied another one and added  some obvious docs
1106
1107 2005-09-21  Wim Taymans  <wim@fluendo.com>
1108
1109         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1110         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1111         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1112         (gst_fdsrc_get_property), (gst_fdsrc_create):
1113         * gst/elements/gstfdsrc.h:
1114         Properly implement fdsrc. Removed signal and timeout,
1115         better implemented somewhere else.
1116
1117 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1118
1119         * docs/gst/tmpl/.cvsignore:
1120         * docs/gst/tmpl/gstimplementsinterface.sgml:
1121         * gst/gstinterface.c:
1122           inlined more docs
1123
1124 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1125
1126         * docs/gst/gstreamer-sections.txt:
1127         * docs/gst/tmpl/.cvsignore:
1128         * docs/gst/tmpl/gstenumtypes.sgml:
1129           remove obsolete doc file
1130
1131 2005-09-21  David Schleef  <ds@schleef.org>
1132
1133         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1134         little beer, fix a little leak.
1135
1136 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1137
1138         * docs/gst/gstreamer-docs.sgml:
1139         * docs/gst/gstreamer-sections.txt:
1140         * docs/gst/tmpl/.cvsignore:
1141         * gst/Makefile.am:
1142         * gst/gst.h:
1143         * gst/gstbin.c:
1144         * gst/gstelement.h:
1145         * gst/gstindex.c: (gst_index_class_init):
1146         * gst/gstindex.h:
1147         * gst/gstindexfactory.c: (gst_index_factory_get_type),
1148         (gst_index_factory_class_init), (gst_index_factory_init),
1149         (gst_index_factory_finalize), (gst_index_factory_new),
1150         (gst_index_factory_destroy), (gst_index_factory_find),
1151         (gst_index_factory_create), (gst_index_factory_make):
1152         * gst/gstindexfactory.h:
1153         * gst/gstpluginfeature.c:
1154         * gst/gstpluginfeature.h:
1155         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1156           more docs inlined, splitted gstindex.{c,h}
1157
1158 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1159
1160         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1161           fix a leak
1162
1163 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1164
1165         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1166           Set sync to FALSE by default.
1167
1168 2005-09-20  Wim Taymans  <wim@fluendo.com>
1169
1170         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1171         (gst_base_sink_init):
1172         Make sync property settable from subclass.
1173
1174         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1175         (gst_fake_sink_change_state):
1176         Set sync to FALSE by default.
1177
1178 2005-09-20  Wim Taymans  <wim@fluendo.com>
1179
1180         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1181         * tools/gst-launch.c: (main):
1182         The timeout handler should have lower priority than the source
1183         so we don't timeout before popping a message with 0 timeout.
1184         Dump error messages after failed state change.
1185
1186 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1187
1188         * tools/gst-inspect.c: (print_element_properties_info):
1189           Fix two typos.
1190
1191 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1192
1193         * check/gst/gstevent.c:
1194         * gst/elements/gstfakesink.c:
1195         * gst/elements/gstfakesink.h:
1196           remove the sync property from fakesink.
1197           has the side effect of setting sync TRUE
1198           for fakesink, which is a change.  Anyone who knows how
1199           to fix this nicely in a GObject-y way, feel free.
1200
1201 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1202
1203         * docs/gst/gstreamer-docs.sgml:
1204           remove probe refsection
1205
1206 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * check/Makefile.am:
1209           disable valgrinding the controller test again
1210         * docs/gst/gstreamer-sections.txt:
1211           update for api-changes
1212
1213 2005-09-20  Wim Taymans  <wim@fluendo.com>
1214
1215         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1216         (gst_base_sink_set_property), (gst_base_sink_get_property),
1217         (gst_base_sink_do_sync):
1218         * gst/base/gstbasesink.h:
1219         Added sync property to basesink to disable clock sync.
1220
1221 2005-09-20  Andy Wingo  <wingo@pobox.com>
1222
1223         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1224         eating the caller's refcount.
1225
1226         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
1227         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1228         refcount.
1229
1230         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1231         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1232         of GLib 2.8 public, so we can know which refcount to check in
1233         tests.
1234
1235         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1236         (gst_object_init): Only set the gst refcount if we're going ahead
1237         with the refcount hack.
1238
1239 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1240
1241         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1242         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1243           more leaks plumbed, added more debug-logging
1244         * gst/gstmacros.h:
1245           whitespace fix
1246
1247 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1248
1249         * gst/gstmessage.c:
1250           remove include of gstmemchunk.h
1251
1252 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1253
1254         * gst/gstclock.c: (_gst_clock_id_free):
1255           Commit from the Political Party For More Atomic CVS Commits,
1256           so that people don't waste too much of their day fishing
1257           out obvious leaks out of massive commits.
1258           Oh, and fix a pretty damn obvious leak in the memchunk
1259           removal code.
1260
1261 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1262
1263         * check/Makefile.am:
1264         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1265           plug mem-leak, re-add to valgrindable tests
1266
1267 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1268
1269         * gst/gstplugin.h:
1270           unbreak the build for those who have chronic arthritis
1271           and typing "make check" is just too taxing on the hands
1272
1273 2005-09-20  Andy Wingo  <wingo@pobox.com>
1274
1275         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1276         really want it out, you should fix plugins at the same time.
1277
1278 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
1279
1280         * configure.ac:
1281         * docs/gst/gstreamer-sections.txt:
1282         * gst/gstobject.c:
1283           added missing symbols to api docs
1284           disable ref-count hack if we have glib >= 2.8
1285
1286 2005-09-19  David Schleef  <ds@schleef.org>
1287
1288         * docs/gst/Makefile.am: Ignore a few more internal headers
1289         * docs/gst/gstreamer-docs.sgml: Remove old sections
1290         * docs/gst/gstreamer-sections.txt: Remove old sections
1291         * docs/gst/tmpl/gstobject.sgml: update
1292         * docs/gst/tmpl/gstplugin.sgml: update
1293         * docs/gst/tmpl/gstpluginfeature.sgml: update
1294         * docs/random/ds/0.9-suggested-changes: update.
1295         * gst/Makefile.am: remove memchunk and trashstack, since they're
1296           not used.
1297         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1298         * gst/gst.h: don't include some headers
1299         * gst/gstchildproxy.c: add gstmarshal.h
1300         * gst/gstclock.c: Don't use memchunks
1301         * gst/gstminiobject.c: Add some docs
1302         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1303         * gst/gstobject.h: same
1304         * gst/gstplugin.c: include gstmacros.h
1305         * gst/gstplugin.h: don't include gstmacros.h, since it's private
1306         * gst/gstquery.c: don't use memchunks
1307         * gst/gstregistry.c: rename gst_registry_deinit()
1308         * gst/gstregistry.h: same
1309
1310 2005-09-19  David Schleef  <ds@schleef.org>
1311
1312         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1313         * docs/libs/gstreamer-libs-sections.txt:
1314         * docs/libs/tmpl/gstgetbits.sgml:
1315         * docs/libs/tmpl/gstputbits.sgml:
1316
1317 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1318
1319         * win32/gstenumtypes.c:
1320         * win32/gstenumtypes.h:
1321           Update.
1322
1323 2005-09-19  Wim Taymans  <wim@fluendo.com>
1324
1325         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1326         Automatically PAUSE and RESUME a pipeline when a flushing seek
1327         is performed.
1328
1329 2005-09-19  Andy Wingo  <wingo@pobox.com>
1330
1331         * gst/gstregistry.h: Spacing fixen.
1332
1333 2005-09-19  Wim Taymans  <wim@fluendo.com>
1334
1335         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1336         Handle state change failure more correctly.
1337
1338 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1339
1340         * check/Makefile.am:
1341         * check/pipelines/cleanup.c: (run_pipeline):
1342         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1343         (GST_START_TEST):
1344           enable cleanup again after fixing the leak
1345         * docs/README:
1346           some more info on docs
1347
1348 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1349
1350         * check/Makefile.am:
1351           re-enable tests now that leaks are plugged
1352         * check/gst/gst.c:
1353         * check/gst/gstbin.c:
1354         * check/gst/gstpipeline.c:
1355           add some more tests while fixing leaks
1356         * common/check.mak:
1357           make sure binaries are uptodate when valgrinding/gdbing
1358         * gst/gst.c:
1359         * gst/gstelementfactory.c:
1360           remove a ref too many, and add a FIXME for when we get
1361           round to disposing of classes
1362         * gst/gstplugin.c:
1363           fix the refcounting when loading a plugin from a file and
1364           the code pretends that the pointer is the same even though
1365           of course it can change
1366         * gst/gstpluginfeature.c:
1367           unref plugins marked cached (a bit confusing as a name)
1368           as the docs state should be done
1369           various doc additions to explain refcounting
1370         * gst/gstregistry.c:
1371         * gst/gstregistryxml.c:
1372           debugging
1373
1374 2005-09-19  Wim Taymans  <wim@fluendo.com>
1375
1376         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1377         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1378         (send_messages), (GST_START_TEST), (gstbus_suite):
1379         * check/gst/gstpipeline.c: (GST_START_TEST):
1380         * check/pipelines/cleanup.c: (run_pipeline):
1381         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1382         (GST_START_TEST):
1383         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1384         (gst_bus_source_check), (gst_bus_source_dispatch),
1385         (gst_bus_create_watch), (gst_bus_add_watch_full),
1386         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1387         * gst/gstbus.h:
1388         * tools/gst-launch.c: (event_loop):
1389         * tools/gst-md5sum.c: (event_loop):
1390         GstBusHandler -> GstBusFunc, return value has the same meaning as
1391         any other GSource (FALSE == remove source).
1392         _add_watch() and _add_watch_full() now take a MessageType mask to
1393         only handle specific types of messages.
1394         _poll() returns the GstMessage instead of the message type to avoid
1395         race conditions.
1396         _have_pending() takes a MessageType mask now too.
1397         Added testsuite for multiple bus watches.
1398         Fix testsuites and applications for new bus API.
1399
1400 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1401
1402         * check/Makefile.am:
1403           mark a bunch of the tests as to fix until we fix them
1404
1405 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1406
1407         * common/check.mak:
1408           use GST_PLUGIN settings for valgrind tests as well, so we're
1409           valgrinding the correct thing
1410         * gst/gst.c: (init_post):
1411           plug another leak
1412
1413 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1414
1415         * gst/gst.c: (init_post), (gst_deinit):
1416         * gst/gstelementfactory.c: (gst_element_factory_class_init),
1417         (gst_element_factory_finalize), (gst_element_factory_cleanup):
1418         * gst/gstindex.c: (gst_index_factory_class_init),
1419         (gst_index_factory_finalize):
1420         * gst/gstobject.c: (gst_object_dispose):
1421         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1422         (gst_plugin_load_file), (gst_plugin_desc_free):
1423         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1424         (gst_plugin_feature_finalize):
1425         * gst/gstregistry.c: (gst_registry_class_init),
1426         (gst_registry_init), (gst_registry_finalize),
1427         (gst_registry_get_default), (gst_registry_deinit):
1428         * gst/gstregistry.h:
1429         * gst/gstregistryxml.c: (load_feature), (load_plugin):
1430           various cleanups and memleak plugging.  make valgrind is happy now.
1431
1432 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1433
1434         * common/check.mak:
1435           add a check-valgrind target
1436
1437 2005-09-18  David Schleef  <ds@schleef.org>
1438
1439         * tools/gst-inspect.c: Revert the GOption code.
1440
1441 2005-09-17  David Schleef  <ds@schleef.org>
1442
1443         * check/Makefile.am: Fix environment variables.
1444         * check/gst/gstplugin.c: Fix for API changes.
1445         * tools/gst-inspect.c: Fix for API changes.
1446         * tools/gst-xmlinspect.c: Fix for API changes.
1447         * gst/gstelementfactory.c:
1448         * gst/gstplugin.c:
1449         * gst/gstplugin.h:
1450         * gst/gstpluginfeature.c:
1451         * gst/gstpluginfeature.h:
1452         * gst/gstregistry.c:
1453         * gst/gstregistry.h:
1454         * gst/gstregistryxml.c:
1455         * gst/gsttypefind.c:
1456         * gst/gsttypefindfactory.c:
1457         * gst/indexers/gstfileindex.c:
1458         * gst/indexers/gstmemindex.c:
1459         * gst/schedulers/Makefile.am:
1460           Change registry to keep track of both plugins and features,
1461           removing the feature tracking from plugins themselves.
1462
1463 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1464
1465         * check/Makefile.am:
1466         * tools/gst-register.1.in:
1467           remove gst-register
1468
1469 2005-09-15  David Schleef  <ds@schleef.org>
1470
1471         * check/gst/gstplugin.c:
1472         * gst/gstelementfactory.c:
1473         * gst/gstplugin.c:
1474         * gst/gstpluginfeature.c:
1475         * gst/gstregistry.c:
1476           Getting tired of debugging.  Disabled all the unreffing of
1477           plugins and features, which fixes the segfaults, but of
1478           course leaks like crazy.  At least playbin works.
1479
1480 2005-09-15  David Schleef  <ds@schleef.org>
1481
1482         * check/gst/gstplugin.c: (register_check_elements),
1483         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1484         More testing
1485         * gst/elements/gsttypefindelement.c: Fix refcounting.
1486         * gst/gsttypefind.c:
1487         * gst/gsttypefindfactory.c:
1488         * gst/gsttypefindfactory.h:
1489
1490 2005-09-15  David Schleef  <ds@schleef.org>
1491
1492         * gst/gstindex.c: get refcounting correct.
1493         * gst/gstregistry.c: Handle the case where a feature/plugin is
1494           not found.
1495
1496 2005-09-15  David Schleef  <ds@schleef.org>
1497
1498         * check/Makefile.am:
1499         * check/gst/gstplugin.c: Add test
1500         * gst/gstplugin.c: Fix problems noticed by testsuite
1501         * gst/gstplugin.h:
1502         * gst/gstregistry.c: 
1503         * gst/gstregistry.h:
1504
1505 2005-09-15  David Schleef  <ds@schleef.org>
1506
1507         * gst/gstplugin.c: Implement semi-decent recounting and locking
1508           in plugins and plugin features.
1509         * gst/gstplugin.h:
1510         * gst/gstpluginfeature.c:
1511         * gst/gstpluginfeature.h:
1512         * gst/gstregistry.c:
1513
1514 2005-09-15  Michael Smith <msmith@fluendo.com>
1515
1516         * gst/gstregistry.c: (gst_registry_get_feature_list):
1517           Implement this. Makes oggdemux work; decodebin still broken.
1518
1519 2005-09-14  David Schleef  <ds@schleef.org>
1520
1521         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1522           #316076)
1523         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1524         * gst/check/Makefile.am:
1525         * libs/gst/controller/Makefile.am:
1526         * libs/gst/dataprotocol/Makefile.am:
1527
1528 2005-09-14  David Schleef  <ds@schleef.org>
1529
1530         * configure.ac: Remove getbits library.  Nothing uses it, and
1531           it should be in something like liboil if someone did want
1532           to use it.
1533         * libs/gst/Makefile.am:
1534         * libs/gst/getbits/Makefile.am:
1535         * libs/gst/getbits/gbtest.c:
1536         * libs/gst/getbits/getbits.c:
1537         * libs/gst/getbits/getbits.h:
1538         * libs/gst/getbits/gstgetbits_generic.c:
1539         * libs/gst/getbits/gstgetbits_i386.s:
1540         * libs/gst/getbits/gstgetbits_inl.h:
1541
1542 2005-09-14  David Schleef  <ds@schleef.org>
1543
1544         * gst/Makefile.am: Dist glib-compat.h
1545
1546 2005-09-14  David Schleef  <ds@schleef.org>
1547
1548         * configure.ac: Remove gst/registries, since it's no longer used.
1549         * gst/registries/Makefile.am:
1550         * gst/registries/gstlibxmlregistry.c:
1551         * gst/registries/gstlibxmlregistry.h:
1552         * gst/registries/gstxmlregistry.c:
1553         * gst/registries/gstxmlregistry.h:
1554         * gst/registries/registrytest.c:
1555
1556 2005-09-14  David Schleef  <ds@schleef.org>
1557
1558         * gst/glib-compat.h:
1559         * gst/gstregistryxml.c:
1560           Convergence is near.  Seriously.
1561
1562 2005-09-14  David Schleef  <ds@schleef.org>
1563
1564         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1565         * gst/glib-compat.h:
1566           Attempt #4 to appease the buildbots.
1567
1568 2005-09-14  David Schleef  <ds@schleef.org>
1569
1570         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1571           Attempt #3.
1572
1573 2005-09-14  David Schleef  <ds@schleef.org>
1574
1575         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1576         Attempt #2.
1577
1578 2005-09-14  David Schleef  <ds@schleef.org>
1579
1580         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1581           the new functions.
1582
1583 2005-09-14  David Schleef  <ds@schleef.org>
1584
1585         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1586         * gst/glib-compat.h: Add some functions that are in newer versions
1587           of glib than we care to require.
1588         * gst/gstregistryxml.c: Use them.
1589
1590 2005-09-14  David Schleef  <ds@schleef.org>
1591
1592         * po/POTFILES.in: remove gst-register.c
1593
1594 2005-09-14  David Schleef  <ds@schleef.org>
1595
1596         * docs/gst/gstreamer-docs.sgml:
1597         * docs/gst/gstreamer-sections.txt:
1598         * docs/gst/gstreamer.types:
1599         * docs/gst/tmpl/gstelement.sgml:
1600         * docs/gst/tmpl/gstplugin.sgml:
1601         * docs/gst/tmpl/gstpluginfeature.sgml:
1602           Documentation updates for registry changes.
1603
1604 2005-09-14  David Schleef  <ds@schleef.org>
1605
1606         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1607           because we don't require glib-2.8.
1608
1609 2005-09-14  David Schleef  <ds@schleef.org>
1610
1611         * gst/gstregistryxml.c: Added.  Essentially moved out of the
1612           registries directory.
1613
1614 2005-09-14  David Schleef  <ds@schleef.org>
1615
1616         * check/Makefile.am:
1617         * check/generic/states.c:
1618         * gst/Makefile.am:
1619         * gst/gst.c:
1620         * gst/gst.h:
1621         * gst/gst_private.h:
1622         * gst/gstelementfactory.c:
1623         * gst/gstindex.c:
1624         * gst/gstinfo.c:
1625         * gst/gstplugin.c:
1626         * gst/gstplugin.h:
1627         * gst/gstpluginfeature.c:
1628         * gst/gstpluginfeature.h:
1629         * gst/gstregistry.c:
1630         * gst/gstregistry.h:
1631         * gst/gstregistrypool.c: remove
1632         * gst/gstregistrypool.h: remove
1633         * gst/gsttypefind.c:
1634         * gst/gsttypefindfactory.c:
1635         * gst/gsturi.c:
1636         * tools/Makefile.am:
1637         * tools/gst-compprep.c:
1638         * tools/gst-inspect.c:
1639         * tools/gst-register.c: remove
1640         * tools/gst-xmlinspect.c:
1641           Registry rewrite.  Changes registry from being a file created
1642           by a tool into a simple cache file created automatically by 
1643           libgstreamer.  Removed gst-register (because it's no longer
1644           needed).  Remove registry pools, because we only have one
1645           registry implementation (XML).  Fix up other subsystems as
1646           necessary.
1647
1648 2005-09-13  Michael Smith <msmith@fluendo.com>
1649
1650         * gst/gstconfig.h.in:
1651           Don't Use windows linking attributes for MinGW. Fixes #316157
1652
1653 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1654
1655         * gst/gstutils.c: (set_state_async_thread_func),
1656         (gst_element_set_state_async):
1657           Apparently people think it's better if this function doesn't
1658           try to set the state to whatever state was asked for on the first
1659           call to this function for any object.  Seriously.
1660
1661 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1662
1663         * check/gst/gstpipeline.c: (GST_START_TEST):
1664         * docs/gst/gstreamer-sections.txt:
1665         * gst/gstutils.c: (set_state_async_thread_func),
1666         (gst_element_set_state_async):
1667         * gst/gstutils.h:
1668           add a "gst_element_set_state_async" method that
1669           sets the state and starts a thread to make sure the state
1670           change completes as best as it can
1671
1672 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1673
1674         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1675           codify design+behaviour in testsuite after discussion
1676
1677 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1678
1679         * docs/gst/tmpl/gstelement.sgml:
1680         * docs/manual/appendix-quotes.xml:
1681           add a quote
1682         * gst/gstelement.c: (gst_element_set_state):
1683           add some debug
1684
1685 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
1686
1687         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1688         (gst_base_transform_prepare_output_buf),
1689         (gst_base_transform_handle_buffer):
1690         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1691         (gst_capsfilter_prepare_buf):
1692           Remove the requirement for sub-classes to call the parent
1693           implementation of prepare_output_buffer with a wrapper function.
1694           
1695         * gst/gsttaglist.h:
1696         * gst/gsttagsetter.h:
1697           Fix #define wrapper
1698
1699 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * docs/gst/gstreamer-sections.txt:
1702           more doc cleanups
1703
1704 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1705
1706         * docs/gst/gstreamer-sections.txt:
1707         * docs/gst/tmpl/gstelement.sgml:
1708         * docs/gst/tmpl/gstplugin.sgml:
1709         * gst/gstminiobject.c:
1710         * gst/gstvalue.h:
1711           docs now stop throwing warnings
1712
1713 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1714
1715         * docs/gst/gstreamer-sections.txt:
1716         * docs/gst/gstreamer.types:
1717         * docs/gst/tmpl/gstpad.sgml:
1718         * docs/gst/tmpl/gsttypes.sgml:
1719         * gst/base/gstadapter.h:
1720         * gst/base/gstbasesink.h:
1721         * gst/base/gstbasesrc.h:
1722         * gst/gstbin.h:
1723         * gst/gstbuffer.h:
1724         * gst/gstbus.h:
1725         * gst/gstcaps.h:
1726         * gst/gstclock.h:
1727         * gst/gstelement.h:
1728         * gst/gstevent.h:
1729         * gst/gstmessage.h:
1730         * gst/gstpad.h:
1731         * gst/gststructure.c:
1732         * gst/registries/gstlibxmlregistry.h:
1733           various documentation fixes
1734
1735 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1736
1737         * docs/gst/gstreamer-sections.txt:
1738         * docs/gst/tmpl/gstvalue.sgml:
1739           rearrange gstvalue section
1740         * gst/gstutils.c: (gst_element_state_get_name):
1741           NONE -> VOID
1742         * gst/gstvalue.c: (_gst_value_initialize):
1743         * gst/gstvalue.h:
1744           doc updates
1745
1746 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
1747
1748         * check/gst-libs/controller.c:
1749           Header include fix.
1750         * gst/base/gstbasetransform.c:
1751         (gst_base_transform_default_prepare_buf),
1752         (gst_base_transform_handle_buffer):
1753         * gst/base/gstbasetransform.h:
1754           Some more basetransform changes and fixes to enable sub-classes
1755           that modify buffer metadata only.
1756         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1757         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1758         (gst_capsfilter_prepare_buf):
1759           If the output pad has fixed allowed caps and input buffers 
1760           don't have any, set the fixed caps on outgoing buffers.
1761
1762 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
1763         * check/elements/identity.c: (GST_START_TEST):
1764           Make the error a little clearer when the test fails because
1765           identity made a copy of the buffer.
1766         * docs/gst/gstreamer-sections.txt:
1767           New symbols in gstbasetransform.h
1768         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1769         (gst_base_transform_init), (gst_base_transform_transform_size),
1770         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1771         (gst_base_transform_default_prepare_buf),
1772         (gst_base_transform_get_unit_size),
1773         (gst_base_transform_buffer_alloc),
1774         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1775         (gst_base_transform_change_state),
1776         (gst_base_transform_set_passthrough),
1777         (gst_base_transform_set_in_place),
1778         (gst_base_transform_is_in_place):
1779         * gst/base/gstbasetransform.h:
1780           Change BaseTransform to separate in_place operate from same_caps
1781           output. in_place implies that the element can perform the transform
1782           on incoming buffers in-place, even if the caps on the output are
1783           different.
1784           Sub-class elements can now implement special buffer allocation
1785           methods for outgoing buffers if they wish to.
1786           Big documentation addition.
1787         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1788         * gst/elements/gstelements.c:
1789           Changes for basetransform modifications.
1790         * gst/elements/Makefile.am:
1791         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1792           Compile fix. Extra debug output.
1793
1794 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1795
1796         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1797         (gst_pad_suite):
1798           add tests for valid pad naming
1799         * gst/check/gstcheck.c: (gst_check_log_message_func),
1800         (gst_check_log_critical_func):
1801           add ASSERT_WARNING
1802           remove printing of code, it is fragile when the code contains
1803           % and the line number is enough info
1804         * gst/check/gstcheck.h:
1805         * gst/gstpad.c: (gst_pad_template_new):
1806           fix memleaks
1807
1808 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1809
1810         * configure.ac:
1811           say what CHECK flags we use
1812         * docs/libs/gstreamer-libs.types:
1813         * libs/gst/controller/Makefile.am:
1814         * libs/gst/controller/gst-controller.c:
1815         * libs/gst/controller/gst-controller.h:
1816         * libs/gst/controller/gst-helper.c:
1817         * libs/gst/controller/gst-interpolation.c:
1818         * libs/gst/controller/gstcontroller.c:
1819         * libs/gst/controller/gsthelper.c:
1820         * libs/gst/controller/gstinterpolation.c:
1821         * tools/gst-inspect.c: (print_plugin_info):
1822           we don't use dashes in header names
1823
1824 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1825
1826         * check/Makefile.am:
1827         * check/gst/.cvsignore:
1828         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1829         (gst_pipeline_suite), (main):
1830           adding a test for pipelines and state changes
1831         * gst/gstutils.c: (get_state_func):
1832           add some debugging
1833         * gstreamer.spec.in:
1834           fix up spec file
1835
1836 2005-09-08  Michael Smith <msmith@fluendo.com>
1837
1838         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1839         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1840         (gst_file_src_is_seekable), (gst_file_src_get_size),
1841         (gst_file_src_start):
1842         * gst/elements/gstfilesrc.h:
1843           Various fixes for unseekable, unmmapable, and non-normal files, so
1844           that fallback to read() rather than mmap() works.
1845         * gst/gstevent.c: (gst_event_new_newsegment):
1846           Allow newsegment events with segment_start == segment_end, as will
1847           correctly happen if you use filesrc on a zero-size file, for
1848           example.
1849
1850 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1851
1852         * gst/gstplugin.c: (gst_plugin_load_file):
1853           Call g_module_close when we don't load the module
1854
1855         * gst/registries/gstlibxmlregistry.c:
1856         (gst_xml_registry_get_property):
1857           Port leak fix from 0.8
1858
1859 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1860
1861         * docs/gst/gstreamer-docs.sgml:
1862         * docs/gst/tmpl/.cvsignore:
1863         * docs/gst/tmpl/gsttrace.sgml:
1864         * docs/gst/tmpl/gsttrashstack.sgml:
1865         * gst/Makefile.am:
1866         * gst/gst.h:
1867         * gst/gstelement.h:
1868         * gst/gstevent.h:
1869         * gst/gstmessage.c:
1870         * gst/gstmessage.h:
1871         * gst/gsttag.c:
1872         * gst/gsttag.h:
1873         * gst/gsttaginterface.c:
1874         * gst/gsttaginterface.h:
1875         * gst/gsttaglist.c:
1876         * gst/gsttaglist.h:
1877         * gst/gsttagsetter.c:
1878         * gst/gsttagsetter.h:
1879         * gst/gsttrace.c:
1880         * gst/gsttrace.h:
1881         * gst/gsttrashstack.c:
1882           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1883           inlined docs for gsttrace, gsttrashstack
1884
1885 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1886
1887         * gst/Makefile.am:
1888         * gst/elements/gstbufferstore.h:
1889         * gst/elements/gsttypefindelement.c:
1890         * gst/elements/gsttypefindelement.h:
1891         * gst/gst.h:
1892         * gst/gsttypefind.c:
1893         * gst/gsttypefind.h:
1894         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1895         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1896         (gst_type_find_factory_dispose),
1897         (gst_type_find_factory_unload_thyself),
1898         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1899         (gst_type_find_factory_get_caps),
1900         (gst_type_find_factory_get_extensions),
1901         (gst_type_find_factory_call_function):
1902         * gst/gsttypefindfactory.h:
1903         * gst/registries/gstlibxmlregistry.c:
1904         * gst/registries/gstxmlregistry.c:
1905           splitted gsttypefind into gsttypefind, gsttypefindfactory
1906
1907 2005-09-07  Andy Wingo  <wingo@pobox.com>
1908
1909         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1910         condition whereby the pad's task function is entered before the
1911         pad_mode variable was set.
1912
1913 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1914
1915         * gst/gstpad.c: (gst_pad_alloc_buffer):
1916           Catch misbehaving pad_alloc functions that don't
1917           set up caps and do it for them.
1918
1919 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1920
1921         * check/pipelines/simple_launch_lines.c: (run_pipeline):
1922           test for pipe!=NULL
1923         * docs/gst/tmpl/.cvsignore:
1924         * docs/gst/tmpl/gstmemchunk.sgml:
1925         * docs/gst/tmpl/gstparse.sgml:
1926         * docs/gst/tmpl/gsttaglist.sgml:
1927         * docs/gst/tmpl/gsttagsetter.sgml:
1928         * docs/gst/tmpl/gsttypefind.sgml:
1929         * docs/gst/tmpl/gsttypefindfactory.sgml:
1930         * gst/gstmemchunk.c:
1931         * gst/gstparse.c:
1932         * gst/gsttag.c:
1933         * gst/gsttaginterface.c:
1934         * gst/gsttypefind.c:
1935         * gst/gsttypefind.h:
1936           inlined more docs
1937
1938 === release 0.9.2 ===
1939
1940 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1941
1942         * NEWS:
1943         * RELEASE:
1944         * configure.ac:
1945           releasing 0.9.2, "South"
1946
1947 2005-09-05  Andy Wingo  <wingo@pobox.com>
1948
1949         * gst/registries/gstxmlregistry.h:
1950         * gst/registries/gstxmlregistry.c: Um... resurrect...
1951         
1952         * gst/registries/gstxmlregistry.h:
1953         * gst/registries/gstxmlregistry.c: and update to newer API.
1954         Incidentally they should be a bit faster now that they don't have
1955         to parse the caps.
1956         
1957 2005-09-05  Andy Wingo  <wingo@pobox.com>
1958
1959         * gst/registries/gstxmlregistry.h:
1960         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1961         replaced by the libxml registry a while back
1962
1963 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1964
1965         * docs/gst/tmpl/gstplugin.sgml:
1966         * gst/elements/gstelements.c:
1967         * gst/gst.c:
1968         * gst/gstplugin.c: (gst_plugin_register_func),
1969         (gst_plugin_desc_copy), (gst_plugin_desc_free),
1970         (gst_plugin_get_source):
1971         * gst/gstplugin.h:
1972         * gst/registries/gstlibxmlregistry.c: (load_plugin),
1973         (gst_xml_registry_save_plugin):
1974         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1975         (gst_xml_registry_save_plugin):
1976         * tools/gst-inspect.c: (print_plugin_info):
1977           add a "source" plugin description field, to represent the source
1978           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
1979           will set it to PACKAGE, which is automake's idea of the name of
1980           the source project.
1981
1982 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1983
1984         * Makefile.am:
1985         * autogen.sh:
1986         * configure.ac:
1987         * docs/Makefile.am:
1988         * docs/faq/Makefile.am:
1989         * docs/gst/tmpl/gstelement.sgml:
1990         * docs/gst/tmpl/gsttypes.sgml:
1991         * docs/htmlinstall.mak:
1992         * docs/manual/Makefile.am:
1993         * docs/pwg/Makefile.am:
1994           reorganize doc build a little
1995           split out docbook and gtk-doc stuff
1996           have two separate --enable's and enable them through autogen
1997           but disable by default in configure (to be similar to other
1998           projects)
1999         * gstreamer.spec.in:
2000           clean up docs install
2001         * po/af.po:
2002         * po/az.po:
2003         * po/ca.po:
2004         * po/cs.po:
2005         * po/de.po:
2006         * po/en_GB.po:
2007         * po/fr.po:
2008         * po/it.po:
2009         * po/nb.po:
2010         * po/nl.po:
2011         * po/ru.po:
2012         * po/sq.po:
2013         * po/sr.po:
2014         * po/sv.po:
2015         * po/tr.po:
2016         * po/uk.po:
2017         * po/vi.po:
2018           translation updates
2019
2020 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2023           Add comment.
2024           
2025         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2026         (gst_fake_sink_change_state):
2027           Make state change function thread-safe.
2028           
2029         * gst/gstpad.c: (gst_pad_alloc_buffer):
2030           Set offset on generic buffer allocated by fallback.
2031
2032 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
2033
2034         * docs/gst/gstreamer-sections.txt:
2035         * docs/gst/tmpl/gstelement.sgml:
2036         * gst/gstpad.c:
2037         * libs/gst/controller/gst-controller.c:
2038         (gst_controlled_property_set_interpolation_mode),
2039         (gst_controlled_property_new),
2040         (gst_controller_find_controlled_property):
2041          run the wingo-magic script against the docs
2042
2043 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2044
2045         * docs/gst/gstreamer-docs.sgml:
2046         * docs/gst/gstreamer-sections.txt:
2047         * docs/gst/tmpl/.cvsignore:
2048         * docs/gst/tmpl/gstelementdetails.sgml:
2049         * docs/gst/tmpl/gstelementfactory.sgml:
2050         * gst/gst.c:
2051         * gst/gstbus.c:
2052         * gst/gstelementfactory.c:
2053         * gst/gstelementfactory.h:
2054           merged elementdetails docs into elementfactory docs
2055           inlined both
2056
2057 2005-09-02  Andy Wingo  <wingo@pobox.com>
2058
2059         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2060         consider this enum an enum and not a flags.
2061
2062 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2063
2064         * docs/gst/gstreamer-docs.sgml:
2065         * docs/gst/tmpl/.cvsignore:
2066         * docs/gst/tmpl/gstghostpad.sgml:
2067         * docs/gst/tmpl/gstiterator.sgml:
2068         * docs/gst/tmpl/gstmacros.sgml:
2069         * docs/gst/tmpl/gstrealpad.sgml:
2070         * docs/gst/tmpl/gstregistry.sgml:
2071         * docs/gst/tmpl/gstregistrypool.sgml:
2072         * docs/gst/tmpl/gststructure.sgml:
2073         * docs/gst/tmpl/gstsystemclock.sgml:
2074         * docs/gst/tmpl/gsttrace.sgml:
2075         * gst/gstghostpad.c:
2076         * gst/gstmacros.h:
2077         * gst/gstmemchunk.c:
2078         * gst/gstmemchunk.h:
2079         * gst/gstqueue.c:
2080         * gst/gstregistry.c:
2081         * gst/gstregistrypool.c:
2082         * gst/gststructure.c:
2083         * gst/gstsystemclock.c:
2084           more docs inlined
2085
2086 2005-09-02  Andy Wingo  <wingo@pobox.com>
2087
2088         * gst/gstelement.h (GstState): Renamed from GstElementState,
2089         changed to be a normal enum instead of flags.
2090         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2091         munged to be GST_STATE_CHANGE_*.
2092         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2093         work with the new state representation.
2094         (GstStateChange): New enumeration of possible state transitions.
2095         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2096         (GstElementClass::change_state): Pass the GstStateChange along as
2097         an argument. Helps language bindings, so they don't have to use
2098         tricky lock-needing macros like GST_STATE_CHANGE ().
2099
2100         * scripts/update-states (file): New script. Run it on a file to
2101         update it for state naming and API changes. Updates files in
2102         place.
2103
2104         * All files updated for the new API.
2105
2106 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2107
2108         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2109         * gst/gstutils.c: (gst_util_set_value_from_string),
2110         (gst_util_set_object_arg):
2111           fix a bunch of unchecked return values
2112         * tools/gst-complete.c: (main):
2113         * gstreamer.spec.in:
2114           clean up a little
2115
2116 2005-09-01  Wim Taymans  <wim@fluendo.com>
2117
2118         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2119         (gst_base_sink_event), (gst_base_sink_do_sync),
2120         (gst_base_sink_handle_event):
2121         * gst/base/gstbasesink.h:
2122         Handle newsegments more correctly.
2123
2124         * gst/gstbus.c:
2125         Fix docs.
2126
2127         * gst/gstevent.c: (gst_event_new_newsegment):
2128         A newsegment cannot have a start_time of -1
2129
2130 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
2131
2132         * win32/gstenumtypes.c:
2133         * win32/gstenumtypes.h:
2134           Update
2135
2136 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2137
2138         * libs/gst/controller/gst-controller.c:
2139         (gst_controlled_property_set_interpolation_mode),
2140         (gst_controlled_property_new):
2141          fixed boolean again
2142
2143 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2144
2145         * docs/faq/gst-uninstalled:
2146           add -good
2147         * gst/gstevent.c:
2148         * gst/gstevent.h:
2149           remove wrong docs
2150         * gst/gstutils.c: (gst_element_link_filtered):
2151         * gst/gstutils.h:
2152           add gst_element_link_filtered
2153
2154 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2155
2156         * docs/gst/gstreamer-docs.sgml:
2157         * docs/gst/gstreamer-sections.txt:
2158         * docs/gst/tmpl/.cvsignore:
2159         * docs/gst/tmpl/gsterror.sgml:
2160         * docs/gst/tmpl/gstfilter.sgml:
2161         * docs/gst/tmpl/gsturihandler.sgml:
2162         * docs/gst/tmpl/gsturitype.sgml:
2163         * docs/gst/tmpl/gstutils.sgml:
2164         * docs/gst/tmpl/gstxml.sgml:
2165         * gst/gsterror.c:
2166         * gst/gsterror.h:
2167         * gst/gstfilter.c:
2168         * gst/gsturi.c:
2169         * gst/gsturitype.c:
2170         * gst/gstutils.c:
2171         * gst/gstxml.c:
2172           inlined more docs, fixed double id-ref
2173
2174 2005-08-31  Wim Taymans  <wim@fluendo.com>
2175
2176         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2177         (gst_base_transform_handle_buffer):
2178         Passthrough elements don't need the caps as they don't care.
2179
2180 2005-08-31  Wim Taymans  <wim@fluendo.com>
2181
2182         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2183         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2184         Don't leak refcounts on buffers.
2185
2186 2005-08-31  Wim Taymans  <wim@fluendo.com>
2187
2188         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2189         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2190         (gst_base_transform_chain), (gst_base_transform_change_state):
2191         * gst/base/gstbasetransform.h:
2192         Handle the case where we are not negotiated more gracefully.
2193
2194 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
2195
2196         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2197         (gst_file_src_map_region):
2198           Set READONLY flag on mmap'ed buffers, otherwise
2199           gst_buffer_make_writable() won't work properly (#314708).
2200
2201 2005-08-31  Wim Taymans  <wim@fluendo.com>
2202
2203         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2204         passthrough elements can even do inplace on non writable
2205         buffers (as they don't touch them).
2206
2207 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2208
2209         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2210         (gst_test_mono_source_set_property),
2211         (gst_test_mono_source_class_init), (GST_START_TEST),
2212         (gst_controller_suite):
2213           more tests (hehe I have the most)
2214         * gst/gstbus.c:
2215           describe popping messages whenusing mulltiple sources
2216         * libs/gst/controller/gst-controller.c:
2217         (gst_controlled_property_set_interpolation_mode),
2218         (gst_controlled_property_new):
2219         * libs/gst/controller/gst-controller.h:
2220         * libs/gst/controller/gst-interpolation.c:
2221           implement boolean properties
2222
2223 2005-08-31  Wim Taymans  <wim@fluendo.com>
2224
2225         * gst/gstminiobject.c: (gst_mini_object_ref):
2226         Cannot assert that the refcount has to be positive
2227         since a disposed object can be resurrected.
2228
2229 2005-08-31  Wim Taymans  <wim@fluendo.com>
2230
2231         * gst/gstpad.c: (gst_pad_init):
2232         Revert change, need to first fix badly behaving 
2233         apps.
2234
2235 2005-08-30  Wim Taymans  <wim@fluendo.com>
2236
2237         * check/elements/fakesrc.c: (setup_fakesrc):
2238         * check/elements/identity.c: (setup_identity):
2239         Activate pads before using them.
2240
2241 2005-08-30  Wim Taymans  <wim@fluendo.com>
2242
2243         * gst/base/gstadapter.c: (gst_adapter_flush):
2244         Flushing out 0 bytes is ok for this function.
2245
2246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2247         no newsegment gives a warning and sets the start/stop to 
2248         invalid.
2249
2250         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2251         (gst_base_transform_set_passthrough):
2252         Some debug info.
2253
2254         * gst/gstminiobject.c: (gst_mini_object_ref):
2255         Check refcount here too.
2256
2257         * gst/gstpad.c: (gst_pad_init):
2258         Pads are initially flushing and refusing data.
2259
2260         * gst/gstutils.c: (gst_element_link_pads_filtered):
2261         When adding a capsfilter element make sure it has the
2262         same state as the parent bin.
2263
2264 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2265
2266         * docs/gst/tmpl/.cvsignore:
2267         * docs/gst/tmpl/gstformat.sgml:
2268         * docs/gst/tmpl/gstversion.sgml:
2269         * gst/gstbus.h:
2270         * gst/gstformat.c:
2271         * gst/gstformat.h:
2272         * gst/gstversion.h.in:
2273           more docs and two more inlined
2274
2275 2005-08-30  Wim Taymans  <wim@fluendo.com>
2276
2277         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2278         Don't sync to clock.
2279
2280 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2281
2282         * docs/gst/gstreamer-sections.txt:
2283           ultral33t func10ns deserve to appear in the docs actually
2284         * docs/gst/tmpl/.cvsignore:
2285         * docs/gst/tmpl/gstcompat.sgml:
2286         * docs/gst/tmpl/gstconfig.sgml:
2287         * gst/check/gstcheck.c:
2288         * gst/gstcompat.h:
2289         * gst/gstconfig.h.in:
2290           inlined more docs
2291
2292 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2293
2294         * docs/gst/tmpl/.cvsignore:
2295         * docs/gst/tmpl/gstquery.sgml:
2296         * docs/gst/tmpl/gstutils.sgml:
2297         * gst/gstquery.c:
2298         * gst/gstquery.h:
2299           inlined and extended docs
2300
2301 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2302
2303         * check/gst-libs/controller.c: (GST_START_TEST),
2304         (gst_controller_suite):
2305           more tests
2306         * docs/gst/tmpl/gstutils.sgml:
2307         * docs/libs/gstreamer-libs-sections.txt:
2308         * docs/libs/tmpl/gstdataprotocol.sgml:
2309           include path fixes
2310         * examples/controller/audio-example.c: (main):
2311           controller example works now
2312         * gst/gstclock.h:
2313           doc fixes
2314         * tools/gst-inspect.c: (print_element_properties_info):
2315           show param spec flags
2316
2317 2005-08-29  Andy Wingo  <wingo@pobox.com>
2318
2319         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2320
2321 2005-08-28  Andy Wingo  <wingo@pobox.com>
2322
2323         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2324         as having two arguments instead of just one. Allows superclasses
2325         to access information on subclasses -- see the terrible for() loop
2326         in gtype.c:g_type_create_instance for the reason why. All callers
2327         changed.
2328
2329 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2330
2331         * docs/design/part-messages.txt:
2332           update info
2333         * docs/gst/tmpl/.cvsignore:
2334         * docs/gst/tmpl/gstcaps.sgml:
2335         * docs/gst/tmpl/gstclock.sgml:
2336         * gst/gstbus.c:
2337         * gst/gstcaps.c:
2338         * gst/gstcaps.h:
2339         * gst/gstclock.c:
2340         * gst/gstclock.h:
2341         * gst/gstmessage.c:
2342           added descriptions for bus and message
2343           inline caps and clock docs
2344
2345 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2346
2347         * gst/gstmessage.c:
2348         * gst/gstmessage.h:
2349           doc fixes
2350
2351 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2352
2353         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2354           fix div-by-zero
2355
2356 2005-08-26  Andy Wingo  <wingo@pobox.com>
2357
2358         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2359         element_set_state's return val.
2360         (test_2_elements): Add test that's been disabled for months.
2361
2362         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2363         can-activate-pull properties.
2364
2365         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2366         can-activate-pull properties. Implement is_seekable so fakesrc can
2367         operate in pull mode.
2368
2369         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2370         properties.
2371         (gst_base_sink_activate, gst_base_sink_activate_pull)
2372         (gst_base_sink_activate_push): Make activation mode choosing work.
2373         Cleanups.
2374         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2375         is right. Make pull mode work. Post an eos before pausing in pull
2376         mode.
2377         (gst_base_sink_change_state): Pay attention to the core's
2378         change_state() return val.
2379         
2380         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2381         has-getrange properties. Cleanups.
2382         
2383         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2384         has_getrange and replace with can_activate_pull and
2385         can_activate_push.
2386
2387         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2388         locking comments. Remove has_loop, has_chain and replace with
2389         can_activate_pull and can_activate_push.
2390
2391 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
2392
2393         * configure.ac:
2394         * examples/Makefile.am:
2395         * examples/metadata/Makefile.am:
2396         * examples/metadata/read-metadata.c: (message_loop),
2397         (have_pad_handler), (make_pipeline), (print_tag), (main):
2398           Add metadata reading example that loops over a list of filenames,
2399           dumping any tags found.
2400
2401         * gst/gstbus.c: (gst_bus_dispose):
2402         * gst/gstelement.c: (gst_element_dispose):
2403           Release a few potentially-held references in dispose.
2404
2405 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2406
2407         * docs/gst/tmpl/gstminiobject.sgml:
2408           do *not* add tmpl/*.sgml files to CVS!
2409
2410 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2411
2412         * libs/gst/bytestream/.cvsignore:
2413         * libs/gst/bytestream/Makefile.am:
2414         * libs/gst/bytestream/adapter.c:
2415         * libs/gst/bytestream/adapter.h:
2416         * libs/gst/bytestream/bytestream.c:
2417         * libs/gst/bytestream/bytestream.h:
2418         * libs/gst/bytestream/filepad.c:
2419         * libs/gst/bytestream/filepad.h:
2420           removing obsolete files
2421
2422 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2423
2424         * docs/gst/gstreamer-docs.sgml:
2425         * docs/libs/gstreamer-libs-docs.sgml:
2426           disabed additional index entries again, as this makes docs-gen just
2427           slow and they aren't useful yet
2428         * docs/libs/gstreamer-libs-sections.txt:
2429           little -section.txt cleanup for libs
2430
2431 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2432
2433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2434         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2435           fix up some debugging
2436         (gst_base_transform_get_unit_size),
2437         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2438         (gst_base_transform_handle_buffer):
2439         * gst/base/gstbasetransform.h:
2440           handle and store timed NEWSEGMENT events so that subclasses that
2441           calculate time by counting samples have a segment_start time they
2442           need to add to their timestamps - see audioresample
2443
2444 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2445
2446         * gst/gstbin.h:
2447           removed ';' from the end of macro defs
2448         * docs/gst/gstreamer-docs.sgml:
2449         * docs/gst/gstreamer-sections.txt:
2450         * docs/gst/tmpl/.cvsignore:
2451         * gst/gstbus.h:
2452         * gst/gstelement.c: (gst_element_class_init),
2453         (gst_element_set_state), (activate_pads),
2454         (gst_element_save_thyself):
2455         * gst/gstevent.c: (gst_event_new_newsegment):
2456         * gst/gstevent.h:
2457         * gst/gstiterator.c:
2458         * gst/gstiterator.h:
2459         * gst/gstpad.c:
2460         * gst/gstprobe.h:
2461         * gst/gstutils.c: (gst_pad_query_convert):
2462         * gst/gstutils.h:
2463           fixed parameter name mismatches between source, header and docs
2464           added some more docs, resolved the last batch of unused elements in
2465           docs (now someone needs to doc them)
2466
2467 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2468
2469         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2470         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2471           don't walk through the plugins backwards.  Where is all this
2472           reversed logic coming from ?
2473
2474 2005-08-25  Wim Taymans  <wim@fluendo.com>
2475
2476         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2477         (gst_base_transform_transform_size),
2478         (gst_base_transform_configure_caps),
2479         (gst_base_transform_get_unit_size),
2480         (gst_base_transform_buffer_alloc),
2481         (gst_base_transform_change_state):
2482         * gst/base/gstbasetransform.h:
2483         Cache caps unit_size.
2484         Make sure we cannot negotiate up and downstream at the
2485         same time.
2486
2487 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2488
2489         * gst/gst.c: (init_pre), (init_post):
2490           register the installed plugin path after the env var
2491         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2492         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2493           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2494           directories, so the tests can prefer uninstalled over installed
2495
2496 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2497
2498         * gst/base/gstbasetransform.h:
2499           comment
2500         * gst/gstpad.c:
2501           add to docs
2502
2503 2005-08-25  Wim Taymans  <wim@fluendo.com>
2504
2505         * gst/gstbin.c: (bin_bus_handler):
2506         Be a bit more conservative about the posted message.
2507         
2508         * gst/gstbus.c: (gst_bus_post):
2509         Some cleanups, warn wrong return values.
2510
2511 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
2512
2513         * check/gst/gstbin.c: (GST_START_TEST):
2514         * gst/gstbin.c: (bin_bus_handler):
2515         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2516         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2517         (gst_message_new_warning), (gst_message_new_tag),
2518         (gst_message_new_state_changed), (gst_message_new_segment_start),
2519         (gst_message_new_segment_done), (gst_message_new_custom):
2520         * gst/gstmessage.h:
2521         * tools/gst-launch.c: (event_loop):
2522         * tools/gst-md5sum.c: (event_loop):
2523           Revert unpopular change for GST_MESSAGE_SRC to GObject.
2524
2525 2005-08-25  Wim Taymans  <wim@fluendo.com>
2526
2527         * check/generic/states.c: (GST_START_TEST):
2528         Cleanup can be done at the end.
2529
2530         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2531         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2532         (gst_task_get_state), (gst_task_start), (gst_task_pause):
2533         Oh boy.. Thanks for finding this, Thomas. 
2534
2535 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2536
2537         * docs/gst/gstreamer.types:
2538           added missing types
2539
2540 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2541
2542         * docs/gst/gstreamer-docs.sgml:
2543         * docs/gst/gstreamer-sections.txt:
2544         * docs/gst/tmpl/.cvsignore:
2545         * gst/gstbin.c:
2546         * gst/gstiterator.c:
2547         * gst/gstutils.c:
2548         * gst/registries/gstxmlregistry.h:
2549           added missing classes and symbols (123 more to go)
2550           removed removed symbols from section file
2551           fixed many doc-comments
2552
2553 2005-08-24  Wim Taymans  <wim@fluendo.com>
2554
2555         * check/generic/states.c: (GST_START_TEST):
2556         Make sure all tasks are stopped.
2557
2558         * check/gst/gstbin.c: (GST_START_TEST):
2559         Unref after usage for proper valgrinding.
2560
2561         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2562         Really wait for the task to stop before destroying the
2563         mutex.
2564
2565         * gst/gstqueue.c: (gst_queue_sink_activate_push),
2566         (gst_queue_src_activate_push):
2567         Small cleanups. Don't stop the task when we did not start
2568         it.
2569
2570         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2571         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2572         (gst_task_get_state), (gst_task_start), (gst_task_pause),
2573         (gst_task_join):
2574         * gst/gsttask.h:
2575         Protect the stream lock with the object lock.
2576         Disallow setting the stream lock when running.
2577         Add cleanup_all to wait for the threadpool to finish.
2578         Remove code to autoallocate a mutex if none was provided.
2579         Add _join() to wait for a task to stop.
2580         Protect the thread pool with a global lock.
2581
2582 2005-08-24  Wim Taymans  <wim@fluendo.com>
2583
2584         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2585         (gst_base_sink_get_times), (gst_base_sink_do_sync),
2586         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2587         * gst/base/gstbasesink.h:
2588         Handle newsegment events correctly.
2589         Drop buffers out of the segment range.
2590
2591 2005-08-22  Andy Wingo  <wingo@pobox.com>
2592
2593         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2594         macro, implements an interface and gstimplementsinterface for a
2595         new type.
2596
2597 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2598
2599         * check/Makefile.am:
2600         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2601           add a test that does a bunch of state changes on elements
2602           needs some fixing for valgrind
2603         * check/states/sinks.c: (gst_object_suite):
2604           whitespace
2605         * gst/gstcaps.h:
2606           add prototype for gst_caps_is_equal_fixed
2607         * gst/gstplugin.c:
2608         * gst/gstregistrypool.c:
2609           doc fixes
2610
2611 2005-08-24  Andy Wingo  <wingo@pobox.com>
2612
2613         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2614         convert a negative value. Doesn't make much sense. Mostly this is
2615         here to force callers to ensure -1 maps to -1.
2616
2617 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2618
2619         * docs/pwg/advanced-types.xml:
2620           Well done to Michael for catching my deliberate introduction
2621           of this spelling mistake. 
2622         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2623         * gst/gstelement.h:
2624           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2625           unlink pads before removing the element from the bin.
2626
2627 2005-08-24  Andy Wingo  <wingo@pobox.com>
2628
2629         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2630         the same thing as GST_DEBUG=*:4.
2631         (parse_debug_level, parse_debug_category): New helper parsers.
2632
2633 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2634
2635         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2636         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2637         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2638         (gst_base_transform_buffer_alloc),
2639         (gst_base_transform_handle_buffer):
2640           use gboolean return values and pointers to size so we can use the
2641           full GST_BUFFER_SIZE range (guint) for buffer sizes
2642           use GstPadDirection for transform_caps
2643         * gst/base/gstbasetransform.h:
2644           rename get_size to get_unit_size since that's what it is
2645         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2646           use GstPadDirection for transform_caps
2647         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2648         * gst/gstutils.h:
2649           cleanup and debugging
2650
2651 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2652
2653         * gst/gstelement.c: (gst_element_class_init),
2654         (gst_element_set_state), (activate_pads),
2655         (gst_element_save_thyself):
2656         * tools/gst-compprep.c: (main):
2657         * tools/gst-inspect.c: (print_element_properties_info):
2658         * tools/gst-xmlinspect.c: (print_element_properties):
2659           Fixed long standing mem-leak
2660
2661 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2662
2663         * check/gst/gstbin.c: (GST_START_TEST):
2664         * gst/gstbin.c: (bin_bus_handler):
2665         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2666         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2667         (gst_message_new_warning), (gst_message_new_tag),
2668         (gst_message_new_state_changed), (gst_message_new_segment_start),
2669         (gst_message_new_segment_done), (gst_message_new_custom):
2670         * gst/gstmessage.h:
2671         * tools/gst-launch.c: (event_loop):
2672         * tools/gst-md5sum.c: (event_loop):
2673           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2674           that applications can sensibly post custom messages with references
2675           to their own objects.
2676
2677 2005-08-24  Andy Wingo  <wingo@pobox.com>
2678
2679         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2680         already.
2681
2682 2005-08-24  Wim Taymans  <wim@fluendo.com>
2683
2684         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2685         (gst_base_transform_transform_caps),
2686         (gst_base_transform_transform_size),
2687         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2688         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2689         (gst_base_transform_handle_buffer):
2690         * gst/base/gstbasetransform.h:
2691         Many fixes and new features added by Thomas. Can now also do
2692         transforms with variable sizes and a custom fixate_caps function.
2693
2694 2005-08-24  Wim Taymans  <wim@fluendo.com>
2695
2696         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2697         Some debugging.
2698
2699         * gst/gstclock.h:
2700         Cast to ClockTime before formatting to time.
2701
2702         * gst/gstutils.h:
2703         Cleanups.
2704
2705 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2706
2707         * check/gst-libs/controller.c: (GST_START_TEST),
2708         (gst_controller_suite):
2709         * docs/gst/tmpl/gstcaps.sgml:
2710         * docs/gst/tmpl/gstghostpad.sgml:
2711         * docs/gst/tmpl/gstquery.sgml:
2712         * docs/gst/tmpl/gstutils.sgml:
2713         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2714         (gst_object_sink_values), (gst_object_get_value_arrays),
2715         (gst_object_get_value_array):
2716           gracefully handle helper method calls to objects that are not beeing
2717           controlled, added test case for that          
2718
2719 2005-08-23  Wim Taymans  <wim@fluendo.com>
2720
2721         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2722         (gst_event_new_newsegment), (gst_event_parse_newsegment),
2723         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2724         (gst_event_parse_qos), (gst_event_new_seek),
2725         (gst_event_parse_seek):
2726         * gst/gstevent.h:
2727         Some more debugging output and doc cleanups.
2728
2729         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2730         Fix possible deadlock.
2731
2732 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2733
2734         * docs/gst/gstreamer-docs.sgml:
2735         * docs/gst/gstreamer-sections.txt:
2736         * docs/gst/gstreamer.types:
2737         * docs/gst/tmpl/.cvsignore:
2738         * gst/gstbin.h:
2739         * gst/gstbus.c:
2740         * gst/gstelement.c:
2741         * gst/gstevent.h:
2742           added 100 symbols from gstreamer-unused.txt to the right sections
2743           fixed more broken comments
2744           added GstBus to docs
2745
2746 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2747
2748         * docs/gst/gstreamer-sections.txt:
2749         * docs/gst/tmpl/.cvsignore:
2750         * docs/gst/tmpl/gstbin.sgml:
2751         * docs/gst/tmpl/gstbuffer.sgml:
2752         * gst/base/gstbasesrc.c:
2753         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2754         * gst/gstbuffer.c:
2755         * gst/gstbuffer.h:
2756         * tools/gst-launch.1.in:
2757           inlined more doc comments, added missing comments and fixed comments
2758           fixed typos
2759
2760 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2761
2762         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2763           some debugging
2764         * gst/gstcaps.h:
2765           whitespace fixes
2766         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2767           more debugging
2768         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2769         * gst/gststructure.h:
2770           add a fixate function for booleans; add a FIXME that these func
2771           names should probably be gst_structure_fixate_*
2772
2773 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2774
2775         * docs/gst/gstreamer-docs.sgml:
2776         * docs/gst/gstreamer-sections.txt:
2777         * gst/Makefile.am:
2778         * gst/gstbin.c: (gst_bin_get_type),
2779         (gst_bin_child_proxy_get_child_by_index),
2780         (gst_bin_child_proxy_get_children_count),
2781         (gst_bin_child_proxy_init):
2782         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2783         (gst_child_proxy_get_child_by_index),
2784         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2785         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2786         (gst_child_proxy_get), (gst_child_proxy_set_property),
2787         (gst_child_proxy_set_valist), (gst_child_proxy_set),
2788         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2789         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2790         * gst/gstchildproxy.h:
2791         * gst/parse/grammar.y:
2792         * tools/gst-inspect.c: (print_interfaces),
2793         (print_element_properties_info), (print_element_info):
2794           ported gstchildproxy over from 0.8
2795           ported gst-inspect fixes and enhancements over from 0.8
2796
2797 2005-08-22  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2800         (gst_base_transform_handle_buffer):
2801         Also call the transform function if we have ANY caps.
2802
2803         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2804         Fix debug info.
2805
2806 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2807
2808         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2809           Don't pretend to handle seek events if the source is not seekable
2810
2811 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2812
2813         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2814           Remove extra parameter to debug output
2815
2816         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2817         (gst_base_src_do_seek), (gst_base_src_activate_push):
2818           Fix seek event handling.
2819
2820         * gst/gstpipeline.c: (gst_pipeline_change_state):
2821         * gst/gstqueue.c: (gst_queue_handle_sink_event),
2822         (gst_queue_src_activate_push):
2823           Don't start the src pad task on FLUSH_STOP if the pad
2824           isn't linked.
2825           Debug changes.
2826
2827 2005-08-22  Wim Taymans  <wim@fluendo.com>
2828
2829         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2830         Added check for gst_static_caps_get() refcounting.
2831
2832 2005-08-22  Wim Taymans  <wim@fluendo.com>
2833
2834         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2835         Make _static_caps_get() refcounting sane.
2836         
2837         * gst/gstelement.c: (gst_element_set_state):
2838         Add g_return_val_if_fail() to protect against segfaults.
2839
2840 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
2841
2842         * docs/gst/tmpl/gstevent.sgml:
2843         * gst/gstevent.c:
2844         * gst/gstevent.h:
2845           inlined remaining docs, added missing doc comments
2846
2847 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2848
2849         * check/gst/gstbin.c: (GST_START_TEST):
2850           since we don't know when preroll is done, use refcount range
2851           check for the sink
2852         * gst/check/gstcheck.h:
2853           add macro for checking refcount range
2854
2855 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2856
2857         * check/Makefile.am:
2858           clean up environment for when registry gets built versus
2859           when actual tests are run; valgrind seems to not report
2860           leaks if GST_PLUGIN_PATH is set to some specific values
2861         * check/gst/gstbin.c: (GST_START_TEST):
2862           add more refcounting checks; maybe this exposes a
2863           preroll lock bug ?
2864         * common/check.mak:
2865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2866         * gst/check/gstcheck.h:
2867         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2868         (gst_bin_change_state):
2869         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2870           add/fix debugging/whitespace
2871
2872 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2873
2874         * check/gst/gstevent.c: (event_probe), (test_event),
2875         (GST_START_TEST):
2876          Er, don't call gst_bin_watch_for_state_change you idiot.
2877
2878 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2879
2880         * check/Makefile.am:
2881           Use CHECK_CFLAGS and CHECK_LIBS
2882         * check/gst/gstevent.c: (event_probe), (test_event),
2883         (GST_START_TEST):
2884           Don't leak events.
2885         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2886         (gst_base_src_start), (gst_base_src_stop),
2887         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2888         (gst_base_src_change_state):
2889           Sprinkle gst_base_src_stop liberally around error paths to fix
2890           problems reusing a source after failed state changes.
2891         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2892         (helper_find_suggest), (gst_type_find_helper):
2893           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2894         * gst/gstevent.h:
2895         * docs/gst/tmpl/gstevent.sgml:
2896           Migrate part of the docs from the SGML file. Wait for ensonic to
2897           tell me how I did it wrong ;)
2898         * tools/gst-typefind.c: (main):
2899           Extra robustness to state changes between files.
2900
2901 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2902
2903         * check/Makefile.am:
2904           don't valgrind the controller test - it's leaking - Stefan, HELP
2905         * gst/check/gstcheck.c: (gst_check_message_error),
2906         (gst_check_chain_func), (gst_check_setup_element),
2907         (gst_check_teardown_element), (gst_check_setup_src_pad),
2908         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2909         (gst_check_teardown_sink_pad):
2910         * gst/check/gstcheck.h:
2911           add a bunch of methods to set up elements, and src and sink pads
2912         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2913         * check/elements/identity.c: (setup_identity), (cleanup_identity),
2914         (GST_START_TEST):
2915           use them
2916         * gst/gstmessage.c:
2917         * gst/gsttag.h:
2918           whitespace/doc fixes
2919
2920 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2921
2922         * gst/gstelement.h:
2923           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2924           be handled by the application and not always printed as well
2925
2926 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2927
2928         * check/Makefile.am:
2929           set GST_TOOLS_DIR
2930         * gst/check/gstcheck.c: (gst_check_message_error):
2931         * gst/check/gstcheck.h:
2932           add a fail_unless_equals_int
2933           add fail_unless for error messages
2934
2935 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2936
2937         * check/Makefile.am:
2938         * check/gst.supp:
2939         * common/Makefile.am:
2940         * common/check.mak:
2941         * common/gst.supp:
2942           factor out some of the common stuff so we can use it
2943
2944 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2945
2946         * check/Makefile.am:
2947         * check/gst/gstiterator.c: (GST_START_TEST):
2948         * check/gst/gstsystemclock.c: (GST_START_TEST),
2949         (gst_systemclock_suite):
2950         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2951         * gst/gstclock.c:
2952           valgrind more tests
2953
2954 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2955
2956         * check/elements/.cvsignore:
2957         * check/elements/gstfakesrc.c:
2958           rename to name of element
2959         * check/elements/identity.c: (chain_func), (event_func),
2960         (setup_identity), (cleanup_identity), (GST_START_TEST),
2961         (identity_suite), (main):
2962           add a test for identity
2963         * check/Makefile.am:
2964         * pkgconfig/Makefile.am:
2965         * pkgconfig/gstreamer-check.pc.in:
2966         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2967         * gst/check:
2968         * gst/Makefile.am:
2969         * configure.ac:
2970           move the check stuff to a library that gets installed
2971         * check/gst-libs/controller.c: (GST_START_TEST):
2972         * check/gst-libs/gdp.c:
2973         * check/gst/gst.c: (GST_START_TEST):
2974         * check/gst/gstbin.c:
2975         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2976         * check/gst/gstbus.c:
2977         * check/gst/gstcaps.c: (GST_START_TEST):
2978         * check/gst/gstelement.c:
2979         * check/gst/gstghostpad.c:
2980         * check/gst/gstiterator.c:
2981         * check/gst/gstmessage.c:
2982         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2983         * check/gst/gstobject.c:
2984         * check/gst/gstpad.c: (GST_START_TEST):
2985         * check/gst/gststructure.c: (GST_START_TEST):
2986         * check/gst/gstsystemclock.c: (GST_START_TEST),
2987         (gst_systemclock_suite):
2988         * check/gst/gsttag.c: (gst_tag_suite):
2989         * check/gst/gstvalue.c:
2990         * check/pipelines/cleanup.c:
2991         * check/pipelines/simple_launch_lines.c:
2992         * check/states/sinks.c:
2993           change include statement
2994
2995         * docs/gst/gstreamer-sections.txt:
2996         * docs/gst/tmpl/gstpad.sgml:
2997           document more pad stuff
2998         * gst/gstminiobject.c: (gst_mini_object_ref),
2999         (gst_mini_object_unref):
3000           debug refcounting
3001
3002 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
3003
3004         * docs/gst/tmpl/gst.sgml:
3005         * gst/gst.c:
3006           eliminate another tmpl file, fix spelling in the long-description
3007
3008 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3009
3010         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3011         (test_event), (timediff), (gstevents_suite):
3012           Should fix build on 64-bit arch's
3013
3014 2005-08-18  Andy Wingo  <wingo@pobox.com>
3015
3016         Make sure that when a pipeline goes to PLAYING, that data has
3017         actually hit the sink.
3018
3019         * check/states/sinks.c (test_sink): A sink that doesn't get any
3020         data shouldn't return SUCCESS for going to either PLAYING or
3021         PAUSED. Test also the return values on the way back down.
3022
3023         * gst/gstelement.c (gst_element_set_state): When changing the
3024         state of an element currently changing state asynchronously, go to
3025         lost-state after commiting the pending state. Makes future calls
3026         to get_state continue to return ASYNC.
3027
3028         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3029         ASYNC when going to PLAYING if we still don't have preroll, as can
3030         happen with live sources.
3031
3032 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3033
3034         * docs/pwg/advanced-types.xml:
3035           Hack long paragraph into 2 chunks as a workaround for buggy
3036           jadetex version in sid and breezy that loops infinitely and
3037           eats all RAM.
3038
3039 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3040
3041         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3042         (test_event), (timediff), (gstevents_suite):
3043           Provide more error margin in clock measurements to allow for 
3044           g_get_current_time inaccuracies.
3045
3046 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3047
3048         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3049         (test_event), (timediff), (gstevents_suite):
3050            Fix error message output so I might be able to tell why the
3051            test works here but fails on the build farm.
3052
3053 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3054
3055         * check/Makefile.am:
3056         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3057         (test_event), (timediff), (gstevents_suite), (main):
3058           I wrote a test!
3059
3060         * docs/design/part-seeking.txt:
3061           Spelling correction
3062
3063         * docs/gst/tmpl/gstevent.sgml:
3064         * docs/gst/tmpl/gstfakesrc.sgml:
3065           Docs updates.
3066
3067         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3068           Treat a buffer-without-newsegment the same as a receiving 
3069           a newsegment not in time format, and disable syncing to the clock
3070           with a warning.
3071
3072         * gst/gstbus.c: (gst_bus_set_sync_handler):
3073           Assert if anyone tries to replace the existing sync_handler for bus, 
3074           as only the owner should be setting it.
3075
3076         * gst/gstevent.h:
3077           Have a fixed set of custom event enums with events identified by
3078           their structure name (as in 0.8), rather than a free-for-all
3079           allowing collisions between enum values from different plugins.
3080
3081         * gst/gstpad.c: (gst_pad_class_init):
3082           Docs change.
3083           
3084         * gst/gstqueue.c: (gst_queue_handle_sink_event):
3085           Handle out-of-band downstream events from the sending thread.
3086
3087 2005-08-17  Andy Wingo  <wingo@pobox.com>
3088
3089         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3090         play-timeout==0 to mean no timeout at all. In that case, don't
3091         bother with a get_state or a warning, just return directly, even
3092         if it's ASYNC.
3093
3094         * gst/base/gstbasetransform.c: Debug changes.
3095
3096         * gst/gstutils.h:
3097         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3098         ensure bins post state change messages. A bit of a hack but I can't
3099         think of a way to avoid it.
3100
3101         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3102
3103 2005-08-16  Andy Wingo  <wingo@pobox.com>
3104
3105         * gst/base/gstadapter.h:
3106         * gst/base/gstadapter.c (gst_adapter_take): New function, like
3107         peek() but you own the data. Not terribly efficient atm.
3108
3109 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3110
3111         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3112         (gst_element_found_tags):
3113         * gst/gstutils.h:
3114           Add two utility functions for tag handling.
3115
3116 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3117
3118         * docs/manual/advanced-dataaccess.xml:
3119         * docs/manual/basics-helloworld.xml:
3120           Fix docs to use _bin_add() before _link(), which fixes the examples
3121           with recent core versions (reported by Madhan Raj M
3122           <raj_madan@rediffmail.com>, #313199).
3123
3124 2005-08-16  Wim Taymans  <wim@fluendo.com>
3125
3126         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3127         Added subtract checks.
3128
3129         * docs/design/part-events.txt:
3130         Some more docs about newsegment
3131
3132         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3133         Fix FIXME
3134
3135         * gst/gstcaps.c: (gst_caps_to_string):
3136         Add comments, cleanups.
3137         
3138         * gst/gstelement.c: (gst_element_save_thyself):
3139         cleanups
3140         
3141         * gst/gstvalue.c: (gst_value_collect_int_range),
3142         (gst_string_unwrap), (gst_value_union_int_int_range),
3143         (gst_value_union_int_range_int_range),
3144         (gst_value_intersect_int_int_range),
3145         (gst_value_intersect_int_range_int_range),
3146         (gst_value_intersect_double_double_range),
3147         (gst_value_intersect_double_range_double_range),
3148         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3149         (gst_value_subtract_int_range_int),
3150         (gst_value_subtract_double_range_double),
3151         (gst_value_subtract_double_range_double_range),
3152         (gst_value_subtract_from_list), (gst_value_subtract_list),
3153         (gst_value_can_compare), (gst_value_compare_fraction):
3154         Cleanups, add comments, remove unneeded asserts.
3155
3156 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3157
3158         * tools/gst-launch.c: (event_loop):
3159           don't convert NULL structures to strings
3160
3161 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
3162
3163         * docs/gst/gstreamer-sections.txt:
3164           made some defines private
3165         * docs/gst/tmpl/gstconfig.sgml:
3166         * docs/gst/tmpl/gstqueue.sgml:
3167         * docs/gst/tmpl/gsttaglist.sgml:
3168         * docs/gst/tmpl/gsttypes.sgml:
3169         * docs/gst/tmpl/gstutils.sgml:
3170         * docs/pwg/appendix-porting.xml:
3171         * gst/base/gstbasesink.h:
3172         * gst/base/gstbasesrc.c:
3173         * gst/base/gstbasesrc.h:
3174         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3175         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3176         * gst/gstelement.c: (gst_element_class_init):
3177         * gst/gstpad.c: (gst_pad_class_init):
3178         * gst/gstqueue.c: (gst_queue_class_init):
3179         * gst/gstxml.c: (gst_xml_class_init):
3180           documented all undocumented signal inline
3181         * libs/gst/controller/gst-controller.h:
3182           added padding
3183
3184 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3185
3186         * docs/pwg/appendix-porting.xml:
3187           Document _set_link_function -> _set_setcaps_function.
3188
3189 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3190
3191         * check/Makefile.am:
3192           add a .check target for running the check
3193         * check/gst-libs/controller.c: (GST_START_TEST):
3194           cosmetic fixups
3195         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3196           complete checks for gstbuffer; would be nice if I could get the
3197           gcov stuff to work so I can see if I actually completed gstbuffer.c
3198         * check/gstcheck.h:
3199           add ASSERT_BUFFER_REFCOUNT
3200
3201 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
3202
3203         * docs/gst/gstreamer-sections.txt:
3204         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3205         * gst/gsttag.h:
3206           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3207           spew out a warning if a tag that is already registered
3208           is re-registered, unless it is re-registered with a 
3209           different type (#308438).
3210
3211 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
3212
3213         * docs/pwg/appendix-porting.xml:
3214         * docs/pwg/building-state.xml:
3215           Add some paragraphs about state changes in 0.9 to the PWG
3216           and the porting guide, in particular about the new meaning
3217           of GST_STATE_PAUSED and how to write state change functions
3218           with concurrent access by multiple threads in mind.
3219
3220 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
3221
3222         * docs/gst/gstreamer-docs.sgml:
3223         * docs/libs/gstreamer-libs-docs.sgml:
3224           added deprecation and since indexes
3225         * libs/gst/controller/gst-controller.c:
3226         * libs/gst/controller/gst-helper.c:
3227           added since tags
3228
3229
3230 2005-08-11  Wim Taymans  <wim@fluendo.com>
3231
3232         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3233         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3234         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3235         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3236         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3237         (gst_ghost_pad_set_target):
3238         Actually implement (re)setting the target on a ghostpad
3239         as described in the docs.
3240
3241 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3242
3243         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3244           Check whether GST_DEBUG_NO_COLOR environment variable is
3245           set and disable coloured debug output if that is the case.
3246
3247 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3248
3249         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3250         (gst_type_find_helper):
3251           The memory returned by gst_type_find_peek() needs to
3252           stay valid until the end of a typefind function, and
3253           typefind functions may keep results from different 
3254           offsets around, so we can't just unref the buffer from
3255           the previous _peek(), but have to save all buffers 
3256           returned by _peek() until typefinding is done and only
3257           free them then.
3258
3259 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * docs/gst/gstreamer-sections.txt:
3262         * gst/gstutils.h:
3263           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3264
3265 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3266
3267         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3268           Fix a pretty good memleak.
3269
3270 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3271
3272         * gst/gstiterator.h:
3273           Fix wrong include and 'make distcheck'.
3274
3275 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3276
3277         * gst/gstbin.c: (bin_bus_handler):
3278           Use gst_element_post_message() instead.
3279
3280 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3281
3282         * gst/base/gstadapter.h:
3283         * gst/base/gstbasesink.h:
3284         * gst/base/gstbasesrc.h:
3285         * gst/base/gstbasetransform.h:
3286         * gst/base/gstcollectpads.h:
3287         * gst/base/gstpushsrc.h:
3288         * gst/gstiterator.h:
3289           Add padding to our base elements' class and instance structs and
3290           to GstIterator (you will need to rebuild all plugins and apps!)
3291
3292 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3293
3294         * gst/gstbin.c: (bin_bus_handler):
3295           Make default message forwarding from child->bus to bin->bus
3296           threadsafe and make it not emit warnings if the parent has no bus.
3297
3298 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3299
3300         * gst/gstelement.c: (activate_pads):
3301           On paused->ready, set pad->caps to NULL, as is the documented
3302           behaviour in this state change. Fixes playback of series of
3303           media files when visualization is enabled in Totem.
3304
3305 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3306
3307         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3308           Allow NULL as filter-caps (which means "any").
3309
3310 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * docs/libs/gstreamer-libs-sections.txt:
3313         * libs/gst/controller/gst-controller.c:
3314         * libs/gst/controller/gst-controller.h:
3315         * libs/gst/controller/gst-helper.c:
3316           adding more entries to the docs and fix small doc-bugs
3317
3318 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3319
3320         * docs/gst/gstreamer-docs.sgml:
3321         * docs/gst/gstreamer-sections.txt:
3322         * docs/gst/gstreamer.types:
3323         * docs/gst/tmpl/gstbasesink.sgml:
3324         * docs/gst/tmpl/gstbasesrc.sgml:
3325         * docs/gst/tmpl/gstbasetransform.sgml:
3326         * docs/gst/tmpl/gstfakesrc.sgml:
3327         * gst/base/gstcollectpads.c:
3328         * gst/base/gstcollectpads.h:
3329         * libs/gst/controller/gst-controller.c:
3330         * libs/gst/controller/gst-controller.h:
3331         * libs/gst/controller/gst-helper.c:
3332         * libs/gst/controller/gst-interpolation.c:
3333         * libs/gst/controller/lib.c:
3334           added long/short desc for controller docs
3335           added collectpads base class docs
3336           added correct includes to base-class docs
3337
3338 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3339
3340         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3341         (gst_test_mono_source_set_property),
3342         (gst_test_mono_source_class_init), (GST_START_TEST),
3343         (gst_controller_suite):
3344         * docs/gst/gstreamer-docs.sgml:
3345         * docs/gst/gstreamer-sections.txt:
3346         * docs/gst/gstreamer.types:
3347         * docs/libs/gstreamer-libs-docs.sgml:
3348         * docs/libs/gstreamer-libs-sections.txt:
3349         * gst/base/gstadapter.c:
3350         * libs/gst/controller/gst-controller.c:
3351         (gst_controlled_property_new), (gst_controlled_property_free),
3352         (gst_controller_new_valist),
3353         (gst_controller_remove_properties_valist),
3354         (gst_controller_sink_values), (_gst_controller_finalize):
3355         * libs/gst/controller/gst-controller.h:
3356         * libs/gst/controller/gst-helper.c:
3357         (gst_object_control_properties), (gst_object_uncontrol_properties),
3358         (gst_object_get_controller), (gst_object_set_controller),
3359         (gst_object_sink_values), (gst_object_get_value_arrays),
3360         (gst_object_get_value_array):
3361           more tests (and fixes) for the controller
3362           more docs for the controller
3363           integrated companies docs for the adapter 
3364
3365 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3366
3367         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3368         (GST_START_TEST), (fakesrc_suite):
3369           add tests for sizetype
3370
3371 2005-08-04  Andy Wingo  <wingo@pobox.com>
3372
3373         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3374         fixes buffer_alloc proxying among other things.
3375
3376         * gst/base/gstbasetransform.c:
3377         * gst/base/gstbasetransform.h:
3378         Revert patch to gstbasetransform from 7-28 removing
3379         delay_configure.
3380
3381         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3382         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3383         Semantics changed, should return not the size of the output buffer
3384         but the byte size of a buffer with a given caps.
3385
3386         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3387         debug object.
3388         (gst_base_transform_configure_caps): Don't set out_size here: (in,
3389         out) are not the pad caps until setcaps finishes.
3390         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3391         not-in-place case as well. Deal with changing from in-place to
3392         not-in-place within calling pad_alloc_buffer. Still a bit
3393         concerned about the overhead here...
3394
3395 2005-08-03  Andy Wingo  <wingo@pobox.com>
3396
3397         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3398         fixating is an error.
3399
3400 2005-08-04  Edward Hervey  <edward@fluendo.com>
3401
3402         * gst/base/gstadapter.h: 
3403         Added gst_adapter_get_type() to the header
3404
3405 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * check/Makefile.am:
3408         * check/gst-libs/controller.c:
3409         * libs/gst/controller/gst-controller.c:
3410         (gst_controller_new_valist):
3411           added check test suite for the controller
3412         * gst/base/gstpushsrc.c:
3413           fixed a doc typo
3414
3415 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * docs/gst/Makefile.am:
3418         * docs/gst/gstreamer-docs.sgml:
3419         * docs/gst/gstreamer-sections.txt:
3420         * docs/gst/gstreamer.types:
3421         * docs/gst/tmpl/gstfakesrc.sgml:
3422         * gst/base/README:
3423         * gst/base/gstbasesink.c:
3424         * gst/base/gstbasesink.h:
3425         * gst/base/gstbasesrc.c:
3426         * gst/base/gstbasesrc.h:
3427         * gst/base/gstbasetransform.c:
3428         * gst/base/gstpushsrc.c:
3429         * gst/base/gstpushsrc.h:
3430           add short/long description docs to base classes
3431           add pushsrc to the docs
3432           remove consolidated doc fragments
3433
3434 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3435
3436         * configure.ac:
3437         * docs/libs/Makefile.am:
3438         * docs/libs/gstreamer-libs-docs.sgml:
3439         * docs/libs/gstreamer-libs-sections.txt:
3440         * docs/libs/gstreamer-libs.types:
3441         * examples/Makefile.am:
3442         * examples/controller/.cvsignore:
3443         * examples/controller/Makefile.am:
3444         * examples/controller/audio-example.c: (main):
3445         * libs/gst/Makefile.am:
3446         * libs/gst/controller/.cvsignore:
3447         * libs/gst/controller/Makefile.am:
3448         * libs/gst/controller/gst-controller.c:
3449         (on_object_controlled_property_changed), (gst_timed_value_compare),
3450         (gst_timed_value_find),
3451         (gst_controlled_property_set_interpolation_mode),
3452         (gst_controlled_property_new), (gst_controlled_property_free),
3453         (gst_controller_find_controlled_property),
3454         (gst_controller_new_valist), (gst_controller_new),
3455         (gst_controller_remove_properties_valist),
3456         (gst_controller_remove_properties), (gst_controller_set),
3457         (gst_controller_set_from_list), (gst_controller_unset),
3458         (gst_controller_get), (gst_controller_get_all),
3459         (gst_controller_sink_values), (gst_controller_get_value_arrays),
3460         (gst_controller_get_value_array),
3461         (gst_controller_set_interpolation_mode),
3462         (_gst_controller_finalize), (_gst_controller_init),
3463         (_gst_controller_class_init), (gst_controller_get_type):
3464         * libs/gst/controller/gst-controller.h:
3465         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3466         (g_object_uncontrol_properties), (g_object_get_controller),
3467         (g_object_set_controller), (g_object_sink_values),
3468         (g_object_get_value_arrays), (g_object_get_value_array):
3469         * libs/gst/controller/gst-interpolation.c:
3470         (gst_controlled_property_find_timed_value_node),
3471         (interpolate_none_get), (interpolate_trigger_get),
3472         (interpolate_trigger_get_value_array):
3473         * libs/gst/controller/lib.c: (gst_controller_init):
3474         * pkgconfig/Makefile.am:
3475         * pkgconfig/gstreamer-control-uninstalled.pc.in:
3476         * pkgconfig/gstreamer-control.pc.in:
3477         * testsuite/Makefile.am:
3478         * testsuite/controller/.cvsignore:
3479         * testsuite/controller/Makefile.am:
3480         * testsuite/controller/interpolator.c: (main):
3481           added controller code
3482           removed dparam pc files
3483
3484 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3485         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3486         (gst_collectpads_stop):
3487           Broadcast the condition when shutting down, to make sure we wake all
3488           threads up. Shut down pads on finalize, for safety.
3489
3490 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3491         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3492         (gst_base_transform_handle_buffer),
3493         (gst_base_transform_change_state):
3494           Handle PAUSED->READY->PAUSED transition after negotiation
3495           occurred already.
3496         * gst/gstmessage.c: (gst_message_init):
3497           Extra piece of debug for new messages.
3498
3499 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
3500
3501         * configure.ac:
3502         * docs/gst/tmpl/gstbasesrc.sgml:
3503         * docs/gst/tmpl/gstelement.sgml:
3504         * docs/gst/tmpl/gstevent.sgml:
3505         * docs/gst/tmpl/gstfakesrc.sgml:
3506         * docs/gst/tmpl/gstformat.sgml:
3507         * docs/gst/tmpl/gstghostpad.sgml:
3508         * docs/gst/tmpl/gstpad.sgml:
3509         * docs/gst/tmpl/gstquery.sgml:
3510         * docs/gst/tmpl/gststructure.sgml:
3511         * docs/gst/tmpl/gsttaglist.sgml:
3512         * docs/gst/tmpl/gstvalue.sgml:
3513         * docs/libs/gstreamer-libs-docs.sgml:
3514         * docs/libs/gstreamer-libs-sections.txt:
3515         * docs/libs/gstreamer-libs.types:
3516         * libs/gst/Makefile.am:
3517         * libs/gst/control/.cvsignore:
3518         * libs/gst/control/Makefile.am:
3519         * libs/gst/control/control.c:
3520         * libs/gst/control/control.h:
3521         * libs/gst/control/dparam.c:
3522         * libs/gst/control/dparam.h:
3523         * libs/gst/control/dparam_smooth.c:
3524         * libs/gst/control/dparam_smooth.h:
3525         * libs/gst/control/dparamcommon.h:
3526         * libs/gst/control/dparammanager.c:
3527         * libs/gst/control/dparammanager.h:
3528         * libs/gst/control/dplinearinterp.c:
3529         * libs/gst/control/dplinearinterp.h:
3530         * libs/gst/control/unitconvert.c:
3531         * libs/gst/control/unitconvert.h:
3532         * testsuite/Makefile.am:
3533         * testsuite/dynparams/.cvsignore:
3534         * testsuite/dynparams/Makefile.am:
3535         * testsuite/dynparams/dparamstest.c:
3536         * tools/Makefile.am:
3537         * tools/gst-inspect.c: (print_element_info), (main):
3538         * tools/gst-xmlinspect.c: (print_element_info), (main):
3539           deactivate and remove dparams (libgstcontrol)
3540
3541 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3542
3543         * gst/elements/gsttypefindelement.c:
3544         (gst_type_find_element_have_type), (gst_type_find_element_init),
3545         (stop_typefinding), (gst_type_find_element_handle_event),
3546         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3547         * gst/elements/gsttypefindelement.h:
3548           Set caps on all outgoing buffers, not just the first one.
3549
3550 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3551
3552         * gst/elements/gsttypefindelement.c:
3553         (gst_type_find_element_have_type),
3554         (gst_type_find_element_check_set_buffer_caps),
3555         (gst_type_find_element_init), (stop_typefinding),
3556         (gst_type_find_element_handle_event),
3557         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3558         * gst/elements/gsttypefindelement.h:
3559           Set caps on first outgoing buffer when we've found the type.
3560
3561 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3562
3563         * docs/gst/gstreamer-docs.sgml:
3564         * docs/gst/gstreamer-sections.txt:
3565         * docs/gst/tmpl/gstscheduler.sgml:
3566         * docs/gst/tmpl/gstschedulerfactory.sgml:
3567           Remove some old cruft from docs.
3568
3569 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         * gst/gstpad.h:
3572           Fix inline docs for GstPadLinkReturn.
3573           
3574         * gst/gststructure.c: (gst_structure_has_name):
3575         * gst/gststructure.h:
3576         * docs/gst/gstreamer-sections.txt:
3577           New API: gst_structure_has_name().
3578
3579 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * configure.ac:
3582           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3583           and _LARGEFILE_SOURCE in config.h as required. Do not 
3584           export those flags in our .pc files any longer (#142209).
3585
3586           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3587
3588         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3589         (gst_file_sink_do_seek), (gst_file_sink_event),
3590         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3591           Redo seek/tell calls with large file support in mind; add some
3592           debugging messages; add log message that tells us when large
3593           file support is unavailable or not enabled for some reason.
3594
3595         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3596           Add log message that tells us when large file support 
3597           is unavailable or not enabled for some reason.
3598
3599 2005-07-29  Wim Taymans  <wim@fluendo.com>
3600
3601         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3602         Added test for removing an element with ghostpad from a bin.
3603         Fixed test as current implementation does the right thing.
3604
3605         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3606         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3607         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3608         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3609         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3610         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3611         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3612         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3613         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3614         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3615         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3616         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3617         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3618         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3619         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3620         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3621         * gst/gstghostpad.h:
3622         Clean up ghostpads, remove properties for internal stuff.
3623         Make threadsafe.
3624         Fix refcounting.
3625         Prepare for switching targets, not all use cases work yet.
3626
3627 2005-07-29  Wim Taymans  <wim@fluendo.com>
3628
3629         * docs/design/part-gstghostpad.txt:
3630         Small update.
3631
3632         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3633         (gst_bin_remove_func):
3634         Unlinking pads while holding the bin LOCK is not a good
3635         idea.
3636
3637         * gst/gstpad.c: (gst_pad_class_init),
3638         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3639         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3640         No prob setting template after creating the pad.
3641
3642 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
3643
3644         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3645         (gst_bus_peek), (gst_bus_source_dispatch),
3646         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3647         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3648           gst_bus_poll may be called from other threads. Handle
3649           this nicely by not making poll_data disappear off the
3650           stack once gst_bus_poll returns.
3651           gst_bus_peek now increments the refcount on the returned
3652           message.
3653
3654 2005-07-29  Wim Taymans  <wim@fluendo.com>
3655
3656         * docs/design/part-gstghostpad.txt:
3657         Overview of current GhostPad datastructures and use
3658         cases for changing the target.
3659
3660 2005-07-28  Wim Taymans  <wim@fluendo.com>
3661
3662         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3663         Added checks for hierarchy consistency whan adding linked
3664         elements to bins.
3665
3666         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3667         Added check to test element scheduling without bin/pipeline.
3668
3669         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3670         First add elements to bin, then link.
3671         
3672         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3673         (gst_bin_remove_func):
3674         Unlink pads from elements added/removed from bin to maintain
3675         hierarchy consistency.
3676
3677 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3678
3679         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3680         (gst_base_transform_handle_buffer):
3681         * gst/base/gstbasetransform.h:
3682           Remove broken delay_configure (fixes renegotiation of software
3683           scaling pipelines); remove some leftover printf()s.
3684
3685 2005-07-28  Wim Taymans  <wim@fluendo.com>
3686
3687         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3688         Added some more tests for wrong hierarchy
3689
3690         * docs/design/part-overview.txt:
3691         Some updates.
3692
3693         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3694         Cleanups.
3695
3696         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3697         (gst_element_dispose):
3698         Some more cleanups.
3699
3700         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3701         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3702         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3703         (gst_pad_set_caps), (gst_pad_send_event):
3704         Check for correct hierarchy when linking pads. Moving to
3705         strict requirement for ghostpads when linking elements in
3706         different bins.
3707
3708         * gst/gstpad.h:
3709         Clean ups. Added WRONG_HIERARCHY return value.
3710
3711 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3712
3713         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3714           Better debug if no transform is possible.
3715
3716 2005-07-27  Wim Taymans  <wim@fluendo.com>
3717
3718         * docs/random/wtay/network-transp:
3719         Some old doc I had.
3720
3721 2005-07-27  Wim Taymans  <wim@fluendo.com>
3722
3723         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3724         (gst_dp_event_from_packet):
3725         Fix serialization of seek events.
3726
3727 2005-07-27  Wim Taymans  <wim@fluendo.com>
3728
3729         * check/gst-libs/gdp.c: (GST_START_TEST):
3730         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3731         Fix compilation and fix event serialization.
3732
3733 2005-07-27  Wim Taymans  <wim@fluendo.com>
3734
3735         * CHANGES-0.9:
3736         * docs/design/part-TODO.txt:
3737         * docs/design/part-events.txt:
3738         Some docs updates
3739
3740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3741         (gst_base_sink_event), (gst_base_sink_do_sync),
3742         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3743         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3744         (gst_base_src_do_seek), (gst_base_src_event_handler),
3745         (gst_base_src_loop):
3746         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3747         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3748         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3749         (gst_base_transform_event), (gst_base_transform_handle_buffer),
3750         (gst_base_transform_set_passthrough),
3751         (gst_base_transform_is_passthrough):
3752         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3753         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3754         Event updates.
3755
3756         * gst/gstbuffer.h:
3757         Use faster casts.
3758
3759         * gst/gstelement.c: (gst_element_seek):
3760         * gst/gstelement.h:
3761         Update gst_element_seek.
3762
3763         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3764         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3765         (gst_event_new_flush_start), (gst_event_new_flush_stop),
3766         (gst_event_new_eos), (gst_event_new_newsegment),
3767         (gst_event_parse_newsegment), (gst_event_new_tag),
3768         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3769         (gst_event_parse_qos), (gst_event_new_seek),
3770         (gst_event_parse_seek), (gst_event_new_navigation):
3771         * gst/gstevent.h:
3772         Make GstEvent use GstStructure. Add parsing code, make sure the
3773         API is sufficiently generic.
3774         Mark possible directions of events and serialization.
3775
3776         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3777         (_gst_message_copy), (gst_message_new_segment_start),
3778         (gst_message_new_segment_done), (gst_message_new_custom),
3779         (gst_message_parse_segment_start),
3780         (gst_message_parse_segment_done):
3781         Small cleanups.
3782
3783         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3784         (gst_pad_set_caps), (gst_pad_send_event):
3785         Update for new events. 
3786         Catch events sent in wrong directions.
3787
3788         * gst/gstqueue.c: (gst_queue_link_src),
3789         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3790         (gst_queue_handle_src_query):
3791         Event updates.
3792
3793         * gst/gsttag.c:
3794         * gst/gsttag.h:
3795         Remove event code from this file.
3796
3797         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3798         (gst_dp_event_from_packet):
3799         Event updates.
3800
3801 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3802
3803         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3804         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3805         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3806           Make debugging actually useful.
3807
3808 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3809
3810         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3811         (gst_pad_fixate_caps):
3812           Implement default fixation once again, so that gst_pad_fixate()
3813           actually does anything at all. This probably needs to be some
3814           sort of a last resort, and use profile-based fixation first, but
3815           since that doesn't exist yet, this is the best we have. Fixes
3816           visualization in Totem.
3817
3818 2005-07-22  Wim Taymans  <wim@fluendo.com>
3819
3820         * docs/design/part-events.txt:
3821         Small update.
3822
3823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3824         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3825         (gst_base_sink_activate_pull):
3826         Some more comments.
3827
3828         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3829         (gst_fake_src_create):
3830         Fix handoff marshall.
3831
3832         * gst/elements/gstidentity.c: (gst_identity_class_init),
3833         (gst_identity_transform_ip):
3834         We're a real inplace element.
3835
3836         * gst/gstbus.c: (gst_bus_post):
3837         Added some comments.
3838
3839         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3840         * tests/muxing/case1.c: (main):
3841         * tests/sched/dynamic-pipeline.c: (main):
3842         * tests/sched/interrupt1.c: (main):
3843         * tests/sched/interrupt2.c: (main):
3844         * tests/sched/interrupt3.c: (main):
3845         * tests/sched/runxml.c: (main):
3846         * tests/sched/sched-stress.c: (main):
3847         * tests/seeking/seeking1.c: (event_received), (main):
3848         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3849         (main):
3850         * tests/threadstate/threadstate3.c: (main):
3851         * tests/threadstate/threadstate4.c: (main):
3852         * tests/threadstate/threadstate5.c: (main):
3853         Fix the tests.
3854
3855 2005-07-21  Wim Taymans  <wim@fluendo.com>
3856
3857         * docs/design/part-seeking.txt:
3858         Some small additions.
3859
3860         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3861         (gst_base_sink_get_times), (gst_base_sink_do_sync),
3862         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3863         * gst/base/gstbasesink.h:
3864         discont values are gint64, handle the math correctly.
3865
3866         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3867         Make the basesrc report error if the source pad is not linked.
3868
3869         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3870         (gst_queue_loop), (gst_queue_handle_src_query),
3871         (gst_queue_src_activate_push):
3872         Make queue collect data even if the srcpad is not linked.
3873         Start pushing out data as soon as it is linked.
3874
3875         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3876         * gst/gstutils.h:
3877         Added gst_flow_get_name() to ease error reporting.
3878
3879 2005-07-20  Wim Taymans  <wim@fluendo.com>
3880
3881         * gst/gstmessage.c: (gst_message_new_segment_start),
3882         (gst_message_new_segment_done), (gst_message_parse_segment_start),
3883         (gst_message_parse_segment_done):
3884         * gst/gstmessage.h:
3885         Added a bunch of messages for advanced seeking.
3886
3887         * gst/parse/grammar.y:
3888         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3889         (gst_dpman_state_changed):
3890         Fix some new-pad -> pad-added signals
3891
3892 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3893
3894         * docs/manual/appendix-porting.xml:
3895         * docs/pwg/appendix-porting.xml:
3896           Document new-pad/state-change signal renames and the FixedList
3897           type rename.
3898
3899 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3900
3901         * docs/manual/advanced-autoplugging.xml:
3902         * docs/manual/basics-helloworld.xml:
3903         * docs/manual/basics-pads.xml:
3904         * docs/random/ds/0.9-suggested-changes:
3905         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3906         * gst/gstelement.h:
3907         * gst/gstevent.h:
3908         * gst/gstformat.h:
3909         * gst/gstquery.h:
3910         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3911         (gst_structure_parse_array), (gst_structure_parse_value):
3912         * gst/gstvalue.c: (gst_type_is_fixed),
3913         (gst_value_list_prepend_value), (gst_value_list_append_value),
3914         (gst_value_list_get_size), (gst_value_list_get_value),
3915         (gst_value_transform_array_string), (gst_value_serialize_array),
3916         (gst_value_deserialize_array), (gst_value_intersect_array),
3917         (gst_value_is_fixed), (_gst_value_initialize):
3918         * gst/gstvalue.h:
3919           GstElement::new-pad -> pad-added, GstElement::state-change ->
3920           state-changed, GstValueFixedList -> GstValueArray, add format and
3921           flags as their own arguments in gst_element_seek() (should improve
3922           "bindeability"), remove function generators since they don't work
3923           under a whole bunch of compilers (they were deprecated already
3924           anyway).
3925
3926 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3927
3928         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3929         (_gst_debug_register_funcptr):
3930         * gst/gstinfo.h:
3931           Fix illegal cast on some platforms (#309253).
3932
3933 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3934
3935         * gst/gstmessage.c: (gst_message_new_custom):
3936         * gst/gstmessage.h:
3937           Add _new_custom, make _new_application a macro to _new_custom.
3938
3939 2005-07-20  Wim Taymans  <wim@fluendo.com>
3940
3941         * gst/base/gstbasesrc.c: (gst_base_src_init),
3942         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3943         * gst/base/gstbasesrc.h:
3944         Add a gboolean to decide when to push out a discont.
3945
3946         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3947         (gst_queue_loop), (gst_queue_handle_src_query),
3948         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3949         (gst_queue_set_property), (gst_queue_get_property):
3950         Some cleanups.
3951
3952         * tests/threadstate/threadstate1.c: (main):
3953         Make a thread test compile and run... very silly..
3954
3955
3956 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3957
3958         * docs/manual/appendix-porting.xml:
3959           Mention removal of libgstgconf-0.9.la and existence of gconf
3960           elements.
3961
3962 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3963
3964         * docs/pwg/advanced-clock.xml:
3965         * docs/pwg/appendix-porting.xml:
3966         * docs/pwg/intro-preface.xml:
3967         * docs/pwg/other-base.xml:
3968         * docs/pwg/other-manager.xml:
3969         * docs/pwg/other-nton.xml:
3970         * docs/pwg/other-ntoone.xml:
3971         * docs/pwg/other-oneton.xml:
3972         * docs/pwg/pwg.xml:
3973           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3974           demuxer), remove n-to-n (was never written), fix some code examples
3975           and links and update the porting section to include all this.
3976
3977 2005-07-19  Wim Taymans  <wim@fluendo.com>
3978
3979         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3980         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3981         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3982         (gst_queue_src_activate_push), (gst_queue_change_state),
3983         (gst_queue_get_property):
3984         * gst/gstqueue.h:
3985         Propagate GstFlowReturn more intelligently upstream and output
3986         an ERROR/EOS when streaming stopped due to fatal error.
3987
3988 2005-07-19  Wim Taymans  <wim@fluendo.com>
3989
3990         * tools/gst-launch.c: (check_intr), (event_loop), (main):
3991         Don't block forever for the state change to complete, the
3992         pipeline already did with a sensible timeout.
3993
3994 2005-07-19  Wim Taymans  <wim@fluendo.com>
3995
3996         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3997         Make sure we never call the create function is we
3998         got deactivated.
3999
4000 2005-07-19  Andy Wingo  <wingo@pobox.com>
4001
4002         * gst/parse/parse.l: Attempt to solve bug #172815.
4003
4004 2005-07-19  Wim Taymans  <wim@fluendo.com>
4005
4006         * docs/design/part-clocks.txt:
4007         * docs/design/part-events.txt:
4008         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4009         Small docs updates.
4010         Only update the seeking values when we are not
4011         busy streaming.
4012
4013 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4014
4015         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4016           Oops, ignore the result of gst_pad_push_event here.
4017
4018 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4019
4020         * gst/base/gstbasesrc.c: (gst_base_src_loop),
4021         (gst_base_src_activate_push):
4022           Send discont event from the loop function, as pads
4023           aren't activated yet in the activate_push handler.
4024
4025         * gst/gstbin.c: (bin_bus_handler):
4026           Don't leak element name.
4027
4028 2005-07-18  Andy Wingo  <wingo@pobox.com>
4029
4030         * configure.ac: Use AS_LIBTOOL_TAGS.
4031
4032 2005-07-18  Wim Taymans  <wim@fluendo.com>
4033
4034         * docs/gst/gstreamer.types:
4035         Remove deleted types.
4036
4037 2005-07-18  Wim Taymans  <wim@fluendo.com>
4038
4039         * check/elements/gstfakesrc.c: (GST_START_TEST):
4040         * configure.ac:
4041         * gst/Makefile.am:
4042         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4043         (init_popt_callback):
4044         * gst/gst.h:
4045         * gst/gst_private.h:
4046         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4047         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4048         * gst/gstbin.h:
4049         * gst/gstbus.h:
4050         * gst/gstconfig.h.in:
4051         * gst/gstelement.c: (gst_element_class_init),
4052         (gst_element_set_base_time), (gst_element_get_base_time),
4053         (iterator_fold_with_resync), (gst_element_change_state),
4054         (gst_element_dispose), (gst_element_get_bus):
4055         * gst/gstelement.h:
4056         * gst/gstelementfactory.h:
4057         * gst/gsterror.c: (_gst_core_errors_init):
4058         * gst/gsterror.h:
4059         * gst/gstevent.h:
4060         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4061         * gst/gstindex.c:
4062         * gst/gstinfo.c: (_gst_debug_init):
4063         * gst/gstmessage.c: (_gst_message_copy):
4064         * gst/gstmessage.h:
4065         * gst/gstminiobject.h:
4066         * gst/gstobject.c:
4067         * gst/gstobject.h:
4068         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4069         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4070         * gst/gstpad.h:
4071         * gst/gstparse.h:
4072         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4073         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4074         (gst_pipeline_get_last_stream_time):
4075         * gst/gstpipeline.h:
4076         * gst/gstpluginfeature.h:
4077         * gst/gstquery.h:
4078         * gst/gstscheduler.c:
4079         * gst/gstscheduler.h:
4080         * gst/gststructure.h:
4081         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4082         (gst_task_finalize), (gst_task_func), (gst_task_create),
4083         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4084         (gst_task_stop), (gst_task_pause):
4085         * gst/gsttask.h:
4086         * gst/gsttypefind.h:
4087         * gst/gsttypes.h:
4088         * gst/registries/gstlibxmlregistry.c: (load_feature),
4089         (gst_xml_registry_load), (gst_xml_registry_save_feature):
4090         * gst/registries/gstxmlregistry.c:
4091         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4092         * gst/schedulers/threadscheduler.c:
4093         * libs/gst/control/dparammanager.h:
4094         * tools/gst-inspect.c: (print_element_list),
4095         (print_plugin_features), (print_element_features):
4096         * tools/gst-xmlinspect.c: (print_element_list),
4097         (print_plugin_info), (main):
4098         Removed plugable schedulers.
4099         Removed Scheduler/Manager from elements.
4100         Removed gsttypes.h, rearranged includes.
4101         Removed dependency pad<->element, element<>pipeline, and
4102         various others,  fix includes.
4103         implement gst_pad_get_parent() with gst_object_get_parent()
4104         Make GstTask sefcontained.
4105         Fix _get_state() on GstBin, it did not return ASYNC with a 0
4106         timeout.
4107         Fix endless loop in iterator_fold_with_resync.
4108
4109
4110 2005-07-18  Wim Taymans  <wim@fluendo.com>
4111
4112         * gst/Makefile.am:
4113         * gst/gstarch.h:
4114         Remove old file.
4115
4116 2005-07-18  Wim Taymans  <wim@fluendo.com>
4117
4118         * gst/Makefile.am:
4119         No more cothreads.h
4120
4121 2005-07-18  Wim Taymans  <wim@fluendo.com>
4122
4123         * gst/cothreads.c:
4124         * gst/cothreads.h:
4125         Let's remove these.
4126
4127 2005-07-18  Wim Taymans  <wim@fluendo.com>
4128
4129         * docs/design/part-dynamic.txt:
4130         * docs/design/part-events.txt:
4131         * docs/design/part-seeking.txt:
4132         Some more docs in the works.
4133
4134         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4135         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4136         (gst_base_transform_setcaps), (gst_base_transform_get_size),
4137         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4138         (gst_base_transform_handle_buffer),
4139         (gst_base_transform_sink_activate_push),
4140         (gst_base_transform_src_activate_pull),
4141         (gst_base_transform_set_passthrough),
4142         (gst_base_transform_is_passthrough):
4143         Refcounting fixes.
4144
4145         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4146         Cleanups.
4147
4148         * gst/gstevent.c: (gst_event_finalize):
4149         Set SRC to NULL.
4150
4151         * gst/gstutils.c: (gst_element_unlink),
4152         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4153         (gst_pad_proxy_setcaps):
4154         * gst/gstutils.h:
4155         Add _get_parent_element() to get a pads parent as an element.
4156
4157 2005-07-18  Wim Taymans  <wim@fluendo.com>
4158
4159         * check/gst/gstbin.c: (GST_START_TEST):
4160         Remove bogus test.
4161
4162 2005-07-18  Wim Taymans  <wim@fluendo.com>
4163
4164         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4165         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4166         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4167         (gst_base_sink_event), (gst_base_sink_do_sync),
4168         (gst_base_sink_chain), (gst_base_sink_loop),
4169         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4170         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4171         Refcounting fixes.
4172         Fix logic for returning ASYNC when not prerolled.
4173
4174 2005-07-18  Wim Taymans  <wim@fluendo.com>
4175
4176         * gst/gstqueue.c: (gst_queue_handle_sink_event):
4177         Fix nasty refcount bug.
4178
4179 2005-07-16 Philippe Khalaf <burger@speedy.org>
4180
4181         * gst/elements/gstfdsrc.c:
4182         * gst/elements/gstfdsrc.h:
4183         * gst/elements/gstelements.c:
4184         * gst/elements/Makefile.am:
4185         Ported fdsrc to 0.9.
4186
4187 2005-07-16  Wim Taymans  <wim@fluendo.com>
4188
4189         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4190         (gst_base_sink_do_sync):
4191         Fix compile error.
4192
4193 2005-07-16  Wim Taymans  <wim@fluendo.com>
4194
4195         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4196         (gst_base_sink_event), (gst_base_sink_get_times),
4197         (gst_base_sink_do_sync), (gst_base_sink_change_state):
4198         * gst/base/gstbasesink.h:
4199         Store and use discont values when syncing buffers as described
4200         in design docs.
4201         
4202         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4203         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4204         (gst_base_src_activate_push):
4205         Push discont event when starting.
4206
4207         * gst/elements/gstidentity.c: (gst_identity_transform):
4208         Small cleanups.
4209
4210         * gst/gstbin.c: (gst_bin_change_state):
4211         Small cleanups in base_time  distribution.
4212
4213         * gst/gstelement.c: (gst_element_set_base_time),
4214         (gst_element_get_base_time), (gst_element_change_state):
4215         * gst/gstelement.h:
4216         Added methods for the base_time of the element.
4217         Some MT fixes.
4218
4219         * gst/gstpipeline.c: (gst_pipeline_send_event),
4220         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4221         (gst_pipeline_get_last_stream_time):
4222         * gst/gstpipeline.h:
4223         MT fixes.
4224         Handle seeking as described in design doc, remove stream_time
4225         hack.
4226         Cleanups clock and stream_time selection code. Added accessors
4227         for the stream_time.
4228         
4229
4230 2005-07-16  Andy Wingo  <wingo@pobox.com>
4231
4232         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4233         (#305291).
4234
4235 2005-07-16  Wim Taymans  <wim@fluendo.com>
4236
4237         * check/gst/gstbin.c: (GST_START_TEST):
4238         Make elements silent as the deep_notify refs the
4239         parent, which might make the test fail.
4240
4241         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4242         Don't hold the lock for too long.
4243
4244 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4247           Don't unref the caps we passed to gst_caps_make_writable() after
4248           passing them. gst_caps_make_writable() will do that for us.
4249
4250 2005-07-15  Andy Wingo  <wingo@pobox.com>
4251
4252         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4253         (#157311).
4254
4255         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4256         own marshalling function for the handoff signal. Properly type the
4257         buffer as a buffer. Fixes some warnings. Should do a more general
4258         solution.
4259         (gst_identity_class_init): Plug into the right marshaller.
4260
4261 2005-07-15  Wim Taymans  <wim@fluendo.com>
4262
4263         * docs/design/part-TODO.txt:
4264         * docs/design/part-clocks.txt:
4265         * docs/design/part-element-sink.txt:
4266         * docs/design/part-events.txt:
4267         * docs/design/part-gstpipeline.txt:
4268         Updated docs, mostly DISCONT related.
4269
4270 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
4271
4272         * docs/pwg/building-pads.xml:
4273           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4274
4275 2005-07-15  Andy Wingo  <wingo@pobox.com>
4276
4277         * tools/gst-typefind.c: Update, add copyright block.
4278
4279         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4280         Normalize and truncate caps before fixation.
4281
4282         * gst/gstcaps.h:
4283         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4284         discards all but the first structure from its argument.
4285
4286 2005-07-15  Wim Taymans  <wim@fluendo.com>
4287
4288         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4289         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4290         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4291         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4292         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4293         (gst_base_transform_chain), (gst_base_transform_change_state),
4294         (gst_base_transform_set_passthrough),
4295         (gst_base_transform_is_passthrough):
4296         * gst/base/gstbasetransform.h:
4297         Make passthrough work using the bufferpools.
4298         Changed API a bit, subclasses have to write into a buffer
4299         provided by the base class.
4300         More debug info in nego functions.
4301         
4302         * gst/elements/gstidentity.c: (gst_identity_init),
4303         (gst_identity_transform):
4304         Port to new base class.
4305
4306 2005-07-15  Wim Taymans  <wim@fluendo.com>
4307
4308         * gst/gstmessage.c: (gst_message_new_state_changed):
4309         * tools/gst-launch.c: (event_loop), (main):
4310         Totally dump messages in -launch with the -m option.
4311         Fix message name for State messages,
4312
4313 2005-07-14  Wim Taymans  <wim@fluendo.com>
4314
4315         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4316         Post error messages on errors.
4317
4318 2005-07-14  Wim Taymans  <wim@fluendo.com>
4319
4320         * gst/gstcaps.c: (gst_caps_do_simplify):
4321         Remove debug info.
4322
4323         * gst/gsterror.h:
4324         Define error for stream stopped.
4325
4326         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4327         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4328         Do proper return values.
4329
4330         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4331         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4332         (gst_pad_get_range):
4333         Better return values.
4334
4335         * gst/gstpad.h:
4336         Reorganise return values, add macro to check for fatal errors.
4337
4338         * gst/gstqueue.c: (gst_queue_chain):
4339         Return proper GstFlowReturn values,
4340
4341 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4342
4343         * docs/gst/gstreamer-sections.txt:
4344         * docs/gst/gstreamer.types:
4345         * docs/gst/tmpl/gst.sgml:
4346         * docs/gst/tmpl/gstbasesink.sgml:
4347         * docs/gst/tmpl/gstbasesrc.sgml:
4348         * docs/gst/tmpl/gstbasetransform.sgml:
4349         * docs/gst/tmpl/gstbin.sgml:
4350         * docs/gst/tmpl/gstbuffer.sgml:
4351         * docs/gst/tmpl/gstcaps.sgml:
4352         * docs/gst/tmpl/gstclock.sgml:
4353         * docs/gst/tmpl/gstcompat.sgml:
4354         * docs/gst/tmpl/gstconfig.sgml:
4355         * docs/gst/tmpl/gstelement.sgml:
4356         * docs/gst/tmpl/gstelementdetails.sgml:
4357         * docs/gst/tmpl/gstelementfactory.sgml:
4358         * docs/gst/tmpl/gstenumtypes.sgml:
4359         * docs/gst/tmpl/gsterror.sgml:
4360         * docs/gst/tmpl/gstevent.sgml:
4361         * docs/gst/tmpl/gstfakesink.sgml:
4362         * docs/gst/tmpl/gstfakesrc.sgml:
4363         * docs/gst/tmpl/gstfilesink.sgml:
4364         * docs/gst/tmpl/gstfilesrc.sgml:
4365         * docs/gst/tmpl/gstfilter.sgml:
4366         * docs/gst/tmpl/gstformat.sgml:
4367         * docs/gst/tmpl/gstghostpad.sgml:
4368         * docs/gst/tmpl/gstimplementsinterface.sgml:
4369         * docs/gst/tmpl/gstindex.sgml:
4370         * docs/gst/tmpl/gstindexfactory.sgml:
4371         * docs/gst/tmpl/gstinfo.sgml:
4372         * docs/gst/tmpl/gstiterator.sgml:
4373         * docs/gst/tmpl/gstmacros.sgml:
4374         * docs/gst/tmpl/gstmemchunk.sgml:
4375         * docs/gst/tmpl/gstminiobject.sgml:
4376         * docs/gst/tmpl/gstobject.sgml:
4377         * docs/gst/tmpl/gstpad.sgml:
4378         * docs/gst/tmpl/gstpadtemplate.sgml:
4379         * docs/gst/tmpl/gstparse.sgml:
4380         * docs/gst/tmpl/gstpipeline.sgml:
4381         * docs/gst/tmpl/gstplugin.sgml:
4382         * docs/gst/tmpl/gstpluginfeature.sgml:
4383         * docs/gst/tmpl/gstquery.sgml:
4384         * docs/gst/tmpl/gstqueue.sgml:
4385         * docs/gst/tmpl/gstregistry.sgml:
4386         * docs/gst/tmpl/gstregistrypool.sgml:
4387         * docs/gst/tmpl/gstscheduler.sgml:
4388         * docs/gst/tmpl/gstschedulerfactory.sgml:
4389         * docs/gst/tmpl/gststructure.sgml:
4390         * docs/gst/tmpl/gstsystemclock.sgml:
4391         * docs/gst/tmpl/gsttaglist.sgml:
4392         * docs/gst/tmpl/gsttagsetter.sgml:
4393         * docs/gst/tmpl/gsttrace.sgml:
4394         * docs/gst/tmpl/gsttrashstack.sgml:
4395         * docs/gst/tmpl/gsttypefind.sgml:
4396         * docs/gst/tmpl/gsttypefindfactory.sgml:
4397         * docs/gst/tmpl/gsttypes.sgml:
4398         * docs/gst/tmpl/gsturihandler.sgml:
4399         * docs/gst/tmpl/gsturitype.sgml:
4400         * docs/gst/tmpl/gstutils.sgml:
4401         * docs/gst/tmpl/gstvalue.sgml:
4402         * docs/gst/tmpl/gstversion.sgml:
4403         * docs/gst/tmpl/gstxml.sgml:
4404         * docs/libs/tmpl/gstcontrol.sgml:
4405         * docs/libs/tmpl/gstdataprotocol.sgml:
4406         * docs/libs/tmpl/gstdparam.sgml:
4407         * docs/libs/tmpl/gstdplinint.sgml:
4408         * docs/libs/tmpl/gstdpman.sgml:
4409         * docs/libs/tmpl/gstdpsmooth.sgml:
4410         * docs/libs/tmpl/gstgetbits.sgml:
4411         * docs/libs/tmpl/gstunitconvert.sgml:
4412         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4413         (gst_push_src_base_init), (gst_push_src_class_init),
4414         (gst_push_src_init), (gst_push_src_create):
4415         * gst/base/gstpushsrc.h:
4416         * gst/elements/gstelements.c:
4417         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4418         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4419         (gst_fake_sink_init), (gst_fake_sink_set_property),
4420         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4421         (gst_fake_sink_event), (gst_fake_sink_preroll),
4422         (gst_fake_sink_render), (gst_fake_sink_change_state):
4423         * gst/elements/gstfakesink.h:
4424         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4425         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4426         (gst_fake_src_base_init), (gst_fake_src_class_init),
4427         (gst_fake_src_init), (gst_fake_src_event_handler),
4428         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4429         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4430         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4431         (gst_fake_src_create_buffer), (gst_fake_src_create),
4432         (gst_fake_src_start), (gst_fake_src_stop):
4433         * gst/elements/gstfakesrc.h:
4434         * gst/elements/gstfilesink.c: (_do_init),
4435         (gst_file_sink_base_init), (gst_file_sink_class_init),
4436         (gst_file_sink_init), (gst_file_sink_dispose),
4437         (gst_file_sink_set_location), (gst_file_sink_set_property),
4438         (gst_file_sink_get_property), (gst_file_sink_open_file),
4439         (gst_file_sink_close_file), (gst_file_sink_query),
4440         (gst_file_sink_event), (gst_file_sink_render),
4441         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4442         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4443         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4444         * gst/elements/gstfilesink.h:
4445         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4446         (gst_file_src_class_init), (gst_file_src_init),
4447         (gst_file_src_finalize), (gst_file_src_set_location),
4448         (gst_file_src_set_property), (gst_file_src_get_property),
4449         (gst_file_src_map_region), (gst_file_src_map_small_region),
4450         (gst_file_src_create_mmap), (gst_file_src_create_read),
4451         (gst_file_src_create), (gst_file_src_is_seekable),
4452         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4453         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4454         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4455         (gst_file_src_uri_handler_init):
4456         * gst/elements/gstfilesrc.h:
4457           more autistic cleanliness in functions/names/defines
4458
4459 2005-07-13  Andy Wingo  <wingo@pobox.com>
4460
4461         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4462         source couldn't negotiate.
4463
4464         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4465         connections again.
4466
4467         * gst/gstutils.h:
4468         * gst/gstutils.c (gst_element_link_pads_filtered): New old
4469         function. I am channeling Hades. Put your boots on suckers!!!
4470
4471 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4472
4473         * testsuite/caps/Makefile.am:
4474         * testsuite/caps/value_compare.c:
4475         * testsuite/caps/value_intersect.c:
4476         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4477           move two testsuite apps over to the check dir
4478
4479 2005-07-12  Wim Taymans  <wim@fluendo.com>
4480
4481         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4482         Added more debug info in the negotiate process.
4483
4484         * gst/gstmessage.h:
4485         Prepare for segment playback.
4486
4487         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4488         Better debugging.
4489
4490         * gst/gstutils.c:
4491         Some more docs.
4492
4493         * tools/gst-launch.c: (main):
4494         NULL pipeline on errors.
4495
4496 2005-07-12  Andy Wingo  <wingo@pobox.com>
4497
4498         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4499         not it comes from a malloc region. Make sure our copy gets freed.
4500
4501 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4502
4503         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4504         * check/gst/gstmessage.c: (GST_START_TEST):
4505         * check/gst/gststructure.c: (GST_START_TEST),
4506         (gst_structure_suite), (main):
4507           more testing
4508         * gst/gstelement.c: (gst_element_message_full):
4509           clean up GError and debug string now that they get copied
4510         * gst/gstmessage.c: (gst_message_new_error),
4511         (gst_message_new_warning), (gst_message_parse_error),
4512         (gst_message_parse_warning):
4513           use GST_TYPE_G_ERROR for structure_new, and take copies of
4514           arguments, so that we don't mess up refcounting
4515
4516 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4517
4518         * check/Makefile.am:
4519           add per-test valgrind targets
4520         * check/gst-libs/gdp.c: (GST_START_TEST),
4521         (gst_data_protocol_suite), (main):
4522           clean up
4523
4524 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4525
4526         * check/Makefile.am:
4527           instate more valgrindable tests
4528         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4529         (GST_START_TEST), (fakesrc_suite):
4530         * check/gst/gstpad.c: (GST_START_TEST):
4531         * check/gst/gststructure.c: (GST_START_TEST):
4532           fix test leaks
4533         * docs/gst/tmpl/gstminiobject.sgml:
4534         * gst/gstpad.c: (gst_pad_finalize):
4535           fix the static mutex leak
4536
4537 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4538
4539         * check/Makefile.am:
4540           add two more tests for valgrinding
4541         * check/gst/gstvalue.c: (GST_START_TEST):
4542           test refcount of deserialized buffer, found a leak
4543         * docs/gst/gstreamer-docs.sgml:
4544         * docs/gst/gstreamer-sections.txt:
4545         * docs/gst/gstreamer.types:
4546         * docs/gst/tmpl/gstminiobject.sgml:
4547           add miniobject to docs
4548         * gst/gstminiobject.c:
4549           add some docs
4550         * gst/gstvalue.c: (gst_value_deserialize_buffer),
4551         (gst_string_unwrap):
4552           fix a hard-to-find invalid write for one of the tests
4553           fix a leak for deserialized buffers
4554
4555 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4556
4557         * docs/pwg/advanced-events.xml:
4558         * docs/pwg/advanced-request.xml:
4559         * docs/pwg/advanced-scheduling.xml:
4560         * docs/pwg/appendix-porting.xml:
4561         * docs/pwg/building-boiler.xml:
4562         * docs/pwg/intro-preface.xml:
4563         * docs/pwg/other-ntoone.xml:
4564           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4565           of example code and explanation for pad activation, loop() and
4566           getrange() functions and a bit more. Remove old comments pointing
4567           to loop-functions.
4568         * examples/pwg/Makefile.am:
4569           Add loop/getrange examples.
4570
4571 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4572
4573         * configure.ac:
4574           check for valgrind binary + some fixes
4575         * check/gst.supp:
4576           valgrind suppressions for the tests
4577         * check/Makefile.am:
4578           add a valgrind: target that valgrinds the unit tests
4579         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4580         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4581         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4582         * check/gst/gstghostpad.c:
4583           added some cleanup
4584         * check/gst/gstdata.c:
4585           removed
4586         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4587         (thread_unref), (gst_mini_object_suite), (main):
4588           added
4589         * gst/gst.c: (gst_deinit):
4590         * gst/gst.h:
4591           add a method to clean up.
4592         * gst/gstsystemclock.c: (gst_system_clock_dispose),
4593         (gst_system_clock_obtain):
4594           allow for disposing the system clock.
4595         * tools/gst-launch.c: (main):
4596           deinit
4597
4598 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4599
4600         * docs/gst/tmpl/gstbasesrc.sgml:
4601         * docs/gst/tmpl/gstfakesrc.sgml:
4602         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4603         (gst_base_src_init), (gst_base_src_set_property),
4604         (gst_base_src_get_property), (gst_base_src_get_range),
4605         (gst_base_src_start):
4606         * gst/base/gstbasesrc.h:
4607           add num-buffers property
4608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4609         (gst_fakesrc_init), (gst_fakesrc_set_property),
4610         (gst_fakesrc_get_property), (gst_fakesrc_create),
4611         (gst_fakesrc_start):
4612           remove num-buffers property
4613
4614 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4615
4616         * docs/gst/gstreamer-sections.txt:
4617         * docs/gst/tmpl/gstbasesink.sgml:
4618         * docs/gst/tmpl/gstbasesrc.sgml:
4619         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4620         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4621         (gst_base_sink_finalize), (gst_base_sink_set_clock),
4622         (gst_base_sink_set_property), (gst_base_sink_get_property),
4623         (gst_base_sink_handle_object), (gst_base_sink_event),
4624         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4625         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4626         (gst_base_sink_loop), (gst_base_sink_deactivate),
4627         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4628         (gst_base_sink_change_state):
4629         * gst/base/gstbasesink.h:
4630         * gst/base/gstbasesrc.h:
4631         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4632         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4633         (gst_filesink_init):
4634           more macro splitting
4635
4636 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4637
4638         * gst/gstelement.c: (gst_element_get_bus):
4639           add debug
4640         * tools/gst-launch.c: (check_intr), (event_loop):
4641           fix bus leaks
4642
4643 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4644
4645         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4646           fix a caps leak
4647
4648 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4649
4650         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4651         (gst_base_src_finalize):
4652           add finalize method and clean up properly
4653         * gst/gstpipeline.c: (gst_pipeline_dispose):
4654           add debug
4655
4656 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4657
4658         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4659         (gst_bin_suite):
4660           add more things to check
4661         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4662         * gst/gstelement.c:
4663           more debug
4664
4665 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4666
4667         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4668         (GST_START_TEST), (fakesrc_suite):
4669         * check/gst-libs/gdp.c: (GST_START_TEST):
4670         * check/gst/gst.c: (GST_START_TEST):
4671         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4672         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4673         * check/gst/gstbus.c: (GST_START_TEST):
4674         * check/gst/gstcaps.c: (GST_START_TEST):
4675         * check/gst/gstdata.c: (GST_START_TEST):
4676         * check/gst/gstelement.c: (GST_START_TEST):
4677         * check/gst/gstghostpad.c: (GST_START_TEST):
4678         * check/gst/gstiterator.c: (GST_START_TEST):
4679         * check/gst/gstmessage.c: (GST_START_TEST):
4680         * check/gst/gstobject.c: (GST_START_TEST):
4681         * check/gst/gstpad.c: (GST_START_TEST):
4682         * check/gst/gststructure.c: (GST_START_TEST):
4683         * check/gst/gstsystemclock.c: (GST_START_TEST),
4684         (gst_systemclock_suite):
4685         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4686         * check/gst/gstvalue.c: (GST_START_TEST):
4687         * check/pipelines/cleanup.c: (GST_START_TEST):
4688         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4689         * check/states/sinks.c: (GST_START_TEST):
4690         * check/gstcheck.c: (gst_check_init):
4691         * check/gstcheck.h:
4692           add debugging category
4693           use GST_START_TEST now, so we add a debug line
4694
4695 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4696
4697         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4698           add test for state change message on a bin
4699         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4700           add another test
4701         * gst/gstbin.c: (gst_bin_init):
4702         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4703         * gst/gstelement.c: (gst_element_post_message),
4704         (gst_element_set_state):
4705         * gst/gstelementfactory.c: (gst_element_factory_create):
4706         * gst/gstmessage.c: (gst_message_new):
4707         * gst/gstscheduler.c:
4708           various debugging additions and cleanups
4709
4710 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4711
4712         * check/Makefile.am:
4713         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4714         (main):
4715           adding tests for elements
4716         * gst/gstelement.c: (gst_element_dispose):
4717
4718 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4719
4720         * gst/registries/gstlibxmlregistry.c: (load_feature):
4721           plug more leaks.  A simple gst_init() now is leakfree, yay.
4722
4723 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4724
4725         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4726         (gst_xml_registry_load):
4727           plug another memleak
4728
4729 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4730
4731         * configure.ac:
4732           use GST_SET_ERROR_CFLAGS
4733         * docs/faq/cvs.xml:
4734           change to ERROR_CFLAGS
4735
4736 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4737
4738         * configure.ac:
4739           make GST_ERROR_CFLAGS overridable and re-enable Werror
4740         * docs/faq/cvs.xml:
4741           add a note about error CFLAGS
4742         * docs/gst/tmpl/gstfakesrc.sgml:
4743         * gst/elements/gstfakesrc.c:
4744           comment out some unused code
4745         * gst/gst.c: (split_and_iterate):
4746         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4747         (load_feature):
4748           plug some memleaks
4749
4750 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4751
4752         * common/Makefile.am:
4753         * common/gtk-doc.mak:
4754         * docs/gst/Makefile.am:
4755           factor out gtk-doc.mak
4756
4757 2005-07-07  Wim Taymans  <wim@fluendo.com>
4758
4759         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4760         (gst_thread_scheduler_dispose):
4761         Unlock the STREAM_LOCK completely.
4762
4763 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4764
4765         * check/Makefile.am:
4766         * check/elements/.cvsignore:
4767         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4768         (START_TEST), (fakesrc_suite), (main):
4769         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4770         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4771         (gst_fakesrc_create), (gst_fakesrc_start):
4772         * gst/elements/gstfakesrc.h:
4773           adding a first element test
4774
4775 2005-07-07  Andy Wingo  <wingo@pobox.com>
4776
4777         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4778         debug message.
4779
4780 2005-07-07  Wim Taymans  <wim@fluendo.com>
4781
4782         * gst/gstquery.c:
4783         * gst/gstquery.h:
4784         Remove old types
4785
4786 2005-07-07  Wim Taymans  <wim@fluendo.com>
4787
4788         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4789         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4790         Allow subclasses to implement their own negotiation.
4791
4792 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4793
4794         * docs/design/part-gstbin.txt:
4795         * docs/design/part-gstpipeline.txt:
4796           Update design notes to reflect the movement of
4797           responsibility for bus handling from GstPipeline to
4798           GstBin
4799
4800 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4801
4802         * configure.ac:
4803           Remove unnecessary queue2/3/4 examples.
4804
4805 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4806
4807         * examples/Makefile.am:
4808         * examples/helloworld/helloworld.c: (event_loop), (main):
4809         * examples/queue/queue.c: (event_loop), (main):
4810         * examples/queue2/queue2.c: (main):
4811           Update a couple of the examples to work again.
4812
4813         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4814         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4815          Spelling corrections and extra debug.
4816         
4817         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4818         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4819         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4820         * gst/gstbin.h:
4821         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4822         (gst_pipeline_change_state):
4823         * gst/gstpipeline.h:
4824           Move the bus handler for children to the GstBin, and create a
4825           separate bus for receiving messages from children to the one the
4826           bus sends 'upwards' on.
4827
4828 2005-07-06  Wim Taymans  <wim@fluendo.com>
4829
4830         * gst/base/README:
4831         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4832         (gst_base_sink_handle_object), (gst_base_sink_loop),
4833         (gst_base_sink_change_state):
4834         * gst/base/gstbasesink.h:
4835         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4836         (gst_base_src_init), (gst_base_src_setcaps),
4837         (gst_base_src_getcaps), (gst_base_src_loop),
4838         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4839         (gst_base_src_start), (gst_base_src_change_state):
4840         * gst/base/gstbasesrc.h:
4841         Make basesrc negotiate.
4842         Handle the case where preroll fails in basesink.
4843         Update README.
4844
4845 2005-07-06  Wim Taymans  <wim@fluendo.com>
4846
4847         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4848         Implement the fixate function.
4849         Clean up acceptcaps.
4850
4851 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4852
4853         * docs/pwg/building-filterfactory.xml:
4854         * docs/pwg/pwg.xml:
4855           Remove never-written filter-factory chapter; I'll add the various
4856           base classes to part 4 ("other element types") later on.
4857
4858 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4859
4860         * docs/pwg/advanced-negotiation.xml:
4861         * docs/pwg/building-boiler.xml:
4862         * docs/pwg/building-pads.xml:
4863         * docs/pwg/pwg.xml:
4864         * examples/pwg/Makefile.am:
4865           Add a chapter on caps negotiation, simplify the original code
4866           samples a bit w.r.t. caps negotiation, add link to the advanced
4867           section. Add a bunch of examples showing different use cases of
4868           different types of caps negotiation. Upstream renegotiation isn't
4869           fully documented yet since nobody knows how that works.
4870
4871 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4872
4873         * check/gst/gstpad.c:
4874         * check/gstcheck.c:
4875         * gst/gstpad.c: (gst_pad_get_internal_links_default):
4876           if pad has no parent, return NULL as list of internal links
4877
4878 2005-07-05  Andy Wingo  <wingo@pobox.com>
4879
4880         * gst/elements/gstfilesrc.c:
4881         * gst/elements/gstfakesrc.c: 
4882         * gst/base/gstpushsrc.c:
4883         * gst/base/gstbasesrc.h: 
4884         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4885         
4886 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
4887
4888         * Makefile.am:
4889           better report generation target (lcov needs a patch)
4890
4891 2005-07-05  Andy Wingo  <wingo@pobox.com>
4892
4893         * gst/elements, testsuite: Null if we got it...
4894
4895 2005-07-05  Wim Taymans  <wim@fluendo.com>
4896
4897         * configure.ac:
4898         * libs/gst/dataprotocol/Makefile.am:
4899         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4900         * libs/gst/dataprotocol/dataprotocol.h:
4901         * pkgconfig/Makefile.am:
4902         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4903         * pkgconfig/gstreamer-dataprotocol.pc.in:
4904         Ported dataprotol to 0.9. 
4905         Added pkgconfig files.
4906
4907 2005-07-05  Andy Wingo  <wingo@pobox.com>
4908
4909         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4910         Default to returning TRUE for the case when tranform_caps returns
4911         a fixed caps, like for identity or volume.
4912
4913         * check/gst/gstbus.c (pound_bus_with_messages): 
4914         * check/gst/gstmessage.c (START_TEST): 
4915         * check/pipelines/simple_launch_lines.c (got_handoff): Application
4916         message API change.
4917
4918         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4919         logic weaks here: always run transform_caps, trying passthrough
4920         operation only if the original caps intersects with the transform.
4921
4922         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4923         source and sink caps.
4924
4925         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4926         Intersect the peer caps with the pad template before going into
4927         transform_caps.
4928         (gst_base_transform_transform_caps): More debugging.
4929
4930         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4931         src argument.
4932
4933 2005-07-04  Edward Hervey  <edward@fluendo.com>
4934
4935         * gst/gstutils.c:
4936         * gst/gstutils.h:
4937         (gst_pad_add_*_probe): now returns the signal id for better wrapping
4938         in bindings.
4939
4940 2005-07-04  Andy Wingo  <wingo@pobox.com>
4941
4942         * check/gst/gstpad.c: Only set explicit caps on pads.
4943
4944 2005-07-01  Andy Wingo  <wingo@pobox.com>
4945
4946         * tests/network-clock.scm: Commentary update.
4947
4948         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4949         Didn't really make sense, not implementable with basetransform,
4950         etc.
4951         (gst_identity_transform): Unref inbuf via make_writable. Feeble
4952         attempt at implementing the sync property, needs an unlock method.
4953
4954         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4955         New func, by default returns the same caps (the identity
4956         transformation).
4957         (gst_base_transform_getcaps): Uses transform_caps to return
4958         something sensible.
4959         (gst_base_transform_setcaps): Complicated logic to get caps on
4960         both pads, even if they are different, and to call set_caps once
4961         for every time both pads get their caps set.
4962         (gst_base_transform_handle_buffer): Give the ref to the transform
4963         function. Allows in-place modification of the buffer.
4964
4965         * gst/base/gstbasetransform.h (transform_caps): New class method.
4966         Given caps on one side, what can I do on the other.
4967         (set_caps): Take two caps, one for each side of the element.
4968
4969         * gst/gstpad.h:
4970         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4971         caps in place. This is safe because we can check the mutability of
4972         the caps, and a good idea because fixate functions are just called
4973         as a matter of last resort. (Not actually implemented.)
4974         (gst_pad_set_caps): If the caps we're setting is actually the same
4975         as the existing pad caps, just update the pointer without calling
4976         setcaps. Assert that caps is either NULL or fixed, as per the
4977         docs.
4978
4979         * gst/gstghostpad.c: Update for fixate changes.
4980
4981 2005-07-02  Andy Wingo  <wingo@pobox.com>
4982
4983         * gst/gstcaps.c:
4984         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4985         two refcounts makes it immutable, which is enough. Doc more.
4986
4987 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
4988
4989         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4990           Put the mini_object into GValue as a mini_object,
4991           not a gpointer, since that's how we declared
4992           the signal.
4993
4994 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4995
4996         * examples/pwg/Makefile.am:
4997           Fix buildbot again.
4998
4999 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5000
5001         * docs/pwg/building-testapp.xml:
5002           Add extra check.
5003         * examples/pwg/Makefile.am:
5004           Fix buildbot.
5005
5006 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5007
5008         * configure.ac:
5009         * examples/Makefile.am:
5010         * examples/pwg/Makefile.am:
5011         * examples/pwg/extract.pl:
5012           Enable building the PWG examples.
5013         * docs/pwg/advanced-interfaces.xml:
5014           Add URI interface stub.
5015         * docs/pwg/advanced-types.xml:
5016         * docs/pwg/other-autoplugger.xml:
5017         * docs/pwg/appendix-porting.xml:
5018         * docs/pwg/pwg.xml:
5019           Add porting guide (mostly stubs), remove autoplugging (see ADM).
5020         * docs/pwg/building-boiler.xml:
5021         * docs/pwg/building-chainfn.xml:
5022         * docs/pwg/building-pads.xml:
5023         * docs/pwg/building-props.xml:
5024         * docs/pwg/building-state.xml:
5025         * docs/pwg/building-testapp.xml:
5026           Update the building-*.xml parts for 0.9 changes. All examples
5027           code blocks compile in examples/pwg/*.
5028
5029 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5030
5031         * docs/manual/advanced-autoplugging.xml:
5032         * docs/manual/appendix-checklist.xml:
5033         * docs/manual/appendix-integration.xml:
5034         * docs/manual/highlevel-components.xml:
5035           Fix playbin/decodebin examples, update docs a bit, mention bus
5036           instead of signals in various places, mention kmplayer and
5037           kaffeine since they have a working GStreamer backend in the KDE
5038           section.
5039
5040 2005-06-30  Wim Taymans  <wim@fluendo.com>
5041
5042         * CHANGES-0.9:
5043         * docs/design/draft-ghostpads.txt:
5044         * docs/design/draft-push-pull.txt:
5045         * docs/design/draft-query.txt:
5046         * docs/design/part-TODO.txt:
5047         * docs/design/part-query.txt:
5048         Added CHANGES-0.9 doc, updated status of other docs.
5049         
5050         * gst/gstquery.h:
5051         Remove "hmm" macro
5052
5053 2005-06-30  Wim Taymans  <wim@fluendo.com>
5054
5055         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5056         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5057         (gst_base_sink_change_state):
5058         * gst/base/gstbasesink.h:
5059         Some tweaks, only EOS and a buffer complete a preroll.
5060
5061 2005-06-30  Andy Wingo  <wingo@pobox.com>
5062
5063         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5064         activate_push down to the internal pad as well.
5065
5066 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
5067
5068         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5069
5070         * gst/gsttaginterface.c:
5071           Some documentation fixes (#307394 and #307397).
5072
5073 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
5074
5075         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5076
5077         * gst/gstvalue.c: (gst_value_intersect_list):
5078           Fix memleak (#309125).
5079
5080 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5081
5082         * docs/manual/advanced-dataaccess.xml:
5083           Fix fakesrc example to compile; doesn't work, bug somewhere...?
5084         * docs/manual/basics-pads.xml:
5085           Add reference for filtered caps to above chapter.
5086
5087 2005-06-30  Wim Taymans  <wim@fluendo.com>
5088
5089         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5090         (gst_bin_change_state):
5091         Probes are gone.
5092         Lame attempt at making the state change function a bit
5093         more readable.
5094
5095 2005-06-30  Wim Taymans  <wim@fluendo.com>
5096
5097         * docs/design/part-clocks.txt:
5098         * docs/design/part-element-sink.txt:
5099         * docs/design/part-events.txt:
5100         * docs/design/part-preroll.txt:
5101         * docs/design/part-states.txt:
5102         Some more tweeks and additions to the docs.
5103
5104 2005-06-30  Wim Taymans  <wim@fluendo.com>
5105
5106         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5107         (default_have_data), (gst_pad_class_init), (gst_pad_init),
5108         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5109         (gst_pad_check_pull_range), (gst_pad_get_range),
5110         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5111         * gst/gstpad.h:
5112         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5113         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5114         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5115         (gst_pad_remove_buffer_probe):
5116         Removed atomic operations, use existing LOCK.
5117         Move exception handling out of main code path.
5118
5119 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5120
5121         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5122         (silly_return_true_function), (gst_pad_class_init),
5123         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5124         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5125         (gst_pad_send_event):
5126           Fix accumulator, add default value by using _emitv() instead
5127           of _emit() for signal emission.
5128
5129 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5130
5131         * docs/manual/advanced-dataaccess.xml:
5132         * examples/manual/Makefile.am:
5133           Add probe example.
5134         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5135           Make work (??).
5136
5137 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
5138
5139         * gst/elements/gstfilesink.c: (gst_filesink_render):
5140           Simplify code so that we don't have to handle short
5141           writes and return GST_FLOW_ERROR if an error occured.
5142
5143 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5144
5145         * docs/gst/gstreamer-docs.sgml:
5146           Remove probes more.
5147
5148 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5149
5150         * docs/gst/gstreamer-sections.txt:
5151         * docs/gst/tmpl/gstpad.sgml:
5152         * docs/gst/tmpl/gstprobe.sgml:
5153         * gst/Makefile.am:
5154         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5155         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5156         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5157         (gst_pad_push_event), (gst_pad_send_event):
5158         * gst/gstpad.h:
5159         * gst/gstutils.c: (gst_pad_add_data_probe),
5160         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5161         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5162         (gst_pad_remove_buffer_probe):
5163         * gst/gstutils.h:
5164           Remove old probes, add new g-signal-based probes and some utility
5165           functions.
5166
5167 2005-06-29  Edward Hervey  <edward@fluendo.com>
5168
5169         * gst/gstelementfactory.c:
5170         * gst/gstutils.h:
5171         * gst/gstutils.c:
5172         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5173         the definition to the header file.
5174
5175 2005-06-29  Andy Wingo  <wingo@pobox.com>
5176
5177         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5178         plugins from the source directory.
5179
5180 2005-06-29  Wim Taymans  <wim@fluendo.com>
5181
5182         * docs/gst/tmpl/gstbuffer.sgml:
5183         * docs/gst/tmpl/gstclock.sgml:
5184         Some fixings for blantently wrong text.
5185
5186 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5187
5188         * check/Makefile.am:
5189         * gst/gst.c: (add_path_func), (init_pre):
5190         * gst/gstregistry.c: (gst_registry_add_path):
5191           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5192           only scan the GST_PLUGIN_PATH locations, and not add
5193           system locations
5194
5195 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5196
5197         * docs/gst/gstreamer-sections.txt:
5198         * docs/gst/tmpl/gstbasesrc.sgml:
5199         * gst/gstelement.c:
5200         * gst/gstelement.h:
5201         * gst/gstevent.c:
5202         * gst/gstutils.c:
5203           doc fixes
5204
5205 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5206
5207         * docs/manual/advanced-autoplugging.xml:
5208           Fix autoplugging example.
5209
5210 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5211
5212         * docs/manual/advanced-autoplugging.xml:
5213         * docs/manual/mime-world.fig:
5214           Try to get autoplugging working, fix type detection. Fix text
5215           in hello-world image.
5216
5217 2005-06-29  Wim Taymans  <wim@fluendo.com>
5218
5219         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5220         (gst_base_sink_change_state):
5221         Small debug line.
5222
5223         * gst/gstclock.h:
5224         map SIGNAL and BROADCAST to the right function.
5225
5226         * gst/gstobject.h:
5227         Remove redundant braces.
5228
5229         * gst/gstpad.c: (gst_pad_set_caps):
5230         Don't call setcaps function when reseting caps to NULL.
5231
5232         * gst/gstsystemclock.c: (gst_system_clock_dispose),
5233         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5234         (gst_system_clock_id_unschedule):
5235         Use BROADCAST as this is what we do.
5236
5237 2005-06-29  Wim Taymans  <wim@fluendo.com>
5238
5239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5240         We are actually prerolling before commiting the state
5241         change. 
5242
5243 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5244
5245         * docs/manual/advanced-clocks.xml:
5246         * docs/manual/advanced-interfaces.xml:
5247         * docs/manual/advanced-metadata.xml:
5248         * docs/manual/advanced-position.xml:
5249         * docs/manual/advanced-schedulers.xml:
5250         * docs/manual/advanced-threads.xml:
5251         * docs/manual/appendix-porting.xml:
5252         * docs/manual/basics-bins.xml:
5253         * docs/manual/basics-bus.xml:
5254         * docs/manual/basics-elements.xml:
5255         * docs/manual/basics-helloworld.xml:
5256         * docs/manual/basics-pads.xml:
5257         * docs/manual/highlevel-components.xml:
5258         * docs/manual/manual.xml:
5259         * docs/manual/thread.fig:
5260           Update (until threads/scheduling) Application Development Manual;
5261           remove GstThread, add GstBus, add simple porting checklist, add
5262           documentation for tag writing, clocks, make all examples until this
5263           part compile and run.
5264         * examples/manual/Makefile.am:
5265           Update from changes to Application Development Manual; add bus
5266           example, remove thread example.
5267
5268 2005-06-28  Wim Taymans  <wim@fluendo.com>
5269
5270         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5271         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5272         (gst_bus_source_dispatch):
5273         Add debugging messages.
5274         Make internal methods static.
5275         Handle the case where the bus is flushed in the handler.
5276         
5277         * gst/gstelement.c: (gst_element_get_bus):
5278         Fix refcount in _get_bus();
5279
5280         * gst/gstpipeline.c: (gst_pipeline_change_state),
5281         (gst_pipeline_get_clock_func):
5282         Clock refcounting fixes.
5283         Handle the case where preroll timed out more gracefully.
5284         
5285         * gst/gstsystemclock.c: (gst_system_clock_dispose):
5286         Clean up the internal thread in dispose. This is needed
5287         for subclasses that actually get disposed.
5288         
5289         * gst/schedulers/threadscheduler.c:
5290         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5291         (gst_thread_scheduler_dispose):
5292         Free thread pool in dispose.
5293
5294 2005-06-28  Andy Wingo  <wingo@pobox.com>
5295
5296         * tests/network-clock-utils.scm (debug, print-event): New utils.
5297
5298         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5299         (*packet-loss*): Unified loss probability.
5300         (network-time): Report out-of-band events.
5301
5302         * tests/plot-data: Add support for out-of-band events. Hack it
5303         into this script instead of passing it down the pipe; should fix
5304         this later.
5305
5306 2005-06-28  Wim Taymans  <wim@fluendo.com>
5307
5308         * docs/gst/gstreamer.types:
5309         * docs/gst/tmpl/gstbasesrc.sgml:
5310         * docs/gst/tmpl/gstpad.sgml:
5311         Docs fixes.
5312
5313 2005-06-28  Wim Taymans  <wim@fluendo.com>
5314
5315         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5316         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5317         (gst_proxy_pad_do_fixatecaps):
5318         Correctly proxy the check_pull_range function.
5319
5320 2005-06-28  Andy Wingo  <wingo@pobox.com>
5321
5322         * tests/network-clock.scm: Removed need for slib.
5323         
5324 2005-06-28  Wim Taymans  <wim@fluendo.com>
5325
5326         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5327         (gst_basesink_preroll_queue_flush):
5328         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5329         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5330         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5331         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5332         (gst_proxy_pad_set_property):
5333         * gst/gstpad.c:
5334         * gst/gstpad.h:
5335         * gst/gstqueue.c: (gst_queue_init):
5336         The deprecated pad loop function is removed now.
5337
5338 2005-06-28  Andy Wingo  <wingo@pobox.com>
5339
5340         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5341         New parameters, simulate network packet loss.
5342
5343         * tests/network-clock-utils.scm: Initialize the RNG.
5344
5345 2005-06-28  Wim Taymans  <wim@fluendo.com>
5346
5347         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5348         (gst_basesink_event), (gst_basesink_deactivate):
5349         Flushing the preroll queue always needs to unlock the waiters.
5350
5351 2005-06-28  Edward Hervey  <edward@fluendo.com>
5352
5353         * gst/gstpipeline.c: (gst_pipeline_send_event): 
5354         Wheen a seek was successful on a pipeline, set the stream_time to the
5355         seek offset in order to have a synchronized stream_time.
5356
5357 2005-06-28  Wim Taymans  <wim@fluendo.com>
5358
5359         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5360         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5361         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5362         (gst_proxy_pad_do_fixatecaps):
5363         Call wrapper function instead of just calling the function
5364         pointers. This takes care of any locking and whatmore.
5365
5366 2005-06-28  Wim Taymans  <wim@fluendo.com>
5367
5368         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5369         (gst_pad_pull_range):
5370         * gst/gstpad.h:
5371         CONNECTED -> LINKED.
5372
5373 2005-06-28  Andy Wingo  <wingo@pobox.com>
5374
5375         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5376         source-munging commit!!!
5377
5378         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
5379         (gst_object_sink): Take gpointer arguments, not GstObject --
5380         avoids casts. Like GLib.
5381
5382         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5383         activate.
5384
5385 2005-06-27  Andy Wingo  <wingo@pobox.com>
5386
5387         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5388         remaining buffer.
5389
5390         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5391         returns a sorted copy of the trace list.
5392         (gst_alloc_trace_print_live): New API, only prints traces with
5393         live objects. Sort the list.
5394         (gst_alloc_trace_print_all): Sort the list.
5395         (gst_alloc_trace_print): Align columns.
5396
5397         * gst/elements/gstttypefindelement.c:
5398         * gst/elements/gsttee.c:
5399         * gst/base/gstbasesrc.c:
5400         * gst/base/gstbasesink.c:
5401         * gst/base/gstbasetransform.c:
5402         * gst/gstqueue.c: Adapt for pad activation changes.
5403
5404         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5405         sched.
5406         (gst_pipeline_dispose): Drop ref on sched.
5407
5408         * gst/gstpad.c (gst_pad_init): Set the default activate func.
5409         (gst_pad_activate_default): Push mode by default.
5410         (pre_activate_switch, post_activate_switch): New stubs, things to
5411         do before and after switching activation modes on pads.
5412         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5413         the pad's activate function to choose which mode to activate.
5414         Shortcut on deactivation and call the right function directly.
5415         (gst_pad_activate_pull): New API, (de)activates a pad in pull
5416         mode.
5417         (gst_pad_activate_push): New API, same for push mode.
5418         (gst_pad_set_activate_function) 
5419         (gst_pad_set_activatepull_function) 
5420         (gst_pad_set_activatepush_function): Setters for new API.
5421
5422         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5423         Trace all miniobjects.
5424         (gst_mini_object_make_writable): Unref the arg if we copy, like
5425         gst_caps_make_writable.
5426
5427         * gst/gstmessage.c (_gst_message_initialize): No trace init.
5428
5429         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
5430         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5431         Adapt for new pad API.
5432
5433         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5434
5435         * gst/gstelement.h:
5436         * gst/gstelement.c (gst_element_iterate_src_pads) 
5437         (gst_element_iterate_sink_pads): New API functions.
5438         
5439         * gst/gstelement.c (iterator_fold_with_resync): New utility,
5440         should fold into gstiterator.c in some form.
5441         (gst_element_pads_activate): Simplified via use of fold and
5442         delegation of decisions to gstpad->activate.
5443
5444         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5445         help in debugging.
5446
5447         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5448         class once in init, like gstmessage. Didn't run into this issue
5449         but it seems correct. Don't initialize a trace, gstminiobject does
5450         that.
5451
5452         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5453         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5454         to the bus.
5455         (assert_live_count): New util function, uses alloc traces to check
5456         cleanup.
5457
5458         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5459         To be modified when unlink drops the internal pad.
5460
5461 2005-06-27  Wim Taymans  <wim@fluendo.com>
5462
5463         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5464         (gst_bin_change_state):
5465         Cleanup the get_state() function a little, make sure it
5466         iterates the same set of elements.
5467         Added stub iterate_state_order().
5468
5469 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5470
5471         * docs/gst/gstreamer-docs.sgml:
5472         * docs/gst/gstreamer-sections.txt:
5473         * docs/gst/gstreamer.types:
5474         * docs/gst/tmpl/gstbasesink.sgml:
5475         * docs/gst/tmpl/gstbasesrc.sgml:
5476         * docs/gst/tmpl/gstbasetransform.sgml:
5477         * docs/gst/tmpl/gstelement.sgml:
5478         * docs/gst/tmpl/gstiterator.sgml:
5479         * gst/base/gstbasesrc.c:
5480         * gst/base/gstbasesrc.h:
5481         * gst/base/gstbasetransform.h:
5482         * gst/gstelement.c:
5483         * gst/gstiterator.h:
5484           adding basetransform and iterator docs
5485
5486 2005-06-27  Andy Wingo  <wingo@pobox.com>
5487
5488         * docs/design/part-activation.txt: Notes on how activation should
5489         work -- not quite implemented yet.
5490
5491 2005-06-25  Wim Taymans  <wim@fluendo.com>
5492
5493         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5494         At least get the chain function correct, needs more
5495         fixing.
5496
5497 2005-06-25  Wim Taymans  <wim@fluendo.com>
5498
5499         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5500         (gst_basesink_handle_object), (gst_basesink_event),
5501         (gst_basesink_do_sync), (gst_basesink_handle_event),
5502         (gst_basesink_change_state):
5503         * gst/gsttask.h:
5504         Right, two problems here: ghostpads don't take locks and
5505         glib _rec_mutex_lock_full() with depth==0 still locks.
5506         Catch illegal locking and g_warn them.
5507
5508 2005-06-25  Wim Taymans  <wim@fluendo.com>
5509
5510         * check/states/sinks.c: (START_TEST), (gst_object_suite):
5511         Have to check for completion now...
5512
5513 2005-06-25  Wim Taymans  <wim@fluendo.com>
5514
5515         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5516         (gst_basesink_handle_object), (gst_basesink_event),
5517         (gst_basesink_do_sync), (gst_basesink_handle_event),
5518         (gst_basesink_change_state):
5519         * gst/gstpad.h:
5520         Unlock STREAM_LOCK whatever the recursion was.
5521
5522 2005-06-25  Wim Taymans  <wim@fluendo.com>
5523
5524         * gst/base/gstbasesink.c: (gst_basesink_set_property),
5525         (gst_basesink_preroll_queue_empty),
5526         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5527         (gst_basesink_event), (gst_basesink_do_sync),
5528         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5529         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5530         (gst_basesink_change_state):
5531         Reworked the base sink, handle event and buffer serialisation
5532         correctly and removed possible deadlock.
5533         Handle EOS correctly.
5534
5535 2005-06-25  Wim Taymans  <wim@fluendo.com>
5536
5537         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5538         (gst_pipeline_change_state):
5539         * tools/gst-launch.c: (check_intr), (event_loop), (main):
5540         Allow elements to post EOS in the state change function.
5541         Fix up -launch, make it exit the poll loop when the
5542         pipeline actually changed state.
5543         Fix up warning parsing in -launch.
5544
5545 2005-06-25  Wim Taymans  <wim@fluendo.com>
5546
5547         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5548         (gst_tee_sink_activate):
5549         Core takes STREAM_LOCK for us now.
5550
5551 2005-06-25  Wim Taymans  <wim@fluendo.com>
5552
5553         * gst/gstelement.c: (gst_element_get_state_func),
5554         (gst_element_set_state):
5555         * gst/gstelement.h:
5556         * gst/gstmessage.c: (gst_message_parse_error),
5557         (gst_message_parse_warning):
5558         Keep track of current target state while performing a state
5559         change so that subclasses can do something interesting.
5560         Fix parsing of warning/error messages when GError is NULL.
5561
5562 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5563
5564         * docs/gst/Makefile.am:
5565         * docs/gst/gstreamer-docs.sgml:
5566         * docs/gst/gstreamer-sections.txt:
5567         * docs/gst/gstreamer.types:
5568         * docs/gst/tmpl/gstbasesink.sgml:
5569         * docs/gst/tmpl/gstbasesrc.sgml:
5570         * docs/gst/tmpl/gstbin.sgml:
5571         * docs/gst/tmpl/gstcompat.sgml:
5572         * docs/gst/tmpl/gstfakesink.sgml:
5573         * docs/gst/tmpl/gstfakesrc.sgml:
5574         * docs/gst/tmpl/gstfilesink.sgml:
5575         * docs/gst/tmpl/gstfilesrc.sgml:
5576         * docs/gst/tmpl/gstindex.sgml:
5577         * docs/manual/appendix-quotes.xml:
5578         * gst/base/gstbasesrc.h:
5579         * gst/elements/gstfakesrc.h:
5580         * gst/gstmessage.h:
5581           start pulling in base classes and elements in our docs
5582
5583 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
5584
5585         * docs/gst/Makefile.am:
5586         * docs/libs/Makefile.am:
5587           fixed make distcheck with gtk-doc 1.3
5588
5589 2005-06-23  Wim Taymans  <wim@fluendo.com>
5590
5591         * gst/gstelement.c: (gst_element_get_state_func),
5592         (gst_element_set_state), (gst_element_change_state):
5593         When the state did not change, also report NO_PREROLL
5594         when it matters.
5595
5596 2005-06-23  Wim Taymans  <wim@fluendo.com>
5597
5598         * gst/gstpad.c: (gst_pad_event_default):
5599         * gst/gstqueue.c: (gst_queue_loop):
5600         No unsafe task pausing please.
5601
5602 2005-06-23  Wim Taymans  <wim@fluendo.com>
5603
5604         * gst/schedulers/threadscheduler.c:
5605         (gst_thread_scheduler_task_start),
5606         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5607         Ref the task before pushing it on the threadpool. This
5608         makes sure that we have a ref when the threadfunction is
5609         actually called.
5610
5611 2005-06-23  Andy Wingo  <wingo@pobox.com>
5612
5613         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5614         offset is greater than the file's size.
5615
5616         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
5617         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5618         * gst/gstobject.c (gst_object_class_init): Make the class lock
5619         recursive. Wim won't let me drop deep_notify. Decodebin works
5620         again, whoopdy doo.
5621
5622         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5623         internal pad, and hacks accordingly. Doesn't do it on the target
5624         pad because we change its caps. Probably catches all cases of
5625         interest tho.
5626         (gst_ghost_pad_set_property): Connect to notify::caps as
5627         appropritate.
5628
5629         * tests/network-clock.scm (plot-simulation): Pipe data to the
5630         elite python skript.
5631
5632         * tests/network-clock-utils.scm (define-parameter): New macro,
5633         defines a parameter that can be set via the command line.
5634         (set-parameter!, parse-parameter-arguments): Command line args
5635         parser.
5636
5637         * tests/plot-data: Simple matplotlib-based plotter, takes input on
5638         stdin.
5639
5640 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
5641
5642         * gst/elements/gsttypefindelement.c:
5643         (gst_type_find_element_handle_event):
5644           Don't restart typefinding on a discont.
5645         * gst/gstelement.c: (gst_element_set_state):
5646           Debug spelling fix.
5647         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5648           Allow changing mode of an active pad.
5649           Debug output fixes.
5650         * gst/registries/gstlibxmlregistry.c: (load_feature):
5651           Don't cast a static pad template to a normal pad template.
5652
5653 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5654
5655         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5656         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5657           remove gst_strtoll completely, since it didn't actually do
5658           anything more than what g_ascii_strtoull already does.
5659           check for range errors when deserializing
5660           do a cast for the unsigned cases; but further fixing needs
5661           a decision on what the interpretation of "(int)" and
5662           deserialization should be for values that fall outside the
5663           type's boundaries (ie, refuse, or interpret as casting)
5664
5665 2005-06-23  Wim Taymans  <wim@fluendo.com>
5666
5667         * check/Makefile.am:
5668         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5669         * docs/design/part-live-source.txt:
5670         * docs/design/part-states.txt:
5671         * gst/base/gstbasesrc.c: (gst_basesrc_init),
5672         (gst_basesrc_set_live), (gst_basesrc_is_live),
5673         (gst_basesrc_get_range), (gst_basesrc_activate),
5674         (gst_basesrc_change_state):
5675         * gst/base/gstbasesrc.h:
5676         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5677         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5678         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5679         * gst/gstelement.c: (gst_element_get_state_func),
5680         (gst_element_set_state):
5681         * gst/gstelement.h:
5682         * gst/gsttypes.h:
5683         * tools/gst-launch.c: (event_loop), (main):
5684         Added support for live sources and other elements that
5685         cannot do preroll.
5686         Updated design docs, added live-source design doc.
5687         Implemented live source functionality in basesrc
5688         Fix error condition in _bin_get_state()
5689         Implement live source handling in -launch.
5690         Added check for live sources.
5691         Fixed case in GstBin where elements were changed state
5692         multiple times.
5693
5694
5695 2005-06-23  Andy Wingo  <wingo@pobox.com>
5696
5697         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5698         borken refcounting.
5699
5700         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5701         gst_caps_replace takes care of this for us.
5702
5703         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5704         gst_pad_set_caps on the target, not just its setcaps() function.
5705
5706         * tests/network-clock.scm: 
5707         * tests/network-clock-utils.scm: A network clock simulator.
5708         Something of an algorithmic testbed before doing something in C.
5709
5710 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5711
5712         * check/Makefile.am:
5713         * check/gst/capslist.h:
5714           copy over from 0.8, and add two with bitmasks specified with
5715           (int) 0xFF...
5716         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5717           add test to parse everything from capslist.h
5718         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5719         (main):
5720           add test for structure deserialization
5721         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5722           add tests for deserialization of strings to int types
5723         * gst/gststructure.c: (gst_structure_nth_field_name):
5724         * gst/gststructure.h:
5725           add a way to get the name of a field referenced by index
5726         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5727           instead of checking if the resulting long long lies between
5728           min and max, we check if the long long would fit into
5729           a number of bytes for the final type.
5730           This fixes cases where a string represents 2^32 - 1, which
5731           when cast to int would be the (valid) -1, but is bigger than
5732           G_MAXINT
5733
5734 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5735
5736         * gst/parse/grammar.y:
5737           add a log line for type deserialization
5738
5739 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5740
5741         * check/gst/gstvalue.c: (START_TEST):
5742         * gst/gstvalue.c: (gst_value_deserialize):
5743           return long long, not int, so gint64 deserialization actually
5744           works.  Is there any flag that makes the compiler check this ?
5745           Fixes #308559
5746
5747 2005-06-22  Wim Taymans  <wim@fluendo.com>
5748
5749         * gst/gstbuffer.h:
5750         Added convenience macros for setting buffers in GValue.
5751
5752 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5753
5754         * check/gst/.cvsignore:
5755         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5756           add a test deserializing int64, and comment part out because
5757           it fails, yay !
5758
5759 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5760
5761         * check/Makefile.am:
5762         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5763         * testsuite/Makefile.am:
5764         * testsuite/caps/Makefile.am:
5765         * testsuite/caps/value_serialize.c:
5766         * testsuite/test_gst_init.c:
5767           move a value_serialize test over
5768
5769 2005-06-20  Wim Taymans  <wim@fluendo.com>
5770
5771         * gst/gstpad.c:
5772         Small doc updates.
5773         
5774         * gst/gstvalue.c: (gst_value_compare_buffer),
5775         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5776         (gst_value_compare_flags), (gst_value_serialize_flags),
5777         (gst_value_deserialize_flags), (_gst_value_initialize):
5778         Fix serialisation of buffers, they are not boxed types anymore
5779
5780 2005-06-20  Wim Taymans  <wim@fluendo.com>
5781
5782         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5783         Testcase to show error in buffer-on-caps serialisation.
5784
5785 2005-06-20  Andy Wingo  <wingo@pobox.com>
5786
5787         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5788         will be adding to later.
5789
5790         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5791         if its socks fill with rocks.
5792         (gst_system_clock_obtain): Set the name on object construction.
5793         Avoid double-checked locking.
5794
5795 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
5796
5797         * gst/gsturi.c: (gst_element_make_from_uri):
5798           Fix potential endless loop.
5799
5800 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5801
5802         * check/Makefile.am:
5803           add gsttag
5804         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5805         (main):
5806           move over from testsuite dir and clean up
5807         * configure.ac:
5808         * gst/gsttag.c:
5809         * testsuite/Makefile.am:
5810         * testsuite/tags/.cvsignore:
5811         * testsuite/tags/Makefile.am:
5812         * testsuite/tags/merge.c:
5813           remove testsuite/tags
5814
5815 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5816
5817         * docs/gst/gstreamer-sections.txt:
5818         * docs/gst/tmpl/gstenumtypes.sgml:
5819         * win32/gstenumtypes.c:
5820           clean up documentation build a little
5821
5822 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5823
5824         * check/gstcheck.h:
5825           add macros for checking refcounts on objects and caps
5826         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5827           add some more unit tests
5828         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5829         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5830           fix leaked refcounts (I hope :)) so unittest works
5831         * gst/gstpad.h:
5832           whitespace removal
5833
5834 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5835
5836         * configure.ac: back to HEAD
5837
5838 === release 0.9.1 ===
5839
5840 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5841
5842         * NEWS:
5843         * RELEASE:
5844           updated
5845
5846 2005-06-17  Andy Wingo  <wingo@pobox.com>
5847
5848         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5849         assert; it's always possible that the pad gets deactivated in
5850         between the checks in gstpad.c and the implementation. Rely on
5851         finish_preroll() to return a FLUSHING or similar instead of on the
5852         assert.
5853         
5854         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5855         clock and post an EOS message if we come out of finish_preroll in
5856         the playing state.
5857
5858 2005-06-16  David Schleef  <ds@schleef.org>
5859
5860         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5861         (gst_capsfilter_set_property): Allow NULL as possible value
5862         for filter_caps property, indicating GST_CAPS_ANY.
5863
5864 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5865
5866         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5867           fix debug output
5868         * gst/schedulers/Makefile.am:
5869           use libgst prefix
5870         * gstreamer.spec.in:
5871           fix spec for it
5872
5873 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5874
5875         * gstreamer.spec.in:
5876           clean up
5877
5878 2005-06-08  Andy Wingo  <wingo@pobox.com>
5879
5880         * gst/gstutils.c: RPAD fixes all around.
5881         (gst_element_link_pads): Refcounting fixes.
5882
5883         * tools/gst-inspect.c:
5884         * tools/gst-xmlinspect.c:
5885         * parse/grammar.y:
5886         * gst/base/gsttypefindhelper.c:
5887         * gst/base/gstbasesink.c:
5888         * gst/gstqueue.c: RPAD fixes.
5889
5890         * gst/gstghostpad.h:
5891         * gst/gstghostpad.c: New ghost pad implementation as full proxy
5892         pads. The tricky thing is they provide both source and sink
5893         interfaces, since they proxy the internal pad for the external
5894         pad, and vice versa. Implement with lower-level ProxyPad objects,
5895         with the interior proxy pad as a child of the exterior ghost pad.
5896         Should write a doc on this.
5897         
5898         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5899         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5900         gst_object API.
5901         
5902         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5903         pads are real pads. No ghost pads in this file. Not documenting
5904         the myriad s/RPAD/PAD/ and REALIZE fixes.
5905         (gst_pad_class_init): Add properties for "direction" and
5906         "template". Both are construct-only, so they can't change during
5907         the life of the pad. Fixes properly deriving from GstPad.
5908         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5909         derived objects, just set properties when creating the objects via
5910         g_object_new.
5911         (gst_pad_get_parent): Implement as a function, return NULL if the
5912         parent is not an element.
5913         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5914         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5915         
5916         * gst/gstobject.c (gst_object_class_init): Make name a construct
5917         property. Don't set it in the object init.
5918
5919         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5920         with UNKNOWN direction.
5921         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5922         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5923         (gst_element_remove_pad): Remove ghost-pad special cases.
5924         (gst_element_pads_activate): Remove rpad cruft.
5925
5926         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5927         catch the pad's-parent-not-an-element case.
5928
5929         * gst/gst.h: Include gstghostpad.h.
5930
5931         * gst/gst.c (init_post): No more real, ghost pads.
5932
5933         * gst/Makefile.am: Add gstghostpad.[ch].
5934
5935         * check/Makefile.am:
5936         * check/gst/gstbin.c:
5937         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5938         into a bin creates ghost pads, and that the refcounts are right.
5939         Partly moved from gstbin.c.
5940
5941 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5942
5943         * check/gst-libs/.cvsignore:
5944         * check/gst/.cvsignore:
5945         * check/pipelines/.cvsignore:
5946           ignore more
5947         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5948         (START_TEST), (cleanup_suite), (main):
5949           add some tests related to cleanup after running pipelines
5950
5951 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5952
5953         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5954           add a testsuite for GstBuffer
5955
5956 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5957
5958         * gst/gstminiobject.h:
5959           add defines for accessing the refcount
5960
5961 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * Makefile.am: added support for html unit test coverage reports
5964
5965 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
5966
5967         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5968           Free existing caps if the capsfilter changes. Add a FIXME about
5969           setting those caps on the pads.
5970
5971         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5972           Before adding a ghost pad to a parent bin, check that there isn't
5973           already one for the element on the bin. Prevents infinite recursion
5974           when using decodebin in parse pipelines. Andy says he'll rewrite the
5975           way this works anyway, so ignore the hack.
5976
5977 2005-06-02  Andy Wingo  <wingo@pobox.com>
5978
5979         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5980         file size, pass it on to the type find helper.
5981
5982         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5983         segment_start and segment_end properly according to the seek
5984         method. Segment_end is still a bit flaky because offset can be
5985         negative for CUR and END cases, but it takes -1 as an "unset"
5986         value.
5987
5988 2005-06-02  Wim Taymans  <wim@fluendo.com>
5989
5990         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5991         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5992         (gst_basesink_activate):
5993         * gst/base/gstbasesink.h:
5994         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5995         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5996         (gst_pad_query), (gst_pad_start_task):
5997         * gst/gstpad.h:
5998         * gst/gstqueue.c: (gst_queue_bufferalloc),
5999         (gst_queue_handle_sink_event), (gst_queue_chain):
6000         Bufferalloc: return GstFlowReturn to more accuratly report
6001         why allocation failed.
6002
6003 2005-06-02  Wim Taymans  <wim@fluendo.com>
6004
6005         * gst/gstpipeline.c: (gst_pipeline_send_event):
6006         Take snapshot of state without blocking.
6007
6008 2005-06-02  Wim Taymans  <wim@fluendo.com>
6009
6010         * docs/design/part-TODO.txt:
6011         * docs/design/part-caps.txt:
6012         * docs/design/part-clocks.txt:
6013         * docs/design/part-negotiation.txt:
6014         * docs/design/part-preroll.txt:
6015         Small doc updates 
6016
6017 2005-05-30  Wim Taymans  <wim@fluendo.com>
6018
6019         * gst/elements/gstidentity.c: (gst_identity_event),
6020         (gst_identity_transform), (gst_identity_get_property):
6021         Protect last_message property as it is accessed from
6022         multiple threads.
6023
6024 2005-05-30  Wim Taymans  <wim@fluendo.com>
6025
6026         * gst/gstelement.c: (gst_element_init),
6027         (gst_element_pads_activate), (gst_element_change_state):
6028         Slicker pad activation code.
6029
6030 2005-05-30  Wim Taymans  <wim@fluendo.com>
6031
6032         * gst/Makefile.am:
6033         * gst/gstelement.h:
6034         * gst/gstelementfactory.h:
6035         * gst/gsttypes.h:
6036         Move elementfactory methods to separate .h file.
6037
6038 2005-05-30  Wim Taymans  <wim@fluendo.com>
6039
6040         * docs/design/part-overview.txt:
6041         * gst/gstsystemclock.h:
6042         Small typo fixes, doc updates.
6043
6044 2005-05-30  Wim Taymans  <wim@fluendo.com>
6045
6046         * gst/gst.c: (gst_init_get_popt_table), (init_post),
6047         (init_popt_callback):
6048         Remove cpu-opt flag.
6049
6050 2005-05-30  Wim Taymans  <wim@fluendo.com>
6051
6052         * gst/gstbuffer.c: (gst_subbuffer_finalize),
6053         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6054         * gst/gstbuffer.h:
6055         Avoid typechecking in places where not needed.
6056         Added accessor for malloc_data.
6057
6058 2005-05-30  Wim Taymans  <wim@fluendo.com>
6059
6060         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6061         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6062         (gst_pad_configure_sink), (gst_pad_configure_src),
6063         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6064         (gst_pad_start_task):
6065         Propagate errors from _set_caps() in configure_src/sink
6066         functions instead of returning TRUE.
6067         FLUSH events can travel up and downstream
6068
6069
6070 2005-05-30  Wim Taymans  <wim@fluendo.com>
6071
6072         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6073         (gst_basesink_activate):
6074         Handle EOS in preroll.
6075
6076 2005-05-30  Wim Taymans  <wim@fluendo.com>
6077
6078         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6079         (gst_queue_loop), (gst_queue_handle_src_event):
6080         Remove old pieces of code
6081         Flushing the queue in an upstream event is a very bad idea.
6082
6083 2005-05-26  Andy Wingo  <wingo@pobox.com>
6084
6085         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6086         gst_value_set_mini_object so as to add a ref on the object (which
6087         will be removed when the value is unset).
6088
6089         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6090         arg type in ::handoff.
6091
6092         * gst/gstelement.c (gst_element_change_state): Also deactivate
6093         pads in READY->NULL, just in case the element didn't make it to
6094         PAUSED. Wingo tested, Wim approved.
6095
6096 2005-05-26  Wim Taymans  <wim@fluendo.com>
6097
6098         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6099         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6100         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6101         A flushing pad cannot be used to alloc_buffer from.
6102
6103 2005-05-26  Wim Taymans  <wim@fluendo.com>
6104
6105         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6106         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6107         (gst_bus_source_dispatch), (gst_bus_source_finalize),
6108         (gst_bus_create_watch), (gst_bus_add_watch_full):
6109         * gst/gstbus.h:
6110         Implement a real GSource and use g_main_context_wakeup() to
6111         signal new messages instead of the socketpair.
6112
6113 2005-05-25  Wim Taymans  <wim@fluendo.com>
6114
6115         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6116         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6117         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6118         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6119         (gst_pad_send_event), (gst_pad_start_task):
6120         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6121         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6122         (gst_queue_sink_activate), (gst_queue_src_activate),
6123         (gst_queue_change_state):
6124         * gst/gstqueue.h:
6125         Fix state changes for non sinks. We now change sinks, then elements
6126         with unconnected srcpads, then the rest.
6127         More efficient queue unlocking in flush and state changes.
6128         Set the pad activate mode even if it does not have an activate
6129         function.
6130
6131 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6132
6133         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6134           Don't go in pull mode for non-seekable sources.
6135         * gst/elements/gsttypefindelement.h:
6136         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6137         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6138         (free_entry), (stop_typefinding),
6139         (gst_type_find_element_handle_event), (find_peek),
6140         (gst_type_find_element_chain), (do_pull_typefind),
6141         (gst_type_find_element_change_state):
6142           Allow typefinding (w/o seeking) in push-mode, simplified version
6143           of what was in 0.8.
6144         * gst/gstutils.c: (gst_buffer_join):
6145         * gst/gstutils.h:
6146           gst_buffer_join() from 0.8.
6147
6148 2005-05-25  Wim Taymans  <wim@fluendo.com>
6149
6150         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6151         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6152         (gst_pad_send_event), (gst_pad_start_task):
6153         Disable attempt at mode switching until it is figured out.
6154
6155 2005-05-25  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6158         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6159         (gst_basesink_finish_preroll), (gst_basesink_chain),
6160         (gst_basesink_loop), (gst_basesink_activate),
6161         (gst_basesink_change_state):
6162         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6163         (gst_basesrc_get_range), (gst_basesrc_loop),
6164         (gst_basesrc_activate):
6165         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6166         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6167         (gst_real_pad_init), (gst_real_pad_set_property),
6168         (gst_real_pad_get_property), (gst_pad_set_active),
6169         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6170         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6171         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6172         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6173         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6174         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6175         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6176         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6177         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6178         (gst_pad_stop_task):
6179         * gst/gstpad.h:
6180         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6181         (gst_queue_loop), (gst_queue_src_activate):
6182         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6183         (gst_task_get_state):
6184         * gst/gsttask.h:
6185         * gst/schedulers/threadscheduler.c:
6186         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6187         Implement gst_pad_pause/start/stop_task(), take STREAM lock
6188         in task function.
6189         Remove ACTIVE pad flag, use FLUSHING everywhere
6190         Added _pad_chain(), _pad_get_range() to call chain/getrange 
6191         functions.
6192         Add locks around IS_FLUSHING when reading.
6193         Take STREAM lock in chain(), get_range() functions so plugins
6194         don't need to take it anymore.
6195         
6196
6197
6198 2005-05-25  Wim Taymans  <wim@fluendo.com>
6199
6200         * tools/gst-launch.c: (event_loop):
6201         Unref message after using its contents instead of
6202         before.
6203
6204 2005-05-24  Wim Taymans  <wim@fluendo.com>
6205
6206         * docs/design/draft-ghostpads.txt:
6207         * docs/design/draft-push-pull.txt:
6208         * docs/design/draft-query.txt:
6209         * docs/design/part-overview.txt:
6210         Docs updates, added general overview doc.
6211
6212 2005-05-21  David Schleef  <ds@schleef.org>
6213
6214         * docs/gst/tmpl/old/GstBin.sgml:
6215         * docs/gst/tmpl/old/GstBuffer.sgml:
6216         * docs/gst/tmpl/old/GstCaps.sgml:
6217         * docs/gst/tmpl/old/GstClock.sgml:
6218         * docs/gst/tmpl/old/GstCompat.sgml:
6219         * docs/gst/tmpl/old/GstData.sgml:
6220         * docs/gst/tmpl/old/GstElement.sgml:
6221         * docs/gst/tmpl/old/GstEvent.sgml:
6222         * docs/gst/tmpl/old/GstIndex.sgml:
6223         * docs/gst/tmpl/old/GstStructure.sgml:
6224         * docs/gst/tmpl/old/GstTag.sgml:
6225         * docs/gst/tmpl/old/cothreads.sgml:
6226         * docs/gst/tmpl/old/cothreads_compat.sgml:
6227         * docs/gst/tmpl/old/gettext.sgml:
6228         * docs/gst/tmpl/old/gobject2gtk.sgml:
6229         * docs/gst/tmpl/old/grammar.tab.sgml:
6230         * docs/gst/tmpl/old/gst-i18n-app.sgml:
6231         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6232         * docs/gst/tmpl/old/gst_private.sgml:
6233         * docs/gst/tmpl/old/gstaggregator.sgml:
6234         * docs/gst/tmpl/old/gstarch.sgml:
6235         * docs/gst/tmpl/old/gstatomic_impl.sgml:
6236         * docs/gst/tmpl/old/gstbufferstore.sgml:
6237         * docs/gst/tmpl/old/gstdata_private.sgml:
6238         * docs/gst/tmpl/old/gstdisksink.sgml:
6239         * docs/gst/tmpl/old/gstdisksrc.sgml:
6240         * docs/gst/tmpl/old/gstelementfactory.sgml:
6241         * docs/gst/tmpl/old/gstextratypes.sgml:
6242         * docs/gst/tmpl/old/gstfakesink.sgml:
6243         * docs/gst/tmpl/old/gstfakesrc.sgml:
6244         * docs/gst/tmpl/old/gstfdsink.sgml:
6245         * docs/gst/tmpl/old/gstfdsrc.sgml:
6246         * docs/gst/tmpl/old/gstfilesink.sgml:
6247         * docs/gst/tmpl/old/gstfilesrc.sgml:
6248         * docs/gst/tmpl/old/gsthttpsrc.sgml:
6249         * docs/gst/tmpl/old/gstidentity.sgml:
6250         * docs/gst/tmpl/old/gstindexfactory.sgml:
6251         * docs/gst/tmpl/old/gstmarshal.sgml:
6252         * docs/gst/tmpl/old/gstmd5sink.sgml:
6253         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6254         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6255         * docs/gst/tmpl/old/gstpadtemplate.sgml:
6256         * docs/gst/tmpl/old/gstpipefilter.sgml:
6257         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6258         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6259         * docs/gst/tmpl/old/gstshaper.sgml:
6260         * docs/gst/tmpl/old/gstspider.sgml:
6261         * docs/gst/tmpl/old/gstspideridentity.sgml:
6262         * docs/gst/tmpl/old/gststatistics.sgml:
6263         * docs/gst/tmpl/old/gsttee.sgml:
6264         * docs/gst/tmpl/old/gsttimecache.sgml:
6265         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6266         * docs/gst/tmpl/old/gstxmlregistry.sgml:
6267         * docs/gst/tmpl/old/gthread-cothreads.sgml:
6268         * docs/gst/tmpl/old/types.sgml:
6269           I didn't intend to add these or check them in.
6270
6271 2005-05-19  David Schleef  <ds@schleef.org>
6272
6273         * configure.ac: Use -no-common everywhere.  In a sane world, it
6274           would be the default in libtool, because without it, you can't
6275           build DLLs on Windows.
6276         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6277         * docs/gst/gstreamer-sections.txt:
6278         * docs/gst/tmpl/gstcpu.sgml:
6279         * docs/gst/tmpl/gstdata.sgml:
6280         * docs/gst/tmpl/gstthread.sgml:
6281
6282 2005-05-19  David Schleef  <ds@schleef.org>
6283
6284         * gst/gstminiobject.c: (gst_value_set_mini_object),
6285         (gst_value_take_mini_object), (gst_value_get_mini_object):
6286         * gst/gstminiobject.h: Add GValue set/get functions.
6287
6288 2005-05-19  Wim Taymans  <wim@fluendo.com>
6289
6290         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6291         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6292         (gst_subbuffer_init), (gst_buffer_is_span_fast):
6293         * gst/gstbuffer.h:
6294         * gst/gstbus.c: (gst_bus_post):
6295         * gst/gstelement.c: (gst_element_get_random_pad):
6296         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6297         Make subbufer unref the parent in finalize.
6298         some more debugging info.
6299
6300
6301 2005-05-19  Wim Taymans  <wim@fluendo.com>
6302
6303         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6304         (gst_basesink_init), (gst_basesink_finalize),
6305         (gst_basesink_activate), (gst_basesink_change_state):
6306         Don't free preroll queue too early.
6307
6308 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6309
6310         * gst/Makefile.am:
6311         * gst/ROADMAP:
6312           Hi, I'm outdated. Please shoot me.
6313
6314 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6315
6316         * gst/gstpipeline.c: (gst_pipeline_send_event):
6317           Do not access variables after they have been deleted.
6318
6319 2005-05-19  Wim Taymans  <wim@fluendo.com>
6320
6321         * tools/gst-inspect.c: (print_plugin_features):
6322         A plugin feature does unfortunatly not use the
6323         object name yet...
6324
6325 2005-05-18  Wim Taymans  <wim@fluendo.com>
6326
6327         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6328         Port _span() functions to new subbuffers.
6329
6330 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6331
6332         * gst/gstbin.c: (gst_bin_add_func):
6333           Fix clock settery in bins when adding kids after the clock has
6334           been selected.
6335
6336 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6337
6338         * gst/elements/gstidentity.c: (gst_identity_class_init):
6339           Workaround until signals support GstMiniObject.
6340
6341 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6342
6343         * gst/gstbuffer.c:
6344         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6345
6346 2005-05-18  Wim Taymans  <wim@fluendo.com>
6347
6348         * gst/base/Makefile.am:
6349         * gst/base/gstadapter.c: (gst_adapter_base_init),
6350         (gst_adapter_class_init), (gst_adapter_init),
6351         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6352         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6353         (gst_adapter_flush), (gst_adapter_available),
6354         (gst_adapter_available_fast):
6355         * gst/base/gstadapter.h:
6356         Ported and added adapter to the base classes.
6357
6358 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6359
6360         * gst/gst.c:
6361         * gst/gstmessage.c:
6362           Make sure the class is reffed/unreffed once before threads can be
6363           used.  Fixes #304551.
6364
6365 2005-05-17  Wim Taymans  <wim@fluendo.com>
6366
6367         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6368         (gst_basesink_chain_unlocked), (gst_basesink_activate):
6369         * gst/gstminiobject.c: (gst_mini_object_get_type),
6370         (gst_mini_object_free):
6371         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6372         (gst_pad_push), (gst_pad_push_event):
6373         * gst/gstqueue.c: (gst_queue_change_state):
6374         Don't queue buffers in basesink when we are flushing.
6375         Unref buffer when flushing in basesink.
6376         Flush queue when going to READY
6377         Unref buffer when _push() returns an error.
6378         Don't free MiniObject instance when refcount is incremented
6379         in _finalize() so that we can recover objects.
6380
6381 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6382
6383         * docs/manual/advanced-schedulers.xml:
6384         * docs/manual/appendix-checklist.xml:
6385         * docs/pwg/advanced-clock.xml:
6386         * docs/pwg/advanced-interfaces.xml:
6387         * docs/pwg/advanced-request.xml:
6388         * docs/pwg/advanced-types.xml:
6389         * docs/pwg/intro-preface.xml:
6390         * examples/plugins/example.c: (gst_example_get_type),
6391         (gst_example_class_init), (gst_example_chain),
6392         (gst_example_set_property), (gst_example_get_property),
6393         (gst_example_change_state), (plugin_init):
6394         * examples/plugins/example.h:
6395           small doc fixes
6396
6397 2005-05-17  Wim Taymans  <wim@fluendo.com>
6398
6399         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6400         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6401         * gst/gstqueue.c: (gst_queue_change_state):
6402         Clear queue when going to READY.
6403         Remove IN_SETCAPS flag too.
6404
6405 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
6406
6407         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6408           Remove implicit cast from gboolean to GstElementStateReturn;
6409           make sure we still return failure in paused => ready case if
6410           the parent class fails to change state and our own stop 
6411           vfunc succeeds.
6412
6413 2005-05-17  Wim Taymans  <wim@fluendo.com>
6414
6415         * tools/gst-launch.c: (event_loop):
6416         Message was unreffed too soon.
6417
6418 2005-05-16  Andy Wingo  <wingo@pobox.com>
6419
6420         * gst/gstbin.c (sink_iterator_filter): Err... um...
6421
6422         * check/gst/gstbin.c (test_ghost_pads): New test for the
6423         ghosting-if-elements-not-in-same-bin behavior.
6424
6425 2005-05-16  David Schleef  <ds@schleef.org>
6426
6427         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6428         accessing refcount directly.
6429
6430 2005-05-15  David Schleef  <ds@schleef.org>
6431
6432         * check/Makefile.am: remove GstData checks
6433         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6434         * gst/Makefile.am: add miniobject, remove data
6435         * gst/gst.h: add miniobject, remove data
6436         * gst/gstdata.c: remove
6437         * gst/gstdata.h: remove
6438         * gst/gstdata_private.h: remove
6439         * gst/gsttypes.h: remove GstEvent and GstMessage
6440         * gst/gstelement.c: (gst_element_post_message): fix for API changes
6441         * gst/gstmarshal.list: change BOXED -> OBJECT
6442
6443         Implement GstMiniObject.
6444         * gst/gstminiobject.c:
6445         * gst/gstminiobject.h:
6446
6447         Modify to be subclasses of GstMiniObject.
6448         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6449         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6450         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6451         (gst_subbuffer_get_type), (gst_subbuffer_init),
6452         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6453         (gst_buffer_span):
6454         * gst/gstbuffer.h:
6455         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6456         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6457         (_gst_event_copy), (gst_event_new):
6458         * gst/gstevent.h:
6459         * gst/gstmessage.c: (_gst_message_initialize),
6460         (gst_message_get_type), (gst_message_class_init),
6461         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6462         (gst_message_new), (gst_message_new_error),
6463         (gst_message_new_warning), (gst_message_new_tag),
6464         (gst_message_new_state_changed), (gst_message_new_application):
6465         * gst/gstmessage.h:
6466         * gst/gstprobe.c: (gst_probe_perform),
6467         (gst_probe_dispatcher_dispatch):
6468         * gst/gstprobe.h:
6469         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6470         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6471         (_gst_query_copy), (gst_query_new):
6472
6473         Update elements for GstData -> GstMiniObject changes
6474         * gst/gstquery.h:
6475         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6476         (gst_queue_chain), (gst_queue_loop):
6477         * gst/elements/gstbufferstore.c:
6478         (gst_buffer_store_add_buffer_func),
6479         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6480         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6481         (gst_fakesink_render):
6482         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6483         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6484         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6485         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6486         (gst_filesrc_create_read):
6487         * gst/elements/gstidentity.c: (gst_identity_class_init):
6488         * gst/elements/gsttypefindelement.c:
6489         (gst_type_find_element_src_event), (free_entry_buffers),
6490         (gst_type_find_element_handle_event):
6491         * libs/gst/dataprotocol/dataprotocol.c:
6492         (gst_dp_header_from_buffer):
6493         * libs/gst/dataprotocol/dataprotocol.h:
6494         * libs/gst/dataprotocol/dp-private.h:
6495
6496 2005-05-15  David Schleef  <ds@schleef.org>
6497
6498         * gst/elements/gstelements.c: Don't include headers that were
6499         just removed.
6500
6501 2005-05-15  David Schleef  <ds@schleef.org>
6502
6503         * gst/elements/Makefile.am: Remove some elements that don't
6504         need to be in the core (or even exist at all).
6505         * gst/elements/gstaggregator.c:
6506         * gst/elements/gstaggregator.h:
6507         * gst/elements/gstmd5sink.c:
6508         * gst/elements/gstmd5sink.h:
6509         * gst/elements/gstmultifilesrc.c:
6510         * gst/elements/gstmultifilesrc.h:
6511         * gst/elements/gstpipefilter.c:
6512         * gst/elements/gstpipefilter.h:
6513         * gst/elements/gstshaper.c:
6514         * gst/elements/gstshaper.h:
6515         * gst/elements/gststatistics.c:
6516         * gst/elements/gststatistics.h:
6517         * po/POTFILES.in: Remove above files.
6518
6519 2005-05-14  Andy Wingo  <wingo@pobox.com>
6520
6521         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6522         so as to get the refs right.
6523         (sink_iterator_filter): New function, wraps bin_element_is_sink,
6524         unreffing objects that don't pass the filter.
6525
6526         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6527         gst_element_set_bus.
6528         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6529         normal cases, this will destroy the bus.
6530
6531         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6532         object.
6533
6534         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6535         has no sinks.
6536
6537 2005-05-13  Andy Wingo  <wingo@pobox.com>
6538
6539         * gst/gstutils.c (gst_element_link_pads): Instead of calling
6540         gst_pad_link, call pad_link_maybe_ghosting,
6541         (pad_link_maybe_ghosting): Links pads, making sure that the
6542         elements being linked are in the same bin.
6543         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6544         Helpers for pad_link_maybe_ghosting.
6545
6546 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6547
6548         * configure.ac:
6549           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6550
6551 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * docs/design/part-element-source.txt:
6554           Mention GstPushSrc
6555
6556 2005-05-12  Wim Taymans  <wim@fluendo.com>
6557
6558         * gst/base/gstbasesink.c: (gst_basesink_init),
6559         (gst_basesink_activate):
6560         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6561         (gst_basesrc_is_seekable):
6562         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6563         (bin_element_is_sink), (gst_bin_change_state):
6564         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6565         * gst/gstelement.h:
6566         Identify sinks by their flag to avoid overly complicated
6567         checks (fow now).
6568         Do state changes even for elements not reachable from the
6569         sinks.
6570         BaseSink is a sink now :)
6571         Some more debugging info in the basesrc.
6572
6573
6574 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6575
6576         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6577           Implement _query on a bin, similar to _send_event.
6578
6579 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6580
6581         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6582           Discont event offset format should be GST_FORMAT_BYTES,
6583           not GST_FORMAT_TIME.
6584
6585 2005-05-12  Wim Taymans  <wim@fluendo.com>
6586
6587         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6588         Same fix as Ronald's but without the signal. 
6589
6590 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6591
6592         * gst/gstutils.c: (gst_element_query_position):
6593           No, an element is not a pad.
6594
6595 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6596
6597         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6598         (gst_bin_get_state):
6599           If a child is removed from a bin while we remove the child from
6600           the bin and while we're retrieving its state, signal this to the
6601           get_state function so we abort the wait (instead of waiting for
6602           a timeout) and can immediately re-iterate over all other elements.
6603
6604 2005-05-12  Wim Taymans  <wim@fluendo.com>
6605
6606         * gst/base/Makefile.am:
6607         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6608         (gst_basesrc_start):
6609         * gst/base/gstbasesrc.h:
6610         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6611         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6612         (gst_pushsrc_init), (gst_pushsrc_create):
6613         * gst/base/gstpushsrc.h:
6614         Added is_seekable to BaseSrc
6615         Added simple PushSrc.
6616
6617 2005-05-11  Wim Taymans  <wim@fluendo.com>
6618
6619         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6620         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6621         (gst_element_link_pads), (gst_element_query_position),
6622         (gst_element_query_convert), (intersect_caps_func),
6623         (gst_pad_query_position), (gst_pad_query_convert):
6624         Fix refcounting in utils function.
6625         No point in trying to activate a pad when it's added, it could
6626         be added from the state change function and then we deadlock, the
6627         element has to decide what to do.
6628
6629 2005-05-10  Andy Wingo  <wingo@pobox.com>
6630
6631         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6632         *all* the arguments.
6633
6634         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6635         stream lock if it's a FLUSH_DONE; normal flushes don't get the
6636         lock (according to the docs -- if this is wrong change the docs).
6637
6638         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6639         flush messages in the NULL state.
6640
6641         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6642         message immediately and return.
6643         (gst_bus_set_flushing): New function. If a bus is flushing, it
6644         flushes out any queued messages and immediately unrefs new
6645         messages. This is so when an element goes to NULL, all of the
6646         unhandled messages coming from it can be freed, and their
6647         references to the element dropped. In other words: message source
6648         ref considered harmful :P
6649
6650         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6651         we're finished with it.
6652
6653         * gst/gstmessage.c (gst_message_new_state_changed): 
6654
6655 2005-05-10  Wim Taymans  <wim@fluendo.com>
6656
6657         * gst/gstvalue.c: (gst_value_compare_flags),
6658         (gst_value_serialize_flags), (gst_value_deserialize_flags),
6659         (_gst_value_initialize):
6660         Added flags serialize/deserialize/compare code.
6661
6662 2005-05-09  Andy Wingo  <wingo@pobox.com>
6663
6664         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6665         Intersect the peer's caps with our caps.
6666
6667 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6668
6669         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6670         * gst/elements/gsttypefindelement.c: (find_peek):
6671           Handle negative offsets better. Fixes decodebin.
6672
6673 2005-05-09  Wim Taymans  <wim@fluendo.com>
6674
6675         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6676         (gst_base_transform_event):
6677         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6678         Implement accept_caps.
6679         Fix silly lock/unlock mismatch in base class.
6680
6681 2005-05-09  Wim Taymans  <wim@fluendo.com>
6682
6683         * docs/design/draft-push-pull.txt:
6684         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6685         * gst/elements/gstfilesink.c: (gst_filesink_init),
6686         (gst_filesink_query):
6687         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6688         (gst_type_find_handle_src_query), (find_element_get_length):
6689         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6690         * gst/gstelement.h:
6691         * gst/gstmessage.c:
6692         * gst/gstmessage.h:
6693         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6694         (gst_real_pad_get_caps_unlocked),
6695         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6696         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6697         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6698         (gst_real_pad_dispose), (gst_real_pad_finalize),
6699         (gst_pad_load_and_link), (gst_pad_save_thyself),
6700         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6701         (gst_pad_check_pull_range), (gst_pad_pull_range),
6702         (gst_pad_template_get_type), (gst_pad_template_class_init),
6703         (gst_pad_template_init), (gst_pad_template_dispose),
6704         (name_is_valid), (gst_static_pad_template_get),
6705         (gst_pad_template_new), (gst_static_pad_template_get_caps),
6706         (gst_pad_template_get_caps), (gst_pad_set_element_private),
6707         (gst_pad_get_element_private), (gst_pad_start_task),
6708         (gst_pad_pause_task), (gst_pad_stop_task),
6709         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6710         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6711         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6712         (gst_ghost_pad_new):
6713         * gst/gstpad.h:
6714         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6715         (gst_query_new_position), (gst_query_set_position),
6716         (gst_query_parse_position), (gst_query_new_convert),
6717         (gst_query_set_convert), (gst_query_parse_convert):
6718         * gst/gstquery.h:
6719         * gst/gstqueryutils.c:
6720         * gst/gstqueryutils.h:
6721         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6722         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6723         (gst_queue_handle_src_query):
6724         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6725         (gst_element_query_position), (gst_element_query_convert),
6726         (intersect_caps_func), (gst_pad_query_position),
6727         (gst_pad_query_convert):
6728         * gst/gstutils.h:
6729         * tools/gst-inspect.c: (print_pad_info):
6730         * tools/gst-xmlinspect.c: (print_element_info):
6731         Remove old query functions. Ported old code.
6732         Added position/convert helper functions to gstutils.
6733         Reordered gstpad.c code, grouping relevant things.
6734         Remove gst_message_new(), always need to speficy a specific
6735         message.
6736
6737
6738 2005-05-09  Andy Wingo  <wingo@pobox.com>
6739
6740         * gst/gstiterator.h: Add some includes.
6741
6742         * gst/gstqueryutils.h: Include more headers.
6743
6744         * gst/gstpad.h:
6745         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6746         some uses of gst_pad_query.
6747
6748         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6749         NULL out parameters.
6750         (gst_query_new_position): New proc, allocates a new position
6751         query.
6752
6753         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6754         gstqueryutils.c to the build.
6755
6756         * gst/gststructure.c (gst_structure_set_valist): Implement with
6757         the generic G_VALUE_COLLECT.
6758         
6759 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
6760
6761         * gst/Makefile.am: (gst_headers):
6762         Added gstqueryutils.h to the list of headers to install, that was
6763         a 'nachty' move wingo :)
6764
6765 2005-05-06  Andy Wingo  <wingo@pobox.com>
6766
6767         * gst/gstquery.h
6768         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6769         GstData, init a memchunk.
6770         (standard_definitions): Add a few query types, deprecate a few.
6771         (gst_query_get_type): New proc.
6772         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6773         implementation.
6774         (gst_query_new_application, gst_query_get_structure): New public
6775         procs.
6776
6777         * docs/design/draft-query.txt: Removed LINKS from the query types,
6778         because all the rest can be dispatched to other pads -- seemed
6779         ugly to have a query that couldn't be dispatched. internal_links
6780         is fine as a pad method.
6781
6782         * gst/gstpad.h: Add query2 as a pad method, add the new functions
6783         in gstpad.c, but maintain binary compatibility for the moment.
6784         Will fix before 0.9 is out.
6785
6786         * gst/gstqueryutils.c: 
6787         * gst/gstqueryutils.h: New files, implement 3 methods for each
6788         query type: parse_query, parse_response, and set. Probably need an
6789         allocator as well.
6790
6791         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6792
6793         * gst/elements/gstfilesink.c (gst_filesink_query2):
6794         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6795         query_types, and formats methods.
6796
6797         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6798         (gst_pad_set_query2_function): New functions.
6799         (gst_real_pad_init): Set query2_default as the default query2
6800         function. Basically just dispatches to internally linked pads.
6801
6802         Needs review!
6803         
6804         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6805         without using the atomic operations. Only one thread can possibly
6806         be accessing the data at this point. Changed so as to avoid
6807         gst_atomic operations.
6808
6809 2005-05-06  Wim Taymans  <wim@fluendo.com>
6810
6811         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6812         Also set caps if we use the fallback buffer alloc.
6813
6814 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
6815
6816         * docs/gst/Makefile.am:
6817         * docs/gst/gstreamer-docs.sgml:
6818         * docs/gst/gstreamer-sections.txt:
6819         * docs/gst/tmpl/gstatomic.sgml:
6820         * docs/gst/tmpl/gstmemchunk.sgml:
6821         * testsuite/elements/struct_i386.h:
6822         * win32/GStreamer.vcproj:
6823         * win32/Makefile:
6824           Purge GstAtomic stuff from docs and win32 makefiles as well
6825
6826 2005-05-06  Wim Taymans  <wim@fluendo.com>
6827
6828         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6829         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6830         * gst/gstpad.c: (gst_pad_peer_get_caps):
6831         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6832         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6833         (gst_queue_src_activate), (gst_queue_change_state):
6834         * gst/gstqueue.h:
6835         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6836         (intersect_caps_func):
6837         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6838         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6839         Some fixes for the peer_get_caps() change.
6840
6841 2005-05-06  Wim Taymans  <wim@fluendo.com>
6842
6843         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6844         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6845         (gst_basesink_activate):
6846         Actually do something with error codes returned from the push
6847         functions.
6848
6849 2005-05-06  Wim Taymans  <wim@fluendo.com>
6850
6851         * docs/design/part-element-sink.txt:
6852         * docs/design/part-element-source.txt:
6853         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6854         (gst_basesink_event), (gst_basesink_activate):
6855         * gst/base/gstbasesink.h:
6856         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6857         (gst_basesrc_activate):
6858         * gst/base/gstbasesrc.h:
6859         * gst/gstelement.c: (gst_element_pads_activate):
6860         Some more documentation.
6861         Fixed scheduling decision in _pads_activate().
6862
6863 2005-05-05  Andy Wingo  <wingo@pobox.com>
6864
6865         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6866         the test suite.
6867
6868 2005-05-05  Wim Taymans  <wim@fluendo.com>
6869
6870         * gst/base/Makefile.am:
6871         * gst/base/gstbasesink.h:
6872         * gst/base/gstbasesrc.c: (gst_basesrc_init),
6873         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6874         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6875         (gst_collectpads_class_init), (gst_collectpads_init),
6876         (gst_collectpads_finalize), (gst_collectpads_new),
6877         (gst_collectpads_set_function), (gst_collectpads_add_pad),
6878         (find_pad), (gst_collectpads_remove_pad),
6879         (gst_collectpads_is_active), (gst_collectpads_collect),
6880         (gst_collectpads_collect_range), (gst_collectpads_start),
6881         (gst_collectpads_stop), (gst_collectpads_peek),
6882         (gst_collectpads_pop), (gst_collectpads_available),
6883         (gst_collectpads_read), (gst_collectpads_flush),
6884         (gst_collectpads_chain):
6885         * gst/base/gstcollectpads.h:
6886         * gst/elements/Makefile.am:
6887         * gst/elements/gstelements.c:
6888         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6889         (gst_fakesink_get_times), (gst_fakesink_event),
6890         (gst_fakesink_preroll), (gst_fakesink_render):
6891         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6892         (gst_filesink_init), (gst_filesink_set_location),
6893         (gst_filesink_open_file), (gst_filesink_close_file),
6894         (gst_filesink_pad_query), (gst_filesink_event),
6895         (gst_filesink_render), (gst_filesink_change_state):
6896         * gst/elements/gstfilesink.h:
6897         Added object to help in making collect pad based elements.
6898         Ported filesink.
6899         Make event function in sink baseclass return gboolean.
6900
6901 2005-05-05  Wim Taymans  <wim@fluendo.com>
6902
6903         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6904         (gst_bin_get_by_name):
6905         * gst/gstbuffer.h:
6906         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6907         (gst_clock_finalize):
6908         * gst/gstdata.c: (gst_data_replace):
6909         * gst/gstdata.h:
6910         * gst/gstelement.c: (gst_element_request_pad),
6911         (gst_element_pads_activate):
6912         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6913         (gst_object_unref):
6914         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6915         (gst_pad_set_checkgetrange_function),
6916         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6917         (gst_pad_check_pull_range), (gst_pad_pull_range),
6918         (gst_static_pad_template_get_caps), (gst_pad_start_task),
6919         (gst_pad_pause_task), (gst_pad_stop_task):
6920         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6921         (gst_element_request_pad), (gst_pad_proxy_getcaps):
6922         Fix name lookup in GstBin.
6923         Added _data_replace() function and _buffer_replace()
6924         Use finalize method to clean up clock.
6925         Fix refcounting on request pads.
6926         Fix pad schedule mode error.
6927         Some more object refcounting debug info,
6928
6929
6930 2005-05-04  Andy Wingo <wingo@pobox.com>
6931
6932         * check/Makefile.am:
6933         * docs/gst/tmpl/gstatomic.sgml:
6934         * docs/gst/tmpl/gstplugin.sgml:
6935         * gst/base/gstbasesink.c: (gst_basesink_activate):
6936         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6937         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6938         (gst_basesrc_query), (gst_basesrc_set_property),
6939         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6940         (gst_basesrc_activate):
6941         * gst/base/gstbasesrc.h:
6942         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6943         (gst_base_transform_src_activate):
6944         * gst/elements/gstelements.c:
6945         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6946         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6947         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6948         * gst/elements/gsttypefindelement.c: (find_element_get_length),
6949         (gst_type_find_element_checkgetrange),
6950         (gst_type_find_element_activate):
6951         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6952         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6953         (gst_caps_load_thyself):
6954         * gst/gstelement.c: (gst_element_pads_activate),
6955         (gst_element_save_thyself), (gst_element_restore_thyself):
6956         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6957         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6958         * gst/gstpad.h:
6959         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6960         (gst_xml_parse_file), (gst_xml_parse_memory),
6961         (gst_xml_get_element), (gst_xml_make_element):
6962         * gst/indexers/gstfileindex.c: (gst_file_index_load),
6963         (_file_index_id_save_xml), (gst_file_index_commit):
6964         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6965         (read_enum), (load_pad_template), (load_feature), (load_plugin),
6966         (load_paths):
6967         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6968         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6969         * tools/gst-complete.c: (main):
6970         * tools/gst-compprep.c: (main):
6971         * tools/gst-inspect.c: (print_element_properties_info):
6972         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6973         * tools/gst-xmlinspect.c: (print_element_properties):
6974         GCC 4 fixen.
6975         
6976 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6977
6978         * gst/gstplugin.c: (gst_plugin_check_module),
6979         (gst_plugin_check_file), (gst_plugin_load_file):
6980             apply patch from #172526 to make register work on MacOSX
6981
6982 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6983
6984         * docs/gst/tmpl/gstconfig.sgml:
6985         * gst/gstconfig.h.in:
6986           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
6987         * testsuite/debug/printf_extension.c: (main):
6988           Do not use GST_PTR_FORMAT on pointers to types with
6989           sizeof < sizeof(gpointer).  Fixes test on 64-bit
6990         * testsuite/elements/property.h:
6991           use correct printf format
6992
6993 2005-05-02  Wim Taymans  <wim@fluendo.com>
6994
6995         * docs/design/draft-push-pull.txt:
6996         * docs/design/draft-query.txt:
6997         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6998         (gst_basesrc_start):
6999         Added draft for new query API.
7000         Added draft for better selecting scheduling methods.
7001         Make basesrc ignore length if the subclass does not support
7002         it.
7003
7004 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7005
7006         * gst/Makefile.am:
7007           possible fixes for automake-1.5 - _LIBADD is reserved
7008
7009 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7010
7011         * docs/faq/Makefile.am:
7012         * docs/manual/Makefile.am:
7013         * docs/manuals.mak:
7014         * docs/pwg/Makefile.am:
7015         * gst/Makefile.am:
7016           possible fixes for automake-1.5
7017
7018 2005-04-28  Wim Taymans  <wim@fluendo.com>
7019
7020         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7021         (gst_basesink_pad_getcaps), (gst_basesink_init),
7022         (gst_basesink_do_sync):
7023         * gst/gstclock.c: (gst_clock_entry_new):
7024         * gst/gstevent.c: (gst_event_discont_get_value):
7025         * gst/gstpipeline.c: (pipeline_bus_handler),
7026         (gst_pipeline_change_state):
7027         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7028         Better debugging of clocking info.
7029         Allow NULL values when getting discont values.
7030
7031 2005-04-27  Wim Taymans  <wim@fluendo.com>
7032
7033         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7034         * check/gst/gstpad.c: (gst_pad_suite):
7035         Increase timeout for checks.
7036
7037 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7038
7039         * check/Makefile.am:
7040           fix the broken rule for cleanup.  Apparently this rule is
7041           only needed on FC2, so maybe this warrants further autotool
7042           inspection.
7043
7044 2005-04-26  Wim Taymans  <wim@fluendo.com>
7045
7046         * gst/gsttrashstack.h:
7047         Ooohh. a nasty one! After having a failed pop() from the stack,
7048         it's possible that the stack is empty. In that case, don't
7049         follow the NULL pointer.
7050
7051 2005-04-25  Wim Taymans  <wim@fluendo.com>
7052
7053         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7054         (gst_pad_set_checkgetrange_function),
7055         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7056         (gst_pad_check_pull_range), (gst_pad_pull_range),
7057         (gst_static_pad_template_get_caps), (gst_pad_start_task),
7058         (gst_pad_pause_task), (gst_pad_stop_task):
7059         * gst/gstplugin.c: (gst_plugin_load):
7060         * gst/gstplugin.h:
7061         Remove gst_library_load as it does more harm than good with
7062         the new g_module flags.
7063         Revert bogus caps template check in pad linking, pad caps
7064         are important when linking not the template, which is more
7065         general than the current caps.
7066
7067 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7068
7069         * gst/autoplug/.cvsignore:
7070         * gst/autoplug/Makefile.am:
7071         * gst/autoplug/gstsearchfuncs.c:
7072         * gst/autoplug/gstsearchfuncs.h:
7073         * gst/autoplug/gstspider.c:
7074         * gst/autoplug/gstspider.h:
7075         * gst/autoplug/gstspideridentity.c:
7076         * gst/autoplug/gstspideridentity.h:
7077         * gst/autoplug/spidertest.c:
7078           Die, spider, die.
7079
7080 2005-04-25  Wim Taymans  <wim@fluendo.com>
7081
7082         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7083         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7084         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7085         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7086         * gst/gstpad.h:
7087         Added stubs for unimplemented functions. 
7088
7089 2005-04-24  David Schleef  <ds@schleef.org>
7090
7091         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
7092         please fix.
7093
7094 2005-04-24  David Schleef  <ds@schleef.org>
7095
7096         Convert everything from GstAtomicInt to g_atomic_int_*, and
7097         remove gstatomic.
7098         * gst/Makefile.am:
7099         * gst/gstatomic.c:
7100         * gst/gstatomic.h:
7101         * gst/gstatomic_impl.h:
7102         * gst/gstbuffer.c:
7103         * gst/gstcaps.c:
7104         * gst/gstcaps.h:
7105         * gst/gstclock.c:
7106         * gst/gstclock.h:
7107         * gst/gstdata.c:
7108         * gst/gstdata.h:
7109         * gst/gstdata_private.h:
7110         * gst/gstevent.c:
7111         * gst/gstinfo.c:
7112         * gst/gstinfo.h:
7113         * gst/gstmessage.c:
7114         * gst/gstobject.c:
7115         * gst/gstobject.h:
7116         * gst/gststructure.c:
7117         * gst/gststructure.h:
7118         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7119         * gst/gstutils.h:
7120
7121 2005-04-24  David Schleef  <ds@schleef.org>
7122
7123         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7124         make the regressions tests work.  Remove some code that is no
7125         longer true.
7126         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7127         Disable warning for pads without templates.
7128
7129 2005-04-24  David Schleef  <ds@schleef.org>
7130
7131         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
7132         functions that handle filtered links.
7133         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7134         removed functions.
7135         * gst/gstutils.c: Fix/remove utility functions that handle
7136         filtered caps.
7137         * gst/gstutils.h:
7138         * gst/gstvalue.c: Add serialization/deserialization of caps
7139         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
7140         requires fixing so that the filter caps notation creates
7141         a capsfilter element and sets the filter_caps property.  I
7142         think everyone probably wants to keep the shorthand notation.
7143         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7144         * docs/gst/tmpl/gstpad.sgml:
7145
7146         * gst/elements/gstelements.c: Register capsfilter element.
7147         * gst/Makefile.am: fix spacing
7148         * docs/random/ds/0.9-suggested-changes: random
7149
7150 2005-04-23  David Schleef  <ds@schleef.org>
7151
7152         * gst/elements/Makefile.am:
7153         * gst/elements/gstcapsfilter.c: New element that acts like an
7154         identity, but filters caps.  Will eventually replace filtered
7155         caps in pad linking.
7156         * gst/gstutils.c: (gst_element_create_all_pads): New function
7157         to create all the ALWAYS pads that are registered with an
7158         element class.  This functionality should eventually be
7159         merged in with GstElement initialization.
7160         * gst/gstutils.h:
7161         * testsuite/trigger/README: part of trigger test code that should
7162         have been checked in a long time ago.
7163
7164 2005-04-23  David Schleef  <ds@schleef.org>
7165
7166         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
7167         needed with new versions of libtool (nobody will confirm this),
7168         and hard to carry around.
7169         * gst/autoplug/Makefile.am:
7170         * gst/base/Makefile.am:
7171         * gst/elements/Makefile.am:
7172         * gst/indexers/Makefile.am:
7173         * gst/schedulers/Makefile.am:
7174         * libs/gst/bytestream/Makefile.am:
7175         * libs/gst/control/Makefile.am:
7176         * libs/gst/dataprotocol/Makefile.am:
7177         * libs/gst/getbits/Makefile.am:
7178
7179 2005-04-21  Wim Taymans  <wim@fluendo.com>
7180
7181         * docs/design/draft-push-pull.txt:
7182         * docs/design/part-MT-refcounting.txt:
7183         * docs/design/part-TODO.txt:
7184         * docs/design/part-caps.txt:
7185         * docs/design/part-events.txt:
7186         * docs/design/part-gstbus.txt:
7187         * docs/design/part-gstpipeline.txt:
7188         * docs/design/part-messages.txt:
7189         * docs/design/part-push-pull.txt:
7190         * docs/design/part-query.txt:
7191         Some more docs.
7192
7193 2005-04-21  Wim Taymans  <wim@fluendo.com>
7194
7195         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7196         (gst_message_new), (gst_message_new_error),
7197         (gst_message_new_warning), (gst_message_new_tag),
7198         (gst_message_new_state_changed), (gst_message_new_application),
7199         (gst_message_get_structure):
7200         * gst/gstmessage.h:
7201         * gst/gststructure.c: (gst_structure_set_parent_refcount),
7202         (gst_structure_copy_conditional):
7203         Use parent refcount in GstMessage to ensure GstStructure
7204         consistency.
7205         Cleaned up headers a bit.
7206         
7207
7208 2005-04-20  Wim Taymans  <wim@fluendo.com>
7209
7210         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7211         (gst_basesink_pad_getcaps), (gst_basesink_init),
7212         (gst_basesink_chain_unlocked):
7213         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7214         (gst_type_find_helper):
7215         * gst/elements/gsttypefindelement.c:
7216         (gst_type_find_element_have_type), (gst_type_find_element_init),
7217         (stop_typefinding), (gst_type_find_element_handle_event),
7218         (find_suggest), (gst_type_find_element_chain),
7219         (gst_type_find_element_checkgetrange),
7220         (gst_type_find_element_getrange), (do_typefind),
7221         (gst_type_find_element_activate):
7222         * gst/gstbuffer.c: (_gst_buffer_sub_free),
7223         (gst_buffer_default_free), (gst_buffer_default_copy),
7224         (gst_buffer_set_caps):
7225         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7226         (gst_caps_replace):
7227         * gst/gstmessage.c: (gst_message_new),
7228         (gst_message_new_state_changed):
7229         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7230         (gst_pad_set_checkgetrange_function),
7231         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7232         (gst_pad_set_caps), (gst_pad_check_pull_range),
7233         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7234         * gst/gstpad.h:
7235         * gst/gsttypefind.c: (gst_type_find_register):
7236         Make gst_caps_replace() work like other _replace() functions.
7237         Use _caps_replace() where possible.
7238         Make sure _message_new() initialises its field.
7239         Add gst_static_pad_template_get_caps()
7240
7241
7242 2005-04-18  Andy Wingo  <wingo@pobox.com>
7243
7244         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7245         on the peer, not the pad. I think that was a typo. Pass an extra
7246         arg to see if random access is possible. Activate the pads as
7247         PULL_RANGE if possible.
7248
7249         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7250
7251         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
7252         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7253         to PROP_....
7254
7255 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7256
7257         * docs/faq/using.xml:
7258           Add note on gstreamer-properties (#154996).
7259
7260 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7261
7262         * docs/random/bbb/optional-properties:
7263           Some analysis on optional properties.
7264
7265 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7266
7267         * docs/gst/tmpl/gstelementfactory.sgml:
7268         * gst/gstelement.h:
7269         * gst/gstelementfactory.c: (gst_element_factory_init),
7270         (gst_element_factory_cleanup), (gst_element_register),
7271         (__gst_element_factory_add_static_pad_template),
7272         (gst_element_factory_get_static_pad_templates),
7273         (gst_element_factory_can_src_caps),
7274         (gst_element_factory_can_sink_caps):
7275         * gst/registries/Makefile.am:
7276         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7277         (gst_xml_registry_class_init), (gst_xml_registry_init),
7278         (gst_xml_registry_new), (gst_xml_registry_set_property),
7279         (gst_xml_registry_get_property), (get_time), (make_dir),
7280         (gst_xml_registry_get_perms_func),
7281         (plugin_times_older_than_recurse), (plugin_times_older_than),
7282         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7283         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7284         (add_to_char_array), (read_string), (read_uint), (read_enum),
7285         (load_pad_template), (load_feature), (load_plugin), (load_paths),
7286         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7287         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7288         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7289         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7290         (gst_xml_registry_rebuild):
7291         * gst/registries/gstlibxmlregistry.h:
7292         * tools/gst-compprep.c: (main):
7293         * tools/gst-inspect.c: (print_pad_templates_info):
7294         * tools/gst-xmlinspect.c: (print_element_info):
7295           Use libxml2 for registry parsing, use staticpadtemplates in
7296           elementfactories. Makes gst_init() +/- 10x faster.
7297
7298 2005-04-12  Wim Taymans  <wim@fluendo.com>
7299
7300         * gst/base/Makefile.am:
7301         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7302         (gst_basesink_pad_getcaps), (gst_basesink_init),
7303         (gst_basesink_event), (gst_basesink_change_state):
7304         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7305         (gst_basesrc_init), (gst_basesrc_query),
7306         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7307         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7308         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7309         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7310         (gst_basesrc_stop), (gst_basesrc_activate),
7311         (gst_basesrc_change_state):
7312         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7313         (helper_find_suggest), (gst_type_find_helper):
7314         * gst/base/gsttypefindhelper.h:
7315         * gst/elements/Makefile.am:
7316         * gst/elements/gstelements.c:
7317         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7318         (gst_fakesink_get_times), (gst_fakesink_event),
7319         (gst_fakesink_preroll), (gst_fakesink_render):
7320         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7321         (gst_fakesrc_init), (gst_fakesrc_event_handler),
7322         (gst_fakesrc_get_property), (gst_fakesrc_create),
7323         (gst_fakesrc_start), (gst_fakesrc_stop):
7324         * gst/elements/gstfakesrc.h:
7325         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7326         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7327         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7328         (gst_filesrc_create_read), (gst_filesrc_create),
7329         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7330         (gst_filesrc_start):
7331         * gst/elements/gsttypefindelement.c:
7332         (gst_type_find_element_have_type), (gst_type_find_element_init),
7333         (start_typefinding), (stop_typefinding), (push_buffer_store),
7334         (gst_type_find_element_handle_event),
7335         (gst_type_find_element_chain),
7336         (gst_type_find_element_checkgetrange),
7337         (gst_type_find_element_getrange), (do_typefind),
7338         (gst_type_find_element_activate),
7339         (gst_type_find_element_change_state):
7340         * gst/elements/gsttypefindelement.h:
7341         * gst/gstpipeline.c: (pipeline_bus_handler):
7342         Added typefind helper.
7343         Small preroll fix in the base sink.
7344         Disable typefind code in basesrc.
7345         Crude port of typefindelement.
7346         Fakesrc cleanups.
7347
7348
7349 2005-04-11  Wim Taymans  <wim@fluendo.com>
7350
7351         * check/gst/gstbus.c: (gstbus_suite):
7352         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7353         * check/gstcheck.h:
7354           Fix up the timeout so that the test does not fail.
7355
7356 2005-04-06  Wim Taymans  <wim@fluendo.com>
7357
7358         * gst/base/README:
7359         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7360         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7361         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7362         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7363         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7364         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7365         (gst_basesrc_stop), (gst_basesrc_activate),
7366         (gst_basesrc_change_state), (basesrc_find_peek),
7367         (basesrc_find_suggest), (gst_basesrc_type_find):
7368         * gst/base/gstbasesrc.h:
7369         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7370         (gst_filesrc_class_init), (gst_filesrc_init),
7371         (gst_filesrc_finalize), (gst_filesrc_set_location),
7372         (gst_filesrc_set_property), (gst_filesrc_get_property),
7373         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7374         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7375         (gst_filesrc_create_read), (gst_filesrc_create),
7376         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7377         * gst/elements/gstfilesrc.h:
7378         * gst/gstelement.c: (gst_element_get_state_func),
7379         (gst_element_lost_state), (gst_element_pads_activate):
7380         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7381         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7382         (gst_pad_pull_range):
7383         * gst/gstpad.h:
7384         More work on the generic source base class, implement seeking,
7385         query.
7386         Make filesrc extend the base source class.
7387         Added gst_pad_set_checkgetrange_function to GstPad.
7388
7389 2005-04-06  Andy Wingo  <wingo@pobox.com>
7390
7391         * pkgconfig/gstreamer-base.pc.in:
7392         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7393
7394         * pkgconfig/Makefile.am:
7395         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7396
7397 2005-04-04  Wim Taymans  <wim@fluendo.com>
7398
7399         * gst/base/Makefile.am:
7400         * gst/base/README:
7401         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7402         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7403         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7404         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7405         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7406         (gst_basesrc_base_init), (gst_basesrc_class_init),
7407         (gst_basesrc_init), (gst_basesrc_get_formats),
7408         (gst_basesrc_get_query_types), (gst_basesrc_query),
7409         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7410         (gst_basesrc_set_property), (gst_basesrc_get_property),
7411         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7412         (gst_basesrc_loop), (gst_basesrc_activate),
7413         (gst_basesrc_change_state):
7414         * gst/base/gstbasesrc.h:
7415         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7416         (gst_fakesrc_class_init), (gst_fakesrc_init),
7417         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7418         (gst_fakesrc_get_property), (gst_fakesrc_create):
7419         * gst/elements/gstfakesrc.h:
7420         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7421         (gst_filesrc_open_file), (gst_filesrc_loop),
7422         (gst_filesrc_activate), (filesrc_find_peek),
7423         (gst_filesrc_type_find):
7424         Made base source class, make fakesrc extend it.
7425         Add comments to basesink class.
7426         Some filesrc cleanup.
7427
7428 2005-03-31  David Schleef  <ds@schleef.org>
7429
7430         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7431         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7432         expected to link against libgstreamer.
7433         * gst/base/Makefile.am: link against libgstreamer
7434         * gst/elements/Makefile.am: same
7435
7436 2005-03-31  Andy Wingo  <wingo@pobox.com>
7437
7438         * tests/instantiate/Makefile.am:
7439         * tests/instantiate/caps.c: Add test to test speed of caps copy
7440         and free.
7441
7442         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7443         GMemChunk to be fair.
7444
7445         * gst/gsttrashstack.h: Remove warning about using the fallback
7446         trash stack implementation, it's still faster than malloc.
7447
7448 2005-03-30  Andy Wingo  <wingo@pobox.com>
7449
7450         * tests/complexity.c: Add a copyright.
7451
7452 2005-03-31  Wim Taymans  <wim@fluendo.com>
7453
7454         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7455         (gst_base_transform_class_init), (gst_base_transform_init),
7456         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7457         (gst_base_transform_get_property),
7458         (gst_base_transform_sink_activate),
7459         (gst_base_transform_src_activate),
7460         (gst_base_transform_change_state):
7461         * gst/base/gstbasetransform.h:
7462         * gst/elements/gstidentity.c: (gst_identity_class_init),
7463         (gst_identity_event), (gst_identity_check_perfect),
7464         (gst_identity_transform), (gst_identity_start),
7465         (gst_identity_stop):
7466         Added start/stop methods to transform base class so subclasses 
7467         don't need to deal with state changes even.
7468
7469 2005-03-31  Wim Taymans  <wim@fluendo.com>
7470
7471         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7472         (gst_event_new_discontinuous), (gst_event_discont_get_value):
7473         * gst/gstevent.h:
7474         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7475         (gst_pad_pull_range):
7476         Added rate to the discont event to prepare for variable speed
7477         and reverse playback.
7478
7479 2005-03-29  David Schleef  <ds@schleef.org>
7480
7481         * configure.ac:
7482         * testsuite/trigger/Makefile.am:
7483         * testsuite/trigger/trigger.c: A little example program to show
7484         how trigger-based elements can work.
7485
7486 2005-03-29  Wim Taymans  <wim@fluendo.com>
7487
7488         * gst/base/Makefile.am:
7489         * gst/base/README:
7490         * gst/base/gstbasesink.c: (gst_basesink_get_type),
7491         (gst_basesink_base_init), (gst_basesink_class_init),
7492         (gst_basesink_pad_getcaps), (gst_basesink_init),
7493         (gst_basesink_activate), (gst_basesink_change_state):
7494         * gst/base/gstbasesink.h:
7495         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7496         (gst_base_transform_base_init), (gst_base_transform_finalize),
7497         (gst_base_transform_class_init), (gst_base_transform_init),
7498         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7499         (gst_base_transform_event), (gst_base_transform_getrange),
7500         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7501         (gst_base_transform_set_property),
7502         (gst_base_transform_get_property),
7503         (gst_base_transform_sink_activate),
7504         (gst_base_transform_src_activate),
7505         (gst_base_transform_change_state):
7506         * gst/base/gstbasetransform.h:
7507         * gst/elements/gstidentity.c: (gst_identity_finalize),
7508         (gst_identity_class_init), (gst_identity_init),
7509         (gst_identity_event), (gst_identity_check_perfect),
7510         (gst_identity_transform), (gst_identity_set_property),
7511         (gst_identity_get_property), (gst_identity_change_state):
7512         * gst/elements/gstidentity.h:
7513         * gst/gstelement.c: (gst_element_get_state_func),
7514         (gst_element_lost_state), (gst_element_pads_activate):
7515         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7516         (gst_pad_check_pull_range), (gst_pad_pull_range):
7517         * gst/gstpad.h:
7518         Simplify pad activation.
7519         Added function to check if pull_range can be performed.
7520         Error out when pulling inactive or flushing pads.
7521         Removed const from refcounted types as it does not make sense.
7522         Simplify pad templates in basesink
7523         Added base class for simple 1-to-1 transforms.
7524         Make identity subclass the base transform.
7525
7526 2005-03-29  Andy Wingo  <wingo@pobox.com>
7527
7528         * docs/libs/gstreamer-libs-overrides.txt: 
7529         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7530         really don't understand what's going on, but like whatever. I want
7531         green buildbot!
7532
7533         * docs/gst/Makefile.am:
7534         * docs/libs/Makefile.am: Dist the overrides files.
7535
7536         * check/Makefile.am (clean-local): Remove .libs directories.
7537
7538         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7539         elements to EXTRA_DIST, so po/ files are happy.
7540
7541         * po/POTFILES.in: Er, remove it here.
7542
7543         * po/POTFILES: Remove gstspider.c.
7544
7545         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7546
7547         * docs/libs/gstreamer-libs-docs.sgml: 
7548         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7549         bytestream.
7550
7551         * tests/complexity.c (main): Set the length of the preroll queue
7552         on the sinks to prevent a lockup.
7553
7554         * libs/gst/dataprotocol/Makefile.am: 
7555         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7556         the same as the one in check/gst-libs/gdp.c.
7557
7558         * po/, docs/gst/: Commit automatic changes to docs and po files.
7559
7560         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7561         the versioned libgstbase.
7562
7563         * check/Makefile.am: Depend on an unversioned gst-register, seems
7564         to make autoconf happier.
7565
7566         * gst/base/Makefile.am: Make libgstbase a versioned lib.
7567
7568 2005-03-28  Wim Taymans  <wim@fluendo.com>
7569
7570         * configure.ac:
7571         * docs/design/part-gstelement.txt:
7572         * docs/design/part-negotiation.txt:
7573         * docs/design/part-preroll.txt:
7574         * docs/design/part-scheduling.txt:
7575         * docs/design/part-states.txt:
7576         * gst/Makefile.am:
7577         * gst/base/Makefile.am:
7578         * gst/base/README:
7579         * gst/base/gstbasesink.c: (gst_basesink_get_template),
7580         (gst_basesink_base_init), (gst_basesink_class_init),
7581         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7582         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7583         (gst_basesink_set_pad_functions),
7584         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7585         (gst_basesink_set_property), (gst_basesink_get_property),
7586         (gst_base_sink_get_template), (gst_base_sink_get_caps),
7587         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7588         (gst_basesink_preroll_queue_push),
7589         (gst_basesink_preroll_queue_empty),
7590         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7591         (gst_basesink_event), (gst_basesink_get_times),
7592         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7593         (gst_basesink_chain_unlocked), (gst_basesink_chain),
7594         (gst_basesink_loop), (gst_basesink_activate),
7595         (gst_basesink_change_state):
7596         * gst/base/gstbasesink.h:
7597         * gst/elements/Makefile.am:
7598         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7599         (gst_fakesink_class_init), (gst_fakesink_init),
7600         (gst_fakesink_set_property), (gst_fakesink_get_property),
7601         (gst_fakesink_get_times), (gst_fakesink_event),
7602         (gst_fakesink_preroll), (gst_fakesink_render),
7603         (gst_fakesink_change_state):
7604         * gst/elements/gstfakesink.h:
7605         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7606         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7607         * gst/gstelement.c: (gst_element_add_pad),
7608         (gst_element_get_state_func), (gst_element_abort_state),
7609         (gst_element_commit_state), (gst_element_lost_state),
7610         (gst_element_set_state), (gst_element_pads_activate):
7611         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7612         * gst/gstpipeline.c: (gst_pipeline_send_event),
7613         (gst_pipeline_change_state):
7614         Added state change code.
7615         Added/updated docs.
7616         Added sink base class, make fakesink extend the base class.
7617         Small cleanups in GstPipeline.
7618
7619 2005-03-26  David Schleef  <ds@schleef.org>
7620
7621         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
7622         is broken and should be implemented in a different library.
7623         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7624         * gst/gst.h: remove gstcpu.h
7625         * gst/gstcpu.c: remove
7626         * gst/gstcpu.h: remove
7627         * gst/Makefile.am.future: Remove this file.  It's ancient.
7628
7629 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7630
7631         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7632         (gst_bin_send_event):
7633           Add default event/set_manager handlers. The set_manager handler
7634           takes care that the manager is distributed over kids that were
7635           already in the bin before the manager was set. The event handler
7636           is a utility virtual function that sends the event over all sinks,
7637           so that gst_element_send_event (bin, event); has the expected
7638           behaviour.
7639         * gst/gstpad.c: (gst_pad_event_default):
7640           Re-install default event handling for discontinuities, so that
7641           seeking works without requiring hacks in applications or extra
7642           code in sinks.
7643         * gst/gstpipeline.c: (gst_pipeline_class_init),
7644         (gst_pipeline_send_event):
7645           Half hack, half utility: set a pipeline to PAUSED for seek events,
7646           since that is the only way we can guarantee a/v sync. Means that
7647           you can do gst_element_seek (pipeline, method, pos); on a pipeline
7648           and it "just works".
7649
7650 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7651
7652         * gst/gstpipeline.c: (gst_pipeline_use_clock):
7653           Lock/unlock mismatch.
7654
7655 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7656
7657         * docs/faq/gst-uninstalled:
7658           add gst-plugins-base
7659         * docs/gst/Makefile.am:
7660           don't error out until docs are fixed
7661         * docs/gst/gstreamer.types:
7662           remove thread
7663
7664 2005-03-22  Wim Taymans  <wim@fluendo.com>
7665
7666         * check/Makefile.am:
7667         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7668         * gst/gststructure.c: (gst_structure_set_valist),
7669         (gst_structure_copy_conditional):
7670         Activated more tests.
7671         Added message test.
7672         Added G_TYPE_POINTER to GstStructure.
7673         
7674
7675 2005-03-22  Wim Taymans  <wim@fluendo.com>
7676
7677         * docs/design/part-TODO.txt:
7678         * docs/design/part-events.txt:
7679         * docs/design/part-gstbin.txt:
7680         * docs/design/part-gstbus.txt:
7681         * docs/design/part-gstpipeline.txt:
7682         * docs/design/part-messages.txt:
7683         * gst/gstbus.c:
7684         * gst/gstmessage.c:
7685         Docs updates
7686
7687 2005-03-21  Wim Taymans  <wim@fluendo.com>
7688
7689         * gst/gstbus.c: (gst_bus_post):
7690         Fix copy-and-paste error.
7691
7692 2005-03-21  Wim Taymans  <wim@fluendo.com>
7693
7694         * check/Makefile.am:
7695         * gst/Makefile.am:
7696         * gst/elements/Makefile.am:
7697         * gst/elements/gstelements.c:
7698         * gst/elements/gstfakesink.c: (gst_fakesink_init),
7699         (gst_fakesink_event), (gst_fakesink_chain):
7700         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7701         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7702         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7703         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7704         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7705         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7706         (gst_fakesrc_loop), (gst_fakesrc_activate),
7707         (gst_fakesrc_change_state):
7708         * gst/elements/gstfakesrc.h:
7709         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7710         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7711         (gst_filesrc_open_file), (gst_filesrc_loop),
7712         (gst_filesrc_activate), (gst_filesrc_change_state),
7713         (filesrc_find_peek), (filesrc_find_suggest),
7714         (gst_filesrc_type_find):
7715         * gst/elements/gstidentity.c: (gst_identity_finalize),
7716         (gst_identity_class_init), (gst_identity_init),
7717         (gst_identity_proxy_getcaps), (identity_queue_push),
7718         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7719         (gst_identity_getrange), (gst_identity_chain),
7720         (gst_identity_sink_loop), (gst_identity_src_loop),
7721         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7722         (gst_identity_set_property), (gst_identity_get_property),
7723         (gst_identity_change_state):
7724         * gst/elements/gstidentity.h:
7725         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7726         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7727         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7728         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7729         (gst_tee_sink_activate):
7730         * gst/elements/gsttee.h:
7731         * gst/gst.c: (gst_register_core_elements), (init_post):
7732         * gst/gst.h:
7733         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7734         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7735         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7736         (gst_bin_change_state):
7737         * gst/gstbin.h:
7738         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7739         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7740         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7741         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7742         (gst_bus_set_sync_handler), (gst_bus_create_watch),
7743         (bus_watch_callback), (bus_watch_destroy),
7744         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7745         (poll_timeout), (gst_bus_poll):
7746         * gst/gstbus.h:
7747         * gst/gstcaps.h:
7748         * gst/gstdata.h:
7749         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7750         (gst_element_post_message), (gst_element_message_full),
7751         (gst_element_get_state_func), (gst_element_get_state),
7752         (gst_element_abort_state), (gst_element_commit_state),
7753         (gst_element_lost_state), (gst_element_set_state),
7754         (gst_element_pads_activate), (gst_element_change_state),
7755         (gst_element_dispose), (gst_element_set_manager_func),
7756         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7757         (gst_element_set_manager), (gst_element_get_manager),
7758         (gst_element_set_bus), (gst_element_get_bus),
7759         (gst_element_set_scheduler), (gst_element_get_scheduler):
7760         * gst/gstelement.h:
7761         * gst/gstevent.c: (gst_event_new_segment_seek),
7762         (gst_event_new_flush):
7763         * gst/gstevent.h:
7764         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7765         (_gst_message_free), (gst_message_get_type), (gst_message_new),
7766         (gst_message_new_eos), (gst_message_new_error),
7767         (gst_message_new_warning), (gst_message_new_tag),
7768         (gst_message_new_state_changed), (gst_message_new_application),
7769         (gst_message_get_structure), (gst_message_parse_tag),
7770         (gst_message_parse_state_changed), (gst_message_parse_error),
7771         (gst_message_parse_warning):
7772         * gst/gstmessage.h:
7773         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7774         (gst_real_pad_set_property), (gst_pad_set_active),
7775         (gst_pad_is_active), (gst_pad_set_blocked_async),
7776         (gst_pad_set_blocked), (gst_pad_is_blocked),
7777         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7778         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7779         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7780         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7781         (gst_pad_link_filtered), (gst_pad_relink_filtered),
7782         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7783         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7784         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7785         (gst_pad_set_caps), (gst_pad_configure_sink),
7786         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7787         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7788         (gst_real_pad_dispose), (gst_real_pad_finalize),
7789         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7790         (gst_pad_event_default_dispatch), (gst_pad_event_default),
7791         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7792         * gst/gstpad.h:
7793         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7794         (pipeline_bus_handler), (gst_pipeline_change_state),
7795         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7796         * gst/gstpipeline.h:
7797         * gst/gstprobe.h:
7798         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7799         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7800         (gst_queue_link_src), (gst_queue_bufferalloc),
7801         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7802         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7803         (gst_queue_loop), (gst_queue_handle_src_event),
7804         (gst_queue_handle_src_query), (gst_queue_src_activate),
7805         (gst_queue_change_state):
7806         * gst/gstqueue.h:
7807         * gst/gstscheduler.c: (gst_scheduler_init),
7808         (gst_scheduler_dispose), (gst_scheduler_create_task),
7809         (gst_scheduler_factory_create):
7810         * gst/gstscheduler.h:
7811         * gst/gststructure.c: (gst_structure_get_type),
7812         (gst_structure_copy_conditional):
7813         * gst/gststructure.h:
7814         * gst/gsttaginterface.h:
7815         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7816         (gst_task_init), (gst_task_dispose), (gst_task_create),
7817         (gst_task_get_state), (gst_task_start), (gst_task_stop),
7818         (gst_task_pause):
7819         * gst/gsttask.h:
7820         * gst/gstthread.c:
7821         * gst/gstthread.h:
7822         * gst/gsttypes.h:
7823         * gst/schedulers/Makefile.am:
7824         * gst/schedulers/cothreads_compat.h:
7825         * gst/schedulers/entryscheduler.c:
7826         * gst/schedulers/faircothreads.c:
7827         * gst/schedulers/faircothreads.h:
7828         * gst/schedulers/fairscheduler.c:
7829         * gst/schedulers/gstbasicscheduler.c:
7830         * gst/schedulers/gstoptimalscheduler.c:
7831         * gst/schedulers/gthread-cothreads.h:
7832         * gst/schedulers/threadscheduler.c:
7833         (gst_thread_scheduler_task_get_type),
7834         (gst_thread_scheduler_task_class_init),
7835         (gst_thread_scheduler_task_init),
7836         (gst_thread_scheduler_task_start),
7837         (gst_thread_scheduler_task_stop),
7838         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7839         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7840         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7841         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7842         (plugin_init):
7843         * libs/gst/Makefile.am:
7844         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7845         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7846         (gst_file_pad_parent_set):
7847         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7848         (gst_dp_event_from_packet):
7849         * tests/complexity.c: (main):
7850         * tests/mass_elements.c: (main):
7851         * testsuite/states/locked.c: (message_received), (main):
7852         * testsuite/states/parent.c: (main):
7853         * tools/gst-inspect.c: (print_element_flag_info),
7854         (print_implementation_info), (print_pad_info):
7855         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7856         (main):
7857         * tools/gst-md5sum.c: (event_loop), (main):
7858         * tools/gst-typefind.c: (main):
7859         * tools/gst-xmlinspect.c: (print_element_info):
7860         Next big merge.
7861         Added GstBus for mainloop integration.
7862         Added GstMessage for sending notifications on the bus.
7863         Added GstTask as an abstraction for pipeline entry points.
7864         Removed GstThread.
7865         Removed Schedulers.
7866         Simplified GstQueue for multithreaded core.
7867         Made _link threadsafe, removed old capsnego.
7868         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7869         Added pad blocking functions.
7870         Reworked scheduling functions in GstPad to prepare for
7871         scheduling updates soon.
7872         Moved events out of data stream.
7873         Simplified GstEvent types.
7874         Added return values to push/pull.
7875         Removed clocking from GstElement.
7876         Added prototypes for state change function for next merge.
7877         Removed iterate from bins and state change management.
7878         Fixed some elements, disabled others for now.
7879         Fixed -inspect and -launch.
7880         Added check for GstBus.
7881
7882 2005-03-10  Wim Taymans  <wim@fluendo.com>
7883
7884         * docs/design/part-MT-refcounting.txt:
7885         * docs/design/part-clocks.txt:
7886         * docs/design/part-gstelement.txt:
7887         * docs/design/part-gstobject.txt:
7888         * docs/design/part-standards.txt:
7889         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7890         (gst_bin_remove_func), (gst_bin_remove):
7891         * gst/gstbin.h:
7892         * gst/gstbuffer.c:
7893         * gst/gstcaps.h:
7894         * testsuite/clock/clock1.c: (main):
7895         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7896         (main):
7897         * testsuite/dlopen/loadgst.c: (do_test):
7898         * testsuite/refcounting/bin.c: (add_remove_test1),
7899         (add_remove_test2), (main):
7900         * testsuite/refcounting/element.c: (main):
7901         * testsuite/refcounting/element_pad.c: (main):
7902         * testsuite/refcounting/pad.c: (main):
7903         * tools/gst-launch.c: (sigint_handler_sighandler):
7904         * tools/gst-typefind.c: (main):
7905         Doc updates.
7906         Added doc about clock.
7907         removed gst_bin_iterate_recurse_up(), marked methods
7908         for removal.
7909         Fix more testsuites.
7910
7911 2005-03-09  Wim Taymans  <wim@fluendo.com>
7912
7913         * gst/gstpad.c: (gst_pad_get_direction),
7914         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7915         (gst_pad_collect_valist):
7916         * testsuite/bins/interface.c: (main):
7917         * testsuite/caps/audioscale.c: (test_caps):
7918         * testsuite/caps/caps.c: (test1), (test2), (test3):
7919         * testsuite/caps/deserialize.c: (main):
7920         * testsuite/caps/enumcaps.c: (main):
7921         * testsuite/caps/filtercaps.c: (main):
7922         * testsuite/caps/intersect2.c: (main):
7923         * testsuite/caps/random.c: (main):
7924         * testsuite/caps/renegotiate.c: (my_fixate), (main):
7925         * testsuite/caps/sets.c: (check_caps):
7926         * testsuite/caps/simplify.c: (check_caps), (main):
7927         * testsuite/caps/subtract.c: (check_caps):
7928         Fix _pad_get_direction wrt ghostpads.
7929         Fix caps testsuite.
7930
7931 2005-03-09  Wim Taymans  <wim@fluendo.com>
7932
7933         * check/Makefile.am:
7934         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7935         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7936         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7938         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7939         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7940         (gst_bin_remove), (gst_bin_iterate_recurse_up),
7941         (bin_element_is_sink), (gst_bin_iterate_sinks),
7942         (gst_bin_iterate_all_by_interface):
7943         * gst/gstbin.h:
7944         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7945         (gst_element_change_state), (gst_element_dispose),
7946         (gst_element_finalize), (gst_element_set_loop_function):
7947         * gst/gstelement.h:
7948         * gst/gstiterator.c: (find_custom_fold_func):
7949         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7950         (gst_pad_collectv), (gst_pad_collect_valist),
7951         (gst_pad_template_new):
7952         * gst/gstpipeline.c: (gst_pipeline_class_init),
7953         (gst_pipeline_dispose), (gst_pipeline_set_property),
7954         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7955         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7956         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7957         * gst/gstutils.h:
7958         * gst/schedulers/entryscheduler.c:
7959         * gst/schedulers/gstbasicscheduler.c:
7960         (gst_basic_scheduler_cothreaded_chain),
7961         (gst_basic_scheduler_chain_add_element):
7962         * testsuite/bins/interface.c: (main):
7963         Added GstBin test.
7964         Added GstSystemClock test.
7965         Implemented clock distribution code in GstBin.
7966         Implemented iterate sinks method for future use.
7967         Rearranged gstelement.h
7968         Fix GstIterator comparison bug.
7969         Moved some code to GstPipeline, mostly clocking related.
7970
7971 2005-03-09  Wim Taymans  <wim@fluendo.com>
7972
7973         * configure.ac:
7974         * gst/gst_private.h:
7975         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7976         (gst_bin_remove_func), (gst_bin_remove),
7977         (gst_bin_get_by_name_recurse_up):
7978         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7979         (gst_clock_id_compare_func), (gst_clock_id_wait),
7980         (gst_clock_id_wait_async), (gst_clock_init),
7981         (gst_clock_adjust_unlocked), (gst_clock_get_time):
7982         * gst/gstelement.h:
7983         * gst/gstinfo.c: (_gst_debug_init):
7984         * gst/gstobject.h:
7985         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7986         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7987         * gst/gstpad.h:
7988         Bump version number, we're now 0.9.0
7989         Add future debugging category.
7990         Fix NULL _unref() in _get_by_name_recurse_up
7991         Rearrange gstpad.h.
7992         Update some docs.
7993
7994 2005-03-08  Wim Taymans  <wim@fluendo.com>
7995
7996         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7997         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7998         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7999         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8000         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8001         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8002         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8003         * gst/elements/gstidentity.c: (gst_identity_class_init):
8004         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8005         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8006         * gst/elements/gstshaper.c: (gst_shaper_class_init):
8007         * gst/elements/gststatistics.c: (gst_statistics_class_init):
8008         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8009         (gst_tee_link):
8010         * gst/gstelement.c: (gst_element_class_init),
8011         (gst_element_base_class_init), (gst_element_init),
8012         (gst_element_get_random_pad), (gst_element_wait_state_change),
8013         (gst_element_change_state), (gst_element_dispose),
8014         (gst_element_finalize), (gst_element_set_loop_function):
8015         * gst/gstelement.h:
8016         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8017         * gst/gstthread.c: (gst_thread_class_init),
8018         (gst_thread_release_children_locks), (gst_thread_change_state):
8019         * gst/schedulers/gstbasicscheduler.c:
8020         (gst_basic_scheduler_loopfunc_wrapper),
8021         (gst_basic_scheduler_chain_wrapper),
8022         (gst_basic_scheduler_src_wrapper),
8023         (gst_basic_scheduler_remove_element):
8024         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8025         Remove threadsafe properties. Fix elements because GObject
8026         complains when installing a property before declaring a
8027         set/get_property handler.
8028         Rearrange gstelement.h file, use STATE macros for state locks.
8029         Free mutexes in the finalize method instead of dispose.
8030
8031 2005-03-08  Wim Taymans  <wim@fluendo.com>
8032
8033         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8034         * gst/gstthread.c: (gst_thread_release_children_locks):
8035         Added parentage check.
8036         Fix build og GstThread again.
8037
8038 2005-03-08  Wim Taymans  <wim@fluendo.com>
8039
8040         * docs/design/part-MT-refcounting.txt:
8041         * docs/design/part-conventions.txt:
8042         * docs/design/part-gstobject.txt:
8043         * docs/design/part-relations.txt:
8044         * docs/design/part-standards.txt:
8045         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8046         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8047         (gst_bin_get_by_name), (gst_bin_get_by_interface),
8048         (gst_bin_iterate_all_by_interface):
8049         * gst/gstbuffer.h:
8050         * gst/gstclock.h:
8051         * gst/gstelement.c: (gst_element_class_init),
8052         (gst_element_change_state), (gst_element_set_loop_function):
8053         * gst/gstelement.h:
8054         * gst/gstiterator.c:
8055         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8056         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8057         (gst_object_dispatch_properties_changed), (gst_object_set_name),
8058         (gst_object_set_parent), (gst_object_unparent),
8059         (gst_object_check_uniqueness):
8060         * gst/gstobject.h:
8061         Docs updates, clean up some headers.
8062
8063 2005-03-07  Wim Taymans  <wim@fluendo.com>
8064
8065         * check/.cvsignore:
8066         * check/Makefile.am:
8067         * check/gst-libs/.cvsignore:
8068         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8069         * check/gst/.cvsignore:
8070         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8071         (START_TEST), (gstbus_suite), (main):
8072         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8073         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8074         (gst_data_suite), (main):
8075         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8076         (add_fold_func), (gstiterator_suite), (main):
8077         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8078         (thread_name_object), (thread_name_object_default),
8079         (gst_object_name_compare), (gst_object_suite), (main):
8080         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8081         (gst_pad_suite), (main):
8082         * check/gstcheck.c: (gst_check_log_message_func),
8083         (gst_check_log_critical_func), (gst_check_init):
8084         * check/gstcheck.h:
8085         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8086         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8087         Added checks.
8088
8089 2005-03-07  Wim Taymans  <wim@fluendo.com>
8090
8091         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8092         (gst_list_iterator_next), (gst_list_iterator_resync),
8093         (gst_list_iterator_free), (gst_iterator_new_list),
8094         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8095         (gst_iterator_free), (gst_iterator_push), (filter_next),
8096         (filter_resync), (filter_uninit), (filter_free),
8097         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8098         (gst_iterator_foreach), (find_custom_fold_func),
8099         (gst_iterator_find_custom):
8100         * gst/gstiterator.h:
8101         Added missing files.
8102
8103 2005-03-07  Wim Taymans  <wim@fluendo.com>
8104
8105         * Makefile.am:
8106         * configure.ac:
8107         * docs/design/part-MT-refcounting.txt:
8108         * docs/design/part-conventions.txt:
8109         * docs/design/part-gstobject.txt:
8110         * docs/design/part-relations.txt:
8111         * examples/mixer/mixer.c: (main):
8112         * examples/thread/thread.c: (eos), (main):
8113         * gst/Makefile.am:
8114         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8115         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8116         (gst_spider_plug_from_srcpad):
8117         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8118         (gst_spider_identity_change_state),
8119         (gst_spider_identity_sink_loop_type_finding):
8120         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8121         * gst/elements/gstidentity.c: (gst_identity_init):
8122         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8123         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8124         * gst/elements/gsttypefindelement.c: (free_entry):
8125         * gst/gst.c:
8126         * gst/gst.h:
8127         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8128         (gst_bin_set_clock_func), (gst_bin_auto_clock),
8129         (gst_bin_set_index), (gst_bin_set_element_sched),
8130         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8131         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8132         (gst_bin_iterate_elements), (iterate_child_recurse),
8133         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8134         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8135         (compare_interface), (gst_bin_get_by_interface),
8136         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8137         * gst/gstbin.h:
8138         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8139         (gst_buffer_default_free), (gst_buffer_default_copy),
8140         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8141         (gst_buffer_create_sub):
8142         * gst/gstbuffer.h:
8143         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8144         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8145         (gst_caps_unref), (gst_static_caps_get),
8146         (gst_caps_remove_and_get_structure), (gst_caps_append),
8147         (gst_caps_append_structure), (gst_caps_remove_structure),
8148         (gst_caps_copy_nth), (gst_caps_set_simple),
8149         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8150         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8151         (gst_caps_structure_intersect_field), (gst_caps_intersect),
8152         (gst_caps_structure_subtract_field), (gst_caps_subtract),
8153         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8154         (gst_caps_structure_figure_out_union),
8155         (gst_caps_switch_structures), (gst_caps_do_simplify),
8156         (gst_caps_replace), (gst_caps_from_string),
8157         (gst_caps_copy_conditional):
8158         * gst/gstcaps.h:
8159         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8160         (_gst_clock_id_free), (gst_clock_id_unref),
8161         (gst_clock_id_compare_func), (gst_clock_id_wait),
8162         (gst_clock_id_wait_async), (gst_clock_class_init),
8163         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8164         (gst_clock_get_time), (gst_clock_set_time_adjust),
8165         (gst_clock_set_property), (gst_clock_get_property):
8166         * gst/gstclock.h:
8167         * gst/gstcompat.h:
8168         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8169         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8170         * gst/gstdata.h:
8171         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8172         (gst_element_requires_clock), (gst_element_provides_clock),
8173         (gst_element_set_clock), (gst_element_clock_wait),
8174         (gst_element_wait), (gst_element_set_time_delay),
8175         (gst_element_is_indexable), (gst_element_add_pad),
8176         (gst_element_add_ghost_pad), (gst_element_remove_pad),
8177         (pad_compare_name), (gst_element_get_static_pad),
8178         (gst_element_request_pad), (gst_element_get_request_pad),
8179         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8180         (gst_element_class_get_pad_template_list),
8181         (gst_element_class_get_pad_template), (gst_element_error_func),
8182         (gst_element_get_random_pad), (gst_element_get_event_masks),
8183         (gst_element_send_event), (gst_element_seek),
8184         (gst_element_get_query_types), (gst_element_query),
8185         (gst_element_get_formats), (gst_element_convert),
8186         (gst_element_is_locked_state), (gst_element_set_locked_state),
8187         (gst_element_sync_state_with_parent), (gst_element_change_state),
8188         (gst_element_finalize), (gst_element_yield),
8189         (gst_element_interrupt), (gst_element_set_scheduler),
8190         (gst_element_get_scheduler), (gst_element_set_loop_function):
8191         * gst/gstelement.h:
8192         * gst/gstevent.h:
8193         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8194         (gst_format_get_by_nick), (gst_format_get_details),
8195         (gst_format_iterate_definitions):
8196         * gst/gstformat.h:
8197         * gst/gstindex.c: (gst_index_gtype_resolver):
8198         * gst/gstinfo.c:
8199         * gst/gstinfo.h:
8200         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8201         (gst_mem_chunk_free):
8202         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8203         (gst_object_ref), (gst_object_unref), (gst_object_sink),
8204         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8205         (gst_object_dispatch_properties_changed),
8206         (gst_object_set_name_default), (gst_object_set_name),
8207         (gst_object_get_name), (gst_object_set_name_prefix),
8208         (gst_object_get_name_prefix), (gst_object_set_parent),
8209         (gst_object_get_parent), (gst_object_unparent),
8210         (gst_object_check_uniqueness), (gst_object_save_thyself),
8211         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8212         (gst_object_set_property), (gst_object_get_property),
8213         (gst_object_get_path_string):
8214         * gst/gstobject.h:
8215         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8216         (gst_real_pad_init), (gst_real_pad_get_property),
8217         (gst_pad_custom_new), (gst_pad_get_direction),
8218         (gst_pad_set_active), (gst_pad_is_active),
8219         (gst_pad_set_event_function), (gst_pad_is_linked),
8220         (gst_pad_link_free), (gst_pad_link_intersect),
8221         (gst_pad_link_fixate), (gst_pad_set_caps),
8222         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8223         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8224         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8225         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8226         (gst_pad_get_caps), (gst_pad_peer_get_caps),
8227         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8228         (gst_pad_realize), (gst_pad_get_allowed_caps),
8229         (gst_real_pad_dispose), (gst_real_pad_finalize),
8230         (gst_pad_collectv), (gst_pad_collect_valist),
8231         (gst_pad_template_dispose), (gst_pad_template_new),
8232         (gst_pad_get_internal_links):
8233         * gst/gstpad.h:
8234         * gst/gstpipeline.c: (gst_pipeline_dispose),
8235         (gst_pipeline_change_state):
8236         * gst/gstpipeline.h:
8237         * gst/gstplugin.c:
8238         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8239         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8240         * gst/gstpluginfeature.h:
8241         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8242         * gst/gstquery.c: (_gst_query_type_initialize),
8243         (gst_query_type_register), (gst_query_type_get_by_nick),
8244         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8245         * gst/gstquery.h:
8246         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8247         * gst/gstscheduler.c: (gst_scheduler_add_element),
8248         (gst_scheduler_factory_create):
8249         * gst/gststructure.c: (gst_structure_set_parent_refcount),
8250         (gst_structure_free), (gst_structure_set_name),
8251         (gst_structure_id_set_value), (gst_structure_set_value),
8252         (gst_structure_set_valist), (gst_structure_remove_field),
8253         (gst_structure_remove_fields),
8254         (gst_structure_remove_fields_valist),
8255         (gst_structure_remove_all_fields), (gst_structure_foreach),
8256         (gst_structure_map_in_place),
8257         (gst_caps_structure_fixate_field_nearest_int),
8258         (gst_caps_structure_fixate_field_nearest_double):
8259         * gst/gststructure.h:
8260         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8261         (gst_system_clock_init), (gst_system_clock_dispose),
8262         (gst_system_clock_async_thread),
8263         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8264         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8265         * gst/gstsystemclock.h:
8266         * gst/gsttag.c: (gst_tag_list_add_value_internal),
8267         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8268         * gst/gsttaginterface.c:
8269         * gst/gstthread.c: (gst_thread_dispose),
8270         (gst_thread_release_children_locks), (gst_thread_change_state),
8271         (gst_thread_main_loop):
8272         * gst/gsttrashstack.h:
8273         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8274         * gst/gsttypes.h:
8275         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8276         (gst_element_request_pad), (gst_element_get_pad_from_template),
8277         (gst_element_request_compatible_pad),
8278         (gst_element_get_compatible_pad_filtered),
8279         (gst_element_get_compatible_pad), (gst_element_state_get_name),
8280         (gst_element_link_pads_filtered), (gst_element_link_filtered),
8281         (gst_element_link_many), (gst_element_link),
8282         (gst_element_link_pads), (gst_element_unlink_pads),
8283         (gst_element_unlink_many), (gst_element_unlink),
8284         (gst_pad_can_link_filtered), (gst_pad_can_link),
8285         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8286         (gst_object_default_error), (gst_bin_add_many),
8287         (gst_bin_remove_many), (gst_element_populate_std_props),
8288         (gst_element_class_install_std_props), (gst_buffer_merge),
8289         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8290         (link_fold_func), (gst_pad_proxy_setcaps):
8291         * gst/gstutils.h:
8292         * gst/gstvalue.c: (gst_value_deserialize_string):
8293         * gst/parse/grammar.y:
8294         * gst/schedulers/gstbasicscheduler.c:
8295         (gst_basic_scheduler_cothreaded_chain),
8296         (gst_basic_scheduler_chain_recursive_add),
8297         (gst_basic_scheduler_pad_link):
8298         * gst/schedulers/gstoptimalscheduler.c:
8299         (get_group_schedule_function),
8300         (gst_opt_scheduler_state_transition),
8301         (gst_opt_scheduler_add_element), (element_get_reachables_func):
8302         * libs/gst/bytestream/bytestream.c:
8303         * libs/gst/dataprotocol/dataprotocol.c:
8304         (gst_dp_header_from_buffer):
8305         * po/nb.po:
8306         * po/ru.po:
8307         * tests/threadstate/threadstate2.c: (eos):
8308         * tools/gst-compprep.c: (main):
8309         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8310         (print_pad_info), (print_children_info):
8311         * tools/gst-launch.c: (idle_func), (main):
8312         * tools/gst-md5sum.c: (idle_func), (main):
8313         * tools/gst-xmlinspect.c: (print_element_info):
8314         First THREADED backport attempt, focusing on adding locks and
8315         making sure the API is threadsafe. Needs more work. More docs
8316         follow this week.
8317
8318 2005-02-24  Andy Wingo  <wingo@pobox.com>
8319
8320         * tests/bench-complexity.scm:
8321         * tests/complexity.gnuplot: New files, good for running complexity
8322         benchmarks.
8323
8324         * tests/Makefile.am:
8325         * tests/complexity.c: New test, sets up N elements, at each level
8326         teeing into M streams per element. Eeeenteresting.
8327
8328         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8329         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8330         running bench-mass_elements.scm.
8331
8332         * tests/bench-mass_elements.scm: New script, runs mass_elements
8333         for various numbers of identities, outputting the results to a
8334         file. Requires guile 1.6. Just for testing.
8335
8336 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8337
8338         * gst/schedulers/fairscheduler.c:
8339           compile with debug disabled
8340
8341 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8342
8343         * configure.ac:
8344           hunting season on 0.9 is now OPEN