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