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