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