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