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