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