plugins/elements/gsttypefindelement.c: Catch the special case where we are operating...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4           Catch the special case where we are operating chain-based,
5           but the downstream peer pad has no chain function. Emit a
6           custom error message in this case instead of letting the
7           core generate one implying that this is some sort of core
8           bug. It's not, it just means that whatever got plugged
9           into the pipeline downstream when we announced the type
10           can only operate pull-based, while our source can only
11           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12           Error string has not been marked for translation yet, as
13           it probably needs some more work first.
14
15         (gst_type_find_element_get_best_possibility):
16           Add helper function to find the best of all available
17           found possibilities that qualify given the min. threshold.
18
19         (gst_type_find_element_handle_event):
20           Fix the case where we get an EOS while still in TYPEFIND
21           mode (we want to chose the best of all possible types,
22           not just the first type that happens to be in our unsorted
23           list of possible types).
24
25         (gst_type_find_element_chain):
26           Make sure we return GST_FLOW_ERROR when we errored out
27           in stop_typefinding(); also, don't just find the best of
28           all found type entries and then use the last examined
29           type entry, but actually use the best entry.
30
31 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
32
33         * tests/examples/typefind/typefind.c: (type_found):
34         * tests/examples/xml/runxml.c: (xml_loaded):
35           More gcc4 fixes and a mem leak fix.
36
37 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
38
39         * tests/examples/xml/createxml.c: (object_saved):
40           gcc 4 fixes
41
42 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
43
44         * tests/Makefile.am:
45           enable the examples even more
46
47 2005-12-12  Andy Wingo  <wingo@pobox.com>
48
49         * libs/gst/net/gstnettimeprovider.c
50         (gst_net_time_provider_class_init, gst_net_time_provider_init)
51         (gst_net_time_provider_set_property)
52         (gst_net_time_provider_get_property): Export "active" as a GObject
53         property.
54         (gst_net_time_provider_thread): Only respond to time queries if
55         the time provider is active.
56
57         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
58         NetTimeProvider, preserving binary compat.
59
60 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
61
62         * tests/examples/controller/audio-example.c: (main):
63         * tests/examples/launch/Makefile.am:
64           convert comments again
65
66 2005-12-12  Wim Taymans  <wim@fluendo.com>
67
68         * libs/gst/base/gstpushsrc.c:
69         Fix typo.
70
71 2005-12-12  Wim Taymans  <wim@fluendo.com>
72
73         * docs/libs/gstreamer-libs-sections.txt:
74         Added new symbol to docs.
75
76         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
77         (gst_base_src_init), (gst_base_src_set_format),
78         (gst_base_src_default_query), (gst_base_src_query),
79         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
80         (gst_base_src_perform_seek), (gst_base_src_send_event),
81         (gst_base_src_default_event), (gst_base_src_event_handler),
82         (gst_base_src_set_property), (gst_base_src_get_property),
83         (gst_base_src_wait), (gst_base_src_do_sync),
84         (gst_base_src_update_length), (gst_base_src_get_range),
85         (gst_base_src_check_get_range), (gst_base_src_loop),
86         (gst_base_src_default_negotiate), (gst_base_src_start),
87         (gst_base_src_activate_push), (gst_base_src_activate_pull),
88         (gst_base_src_change_state):
89         * libs/gst/base/gstbasesrc.h:
90         Implement seeking to other formats than _BYTES.
91         Implement more seeking methods correctly.
92         Doc updates.
93         Added query vmethod.
94         Added do_seek vmethod to make life easier for subclasses
95         when seeking.
96         API addition: gst_base_src_set_format()
97
98 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
99
100         * tests/examples/Makefile.am:
101           added that too
102
103 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
104
105         * configure.ac:
106         * docs/random/ensonic/media-device-daemon.txt:
107         * tests/examples/controller/.cvsignore:
108         * tests/examples/controller/Makefile.am:
109         * tests/examples/controller/audio-example.c: (main):
110         * tests/examples/helloworld/.cvsignore:
111         * tests/examples/helloworld/Makefile.am:
112         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
113         * tests/examples/launch/.cvsignore:
114         * tests/examples/launch/Makefile.am:
115         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
116         * tests/examples/metadata/.cvsignore:
117         * tests/examples/metadata/Makefile.am:
118         * tests/examples/metadata/read-metadata.c: (message_loop),
119         (make_pipeline), (print_tag), (main):
120         * tests/examples/queue/.cvsignore:
121         * tests/examples/queue/Makefile.am:
122         * tests/examples/queue/queue.c: (event_loop), (main):
123         * tests/examples/typefind/.cvsignore:
124         * tests/examples/typefind/Makefile.am:
125         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
126         (main):
127         * tests/examples/xml/.cvsignore:
128         * tests/examples/xml/Makefile.am:
129         * tests/examples/xml/createxml.c: (object_saved), (main):
130         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
131         * tests/old/examples/Makefile.am:
132         * tests/old/examples/TODO:
133         * tests/old/examples/controller/.cvsignore:
134         * tests/old/examples/controller/Makefile.am:
135         * tests/old/examples/controller/audio-example.c:
136         * tests/old/examples/helloworld/.cvsignore:
137         * tests/old/examples/helloworld/Makefile.am:
138         * tests/old/examples/helloworld/helloworld.c:
139         * tests/old/examples/launch/.cvsignore:
140         * tests/old/examples/launch/Makefile.am:
141         * tests/old/examples/launch/mp3parselaunch.c:
142         * tests/old/examples/launch/mp3play:
143         * tests/old/examples/manual/Makefile.am:
144         * tests/old/examples/metadata/Makefile.am:
145         * tests/old/examples/metadata/read-metadata.c:
146         * tests/old/examples/queue/.cvsignore:
147         * tests/old/examples/queue/Makefile.am:
148         * tests/old/examples/queue/queue.c:
149         * tests/old/examples/typefind/.cvsignore:
150         * tests/old/examples/typefind/Makefile.am:
151         * tests/old/examples/typefind/typefind.c:
152         * tests/old/examples/xml/.cvsignore:
153         * tests/old/examples/xml/Makefile.am:
154         * tests/old/examples/xml/createxml.c:
155         * tests/old/examples/xml/runxml.c:
156           applied some simple fixing to some examples
157           re-enabled the working examples
158
159 2005-12-12  Wim Taymans  <wim@fluendo.com>
160
161         * gst/gstsegment.c: (gst_segment_init),
162         (gst_segment_set_last_stop), (gst_segment_set_seek),
163         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
164         (gst_segment_to_running_time):
165         Added more documentation.
166         Make sure the last_pos value is updated properly.
167         Make sure to_stream_time and to_running_time don't
168         operate on wrong values.
169
170         * tests/check/gst/gstsegment.c: (GST_START_TEST):
171         Update check.
172
173 2005-12-12  Michael Smith  <msmith@fluendo.com>
174
175         * plugins/elements/gsttypefindelement.c: (free_entry),
176         (gst_type_find_element_chain):
177           Now that we're not leaking factories, make sure we keep references
178           to them while we need them.
179
180 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
181
182         * tests/check/gst/struct_i386.h:
183           ifdef out the XML structs
184
185 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
186
187         * gst/gstvalue.c: (gst_value_transform_double_fraction):
188           floor is not needed, F is always positive; this obviates the
189           need for adding -lm when building without libxml
190
191 2005-12-12  Wim Taymans  <wim@fluendo.com>
192
193         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
194         Take current playback rate into account when reporting
195         the position.
196
197 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
198
199         * docs/manual/mime-world.fig:
200           Let's try this again, this time with a file that is
201           actually in XFig format.
202
203 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
204
205         * docs/manual/mime-world.fig:
206           Add audioconvert element to diagram so that it
207           matches the text and the code (fixes #319526).
208
209 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
210
211         * docs/pwg/building-chainfn.xml:
212         * docs/pwg/building-pads.xml:
213         * docs/pwg/building-state.xml:
214         * docs/pwg/other-source.xml:
215           Update state change stuff for 0.10 (fixes #322969).
216
217 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
218
219         * docs/manual/advanced-dataaccess.xml:
220         * docs/manual/appendix-checklist.xml:
221         * docs/manual/appendix-programs.xml:
222         * docs/manual/basics-pads.xml:
223         * docs/manual/highlevel-components.xml:
224         * docs/manual/manual.xml:
225           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
226           add converters in front of pipelines; remove curly
227           brackets for threads stuff, they no longer exist; use
228           GST_TYPE_FRACTION for framerates; update some pieces of
229           code to 0.10, but there's plenty more to do.
230
231         * docs/manual/appendix-porting.xml:
232           Expand on asynchroneous state changes; s/0.9/0.10/;
233           mention disappearance of gst_init_get_popt_table()
234           (fixes #322916).
235
236 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
237
238         * docs/faq/using.xml:
239           Spider no longer exists, and neither does gst-launch-ext.
240           Update examples to use decodebin and playbin and put
241           converters in front of sinks (fixes #323726).
242
243 2005-12-09  Michael Smith  <msmith@fluendo.com>
244
245         * plugins/elements/gsttypefindelement.c: (find_peek),
246         (gst_type_find_element_chain):
247           Fix leaking element factories in typefinding.
248           Fix problem where we forgot about a probable type on non-seekable
249           files, and thus later mis-typefound it.
250
251 2005-12-09  Michael Smith  <msmith@fluendo.com>
252
253         * common/m4/gst-makecontext.m4:
254         * common/m4/gst-mcsc.m4:
255         * configure.ac:
256         * win32/common/config.h:
257         * win32/common/config.h.in:
258           Remove makecontext stuff; not used in 0.10 and causes problems on
259           HPUX according to bug #322441
260
261 2005-12-07  Wim Taymans  <wim@fluendo.com>
262
263         * tests/check/Makefile.am:
264         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
265         (main):
266         * tests/check/libs/struct_i386.h:
267         Added ABI check for libs
268
269 2005-12-07  Wim Taymans  <wim@fluendo.com>
270
271         * tests/check/Makefile.am:
272         And add the struct_i386.h to dist.
273
274 2005-12-07  Wim Taymans  <wim@fluendo.com>
275
276         * tests/check/Makefile.am:
277         * tests/check/gst/.cvsignore:
278         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
279         (main):
280         * tests/check/gst/struct_i386.h:
281         Added check for ABI compatibility.
282
283 2005-12-07  Wim Taymans  <wim@fluendo.com>
284
285         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
286         (gst_fake_src_get_times), (gst_fake_src_create):
287         Fix broken sync option, fixes #323259
288
289 2005-12-07  Wim Taymans  <wim@fluendo.com>
290
291         * gst/gstbuffer.c:
292         Small docs update.
293
294         * gst/gstcaps.c: (gst_caps_is_equal):
295         Don't assert on NULL <--> X. Fixes #323260
296
297         * gst/gstminiobject.c: (gst_mini_object_replace):
298         If we're doing atomic operations, we might just as well use
299         the proper way to get an atomic pointer.
300
301         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
302         Clean up debugging.
303
304 2005-12-07  Michael Smith  <msmith@fluendo.com>
305
306         * gst/parse/grammar.y:
307           Remove handling of { } for threads.
308
309 2005-12-06  David Schleef  <ds@schleef.org>
310
311         * libs/gst/base/gstbasetransform.c: speling fix.
312
313 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
314
315         * docs/libs/tmpl/gstdataprotocol.sgml:
316         * docs/random/omega/testing/gstobject.c:
317         * gst/gst.c:
318         * gst/gstclock.c:
319         * gst/gstelement.c:
320         * gst/gstelementfactory.c:
321         * gst/gsterror.c:
322         * gst/gstevent.c:
323         * gst/gstghostpad.c:
324         * gst/gstinfo.c:
325         * gst/gstpadtemplate.c:
326         * gst/gstregistryxml.c:
327         * gst/gsttaglist.c:
328         * gst/gsttagsetter.c:
329         * gst/gsttypefind.c:
330         * gst/gstvalue.c:
331         * libs/gst/base/gstbasesrc.c:
332         * libs/gst/net/gstnetclientclock.c:
333         * libs/gst/net/gstnettimeprovider.c:
334         * plugins/elements/gstfakesrc.c:
335         * plugins/elements/gstfdsrc.c:
336         * plugins/elements/gstfilesrc.c:
337         * plugins/elements/gstidentity.c:
338         * plugins/elements/gstqueue.c:
339         * plugins/elements/gsttypefindelement.c:
340         * plugins/indexers/gstfileindex.c:
341         * plugins/indexers/gstmemindex.c:
342         * tests/check/gst/gsttag.c:
343         * tests/old/examples/cutter/cutter.c:
344         * tests/old/examples/mixer/mixer.c:
345         * tests/old/examples/xml/runxml.c: (main):
346         * tests/old/testsuite/caps/normalisation.c:
347         * tests/old/testsuite/debug/global.c:
348         * tests/old/testsuite/parse/parse1.c:
349         * tools/gst-xmlinspect.c:
350         * win32/common/dirent.c:
351           expand tabs
352
353 === release 0.10.0 ===
354
355 2005-12-05   <thomas (at) apestaart (dot) org>
356
357         * configure.ac:
358           releasing 0.10.0, "Maroilles"
359
360 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
361
362         submitted by: Funda Wang <fundawang@linux.net.cn>
363
364         * po/LINGUAS:
365         * po/zh_CN.po:
366           added Chinese (Traditional) translation
367
368 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
369
370         * docs/gst/gstreamer-sections.txt:
371         * docs/libs/tmpl/gstdataprotocol.sgml:
372         * docs/random/thomasvs/TODO:
373         * gst/gstutils.c:
374         * gst/gstutils.h:
375           fix docs
376
377 2005-12-05  Andy Wingo  <wingo@pobox.com>
378
379         patch by: Wim Taymans <wim@fluendo.com>
380
381         * libs/gst/base/gstbasetransform.c
382         (gst_base_transform_prepare_output_buf)
383         (gst_base_transform_buffer_alloc):
384         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
385         alloc_buffer_and_set_caps.
386
387         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
388         set_caps on the source pad.
389         (gst_pad_alloc_buffer_and_set_caps): New function, does what
390         alloc_buffer used to do. Fixes #322874.
391
392         * docs/gst/gstreamer-sections.txt: 
393         * docs/design/part-negotiation.txt: 
394         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
395         changes.
396
397 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
398
399         patch by: Sebastien Moutte
400
401         * win32/MANIFEST:
402         * win32/common/config.h.in:
403         * win32/vs6/libgstcontroller.dsp:
404           win32 build fixes
405
406 2005-12-05  Wim Taymans  <wim@fluendo.com>
407
408         * gst/gstcaps.c: (gst_caps_is_equal):
409         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
410         (gst_fake_src_create):
411         Back out previous code changes, leave doc updates, file bugs 
412         instead. 
413
414 2005-12-05  Wim Taymans  <wim@fluendo.com>
415
416         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
417         (gst_fake_src_get_times), (gst_fake_src_create):
418         * plugins/elements/gstfakesrc.h:
419         Fix broken sync code.
420
421 2005-12-05  Wim Taymans  <wim@fluendo.com>
422
423         * gst/gstcaps.c: (gst_caps_is_equal):
424         Comparing NULL against !NULL yields different caps, not a
425         failure.
426
427 2005-12-05  Wim Taymans  <wim@fluendo.com>
428
429         * gst/gstpipeline.c:
430         Fix small typo in docs.
431
432 2005-12-05  Andy Wingo  <wingo@pobox.com>
433
434         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
435
436         * gst/gst.c (init_post): remove hard-coded 0.9 location for
437         registries/plugins with a MAJORMINOR one.
438         (plugin_desc): Rename library from gstcoreleements to
439         staticelements. Fixes #323222.
440
441 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
442
443         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
444           Change debug category to 'collectpads' from 'collect_pads'
445           (fixes #323250).
446
447 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
448
449         patch by: Sebastien Moutte
450
451         * libs/gst/controller/gstinterpolation.c:
452           use convert function for uint64/double
453         * win32/vs6/libgstcontroller.dsp:
454           link to GLib
455
456 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
457
458         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
459         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
460         * gst/gstutils.h:
461         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
462           add tests that seem to show that the guint64/gdouble conversions
463           are correct.
464
465 2005-12-02  Wim Taymans  <wim@fluendo.com>
466
467         * gst/gstregistry.c: (gst_registry_add_path):
468         * gst/gstregistry.h:
469         * gst/gstregistryxml.c:
470         Fix docs again.
471
472 2005-12-02  Wim Taymans  <wim@fluendo.com>
473
474         * gst/gstutils.c: (gst_util_uint64_scale_int64),
475         (gst_util_uint64_scale_int):
476         Small cleanup.
477
478         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
479         Add debug log line.
480
481         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
482         Add FIXME.
483
484 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
485
486         * win32/MANIFEST:
487         * win32/common/config.h:
488         * win32/vs6/gstreamer.dsw:
489         * win32/vs6/libgstcoreelements.dsp:
490         * win32/vs6/libgstelements.dsp:
491           renamed core elements plugin
492
493 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
494
495         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
496         (get_candidates):
497           do piece-wise major/minor comparison so 0.9 < 0.10
498           also allow .exe extensions for tools
499
500 2005-12-02  Michael Smith  <msmith@fluendo.com>
501
502         * gst/gst.c:
503           Escape a % to make gtkdoc happier; bug 322958.
504
505 === release 0.9.7 ===
506
507 2005-12-01   <thomas (at) apestaart (dot) org>
508
509         * configure.ac:
510           releasing 0.9.7, "My Dog Has No Nose"
511
512 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
513
514         * common/gst-xmlinspect.py:
515         * configure.ac:
516         * docs/libs/tmpl/gstdataprotocol.sgml:
517         * docs/random/release:
518         * po/af.po:
519         * po/az.po:
520         * po/bg.po:
521         * po/ca.po:
522         * po/cs.po:
523         * po/de.po:
524         * po/en_GB.po:
525         * po/fr.po:
526         * po/it.po:
527         * po/nb.po:
528         * po/nl.po:
529         * po/ru.po:
530         * po/sq.po:
531         * po/sr.po:
532         * po/sv.po:
533         * po/tr.po:
534         * po/uk.po:
535         * po/vi.po:
536         * win32/common/config.h:
537         * win32/common/config.h.in:
538         * win32/vs6/gst_inspect.dsp:
539         * win32/vs6/gst_launch.dsp:
540         * win32/vs6/libgstbase.dsp:
541         * win32/vs6/libgstelements.dsp:
542         * win32/vs6/libgstreamer.dsp:
543         * win32/vs7/GStreamer.vcproj:
544         * win32/vs7/gst-inspect.vcproj:
545         * win32/vs7/gst-launch.vcproj:
546         * win32/vs7/libgstbase.vcproj:
547           bump GST_MAJORMINOR to 0.10
548           reset libtool version
549
550 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
551
552         * po/LINGUAS:
553         * po/bg.po:
554           Added Bulgarian translation by (Alexander Shopov)
555
556 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
557
558         * tests/check/gst/gstplugin.c:
559           fix test
560
561 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
562
563         * common/gst-xmlinspect.py:
564         * common/gtk-doc-plugins.mak:
565         * configure.ac:
566         * docs/Makefile.am:
567         * docs/gst/Makefile.am:
568         * docs/gst/gstreamer-docs.sgml:
569         * docs/gst/gstreamer-sections.txt:
570         * docs/gst/gstreamer.types:
571         * docs/gst/gstreamer.types.in:
572         * docs/plugins/Makefile.am:
573         * docs/plugins/gstreamer-plugins-docs.sgml:
574         * docs/plugins/gstreamer-plugins-sections.txt:
575         * docs/plugins/gstreamer-plugins.types:
576         * docs/plugins/inspect.stamp:
577         * docs/plugins/inspect/plugin-coreelements.xml:
578         * docs/plugins/inspect/plugin-coreindexers.xml:
579         * docs/plugins/scanobj-build.stamp:
580         * gstreamer.spec.in:
581         * plugins/elements/Makefile.am:
582         * plugins/elements/gstelements.c:
583         * plugins/elements/gstfakesink.c:
584         * plugins/elements/gstfakesrc.c:
585         * plugins/elements/gstfilesink.c:
586         * plugins/elements/gstfilesrc.c:
587         * plugins/elements/gstqueue.c:
588         * plugins/indexers/Makefile.am:
589         * plugins/indexers/gstindexers.c:
590           document core plugins in a separate document just like all the
591           others
592           rename these plugins to something starting with core
593
594 2005-12-01  Andy Wingo  <wingo@pobox.com>
595
596         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
597         padding here before, but it missed the commit.
598
599 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
600
601         * libs/gst/controller/gstinterpolation.c:
602           whitespace prices have crashed, we should feel free to use some now
603           use gst_guint64_to_gdouble
604
605 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
606
607         * libs/gst/controller/gstcontroller.c:
608         * libs/gst/controller/gsthelper.c:
609         * libs/gst/controller/gstinterpolation.c:
610         * libs/gst/controller/lib.c:
611           wrap config.h include
612
613 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
614
615         * docs/gst/gstreamer-sections.txt:
616           update docs
617
618 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
619
620         * plugins/elements/gstelements.c:
621         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
622         (gst_fd_sink__class_init), (gst_fd_sink__init),
623         (gst_fd_sink__chain), (gst_fd_sink__set_property),
624         (gst_fd_sink__get_property):
625         * plugins/elements/gstfdsink.h:
626         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
627         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
628         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
629         (gst_fd_src_unlock), (gst_fd_src_set_property),
630         (gst_fd_src_get_property), (gst_fd_src_create),
631         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
632         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
633         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
634         (gst_fd_src_uri_handler_init):
635         * plugins/elements/gstfdsrc.h:
636         * plugins/elements/gstqueue.c: (gst_queue_get_type):
637           more anal cleanup
638
639 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
640
641         * docs/gst/Makefile.am:
642         * docs/gst/gstreamer.types.in:
643         * gst/Makefile.am:
644           fix the docs build
645
646 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
647
648         * configure.ac:
649         * gst/Makefile.am:
650         * gst/gst.c:
651         * gst/gstplugin.h:
652         * gst/gstregistry.h:
653         * tests/benchmarks/complexity.c:
654         * tests/benchmarks/mass-elements.c:
655         * tests/check/Makefile.am:
656         * tools/Makefile.am:
657         * tools/gst-inspect.c:
658         * tools/gst-xmlinspect.c:
659           various fixes to make
660           --disable-nls --disable-registry --disable-loadsave
661           --disable-parse --disable-gst-debug
662           work and get the core .so down to 360444 bytes after stripping
663
664 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
665
666         * Makefile.am:
667         * configure.ac:
668           descend into tests
669         * docs/random/thomasvs/TODO:
670         * tests/Makefile.am:
671         * tests/README:
672           add a README
673
674 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
675
676         * win32/GStreamer.vcproj:
677         * win32/MANIFEST:
678         * win32/Makefile:
679         * win32/Makefile.inspect:
680         * win32/Makefile.launch:
681         * win32/Makefile.register:
682         * win32/README.txt:
683         * win32/gst-inspect.vcproj:
684         * win32/gst-launch.vcproj:
685         * win32/gst-register.vcproj:
686         * win32/gstelements.vcproj:
687         * win32/gstgetbits.def:
688         * win32/gstgetbits.vcproj:
689         * win32/gstreamer-dbg.def:
690         * win32/gstreamer.def:
691         * win32/libgstbase.def:
692         * win32/libgstbase.vcproj:
693         * win32/link_oldruntime.c:
694         * win32/mman.c:
695         * win32/mman.h:
696         * win32/mman.inl:
697         * win32/msvc71.sln:
698           move even more stuff, win32/ is nice and clean now
699
700 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
701
702         * libs/gst/control/.cvsignore:
703         * win32/MANIFEST:
704         * win32/config.h:
705         * win32/dirent.c:
706         * win32/dirent.h:
707         * win32/gstbytestream.def:
708         * win32/gstbytestream.vcproj:
709         * win32/gstconfig.h:
710         * win32/gstenumtypes.c:
711         * win32/gstenumtypes.h:
712         * win32/gstoptimalscheduler.vcproj:
713         * win32/gstversion.h:
714         * win32/gtchar.h:
715         * win32/testsuite/bins.vcproj:
716         * win32/testsuite/bytestream.vcproj:
717         * win32/testsuite/caps.vcproj:
718         * win32/testsuite/cleanup.vcproj:
719         * win32/testsuite/clock.vcproj:
720         * win32/testsuite/debug.vcproj:
721         * win32/testsuite/dlopen.vcproj:
722         * win32/testsuite/dynparams.vcproj:
723         * win32/testsuite/elements.vcproj:
724         * win32/testsuite/ghostpads.vcproj:
725         * win32/testsuite/indexers.vcproj:
726         * win32/testsuite/negotiation.vcproj:
727         * win32/testsuite/parse.vcproj:
728         * win32/testsuite/plugin.vcproj:
729         * win32/testsuite/refcounting.vcproj:
730         * win32/testsuite/schedulers.vcproj:
731         * win32/testsuite/states.vcproj:
732         * win32/testsuite/tags.vcproj:
733         * win32/testsuite/threads.vcproj:
734           remove old win32 stuff that isn't maintained and should be
735           reorganized
736
737 2005-11-30  Andy Wingo  <wingo@pobox.com>
738
739         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
740         loading the gst.interfaces python module bork.
741
742         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
743         available since GLib 2.2. Fixes #318031.
744
745 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
746
747         * Makefile.am:
748         * check/.cvsignore:
749         * check/Makefile.am:
750         * check/elements/.cvsignore:
751         * check/elements/fakesrc.c:
752         * check/elements/fdsrc.c:
753         * check/elements/identity.c:
754         * check/generic/.cvsignore:
755         * check/generic/states.c:
756         * check/gst-libs/.cvsignore:
757         * check/gst-libs/controller.c:
758         * check/gst-libs/gdp.c:
759         * check/gst/.cvsignore:
760         * check/gst/capslist.h:
761         * check/gst/gst.c:
762         * check/gst/gstbin.c:
763         * check/gst/gstbuffer.c:
764         * check/gst/gstbus.c:
765         * check/gst/gstcaps.c:
766         * check/gst/gstelement.c:
767         * check/gst/gstevent.c:
768         * check/gst/gstghostpad.c:
769         * check/gst/gstiterator.c:
770         * check/gst/gstmessage.c:
771         * check/gst/gstminiobject.c:
772         * check/gst/gstobject.c:
773         * check/gst/gstpad.c:
774         * check/gst/gstpipeline.c:
775         * check/gst/gstplugin.c:
776         * check/gst/gstsegment.c:
777         * check/gst/gststructure.c:
778         * check/gst/gstsystemclock.c:
779         * check/gst/gsttag.c:
780         * check/gst/gstutils.c:
781         * check/gst/gstvalue.c:
782         * check/net/.cvsignore:
783         * check/net/gstnetclientclock.c:
784         * check/net/gstnettimeprovider.c:
785         * check/pipelines/.cvsignore:
786         * check/pipelines/cleanup.c:
787         * check/pipelines/simple_launch_lines.c:
788         * check/pipelines/stress.c:
789         * check/states/.cvsignore:
790         * check/states/sinks.c:
791         * configure.ac:
792         * examples/Makefile.am:
793         * examples/appreader/.cvsignore:
794         * examples/appreader/Makefile.am:
795         * examples/appreader/appreader.c:
796         * examples/controller/.cvsignore:
797         * examples/controller/Makefile.am:
798         * examples/controller/audio-example.c:
799         * examples/cutter/.cvsignore:
800         * examples/cutter/Makefile.am:
801         * examples/cutter/cutter.c:
802         * examples/cutter/cutter.h:
803         * examples/events/Makefile.am:
804         * examples/events/seek.c:
805         * examples/helloworld/.cvsignore:
806         * examples/helloworld/Makefile.am:
807         * examples/helloworld/helloworld.c:
808         * examples/helloworld2/.cvsignore:
809         * examples/helloworld2/Makefile.am:
810         * examples/helloworld2/helloworld2.c:
811         * examples/launch/.cvsignore:
812         * examples/launch/Makefile.am:
813         * examples/launch/mp3parselaunch.c:
814         * examples/launch/mp3play:
815         * examples/manual/.cvsignore:
816         * examples/manual/Makefile.am:
817         * examples/manual/extract.pl:
818         * examples/metadata/Makefile.am:
819         * examples/metadata/read-metadata.c:
820         * examples/mixer/.cvsignore:
821         * examples/mixer/Makefile.am:
822         * examples/mixer/mixer.c:
823         * examples/mixer/mixer.h:
824         * examples/pingpong/.cvsignore:
825         * examples/pingpong/Makefile.am:
826         * examples/pingpong/pingpong.c:
827         * examples/plugins/.cvsignore:
828         * examples/plugins/Makefile.am:
829         * examples/plugins/example.c:
830         * examples/plugins/example.h:
831         * examples/pwg/.cvsignore:
832         * examples/pwg/Makefile.am:
833         * examples/pwg/extract.pl:
834         * examples/queue/.cvsignore:
835         * examples/queue/Makefile.am:
836         * examples/queue/queue.c:
837         * examples/queue2/.cvsignore:
838         * examples/queue2/Makefile.am:
839         * examples/queue2/queue2.c:
840         * examples/queue3/.cvsignore:
841         * examples/queue3/Makefile.am:
842         * examples/queue3/queue3.c:
843         * examples/queue4/.cvsignore:
844         * examples/queue4/Makefile.am:
845         * examples/queue4/queue4.c:
846         * examples/retag/.cvsignore:
847         * examples/retag/Makefile.am:
848         * examples/retag/retag.c:
849         * examples/retag/transcode.c:
850         * examples/thread/.cvsignore:
851         * examples/thread/Makefile.am:
852         * examples/thread/thread.c:
853         * examples/typefind/.cvsignore:
854         * examples/typefind/Makefile.am:
855         * examples/typefind/typefind.c:
856         * examples/xml/.cvsignore:
857         * examples/xml/Makefile.am:
858         * examples/xml/createxml.c:
859         * examples/xml/runxml.c:
860         * tests/Makefile.am:
861         * tests/check/Makefile.am:
862         * testsuite/.cvsignore:
863         * testsuite/Makefile.am:
864         * testsuite/Rules:
865         * testsuite/caps/.cvsignore:
866         * testsuite/caps/Makefile.am:
867         * testsuite/caps/app_fixate.c:
868         * testsuite/caps/audioscale.c:
869         * testsuite/caps/caps.c:
870         * testsuite/caps/caps.h:
871         * testsuite/caps/caps_strings:
872         * testsuite/caps/compatibility.c:
873         * testsuite/caps/deserialize.c:
874         * testsuite/caps/enumcaps.c:
875         * testsuite/caps/eratosthenes.c:
876         * testsuite/caps/filtercaps.c:
877         * testsuite/caps/fixed.c:
878         * testsuite/caps/fraction-convert.c:
879         * testsuite/caps/fraction-multiply-and-zero.c:
880         * testsuite/caps/intersect2.c:
881         * testsuite/caps/intersection.c:
882         * testsuite/caps/normalisation.c:
883         * testsuite/caps/random.c:
884         * testsuite/caps/renegotiate.c:
885         * testsuite/caps/sets.c:
886         * testsuite/caps/simplify.c:
887         * testsuite/caps/string-conversions.c:
888         * testsuite/caps/structure.c:
889         * testsuite/caps/subtract.c:
890         * testsuite/caps/union.c:
891         * testsuite/debug/.cvsignore:
892         * testsuite/debug/Makefile.am:
893         * testsuite/debug/category.c:
894         * testsuite/debug/commandline.c:
895         * testsuite/debug/global.c:
896         * testsuite/debug/output.c:
897         * testsuite/debug/printf_extension.c:
898         * testsuite/dlopen/.cvsignore:
899         * testsuite/dlopen/Makefile.am:
900         * testsuite/dlopen/dlopen_gst.c:
901         * testsuite/dlopen/loadgst.c:
902         * testsuite/elements/.cvsignore:
903         * testsuite/elements/Makefile.am:
904         * testsuite/elements/gst-inspect-check.in:
905         * testsuite/elements/struct_i386.h:
906         * testsuite/elements/struct_size.c:
907         * testsuite/indexers/.cvsignore:
908         * testsuite/indexers/Makefile.am:
909         * testsuite/indexers/cache1.c:
910         * testsuite/indexers/indexdump.c:
911         * testsuite/parse/.cvsignore:
912         * testsuite/parse/Makefile.am:
913         * testsuite/parse/parse1.c:
914         * testsuite/parse/parse2.c:
915         * testsuite/plugin/.cvsignore:
916         * testsuite/plugin/Makefile.am:
917         * testsuite/plugin/README:
918         * testsuite/plugin/dynamic.c:
919         * testsuite/plugin/linked.c:
920         * testsuite/plugin/loading.c:
921         * testsuite/plugin/registry.c:
922         * testsuite/plugin/static.c:
923         * testsuite/plugin/static2.c:
924         * testsuite/plugin/testplugin.c:
925         * testsuite/plugin/testplugin2.c:
926         * testsuite/plugin/testplugin2_s.c:
927         * testsuite/plugin/testplugin_s.c:
928         * testsuite/refcounting/.cvsignore:
929         * testsuite/refcounting/Makefile.am:
930         * testsuite/refcounting/bin.c:
931         * testsuite/refcounting/element.c:
932         * testsuite/refcounting/element_pad.c:
933         * testsuite/refcounting/mainloop.c:
934         * testsuite/refcounting/mem.c:
935         * testsuite/refcounting/mem.h:
936         * testsuite/refcounting/object.c:
937         * testsuite/refcounting/pad.c:
938         * testsuite/refcounting/sched.c:
939         * testsuite/refcounting/thread.c:
940         * testsuite/states/.cvsignore:
941         * testsuite/states/Makefile.am:
942         * testsuite/states/bin.c:
943         * testsuite/states/locked.c:
944         * testsuite/states/parent.c:
945         * testsuite/threads/.cvsignore:
946         * testsuite/threads/159566.c:
947         * testsuite/threads/159852.c:
948         * testsuite/threads/Makefile.am:
949         * testsuite/threads/queue.c:
950         * testsuite/threads/signals.c:
951         * testsuite/threads/staticrec.c:
952         * testsuite/threads/thread.c:
953         * testsuite/threads/threadb.c:
954         * testsuite/threads/threadc.c:
955         * testsuite/threads/threadd.c:
956         * testsuite/threads/threade.c:
957         * testsuite/threads/threadf.c:
958         * testsuite/threads/threadg.c:
959         * testsuite/threads/threadh.c:
960         * testsuite/threads/threadi.c:
961           move all of these under tests
962
963 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
964
965         * configure.ac:
966         * tests/Makefile.am:
967           fix distcheck
968
969 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
970
971         * docs/gst/gstreamer-sections.txt:
972         * tests/sched/.cvsignore:
973         * tests/sched/Makefile.am:
974         * tests/sched/cases/(fs-fs).xml:
975         * tests/sched/cases/(fs-i-fs).xml:
976         * tests/sched/cases/(fs-i-i-fs).xml:
977         * tests/sched/cases/(fs-i-q[i-fs]).xml:
978         * tests/sched/dynamic-pipeline.c:
979         * tests/sched/interrupt1.c:
980         * tests/sched/interrupt2.c:
981         * tests/sched/interrupt3.c:
982         * tests/sched/runtestcases:
983         * tests/sched/runxml.c:
984         * tests/sched/sched-stress.c:
985         * tests/sched/sort.c:
986         * tests/sched/testcases:
987         * tests/sched/testcases1.tc:
988         * tests/seeking/.cvsignore:
989         * tests/seeking/Makefile.am:
990         * tests/seeking/seeking1.c:
991         * tests/threadstate/.cvsignore:
992         * tests/threadstate/Makefile.am:
993         * tests/threadstate/test1.c:
994         * tests/threadstate/test2.c:
995         * tests/threadstate/threadstate1.c:
996         * tests/threadstate/threadstate2.c:
997         * tests/threadstate/threadstate3.c:
998         * tests/threadstate/threadstate4.c:
999         * tests/threadstate/threadstate5.c:
1000           remove obsolete tests
1001         * configure.ac:
1002         * tests/bench-complexity.scm:
1003         * tests/bench-mass_elements.scm:
1004         * tests/complexity.c:
1005         * tests/complexity.gnuplot:
1006         * tests/instantiate/.cvsignore:
1007         * tests/instantiate/Makefile.am:
1008         * tests/instantiate/caps.c:
1009         * tests/mass_elements.c:
1010         * tests/network-clock-utils.scm:
1011         * tests/network-clock.scm:
1012         * tests/plot-data:
1013         First pass at cleaning up tests/ dir before moving the rest
1014         Combined with CVS surgery
1015
1016 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1017
1018         * po/POTFILES.in:
1019           queue has moved, update
1020
1021 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1022
1023         * docs/gst/gstreamer-sections.txt:
1024           remove double entries from the docs
1025         * gst/gst_private.h:
1026         * gst/gstinfo.c: (_gst_debug_init):
1027           remove the THREAD debug category
1028         * gst/Makefile.am:
1029         * gst/gstqueue.c:
1030         * gst/gstqueue.h:
1031         * docs/gst/gstreamer.types:
1032         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1033         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1034           completely move queue and fix up debugging categories
1035
1036 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1037
1038         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1039           make initialization portable, using LL is not
1040
1041 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1042
1043         * win32/common/gstconfig.h:
1044           add large padding
1045
1046 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1047
1048         * win32/common/libgstreamer.def:
1049           rename symbols; sort base section
1050
1051 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1052
1053         * gst/gstclock.c: (do_linear_regression):
1054           remove crack non-portable handrolled DEBUG macro
1055
1056 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1057
1058         * docs/random/release:
1059           update notes
1060         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1061         (gst_object_flags_get_type), (register_gst_bin_flags),
1062         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1063         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1064         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1065         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1066         (gst_caps_flags_get_type), (register_gst_clock_return),
1067         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1068         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1069         (gst_clock_flags_get_type), (register_gst_state),
1070         (gst_state_get_type), (register_gst_state_change_return),
1071         (gst_state_change_return_get_type), (register_gst_state_change),
1072         (gst_state_change_get_type), (register_gst_element_flags),
1073         (gst_element_flags_get_type), (register_gst_core_error),
1074         (gst_core_error_get_type), (register_gst_library_error),
1075         (gst_library_error_get_type), (register_gst_resource_error),
1076         (gst_resource_error_get_type), (register_gst_stream_error),
1077         (gst_stream_error_get_type), (register_gst_event_type_flags),
1078         (gst_event_type_flags_get_type), (register_gst_event_type),
1079         (gst_event_type_get_type), (register_gst_seek_type),
1080         (gst_seek_type_get_type), (register_gst_seek_flags),
1081         (gst_seek_flags_get_type), (register_gst_format),
1082         (gst_format_get_type), (register_gst_index_certainty),
1083         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1084         (gst_index_entry_type_get_type),
1085         (register_gst_index_lookup_method),
1086         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1087         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1088         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1089         (gst_index_flags_get_type), (register_gst_debug_level),
1090         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1091         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1092         (gst_iterator_result_get_type), (register_gst_iterator_item),
1093         (gst_iterator_item_get_type), (register_gst_message_type),
1094         (gst_message_type_get_type), (register_gst_mini_object_flags),
1095         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1096         (gst_pad_link_return_get_type), (register_gst_flow_return),
1097         (gst_flow_return_get_type), (register_gst_activate_mode),
1098         (gst_activate_mode_get_type), (register_gst_pad_direction),
1099         (gst_pad_direction_get_type), (register_gst_pad_flags),
1100         (gst_pad_flags_get_type), (register_gst_pad_presence),
1101         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1102         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1103         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1104         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1105         (gst_plugin_flags_get_type), (register_gst_rank),
1106         (gst_rank_get_type), (register_gst_query_type),
1107         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1108         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1109         (gst_tag_flag_get_type), (register_gst_task_state),
1110         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1111         (gst_alloc_trace_flags_get_type),
1112         (register_gst_type_find_probability),
1113         (gst_type_find_probability_get_type), (register_gst_uri_type),
1114         (gst_uri_type_get_type), (register_gst_parse_error),
1115         (gst_parse_error_get_type):
1116         * win32/common/gstenumtypes.h:
1117         * win32/common/gstversion.h:
1118           update visual studio generated files
1119
1120 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1121
1122         * win32/vs6/libgstbase.dsp:
1123         * win32/vs6/libgstelements.dsp:
1124           update project files for new locations
1125
1126 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1127
1128         * Makefile.am:
1129           remove some files
1130         * README:
1131           reinstate and update
1132         * DEVEL:
1133         * REQUIREMENTS:
1134           removed
1135         * LICENSE:
1136         * docs/random/LICENSE:
1137           moved to random
1138
1139 2005-11-30  Edward Hervey  <edward@fluendo.com>
1140
1141         * gst/gsttypefind.c: (gst_type_find_register):
1142         * gst/gsttypefind.h:
1143         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1144         (gst_type_find_factory_dispose):
1145         * gst/gsttypefindfactory.h:
1146         Fix memory leak in GstTypeFindFactory.
1147
1148 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1149
1150         * gst/gst.c:
1151         * plugins/elements/Makefile.am:
1152         * plugins/elements/gstelements.c:
1153         * plugins/elements/gstqueue.c:
1154           move queue from core to the elements plugin
1155
1156 2005-11-29  Andy Wingo  <wingo@pobox.com>
1157
1158         * libs/gst/base/gstbasetransform.h: 
1159         * libs/gst/base/gstbasesrc.h: 
1160         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1161
1162         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1163         of pointers by which to pad very extensible base classes (like the
1164         ones in libs/gst/base).
1165
1166 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1167
1168         * docs/gst/gstreamer-docs.sgml:
1169         * docs/gst/gstreamer-sections.txt:
1170         * docs/libs/gstreamer-libs-docs.sgml:
1171         * docs/libs/gstreamer-libs-sections.txt:
1172           moving documentation from core to lib
1173
1174 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1175
1176         * check/Makefile.am:
1177         * configure.ac:
1178         * docs/gst/Makefile.am:
1179         * gst/Makefile.am:
1180         * gst/base/.cvsignore:
1181         * gst/base/Makefile.am:
1182         * gst/base/README:
1183         * gst/base/gstadapter.c:
1184         * gst/base/gstadapter.h:
1185         * gst/base/gstbasesink.c:
1186         * gst/base/gstbasesink.h:
1187         * gst/base/gstbasesrc.c:
1188         * gst/base/gstbasesrc.h:
1189         * gst/base/gstbasetransform.c:
1190         * gst/base/gstbasetransform.h:
1191         * gst/base/gstcollectpads.c:
1192         * gst/base/gstcollectpads.h:
1193         * gst/base/gstpushsrc.c:
1194         * gst/base/gstpushsrc.h:
1195         * gst/base/gsttypefindhelper.c:
1196         * gst/base/gsttypefindhelper.h:
1197         * gst/check/Makefile.am:
1198         * gst/check/gstcheck.c:
1199         * gst/check/gstcheck.h:
1200         * gst/net/Makefile.am:
1201         * gst/net/gstnet.h:
1202         * gst/net/gstnetclientclock.c:
1203         * gst/net/gstnetclientclock.h:
1204         * gst/net/gstnettimepacket.c:
1205         * gst/net/gstnettimepacket.h:
1206         * gst/net/gstnettimeprovider.c:
1207         * gst/net/gstnettimeprovider.h:
1208         * libs/gst/Makefile.am:
1209         * libs/gst/base/Makefile.am:
1210         * libs/gst/base/gstbasetransform.c:
1211         * libs/gst/check/Makefile.am:
1212         * plugins/elements/Makefile.am:
1213         * po/POTFILES.in:
1214           CVS surgery + support to move base, check, and net out of gst
1215           and into libs/gst
1216
1217 2005-11-29  Andy Wingo  <wingo@pobox.com>
1218
1219         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1220
1221         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1222         padding.
1223
1224         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1225
1226         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1227
1228         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1229
1230         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1231         padding; reduces object size by about 30%. We don't expect
1232         anything else to go into gstobject.
1233
1234         * gst/gstminiobject.h (struct _GstMiniObject)
1235         (struct _GstMiniObjectClass): Only one pointer of padding; the
1236         payload is only a pointer and two ints anyway. For the class there
1237         are only two methods as well.
1238         
1239         * gst/gstelement.h (struct _GstElementClass): Removed
1240         the state_changed signal callback, it is not used.
1241
1242 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1243
1244         * docs/gst/gstreamer.types:
1245           fix includes, though they are a little dinky
1246
1247 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1248
1249         * check/Makefile.am:
1250           look in the right place for elements, a lot more chance of
1251           success
1252         * gst/Makefile.am:
1253           remove indexers and elements subdirs
1254         * plugins/Makefile.am:
1255           make indexers conditional
1256
1257 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1258
1259         * Makefile.am:
1260         * configure.ac:
1261         * plugins/elements/Makefile.am:
1262         * plugins/elements/gstcapsfilter.c:
1263         * plugins/elements/gstfilesink.c:
1264         * plugins/elements/gstfilesrc.c:
1265         * plugins/elements/gstidentity.c:
1266         * plugins/indexers/Makefile.am:
1267           do CVS surgery and related build fixery to move elements
1268           and indexers in a new gstreamer/plugins directory, out of the
1269           gst/ directory
1270
1271 2005-11-29  Andy Wingo  <wingo@pobox.com>
1272
1273         * check/Makefile.am:
1274         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1275         * pkgconfig/gstreamer-net.pc.in:
1276         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1277         #322257.
1278
1279 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1280
1281         * tools/Makefile.am:
1282         * tools/gst-complete.1.in:
1283         * tools/gst-complete.c:
1284         * tools/gst-compprep.1.in:
1285         * tools/gst-compprep.c:
1286           removing -compprep and -complete
1287
1288 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1289
1290         * gst/gstevent.c: (gst_event_new_new_segment),
1291         (gst_event_parse_new_segment):
1292         * gst/gstevent.h:
1293           fix #320529 - clean up new_segment API and structure.
1294           Let's hope everyone was using the methods, and not the structure.
1295
1296 2005-11-29  Edward Hervey  <edward@fluendo.com>
1297
1298         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1299         (gst_base_sink_event), (gst_base_sink_do_sync),
1300         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1301         Properly handle non GST_FORMAT_TIME segment
1302         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1303         Properly handle non GST_FORMAT_TIME segment
1304         * gst/gstsegment.c:
1305         This function is valid if the accumulator is 0 and the format
1306         is different from the requested format.
1307         
1308 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1309
1310         * docs/gst/gstreamer-sections.txt:
1311         Add gst_query_new_seeking and gst_query_parse_seeking to the
1312         docs.
1313
1314 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1315
1316         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1317           Treat a pad alloc with new caps the same as if we were not
1318           negotiated, in order to allow a changing upstream output
1319           to produce a new format of data.
1320
1321 2005-11-29  Edward Hervey  <edward@fluendo.com>
1322
1323         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1324         (gst_base_transform_event), (gst_base_transform_eventfunc):
1325         The event virtual method is now properly implemented, with a default
1326         handler
1327         Sub classes should call the parent_class event method. They should
1328         return FALSE if they had a problem handling the given event, or don't
1329         want GstBaseTransform to send that even downstream
1330         * gst/elements/gstidentity.c: (gst_identity_class_init),
1331         (gst_identity_init), (gst_identity_event),
1332         (gst_identity_transform_ip), (gst_identity_set_property),
1333         (gst_identity_get_property):
1334         * gst/elements/gstidentity.h:
1335         Added the single-segment boolean property.
1336         If set to TRUE, it will output a single segment of data, starting from
1337         0, will eat up all incoming newsegment, and modify the timestamp of the
1338         buffers accordingly
1339
1340 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1341
1342         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1343           Don't ref NULL target pad (#322751). Improve docs.
1344
1345 2005-11-29  Michael Smith  <msmith@fluendo.com>
1346
1347         * gst/gstregistryxml.c: (load_plugin):
1348           Don't crash if we failed to load a feature from a plugin. 
1349
1350 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1351
1352         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1353         (GST_START_TEST):
1354           use more check API and less GLib API
1355
1356 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1357
1358         * Makefile.am:
1359           don't run checks if we don't have check
1360         * common/check.mak:
1361           remove the registry when running make torture
1362         * docs/gst/gstreamer-sections.txt:
1363           remove second multiply
1364         * gst/gstqueue.c: (gst_queue_loop):
1365           fix a compile warning when disabling debug
1366
1367 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1368
1369         * gst/gstinfo.h:
1370         Hey! Let's print the pad name if the pointer != NULL instead
1371         of when it == NULL :-)
1372
1373 2005-11-28  Wim Taymans  <wim@fluendo.com>
1374
1375         * check/gst/gstutils.c: (GST_START_TEST):
1376         Updated check, add some scaling accuracy checking code.
1377
1378         * gst/gstutils.c: (gst_util_div128_64),
1379         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1380         (gst_util_uint64_scale_int):
1381         Fix 6 times faster division code. Optimize for common 
1382         1/1 and less common X/1 cases.
1383
1384 2005-11-28  Wim Taymans  <wim@fluendo.com>
1385
1386         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1387         More checks.
1388
1389         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1390         (do_linear_regression), (gst_clock_add_observation):
1391         Cleanups.
1392         Release lock when the clock cannot be slaved.
1393         Catch the case where the regression returned an invalid denominator.
1394
1395         * gst/gstutils.c: (gst_util_div128_64_iterate),
1396         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1397         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1398         Add protentially more performant non-iterative 128/64 divide function
1399         that unfortunatly does not work yet.
1400         Shortcut the trivial 0/X = 0 case.
1401         Remove the warnings on overflow.
1402
1403 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1404
1405         * gst/gstplugin.c: (gst_plugin_register_func):
1406           everything causing a plugin not to load should be at least a WARNING
1407
1408 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * docs/random/ensonic/dparams.txt:
1411           some TODOs for the next dev cycle
1412         * libs/gst/controller/gstcontroller.c:
1413         (gst_controlled_property_set_interpolation_mode),
1414         (gst_controlled_property_new):
1415         * libs/gst/controller/gstcontroller.h:
1416           use base type to assign acccessor functions
1417
1418 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1419
1420         * check/Makefile.am:
1421         Oops, that should have been top_srcdir
1422
1423 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1424
1425         * check/Makefile.am:
1426         * check/elements/fdsrc.c: (GST_START_TEST):
1427         Use a cmdline define to specify the location of a file to use for
1428         testing, to avoid breaking distcheck.
1429
1430 2005-11-28  Andy Wingo  <wingo@pobox.com>
1431
1432         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1433
1434 2005-11-28  Edward Hervey  <edward@fluendo.com>
1435
1436         * tools/gst-launch.c: (main):
1437         Clarify the output strings, makes it easier to translate.
1438         Fixes #322626
1439
1440 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1441
1442         * gst/Makefile.am:
1443           don't try and build net if we don't even have <sys/socket.h>
1444
1445 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1446
1447         * check/Makefile.am:
1448         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1449         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1450           Add tests for fdsrc seekability
1451
1452         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1453         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1454         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1455         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1456         * gst/elements/gstfdsrc.h:
1457           fdsrc should not be a 'live' source.
1458           Implement seeking on seekable fd's.
1459
1460         * gst/gstquery.c: (gst_query_new_seeking),
1461         (gst_query_parse_seeking):
1462         * gst/gstquery.h:
1463           Implement SEEKING query functions: 
1464             *_new_seeking and *_parse_seeking
1465
1466 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1467
1468         * gst/gstelement.c: (gst_element_dispose):
1469           don't loop forever
1470
1471         * gst/gstiterator.c:
1472         * gst/gststructure.c:
1473           doc fixes
1474
1475         * libs/gst/controller/gstcontroller.c:
1476         (gst_controlled_property_set_interpolation_mode):
1477         * libs/gst/controller/gstcontroller.h:
1478         * libs/gst/controller/gstinterpolation.c:
1479         (interpolate_none_get_enum_value_array):
1480           support controlling enums
1481
1482 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1483
1484         * gst/gstvalue.c:
1485           Improve documentation for gst_value_union().
1486
1487         * gst/gstvalue.h:
1488           Change return value for union, intersect and subtract functions
1489           from gint to gboolean.
1490
1491 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1492
1493         * gst/gstvalue.c: (gst_value_serialize_any_list),
1494         (gst_value_transform_any_list_string),
1495         (gst_value_deserialize_list), (gst_value_deserialize_array),
1496         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1497         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1498         (gst_value_set_fraction_range_full),
1499         (gst_value_deserialize_fraction_range),
1500         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1501         (gst_value_deserialize_boolean),
1502         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1503         (gst_value_serialize_float), (gst_value_deserialize_float),
1504         (gst_string_wrap), (gst_value_deserialize_string),
1505         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1506         (gst_value_union_int_range_int_range),
1507         (gst_value_intersect_int_range_int_range),
1508         (gst_value_intersect_double_range_double_range),
1509         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1510         (gst_value_subtract_int_range_int_range),
1511         (gst_value_subtract_double_double_range),
1512         (gst_value_subtract_double_range_double_range),
1513         (gst_value_deserialize_fraction):
1514         * gst/gstvalue.h:
1515           Use gint, gdouble and gchar in our API instead of int, double and
1516           char (and make usage in gstvalue.c more consistent).
1517
1518 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1519
1520         * check/Makefile.am:
1521         * libs/gst/controller/Makefile.am:
1522         * libs/gst/dataprotocol/Makefile.am:
1523           fix up Makefile.am and remove GST_ENABLE_NEW
1524
1525 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1526
1527         * configure.ac:
1528         * gst/Makefile.am:
1529         * gst/base/Makefile.am:
1530         * gst/check/Makefile.am:
1531         * gst/elements/Makefile.am:
1532         * gst/net/Makefile.am:
1533           update LDFLAGS use some more
1534
1535 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1536
1537         * common/m4/gst-doc.m4:
1538           Fixes #312589
1539
1540 2005-11-26  Edward Hervey  <edward@fluendo.com>
1541
1542         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1543         This shouldn't issue a g_warning since it returns NULL if it
1544         couldn't find the plugin, and all functions using this behave
1545         properly on a NULL return. Switching to a GST_WARNING.
1546
1547 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1548
1549         * gst/gstbin.c: (gst_bin_handle_message_func):
1550         Don't leak clock messages.
1551
1552 2005-11-25  Wim Taymans  <wim@fluendo.com>
1553
1554         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1555         (gst_util_uint64_scale_int):
1556         Optimisations, remove unneeded vars.
1557
1558 2005-11-25  Wim Taymans  <wim@fluendo.com>
1559
1560         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1561         Added more checks for the high precision uint64 cases.
1562
1563         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1564         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1565         Implement high precision (guint64 * guint64) / guint64.
1566
1567 2005-11-24  Wim Taymans  <wim@fluendo.com>
1568
1569         * gst/base/gstbasesrc.c: (gst_base_src_query):
1570         Fix wrong percentage query.
1571
1572         * gst/gstutils.c: (gst_util_uint64_scale),
1573         (gst_util_uint64_scale_int):
1574         Add some more common cases that can be handled 
1575         efficiently to _scale.
1576
1577 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1578
1579         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1580         (gst_mini_object_suite):
1581           don't use check calls from threads; check probably isn't
1582           threadsafe and using a lock to make it threadsafe would
1583           defeat the purpose of this check
1584         * gst/check/gstcheck.c:
1585         * gst/check/gstcheck.h:
1586           use GST_DEBUG some more
1587
1588 2005-11-24  Wim Taymans  <wim@fluendo.com>
1589
1590         * gst/gstutils.c: (gst_util_uint64_scale),
1591         (gst_util_uint64_scale_int):
1592         Chain trivial case to _scale_int.
1593
1594 2005-11-24  Wim Taymans  <wim@fluendo.com>
1595
1596         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1597         Added test for scaling.
1598
1599         * gst/gstclock.h:
1600         Small doc fix.
1601
1602         * gst/gstutils.c: (gst_util_uint64_scale_int):
1603         Implemented high precision scaling code.
1604
1605 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1606
1607         * gst/gstinfo.h:
1608           do not crash on pad==NULL
1609
1610 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1611
1612         Patch by: Stefan Kost
1613
1614         * common/gtk-doc.mak:
1615         * docs/gst/Makefile.am:
1616         * docs/libs/Makefile.am:
1617           Fix distcheck issues for the libraries docs build
1618           Closes #319599.
1619
1620 2005-11-24  Michael Smith <msmith@fluendo.com>
1621
1622         * docs/manual/basics-helloworld.xml:
1623           Fix bug #315027: memory leak in example code in docs.
1624
1625 2005-11-24  Michael Smith <msmith@fluendo.com>
1626
1627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1628           Unlock the PREROLL_LOCK in a failure case.
1629
1630 2005-11-24  Wim Taymans  <wim@fluendo.com>
1631
1632         * docs/gst/gstreamer-sections.txt:
1633         * gst/base/gstadapter.h:
1634         * gst/base/gstbasesink.h:
1635         * gst/base/gstbasesrc.h:
1636         * gst/base/gstbasetransform.h:
1637         * gst/base/gstpushsrc.h:
1638         * gst/elements/gstfakesink.h:
1639         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1640         * gst/elements/gstfakesrc.h:
1641         * gst/elements/gstfilesink.h:
1642         * gst/elements/gstfilesrc.h:
1643         * gst/gst.c:
1644         * gst/gstbin.c:
1645         * gst/gstbuffer.c: (_gst_buffer_copy):
1646         * gst/gstbus.h:
1647         * gst/gstcaps.c:
1648         * gst/gstchildproxy.c:
1649         * gst/gstclock.c:
1650         * gst/gstelement.c:
1651         * gst/gstelementfactory.c:
1652         * gst/gstelementfactory.h:
1653         * gst/gstevent.c:
1654         * gst/gstghostpad.h:
1655         * gst/gstindex.h:
1656         * gst/gstinterface.h:
1657         * gst/gstminiobject.c:
1658         * gst/gstminiobject.h:
1659         * gst/gstpad.c:
1660         * gst/gstpad.h:
1661         * gst/gstpadtemplate.h:
1662         * gst/gstpipeline.h:
1663         * gst/gstpluginfeature.h:
1664         * gst/gstquery.h:
1665         * gst/gstqueue.h:
1666         * gst/gsttaglist.c:
1667         * gst/gsttaglist.h:
1668         * gst/gsttagsetter.c:
1669         * gst/gsttagsetter.h:
1670         * gst/gsttrace.c:
1671         * gst/gsttrace.h:
1672         * gst/gsttypefind.h:
1673         * gst/gsturi.h:
1674         * gst/gstvalue.c:
1675         * gst/net/gstnetclientclock.c:
1676         * gst/net/gstnetclientclock.h:
1677         * gst/net/gstnettimepacket.c:
1678         * gst/net/gstnettimeprovider.c:
1679         * gst/net/gstnettimeprovider.h:
1680         Doc fixes.
1681
1682 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1683
1684         * configure.ac: back to HEAD
1685
1686 === release 0.9.6 ===
1687
1688 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1689
1690         * configure.ac:
1691           releasing 0.9.6, "Always On Time"
1692
1693 2005-11-23  Wim Taymans  <wim@fluendo.com>
1694
1695         * docs/gst/gstreamer-sections.txt:
1696         * gst/glib-compat.c:
1697         * gst/gsttagsetter.c:
1698         * gst/gstvalue.c:
1699         * gst/net/gstnetclientclock.c:
1700         * gst/net/gstnettimepacket.h:
1701         Doc updates.
1702
1703 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1704
1705         * docs/faq/using.xml:
1706         * docs/libs/tmpl/gstcontrol.sgml:
1707         * docs/manual/advanced-dparams.xml:
1708         * docs/manual/appendix-checklist.xml:
1709         * docs/manual/basics-elements.xml:
1710         * docs/pwg/other-source.xml:
1711         * docs/random/moving-plugins:
1712         * gst/gstpad.c:
1713         * tools/gst-launch.1.in:
1714           remove mentions of sinesrc
1715
1716 2005-11-23  Michael Smith <msmith@fluendo.com>
1717
1718         * docs/gst/gstreamer-sections.txt:
1719           Update for new API and API changes.
1720         * gst/gstobject.h:
1721           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1722         * gst/gstvalue.c:
1723           Documentation typo fix.
1724         * gst/net/gstnettimepacket.c:
1725           Documentation fixes for arguments.
1726
1727 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1728
1729         * gst/gststructure.c: (gst_structure_get_fraction),
1730         (gst_structure_parse_value),
1731         (gst_structure_fixate_field_nearest_fraction):
1732         * gst/gststructure.h:
1733         * gst/gstutils.c: (gst_util_uint64_scale_int):
1734         * gst/gstutils.h:
1735         * scripts/update-funcnames:
1736         API Changes. 
1737         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1738         Make gst_structure_fixate_field_nearest_fraction take a numerator
1739         and denominator argument instead of a GValue
1740         add gst_structure_get_fraction helper function.
1741
1742 2005-11-23  Wim Taymans  <wim@fluendo.com>
1743
1744         * docs/design/part-TODO.txt:
1745         Update TODO.
1746
1747         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1748         * gst/net/gstnetclientclock.h:
1749         Use parent fields for timeout and window_size.
1750
1751 2005-11-23  Andy Wingo  <wingo@pobox.com>
1752
1753         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1754         rate_num/rate_denom change.
1755
1756         * gst/net/gstnetclientclock.c
1757         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1758         OBJECT_LOCK. Don't call add_observation with the lock.
1759
1760         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1761         fraction.
1762         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1763         rate fraction.
1764         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1765         deal with rate as a fraction whose numerator and denominator are
1766         GstClockTime values.
1767         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1768         master; the other fields are protected by the SLAVE_LOCK.
1769         (do_linear_regression): Note that this must be called with the
1770         SLAVE_LOCK.
1771         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1772         OBJECT_LOCK. Call set_calibration instead of touching the
1773         variables directly.
1774         (gst_clock_set_property, gst_clock_get_property): Protect
1775         master/slave parameters with the SLAVE_LOCK.
1776
1777         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1778         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1779         note that all of the instance variables that add_observation and
1780         the set_master functions use are protected by that lock and not
1781         the OBJECT_LOCK.
1782         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1783
1784         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1785         the caller to take the object lock.
1786
1787 2005-11-23  Wim Taymans  <wim@fluendo.com>
1788
1789         * gst/gsterror.c: (_gst_core_errors_init):
1790         * gst/gsterror.h:
1791         Add error for clock stuff.
1792
1793         * gst/gstpipeline.c: (gst_pipeline_change_state),
1794         (gst_pipeline_set_clock):
1795         Post clock error when clock cannot be used in a pipeline.
1796
1797 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1798
1799         * docs/gst/gstreamer-sections.txt:
1800           make two symbols from gstinfo private for the docs
1801         * gst/base/gstcollectpads.h:
1802         * gst/gstutils.c:
1803           fix doc typos, update docs
1804
1805 2005-11-22  Wim Taymans  <wim@fluendo.com>
1806
1807         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1808         (gst_base_sink_wait), (gst_base_sink_do_sync),
1809         (gst_base_sink_handle_event):
1810         * gst/base/gstbasesink.h:
1811         No need to store the clock, the parent element class already
1812         has it.
1813
1814         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1815         Updates for clock_set returning a gboolean
1816
1817         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1818         (gst_clock_id_wait_async), (gst_clock_class_init),
1819         (gst_clock_init), (gst_clock_finalize),
1820         (gst_clock_get_internal_time), (gst_clock_get_time),
1821         (gst_clock_slave_callback), (gst_clock_set_master),
1822         (gst_clock_get_master), (do_linear_regression),
1823         (gst_clock_add_observation), (gst_clock_set_property),
1824         (gst_clock_get_property):
1825         * gst/gstclock.h:
1826         Implement master/slave. When setting a clock as a slave, a
1827         periodic timeout is scheduled to sample master and slave times.
1828         Then the slave clock is recalibrated to match offset and rate
1829         of the master clock.
1830         Update logging a bit.
1831         Add flag so that a clock can state that is cannot be slaved to
1832         another clock.
1833
1834         * gst/gstelement.c: (gst_element_set_clock):
1835         * gst/gstelement.h:
1836         The set clock returns a gboolean for when an element cannot
1837         deal with the selected clock in the pipeline. 
1838
1839         * gst/gstpipeline.c: (gst_pipeline_change_state),
1840         (gst_pipeline_set_clock):
1841         * gst/gstpipeline.h:
1842         Handle the case where the selected clock cannot be set on
1843         the pipeline.
1844
1845         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1846         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1847         (gst_net_client_clock_set_property),
1848         (gst_net_client_clock_get_property),
1849         (gst_net_client_clock_observe_times):
1850         * gst/net/gstnetclientclock.h:
1851         Use regression code in GstClock parent, remove duplicated
1852         functionality.
1853
1854 2005-11-22  Michael Smith <msmith@fluendo.com>
1855
1856         * gst/gstutils.c: (gst_util_clock_time_scale):
1857         * gst/gstutils.h:
1858         * docs/gst/gstreamer-sections.txt:
1859           Rename method to have extra underscore.
1860
1861 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1862
1863         * gst/elements/Makefile.am:
1864         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1865         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1866         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1867         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1868         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1869         * gst/elements/gstfakesrc.h:
1870         * gst/gstqueue.c: (queue_leaky_get_type):
1871           correctly fix GEnumValues so that nick is the short lowercase
1872           dashed tag
1873         * tools/gst-inspect.c: (print_element_properties_info):
1874           also show the nick, since it's useful to use from parse_launch
1875           syntax
1876           Fixes #322139
1877
1878 2005-11-22  Michael Smith <msmith@fluendo.com>
1879
1880         * gst/gstutils.c: (gst_util_clocktime_scale):
1881         * gst/gstutils.h:
1882         * docs/gst/gstreamer-sections.txt:
1883           Add util method for scaling a clocktime by a fraction. Useful 
1884           implementation is left as an exercise for the reader.
1885
1886 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1887
1888         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1889         If needed, allocate storage in the destination value during
1890         collection.
1891
1892 2005-11-22  Edward Hervey  <edward@fluendo.com>
1893
1894         * docs/gst/gstreamer-sections.txt:
1895         * gst/Makefile.am:
1896         * gst/gst.h:
1897         * gst/gsturitype.c:
1898         * gst/gsturitype.h:
1899         * gst/gstutils.c: (gst_util_set_object_arg):
1900         * tools/gst-compprep.c: (main):
1901         * tools/gst-inspect.c: (print_element_properties_info):
1902         Removed GstURI, closes bug #321061
1903
1904 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1905
1906         * check/gst/gststructure.c: (GST_START_TEST):
1907         * gst/gststructure.c: (gst_structure_parse_value):
1908           Oops, broke automatic string type parsing.
1909           Add a test to catch it in future.
1910
1911 2005-11-22  Andy Wingo  <wingo@pobox.com>
1912
1913         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1914         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1915         Actually rename the function implementations. Grr.
1916
1917 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1918
1919         * check/gst/capslist.h:
1920           Comment test cases
1921         * check/gst/gststructure.c: (GST_START_TEST),
1922         (gst_structure_suite):
1923           Test automatic value type detection in gst_structure_from_string.
1924         * gst/gststructure.c: (gst_structure_parse_value):
1925           Add fraction as a type we try and guess automatically in
1926           caps/structure strings.
1927
1928 2005-11-22  Andy Wingo  <wingo@pobox.com>
1929
1930         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1931
1932         * gst/gsttagsetter.h:
1933         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1934         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1935         (gst_tag_setter_add_tag_valist)
1936         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1937         _add_values, _add_valist, and _add_valist_values. Since this is an
1938         interface the function suffixes should be more explicit so
1939         language binding don't end up with element.add_valist ->
1940         gst_tag_setter_add_valist, for example. Fixes #322069.
1941
1942 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1943
1944         * check/gst/gstcaps.c: (GST_START_TEST):
1945           Extend caps string tests to check that a caps to string
1946           conversion is reversible and produces the same caps.
1947
1948         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1949           Output "fraction" as the generic type fraction range, so caps
1950           serialisation and deserialisation works.
1951         * check/gst/capslist.h:
1952         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1953           Support 'MIN' and 'MAX' for deserialising fractions.
1954
1955 2005-11-22  Andy Wingo  <wingo@pobox.com>
1956
1957         * gst/gstevent.h (gst_event_new_new_segment)
1958         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1959         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1960         Renamed from *_newsegment, *_buffersize, *_notarget.
1961
1962         * scripts/update-funcnames: New script, performs the changes
1963         listed above.
1964
1965 2005-11-22  Wim Taymans  <wim@fluendo.com>
1966
1967         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1968         Make sure the GstFlowReturn is returned.
1969
1970         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1971         (gst_bus_add_signal_watch):
1972         * gst/gstbus.h:
1973         add gst_bus_add_signal_watch_full.
1974
1975         * gst/gstplugin.c: (gst_plugin_load_file):
1976         Small style cleanup.
1977
1978 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1979
1980         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1981           Block the fakesrc srcpad when we send an event, to avoid
1982           contention on the stream_lock causing random test failures.
1983
1984 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1985
1986         * check/gst/gstvalue.c: (GST_START_TEST):
1987         * gst/gstvalue.c: (gst_value_fraction_subtract):
1988           Fix subtraction.
1989
1990 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1991
1992         * gst/gst.h:
1993           include "gstchildproxy.h"
1994         * gst/gstchildproxy.h:
1995         * libs/gst/controller/gstcontroller.h:
1996           use G_GNUC_NULL_TERMINATED
1997
1998 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1999
2000         * check/gst/capslist.h:
2001         * check/gst/gstcaps.c: (GST_START_TEST):
2002         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2003         * gst/gststructure.c: (gst_structure_parse_range),
2004         (gst_structure_fixate_field_nearest_fraction):
2005         * gst/gststructure.h:
2006         * gst/gstvalue.c: (gst_value_init_fraction_range),
2007         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2008         (gst_value_collect_fraction_range),
2009         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2010         (gst_value_set_fraction_range_full),
2011         (gst_value_get_fraction_range_min),
2012         (gst_value_get_fraction_range_max),
2013         (gst_value_serialize_fraction_range),
2014         (gst_value_transform_fraction_range_string),
2015         (gst_value_compare_fraction_range),
2016         (gst_value_deserialize_fraction_range),
2017         (gst_value_intersect_fraction_fraction_range),
2018         (gst_value_intersect_fraction_range_fraction_range),
2019         (gst_value_subtract_fraction_fraction_range),
2020         (gst_value_subtract_fraction_range_fraction),
2021         (gst_value_subtract_fraction_range_fraction_range),
2022         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2023         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2024         (gst_value_transform_string_fraction), (_gst_value_initialize):
2025         * gst/gstvalue.h:
2026           Implement fraction ranges and extend GstFraction to support
2027           arithmetic subtraction, as well as deserialization from integer
2028           strings such as "100"
2029           Add a testsuite as for int and double range set operations
2030
2031 2005-11-21  Andy Wingo  <wingo@pobox.com>
2032
2033         * gst/gsttaglist.h: 
2034         * gst/gstcaps.h: 
2035         * gst/gststructure.h: Add glib-compat.h.
2036
2037 2005-11-21  Wim Taymans  <wim@fluendo.com>
2038
2039         * gst/gstbin.c: (gst_bin_change_state_func):
2040         Fix for #321595
2041
2042 2005-11-21  Wim Taymans  <wim@fluendo.com>
2043
2044         * gst/gstsegment.h:
2045         And add a nice define too.
2046
2047 2005-11-21  Wim Taymans  <wim@fluendo.com>
2048
2049         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2050         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2051         (gst_segment_set_duration), (gst_segment_set_last_stop),
2052         (gst_segment_set_seek), (gst_segment_set_newsegment),
2053         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2054         (gst_segment_clip):
2055         * gst/gstsegment.h:
2056         Make binding friendly.
2057
2058 2005-11-21  Andy Wingo  <wingo@pobox.com>
2059
2060         * gst/gsttagsetter.h: 
2061         * gst/gsttaglist.h: 
2062         * gst/gststructure.h: 
2063         * gst/gstcaps.h: 
2064         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2065         #319940.
2066
2067         * gst/gsterror.c (_gst_core_errors_init):
2068         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2069         category.
2070
2071         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2072         (noinst_HEADERS): noinst the -private.
2073
2074 2005-11-21  Michael Smith <msmith@fluendo.com>
2075
2076         * gst/gstplugin.h:
2077         * gst/gstregistry.h:
2078           Remove unimplemented declarations for which we can see no sensible
2079           use.
2080
2081 2005-11-21  Andy Wingo  <wingo@pobox.com>
2082
2083         * gst/gst.h: Include glib-compat.h.
2084
2085         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2086
2087         * gst/glib-compat.c: Include the public and the private header.
2088
2089         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2090
2091         * gst/gstvalue.c: 
2092         * gst/gstpad.c: 
2093         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2094
2095         * check/gst/gstevent.c (create_custom_events): Check that
2096         FLUSH_STOP is serialized.
2097
2098         * check/elements/identity.c (event_func): 
2099         * check/elements/fakesrc.c (event_func): No stream lock, the core
2100         takes it.
2101
2102         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2103         stream lock taking, yay.
2104
2105         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2106         ensure that core takes the stream lock.
2107
2108         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2109         lock name change.
2110
2111         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2112         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2113         it already. For the flush start we do take it though so we get the
2114         right preroll state change messages.
2115
2116         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2117         the stream lock here, the core does it for us.
2118
2119         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2120         GST_STREAM_GET_LOCK.
2121         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2122         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2123         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2124         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2125         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2126         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2127
2128         * gst/gstpad.c: Update for stream lock name change.
2129
2130         * gst/base/gstbasesink.c: Update for preroll lock name change.
2131
2132 2005-11-21  Wim Taymans  <wim@fluendo.com>
2133
2134         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2135         (gst_clock_get_master):
2136         * gst/gstclock.h:
2137         * gst/gstsystemclock.c: (gst_system_clock_init):
2138         Convert Clock flags to object flags.
2139         Added methods to manage master/slave clocks.
2140
2141 2005-11-21  Wim Taymans  <wim@fluendo.com>
2142
2143         * check/gst/gstsegment.c: (GST_START_TEST):
2144         * docs/design/part-TODO.txt:
2145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2146         (gst_base_sink_event), (gst_base_sink_do_sync),
2147         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2148         (gst_base_sink_query), (gst_base_sink_change_state):
2149         * gst/base/gstbasesink.h:
2150         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2151         (gst_base_src_default_newsegment),
2152         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2153         (gst_base_src_get_range), (gst_base_src_loop),
2154         (gst_base_src_change_state):
2155         * gst/base/gstbasesrc.h:
2156         * gst/base/gstbasetransform.c:
2157         (gst_base_transform_prepare_output_buf),
2158         (gst_base_transform_event), (gst_base_transform_change_state):
2159         * gst/base/gstbasetransform.h:
2160         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2161         (gst_collect_pads_event):
2162         * gst/base/gstcollectpads.h:
2163         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2164         (gst_fake_src_create):
2165         * gst/elements/gstfakesrc.h:
2166         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2167         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2168         (gst_segment_set_last_stop), (gst_segment_set_seek),
2169         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2170         (gst_segment_to_running_time), (gst_segment_clip):
2171         * gst/gstsegment.h:
2172         More segment updates, replace code in plugins with segment
2173         helper functions.
2174
2175 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2176
2177         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2178         Don't ignore sscanf results
2179
2180 2005-11-21  Andy Wingo  <wingo@pobox.com>
2181
2182         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2183
2184         * *.h:
2185         * *.c: Ran scripts/update-macros. Oh yes.
2186
2187         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2188         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2189         GST_GET_LOCK, etc.
2190
2191         * scripts/update-macros: New script. Run it on your files to
2192         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2193         well.
2194
2195 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2196
2197         * docs/gst/Makefile.am:
2198         * docs/gst/gstreamer-docs.sgml:
2199         * docs/gst/gstreamer-sections.txt:
2200         * docs/gst/gstreamer.types:
2201         * gst/gstinfo.h:
2202           more docs fixes, add new api to the docs
2203
2204 2005-11-21  Andy Wingo  <wingo@pobox.com>
2205
2206         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2207         state_broadcast call.
2208
2209         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2210
2211 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2212
2213         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2214         function calls for arrays.
2215
2216 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2217
2218         * docs/random/ensonic/media-device-daemon.txt:
2219           wild idea, can this be done?
2220         * docs/gst/gstreamer-sections.txt:
2221         * gst/gsterror.h:
2222         * gst/gstfilter.c:
2223         * gst/gstfilter.h:
2224         * gst/gstplugin.h:
2225         * gst/gstpluginfeature.c:
2226         * gst/gsttrace.c:
2227         * gst/gstvalue.c:
2228         * gst/gstvalue.h:
2229           doc fixes and additions
2230
2231 2005-11-21  Andy Wingo  <wingo@pobox.com>
2232
2233         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2234         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2235         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2236         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2237         private to the basesrc implementation.
2238
2239         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2240         behalf of event function if necessary. It should no longer be
2241         necessary to take the stream lock in pad's event functions. Fixes
2242         #320299.
2243
2244 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2245         * docs/gst/gstreamer-sections.txt:
2246         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2247         (gst_structure_fixate_field_nearest_double),
2248         (gst_structure_fixate_field_boolean):
2249         * gst/gststructure.h:
2250         * win32/common/libgstreamer.def:
2251         * win32/gstreamer.def:
2252
2253         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2254         (#322027)
2255
2256 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2257
2258         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2259         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2260         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2261         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2262         (gst_fdsrc_uri_handler_init):
2263         * gst/elements/gstfdsrc.h:
2264           Port fd:// URI handler from 0.8 to fdsrc
2265
2266 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2269         (gst_value_serialize_fourcc):
2270         * gst/gstvalue.h:
2271           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2272           consistent with our other format defines (#320324).
2273
2274 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         * gst/gstvalue.c: (gst_value_is_fixed):
2277           Revert previous commit. Value lists are by definition
2278           not fixed, as they are a list of possible values.
2279
2280 2005-11-21  Andy Wingo  <wingo@pobox.com>
2281
2282         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2283         during the stable series if we need it. Fixes #319178.
2284
2285         * gst/gstevent.c (gst_event_new_filler): Removed.
2286
2287         * check/gst/gstevent.c: Update comment about filler events.
2288
2289 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2290
2291         * gst/gstvalue.c: (gst_value_is_fixed):
2292           Should handle both value arrays and value lists.
2293
2294 2005-11-21  Andy Wingo  <wingo@pobox.com>
2295
2296         patch by: Alessandro Dessina <alessandro nnva org>
2297
2298         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2299         functions to access arrays. Fixes #321962.
2300
2301 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2302
2303         * docs/gst/gstreamer.types:
2304           gst_collectpads_get_type => gst_collect_pads_get_type.
2305           
2306         * gst/base/gstbasetransform.c:
2307           Remove unused SIGNAL_HANDOFF enum.
2308
2309 2005-11-21  Andy Wingo  <wingo@pobox.com>
2310
2311         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2312         the event type (upstream, downstream, serialized). Renamed
2313         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2314         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2315         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2316
2317         * gst/gstevent.c: Update for new CUSTOM event names.
2318
2319         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2320
2321         * gst/gstevent.h:
2322         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2323         bug #319392.
2324
2325 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2326
2327         * docs/gst/gstreamer-sections.txt:
2328         * win32/common/libgstbase.def:
2329         * win32/libgstbase.def:
2330         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2331         (gst_collect_pads_class_init), (gst_collect_pads_init),
2332         (gst_collect_pads_finalize), (gst_collect_pads_new),
2333         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2334         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2335         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2336         (gst_collect_pads_start), (gst_collect_pads_stop),
2337         (gst_collect_pads_peek), (gst_collect_pads_pop),
2338         (gst_collect_pads_available), (gst_collect_pads_read),
2339         (gst_collect_pads_flush), (gst_collect_pads_event),
2340         (gst_collect_pads_chain):
2341         * gst/base/gstcollectpads.h:
2342           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2343           unimplemented functions as unimplemented. Add padding to
2344           GstCollectData. (#320766, #320423)
2345
2346 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2347
2348         * gst/gstmessage.c:
2349           Improve docs for DURATION message (usage of duration parameter)
2350           (#320113)
2351
2352 2005-11-20  Wim Taymans  <wim@fluendo.com>
2353
2354         * check/Makefile.am:
2355         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2356         (main):
2357         * gst/Makefile.am:
2358         * gst/gst.h:
2359         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2360         (gst_segment_set_seek), (gst_segment_set_newsegment),
2361         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2362         (gst_segment_clip):
2363         * gst/gstsegment.h:
2364         Added segment helper structure and methods. Not fully implemented
2365         yet.
2366         Added segment check.
2367
2368 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2369
2370         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2371           Add a deserialisation test for fractions
2372         * examples/metadata/read-metadata.c: (message_loop),
2373         (make_pipeline), (main):
2374           Fix up metadata reading sample.
2375         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2376           Debug format fix
2377         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2378           Don't try and fixate empty caps
2379         * gst/gst_private.h:
2380           Wrap in G_BEGIN_DECLS/G_END_DECLS
2381         * gst/gstvalue.c: (gst_value_collect_fraction),
2382         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2383         (gst_value_transform_string_fraction),
2384         (gst_value_compare_fraction):
2385           Add some extra guards to ensure that we don't end up 
2386           with an invalid denominator of 0 in a gstfraction and
2387           that fractions always get reduced.
2388
2389 2005-11-20  Wim Taymans  <wim@fluendo.com>
2390
2391         * docs/gst/gstreamer-sections.txt:
2392         * gst/gstbuffer.h:
2393         * gst/gstelement.c:
2394         * gst/gstformat.c:
2395         * gst/gstformat.h:
2396         * gst/gstindex.h:
2397         * gst/gstquery.c:
2398         * gst/gstquery.h:
2399         * gst/gstvalue.c:
2400         Doc fixes.
2401
2402 2005-11-20  Wim Taymans  <wim@fluendo.com>
2403
2404         * docs/design/part-TODO.txt:
2405         * gst/gstcaps.h:
2406         Make a proper enum of the flag.
2407
2408 2005-11-19  Wim Taymans  <wim@fluendo.com>
2409
2410         * docs/design/part-TODO.txt:
2411         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2412         (gst_format_to_quark), (gst_format_register):
2413         * gst/gstformat.h:
2414         * gst/gstquery.c: (_gst_query_initialize),
2415         (gst_query_type_get_name), (gst_query_type_to_quark),
2416         (gst_query_type_register):
2417         * gst/gstquery.h:
2418         Add type to quark and type to string conversions.
2419
2420 2005-11-19  Andy Wingo  <wingo@pobox.com>
2421
2422         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2423         #320097.
2424
2425 2005-11-19  Wim Taymans  <wim@fluendo.com>
2426
2427         * docs/design/part-TODO.txt:
2428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2429         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2430         (gst_bin_handle_message_func):
2431         * gst/gstbin.h:
2432         Make message handling overridable.
2433
2434 2005-11-19  Andy Wingo  <wingo@pobox.com>
2435
2436         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2437
2438         * gst/gstclock.h:
2439         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2440         be a GstClockTime.
2441         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2442         is a GstClockTime. Fixes #321710.
2443
2444         * gst/gstclock.h (GstClock): Remove offset property. Add
2445         internal_calibration and external_calibration. Fix padding. Pad
2446         also by GstClockTime so we don't run into problems.
2447
2448         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2449         (gst_clock_get_rate_offset): Remove.
2450         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2451
2452         * gst/gstutils.h:
2453         * gst/gstutils.c (g_static_rec_cond_wait)
2454         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2455
2456         * gst/gstbin.c: Remove terrible continue_state prototype.
2457
2458         * gst/gstelement.h (gst_element_continue_state): Make public.
2459
2460         * gst/gstelement.h:
2461         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2462         by continue_state. Fixes #319389.
2463
2464         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2465         Really fixes #168438. However I don't see anywhere where the
2466         filter function is called... stupid GStreamer...
2467         
2468         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2469         don't have a dispose function, so it won't get called when the
2470         object is unreffed, but oh well!
2471
2472         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2473         allows a destroy function to be set so user_data can be freed.
2474         Fixes #168438.
2475         (gst_index_set_filter): Call gst_index_set_filter_full.
2476
2477         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2478
2479         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2480         string should produce an error, given the lack of a way to
2481         represent NULL strings. Fixes #165650.
2482         
2483         * gst/gstvalue.h: 
2484         * gst/gstvalue.c (gst_value_array_append_value) 
2485         (gst_value_array_prepend_value, gst_value_array_get_size) 
2486         (gst_value_array_get_value): New API, copied from
2487         gst_value_list_*, only operates on arrays.
2488         (gst_value_list_append_value, gst_value_list_prepend_value) 
2489         (gst_value_list_concat, gst_value_list_get_size) 
2490         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2491
2492         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2493         init_list, because it works on both.
2494         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2495         (gst_value_copy_list_or_array): Renamed from copy_list.
2496         (gst_value_free_list_or_array): Renamed from free_list.
2497         (gst_value_collect_list_or_array): Renamed from collect_list.
2498         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2499         (gst_value_list_or_array_peek_pointer): Renamed from
2500         list_peek_pointer.
2501         (_gst_value_array_value_table, _gst_value_list_value_table):
2502         Update value table functions.
2503         (gst_value_compare_list_or_array): Renamed from compare_list.
2504
2505         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2506         some constness.
2507
2508         * gst/gsttaglist.c:
2509         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2510         GstTagList*. Fixes #143472.
2511
2512         * gst/gststructure.h: Clarify what the foreach/map functions can
2513         or can't do to their arguments.
2514
2515 2005-11-18  Wim Taymans  <wim@fluendo.com>
2516
2517         * gst/gstclock.c: (gst_clock_set_calibration),
2518         (gst_clock_get_calibration):
2519         Doc and API fixes.
2520         Calibration can be set with internal time equal to current
2521         internal time too.
2522
2523 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2524
2525         * gst/gsterror.c:
2526         * gst/gsterror.h:
2527           document
2528
2529 2005-11-18  Andy Wingo  <wingo@pobox.com>
2530
2531         * configure.ac: 
2532         * pkgconfig/gstreamer-net.pc.in:
2533         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2534         * pkgconfig/Makefile.am: Add net pkgconfig files.
2535
2536 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2537
2538         * gst/gstcaps.c:
2539         * gst/gstghostpad.c:
2540         * gst/gsttrace.c:
2541         * gst/gstvalue.c:
2542         * gst/gstvalue.h:
2543           docs fixes
2544
2545 2005-11-18  Andy Wingo  <wingo@pobox.com>
2546
2547         * gst/net/gstnetclientclock.c: Turn off debugging.
2548
2549         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2550         times connverge somewhat. Can't make a real test.
2551
2552         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2553         integer arithmetic. Return the minimum of the domain, which can be
2554         set as "internal" for gst_clock_set_calibration.
2555         (gst_net_client_clock_observe_times): Call _set_calibration.
2556         (gst_net_client_clock_new): Call _set_calibration instead of
2557         rate_offset.
2558
2559         * check/net/gstnetclientclock.c (test_functioning): Use the right
2560         adjustment api.
2561
2562         * gst/gstclock.h:
2563         * gst/gstclock.c (gst_clock_get_calibration) 
2564         (gst_clock_set_calibration): New functions, obsolete the ones I
2565         added yesterday. Doh. Precision issues mean we have to extrapolate
2566         from a point in the more recent past than 1970.
2567         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2568         obsolete.
2569         (gst_clock_adjust_unlocked): Use the right calibration data.
2570
2571 2005-11-18  Edward Hervey  <edward@fluendo.com>
2572
2573         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2574         Also reset the ->current_* values in READY->PAUSED
2575
2576 2005-11-18  Andy Wingo  <wingo@pobox.com>
2577
2578         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2579         Whoops, check the right fd. Also add some debugging.
2580         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2581         (do_linear_regression): Add a crapload of debugging. Subtract off
2582         the minimum values from the input series to discard unneeded bits.
2583         Use only int arithmetic. There is still double arithmetic when
2584         calculating the intercept that needs fixing. Return boolean to
2585         indicate success; FALSE would mean the domain or range is too
2586         great. Still needs fixes.
2587
2588 2005-11-18  Wim Taymans  <wim@fluendo.com>
2589
2590         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2591         For the current position in stream time, we need to subtract
2592         accumulated time.
2593         
2594         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2595         Release lock before calling the callback function of async
2596         entries.
2597
2598 2005-11-18  Andy Wingo  <wingo@pobox.com>
2599
2600         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2601         Port goes all the way to MAXUINT16.
2602
2603         * gst/net/gstnettimeprovider.c: Make the port range the same as
2604         for the kernel: 0 assigns, otherwise ports are less than
2605         MAXUINT16.
2606
2607         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2608         port change.
2609
2610         * check/net/gstnetclientclock.c (test_functioning): Add the start
2611         of another test. 
2612
2613 2005-11-18  Wim Taymans  <wim@fluendo.com>
2614
2615         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2616         (gst_bin_remove_func), (bin_bus_handler):
2617         * gst/gstbin.h:
2618         Removing a clock provider from a bin, triggers a clock lost message
2619         so that a new clock will be selected.
2620         Adding a clock to a bin triggers a clock provider message.
2621         Make sure we reselect a clock when we received a clock lost message.
2622         Keep a reference to the element that provided the clock.
2623
2624 2005-11-18  Andy Wingo  <wingo@pobox.com>
2625
2626         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2627         the clock initially so it produces values around the base time.
2628         (gst_net_client_clock_class_init): Typo fix.
2629         (gst_net_client_clock_thread): Add note on when the socket gets
2630         closed.
2631
2632 2005-11-17  Wim Taymans  <wim@fluendo.com>
2633
2634         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2635         Free remote and local time arrays.
2636
2637 2005-11-17  Wim Taymans  <wim@fluendo.com>
2638
2639         * gst/net/gstnetclientclock.c: (do_linear_regression),
2640         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2641         Fix compilation, uninitialized vars and a forgotten continue.
2642
2643 2005-11-17  Andy Wingo  <wingo@pobox.com>
2644
2645         * check/Makefile.am (check_PROGRAMS): 
2646         * check/net/gstnetclientclock.c: Add a most minimal test for the
2647         net client clock. More to come later.
2648
2649         * gst/net/gstnet.h: 
2650         * gst/net/Makefile.am: Add netclientclock.
2651
2652         * gst/net/gstnetclientclock.h:
2653         * gst/net/gstnetclientclock.c: New files, implement an untested
2654         GstClock that takes its time from a network time provider.
2655         Implements the algorithm in network-clock.scm.
2656
2657         * tests/network-clock.scm (*window-size*): Rename from
2658         *queue-length*.
2659         * tests/network-clock.scm (network-time): 
2660         * tests/network-clock-utils.scm (q-push): Update callers.
2661
2662 2005-11-17  Wim Taymans  <wim@fluendo.com>
2663
2664         * gst/gstbin.c: (gst_bin_provide_clock_func),
2665         (gst_bin_sort_iterator_new):
2666         And unref the child too..
2667
2668 2005-11-17  Wim Taymans  <wim@fluendo.com>
2669
2670         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2671         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2672         Refactor the sort iterator so it can be used while holding the
2673         LOCK too.
2674         Make clock selection select a clock closest to the source.
2675
2676 2005-11-17  Michael Smith <msmith@fluendo.com>
2677
2678         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2679         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2680         * gst/gstclock.h:
2681           Anonymous structs are a gcc (and some other compilers) extension, so
2682           don't use them. Since this is only for ABI-compatibility, and our
2683           API/ABI freeze is over in a few days, this whole thing will only
2684           last a few days, so don't bother trying to think up a meaningful
2685           name for the struct.
2686
2687 2005-11-17  Andy Wingo  <wingo@pobox.com>
2688
2689         * gst/gstclock.h (GstClock): Add rate and offset properties,
2690         preserving ABI stability. Add rate/offset accessors. Will file bug
2691         for the freeze break.
2692
2693         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2694         and offset, trying to keep precision and avoiding
2695         underflow/overflow.
2696         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2697         functions. Make gst_clock_set_time_adjust obsolete.
2698         (gst_clock_set_time_adjust): Note that this function is obsolete.
2699         Will file bug soon.
2700
2701         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2702         greppable by using GST_PADDING-1+1.
2703
2704 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2705
2706         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2707
2708         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2709           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2710
2711         * gst/gstpadtemplate.h:
2712         * gst/gstpluginfeature.h:
2713           Don't use c++ style comments in headers (#321638).
2714
2715 2005-11-16  Andy Wingo  <wingo@pobox.com>
2716
2717         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2718         buffer.
2719
2720         * check/net/gstnettimeprovider.c: Check to see that the time
2721         provider actually provides times. Works, yo!
2722
2723 2005-11-16  Wim Taymans  <wim@fluendo.com>
2724
2725         * check/Makefile.am:
2726         Enable more tests.
2727
2728         * check/elements/fakesrc.c: (GST_START_TEST):
2729         Set element to NULL before disposing it.
2730
2731 2005-11-16  Andy Wingo  <wingo@pobox.com>
2732
2733         * gst/net/Makefile.am:
2734         * gst/net/gstnet.h:
2735         * gst/net/gstnettimeprovider.c: 
2736         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2737         provider, include it from gstnet.h, and add it to the build.
2738
2739         * gst/net/gstnettimepacket.h: 
2740         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2741         sending and receiving.
2742
2743 2005-11-16  Wim Taymans  <wim@fluendo.com>
2744
2745         * check/Makefile.am:
2746         Enable valgrind check.
2747
2748         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2749         (gst_fake_src_alloc_buffer):
2750         Fix memleak.
2751
2752 2005-11-16  Wim Taymans  <wim@fluendo.com>
2753
2754         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2755         Call parent finalize too.
2756
2757 2005-11-16  Wim Taymans  <wim@fluendo.com>
2758
2759         * check/Makefile.am:
2760         Enable valgrind check that should work fine now.
2761
2762         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2763         * gst/gstqueue.c: (gst_queue_init):
2764         Fix memleaks in pad allocation.
2765
2766 2005-11-16  Andy Wingo  <wingo@pobox.com>
2767
2768         * gst/net/Makefile.am:
2769         * gst/net/gstnet.h: New part of core to hold network elements and
2770         objects. Put in core because it exposes API that applications want
2771         to use. The library is named libgstnet-tempname right now because
2772         of the existing libgstnet in gst-plugins-base. Solution is
2773         probably to rename the one in plugins-base; will file a bug for
2774         the freeze break.
2775
2776         * gst/net/gstnettimeprovider.c: 
2777         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2778         get_time call over the network.
2779
2780         * configure.ac: 
2781         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2782
2783         * check/Makefile.am:
2784         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2785         get additions shortly.
2786
2787 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2788
2789         * gst/gstpad.c: (gst_pad_new_from_static_template):
2790         * gst/gstpad.h:
2791           add gst_pad_new_from_static_template functions
2792         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2793         (gst_check_setup_sink_pad):
2794         * gst/elements/gsttee.c: (gst_tee_init):
2795           and use them
2796
2797 2005-11-16  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/gstpad.c: (gst_pad_pause_task):
2800         Removed warning, it's not really an error either.
2801
2802 2005-11-16  Wim Taymans  <wim@fluendo.com>
2803
2804         * gst/base/gstbasetransform.c:
2805         (gst_base_transform_prepare_output_buf),
2806         (gst_base_transform_event):
2807         Check if the caps are NULL, this can happen if the element
2808         is shutting down and the pad caps are set to NULL.
2809
2810 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2811
2812         * gst/elements/gsttee.c: (gst_tee_init):
2813           fix pad template leak in tee
2814
2815 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2816
2817         * gst/glib-compat.c: (g_value_dup_gst_object):
2818         * gst/glib-compat.h:
2819         * gst/gstpad.c: (gst_pad_set_property):
2820           use gst_object_ref when setting the pad template; this will
2821           trigger the pad template leaks on GLib 2.6 and the slaves
2822
2823 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2824
2825         * gst/glib-compat.c: (gst_flags_get_first_value):
2826         * gst/glib-compat.h:
2827         * gst/gstregistryxml.c:
2828           remove functions copied from GLib 2.6
2829
2830 2005-11-16  Michael Smith <msmith@fluendo.com>
2831
2832         * gst/Makefile.am:
2833           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2834           do, but only breaks with newer valgrind versions. We're not a
2835           valgrind tool, we have no link-time dependencies on libcoregrind.
2836
2837 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2838
2839         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2840           some debug changes
2841         * gst/gstmessage.h:
2842           typo fixes
2843
2844 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2845
2846         * gst/base/gstbasesrc.c: (gst_base_src_init):
2847         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2848         * gst/gstqueue.c: (gst_queue_init):
2849         * gst/gstregistryxml.c: (load_feature):
2850           Revert all these unrefs, they don't even pass make check !
2851
2852 2005-11-15  Johan Dahlin  <johan@gnome.org>
2853
2854         * gst/base/gstbasesrc.c: (gst_base_src_init):
2855         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2856         * gst/gstqueue.c: (gst_queue_init): 
2857         Free pad templates, fixes a couple of leaks.
2858
2859 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2860
2861         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2862
2863         * gst/gstpad.c: (gst_pad_get_property):
2864           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2865           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2866           (#321452)
2867
2868 2005-11-15  Wim Taymans  <wim@fluendo.com>
2869
2870         * gst/gstevent.c:
2871         Small doc update.
2872
2873 2005-11-15  Andy Wingo  <wingo@pobox.com>
2874
2875         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2876
2877         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2878         using GST_CLOCK_TIME_NONE to disable base time management.
2879         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2880         time if it was NONE before.
2881         (gst_pipeline_change_state): Only munge the base time if
2882         stream_time != GST_CLOCK_TIME_NONE.
2883
2884         * check/gst/gstpipeline.c (test_base_time): Punt around the
2885         problem of the probe not being called, because that's not the
2886         issue I'm looking at. Add a check that setting stream_time to NONE
2887         disables base time management.
2888         
2889 2005-11-15  Wim Taymans  <wim@fluendo.com>
2890
2891         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2892         segment_stop == -1 at startup.
2893
2894         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2895         (gst_base_transform_change_state):
2896         Init segment values at start.
2897
2898 2005-11-15  Wim Taymans  <wim@fluendo.com>
2899
2900         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2901         0 segment values are 0 in any format.
2902
2903         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2904         * gst/base/gstbasetransform.h:
2905         Parse newsegment correctly in basetransform
2906
2907         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2908         Sync to clock using updated segment values.
2909
2910 2005-11-15  Andy Wingo  <wingo@pobox.com>
2911
2912         * check/gst/gstpipeline.c (test_base_time): Add check that the
2913         base time and stream time are reset correctly.
2914
2915 2005-11-15  Wim Taymans  <wim@fluendo.com>
2916
2917         * docs/design/part-TODO.txt:
2918         Some more TODO items.
2919
2920 2005-11-15  Andy Wingo  <wingo@pobox.com>
2921
2922         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2923         error if the user selected "no clock" as the clocking method.
2924
2925         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2926         timestamps with live capture.
2927
2928         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2929         is 0 but we are a live source, timestamp the buffers using the
2930         element's clock.
2931
2932 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2933
2934         * docs/gst/gstreamer-sections.txt:
2935         * gst/gsterror.c:
2936         * gst/gstghostpad.c:
2937         * gst/gstobject.h:
2938         * gst/gstxml.c:
2939           more section docs
2940
2941 2005-11-14  Wim Taymans  <wim@fluendo.com>
2942
2943         * common/gst.supp:
2944           add suppressions from Wim's Debian machine
2945
2946 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2947
2948         * common/gst.supp:
2949           add suppressions from Andy's AMD64 Ubuntu machine
2950
2951 2005-11-14  Andy Wingo  <wingo@pobox.com>
2952
2953         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2954         STATE_LOCK not necessary. Fixes #311489.
2955
2956         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2957         #305291.
2958
2959         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2960         this function is not implemented.
2961
2962 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2963
2964         * gst/base/gstbasetransform.c:
2965         (gst_base_transform_prepare_output_buf):
2966         Ref the source pad caps while we need them.
2967         Fixes (#321386)
2968
2969 2005-11-11  Wim Taymans  <wim@fluendo.com>
2970
2971         * docs/gst/gstreamer-sections.txt:
2972         Added some docs for GstCollectData.
2973
2974         * gst/base/gstadapter.c:
2975         Some small code example fix.
2976
2977         * gst/base/gstcollectpads.c:
2978         * gst/base/gstcollectpads.h:
2979         Document some more.
2980
2981 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2982
2983         * configure.ac: back to HEAD
2984
2985 === release 0.9.5 ===
2986
2987 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2988
2989         * configure.ac:
2990           releasing 0.9.5, "Bike Lunch Day"
2991
2992 2005-11-11  Wim Taymans  <wim@fluendo.com>
2993
2994         * gst/gstbuffer.c: (_gst_buffer_copy):
2995         Copy more flags.
2996
2997         * gst/gstcaps.c: (gst_caps_is_equal):
2998         Fix some docs.
2999         Make _is_equal fast in the trivial cases.
3000
3001         * gst/gstminiobject.c:
3002         * gst/gstminiobject.h:
3003         More docs. Spifify .h file.
3004
3005         * gst/gstutils.c:
3006         Small doc update.
3007
3008 2005-11-11  Wim Taymans  <wim@fluendo.com>
3009
3010         * gst/base/gstbasetransform.c:
3011         (gst_base_transform_prepare_output_buf),
3012         (gst_base_transform_handle_buffer):
3013         Small cleanups.
3014         If we're processing a buffer and need to allocate an output
3015         buffer, we cannot accept a format change. If we did get a 
3016         format change, we have to alloc a buffer ourselves of the 
3017         right size.
3018
3019 2005-11-11  Wim Taymans  <wim@fluendo.com>
3020
3021         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3022         While checking the flag for reentrancy in the gstcaps function
3023         is nice to detect recursive invocations, it also makes it 
3024         impossible to call getcaps from multiple threads, which must be
3025         possible. So, checking for recursive calls has to go.
3026
3027 2005-11-11  Michael Smith <msmith@fluendo.com>
3028
3029         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3030           Don't sync on buffers that fall partially outside our current
3031           segment. Prevents an assertion failure/abort playing some files.
3032
3033 2005-11-10  Andy Wingo  <wingo@pobox.com>
3034
3035         * check/gst/gstbin.c (test_message_state_changed_children): Style
3036         fix..
3037
3038         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3039         gst_bus_poll with the signal watch. Ensures that poll and a signal
3040         watch see the same messages.
3041
3042         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3043         a poll and a watch at the same time get the same messages.
3044
3045 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3046
3047         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3048         * gst/gstcaps.c: (gst_caps_intersect):
3049           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3050           and it's not needed.
3051
3052 2005-11-10  Wim Taymans  <wim@fluendo.com>
3053
3054         * docs/design/part-TODO.txt:
3055         Updated todo.
3056
3057 2005-11-10  Wim Taymans  <wim@fluendo.com>
3058
3059         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3060         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3061         (gst_base_src_do_sync), (gst_base_src_get_range):
3062         Implement clock sync in base class.
3063
3064 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3065
3066         patch by: Tim-Philipp Müller <tim at centricular dot net>
3067
3068         * gst/gststructure.c: (gst_structure_parse_field),
3069         (gst_structure_from_string):
3070           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3071           so that gst_parse_launch() can deal with spaces in filtered link
3072           caps (fixes #164479)
3073         * check/gst/capslist.h:
3074         * check/gst/gststructure.c: (GST_START_TEST):
3075           add unit tests for this change
3076
3077 2005-11-10  Wim Taymans  <wim@fluendo.com>
3078
3079         * docs/gst/gstreamer-sections.txt:
3080         * gst/gstelement.c:
3081         * gst/gstelement.h:
3082         Fix docs, move some STATE macros to private.
3083
3084 2005-11-10  Wim Taymans  <wim@fluendo.com>
3085
3086         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3087         Added check for bug #317341
3088
3089         * gst/gstbuffer.c:
3090         * gst/gstbuffer.h:
3091         Some more spiffifying.
3092
3093         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3094         Call peer linkfunction if we are a source pad. Totally fixes
3095         #317341
3096
3097         * gst/gstpad.c:
3098         Update docs, source pads should call the peer linkfunction
3099         so they can atomically perform the pad link.
3100
3101 2005-11-09  Wim Taymans  <wim@fluendo.com>
3102
3103         * gst/gstbuffer.c:
3104         * gst/gstbuffer.h:
3105         Uber-spiffy-spiffify some more.
3106
3107 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3110         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3111         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3112         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3113         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3114         * gst/gstpad.c: (gst_pad_init):
3115           Use GST_DEBUG_FUNCPTR() more extensively.
3116
3117 2005-11-09  Wim Taymans  <wim@fluendo.com>
3118
3119         * gst/gstobject.c: (gst_object_class_init):
3120         * gst/gstobject.h:
3121         Documentation fixes.
3122
3123 2005-11-09  Edward Hervey  <edward@fluendo.com>
3124
3125         * gst/gsttypefindfactory.c:
3126         Fix docs.
3127         
3128 2005-11-09  Edward Hervey  <edward@fluendo.com>
3129
3130         * gst/base/gsttypefindhelper.c:
3131         * gst/gsttypefind.c:
3132         * gst/gsttypefind.h:
3133         Fix docs.
3134
3135 2005-11-09  Wim Taymans  <wim@fluendo.com>
3136
3137         * gst/gstiterator.c:
3138         Fix revision data.
3139
3140         * gst/gsttask.c:
3141         * gst/gsttask.h:
3142         Fix docs.
3143
3144 2005-11-09  Wim Taymans  <wim@fluendo.com>
3145
3146         * gst/gstevent.h:
3147         * gst/gsturi.h:
3148         Fix docs.
3149
3150 2005-11-09  Wim Taymans  <wim@fluendo.com>
3151
3152         * docs/gst/gstreamer-sections.txt:
3153         Moved the message async delivery private lock and cond
3154         to the private section.
3155
3156         * gst/gstmessage.c:
3157         * gst/gstmessage.h:
3158         Fixed docs.
3159
3160 2005-11-09  Edward Hervey  <edward@fluendo.com>
3161
3162         * docs/gst/gstreamer-sections.txt:
3163         * gst/gsturi.c:
3164         * gst/gsturi.h:
3165         Document GstURIHandler
3166
3167 2005-11-09  Wim Taymans  <wim@fluendo.com>
3168
3169         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3170         (gst_iterator_find_custom):
3171         * gst/gstiterator.h:
3172         Fix iterator docs.
3173
3174 2005-11-09  Wim Taymans  <wim@fluendo.com>
3175
3176         * gst/gstbin.h:
3177         Document another field.
3178
3179         * gst/gststructure.c:
3180         * gst/gststructure.h:
3181         Document.
3182
3183 2005-11-09  Wim Taymans  <wim@fluendo.com>
3184
3185         * gst/gstbin.h:
3186         Documented structs.
3187
3188 2005-11-09  Wim Taymans  <wim@fluendo.com>
3189
3190         * docs/gst/gstreamer-sections.txt:
3191         Added some new macros.
3192
3193         * gst/gstclock.c:
3194         * gst/gstclock.h:
3195         * gst/gstobject.h:
3196         Docs updates.
3197
3198 2005-11-09  Wim Taymans  <wim@fluendo.com>
3199
3200         * docs/design/part-TODO.txt:
3201         Some more items for the TODO
3202
3203         * gst/gstcaps.c:
3204         * gst/gstcaps.h:
3205         Document GstCaps.
3206
3207 2005-11-09  Andy Wingo  <wingo@pobox.com>
3208
3209         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3210         to work on something else now tho...
3211
3212         * gst/base/gstadapter.c: More adapter docs.
3213
3214         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3215         (gst_file_sink_stop): New functions, replace the state change
3216         handler.
3217         (gst_file_sink_class_init): Hook up the start and stop functions.
3218         (gst_file_sink_base_init): Don't set the state change handler any
3219         more. It was a bit ugly too, being set from here...
3220         (gst_file_sink_get_property, gst_file_sink_set_property):
3221         Cleanups...
3222         (gst_file_sink_set_location): More robust check that doesn't call
3223         GST_STATE. Ugggggg.
3224
3225 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3226
3227         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3228           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3229
3230 2005-11-08  Wim Taymans  <wim@fluendo.com>
3231
3232         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3233         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3234         (gst_base_sink_chain), (gst_base_sink_change_state):
3235         * gst/base/gstbasesink.h:
3236         * gst/base/gstbasesrc.h:
3237         * gst/gstelement.h:
3238         * gst/gstevent.h:
3239         Avoid excessive typechecking in macros.
3240
3241         * gst/gstminiobject.c: (gst_mini_object_get_type),
3242         (gst_mini_object_init), (gst_mini_object_new),
3243         (gst_mini_object_free):
3244         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3245         (gst_object_finalize):
3246         Remove cruft code, optimize alloc_trace.
3247
3248 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3249
3250         * docs/faq/gst-uninstalled:
3251           fix up PS1 for systems that try to reset it
3252
3253 2005-11-07  Wim Taymans  <wim@fluendo.com>
3254
3255         * gst/base/gstbasesrc.c: (gst_base_src_init),
3256         (gst_base_src_get_range):
3257         Set the segment_end to -1 initially. Fixed typefind.
3258
3259 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/base/gstadapter.c:
3262           Debug category should be 'adapter', not 'GstAdapter'.
3263           
3264         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3265         (gst_collectpads_class_init), (gst_collectpads_init),
3266         (gst_collectpads_peek), (gst_collectpads_pop),
3267         (gst_collectpads_event), (gst_collectpads_chain):
3268           Add debug category and some debugging output. Use boilerplate
3269           macros. Remove some extraneous words from docs.
3270
3271 2005-11-05  Andy Wingo  <wingo@pobox.com>
3272
3273         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3274         macro.
3275
3276 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3277
3278         * docs/gst/gstreamer-sections.txt:
3279         * gst/gstcaps.h:
3280         * gst/gstinfo.c:
3281         * gst/gstminiobject.h:
3282         * gst/gstobject.h:
3283         * gst/gstutils.h:
3284           more docs added
3285
3286 2005-11-04  Wim Taymans  <wim@fluendo.com>
3287
3288         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3289         Small update to stop at the configured segment_end
3290         position.
3291
3292 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3293
3294         * gst/gstregistry.c:
3295         * gst/gstregistry.h:
3296           added missing docs
3297
3298 2005-11-04  Edward Hervey  <edward@fluendo.com>
3299
3300         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3301         Check if we are doing a segment seek and have arrived at the
3302         end of that segment.
3303
3304 2005-11-04  Wim Taymans  <wim@fluendo.com>
3305
3306         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3307         Don't leak a mutex unlock in case of an error.
3308
3309         * gst/gstbus.h:
3310         Doc fixes.
3311
3312 2005-11-04  Wim Taymans  <wim@fluendo.com>
3313
3314         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3315         (gst_bus_post):
3316         Get the context to wake up only once.
3317
3318 2005-11-03  Wim Taymans  <wim@fluendo.com>
3319
3320         * check/states/sinks.c: (GST_START_TEST):
3321         Uncomment fixed check.
3322
3323         * docs/design/part-TODO.txt:
3324         Updated TODO.
3325
3326         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3327         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3328         (gst_base_sink_get_position):
3329         If we are going to PLAYING, post the right pending state
3330         when we post the intermediate paused message.
3331
3332         * gst/gstelement.c: (gst_element_continue_state),
3333         (gst_element_set_state_func), (gst_element_change_state):
3334         Don't post state changes that were between the same state
3335         and were not ASYNC.
3336
3337 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * docs/gst/gstreamer-sections.txt:
3340         * gst/gstcaps.h:
3341         * gst/gstinfo.c:
3342         * gst/gstminiobject.h:
3343         * gst/gstobject.h:
3344         * gst/gstutils.h:
3345           more docs and doc style fixes
3346
3347 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3348
3349         * docs/gst/gstreamer-sections.txt:
3350         * gst/gstelement.c:
3351         * gst/gstminiobject.c:
3352         doc fixes
3353
3354 2005-11-03  Andy Wingo  <wingo@pobox.com>
3355
3356         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3357         state-changed messages actually have the right order and the right
3358         values.
3359
3360 2005-11-03  Wim Taymans  <wim@fluendo.com>
3361
3362         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3363         Added some more checks. Specifically the case where NO_PREROLL
3364         elements are in the pipeline.
3365
3366         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3367         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3368         (gst_base_sink_get_position):
3369         Post READY->PAUSED state change messages too.
3370         Fix bug where VOID was posted as pending state...
3371
3372         * gst/gstbin.c: (gst_bin_recalc_state):
3373         use _element_continue_state() to continue the state change.
3374
3375         * gst/gstelement.c: (gst_element_continue_state),
3376         (gst_element_commit_state), (gst_element_set_state_func),
3377         (gst_element_change_state), (gst_element_change_state_func):
3378         Lots of state change cleanups, assign the STATE_RETURN in
3379         a new continue_state() function that also propagates the
3380         last return value from a state change to the app.
3381         Update some debug statements with proper category.
3382
3383 2005-11-03  Wim Taymans  <wim@fluendo.com>
3384
3385         * docs/design/part-events.txt:
3386         * docs/design/part-gstpipeline.txt:
3387         * docs/design/part-messages.txt:
3388         * docs/design/part-overview.txt:
3389         * docs/design/part-seeking.txt:
3390         * docs/design/part-states.txt:
3391         * docs/design/part-trickmodes.txt:
3392         * docs/manual/advanced-position.xml:
3393         Small docs updates.
3394
3395         * gst/gstobject.h:
3396         People think !! is ugly, this looks better.
3397
3398         * gst/gstpad.c: (gst_pad_set_blocked_async):
3399         Remove !! since it's fixed elsewhere now.
3400
3401 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3402
3403         * gst/gstminiobject.h:
3404         * gst/gstobject.h:
3405           Add !! to _FLAG_IS_SET macros to make the result boolean.
3406
3407 2005-11-03  Edward Hervey  <edward@fluendo.com>
3408
3409         * gst/gstpad.c: (gst_pad_set_blocked_async):
3410         comparing a flag and a gboolean rarely returns coherent results...
3411         Added two characters (!!) to make that work correctly.
3412         
3413 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3414
3415         * gst/gstbus.c: (gst_bus_class_init):
3416           Fix some typos.
3417           
3418         * gst/gstqueue.c: (gst_queue_loop):
3419           Don't assume a miniobject that isn't a buffer is an
3420           event (it could be that there is a refcounting
3421           problem somewhere and the pointer is stale and
3422           refers to an already destroyed miniobject).
3423
3424 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3425
3426         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3427
3428 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3429
3430         * docs/manual/advanced-position.xml:
3431           Update seek example and explanations to current 0.9 API.
3432
3433         * gst/elements/gsttypefindelement.c:
3434         (gst_type_find_element_activate):
3435           Remove FIXME comment now that the found caps
3436           are unreffed.
3437
3438 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3439
3440         * gst/gstregistryxml.c: (load_feature):
3441           Add another GST_STR_NULL instance
3442
3443 2005-11-02  Edward Hervey  <edward@fluendo.com>
3444
3445         * gst/gstpad.c: (handle_pad_block):
3446         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3447         
3448 2005-11-02  Wim Taymans  <wim@fluendo.com>
3449
3450         * gst/gstbin.c:
3451         Fix typo in docs.
3452
3453         * gst/gstelement.c: (gst_element_commit_state):
3454         Remove unused value.
3455
3456         * gst/gstiterator.c:
3457         Mention that the returned element is reffed in the docs.
3458
3459 2005-11-02  Wim Taymans  <wim@fluendo.com>
3460
3461         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3462         (gst_pad_push), (gst_pad_push_event):
3463         Unlock blocked pads when they are flushed.
3464
3465 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3466
3467         * docs/README:
3468         * docs/gst/gstreamer-sections.txt:
3469         * gst/gstbin.c:
3470           doc updates
3471         * gst/gstregistry.c: (gst_registry_scan_path_level):
3472           fix for a nasty little missed situation where an installed plug-in
3473           which was in the cache did not get overridden by an uninstalled one
3474           which was earlier in the plugin path because the newly created plugin
3475           for the uninstalled one (not in the registry) didn't get its
3476           ->registered set to TRUE
3477
3478 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3479
3480         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3481         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3482         (gst_collectpads_is_active), (gst_collectpads_collect),
3483         (gst_collectpads_collect_range), (gst_collectpads_start),
3484         (gst_collectpads_stop), (gst_collectpads_peek),
3485         (gst_collectpads_pop), (gst_collectpads_available),
3486         (gst_collectpads_read), (gst_collectpads_flush):
3487           Guard public API with assertions.
3488         
3489         * gst/gstpad.c:
3490           Fix docs for gst_pad_set_link_function().
3491
3492 2005-11-02  Johan Dahlin  <johan@gnome.org>
3493
3494         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3495         Unref found_caps after we used it.
3496
3497 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3500           Don't try to ref NULL.
3501
3502 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3503
3504         * win32/common/config.h.in:
3505           provide a GST_FUNCTION that just gives a string for now
3506
3507 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3508
3509         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3510         (gst_object_flags_get_type), (register_gst_bin_flags),
3511         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3512         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3513         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3514         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3515         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3516         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3517         (gst_clock_flags_get_type), (register_gst_state),
3518         (gst_state_get_type), (register_gst_state_change_return),
3519         (gst_state_change_return_get_type), (register_gst_state_change),
3520         (gst_state_change_get_type), (register_gst_element_flags),
3521         (gst_element_flags_get_type), (register_gst_core_error),
3522         (gst_core_error_get_type), (register_gst_library_error),
3523         (gst_library_error_get_type), (register_gst_resource_error),
3524         (gst_resource_error_get_type), (register_gst_stream_error),
3525         (gst_stream_error_get_type), (register_gst_event_type),
3526         (gst_event_type_get_type), (register_gst_seek_type),
3527         (gst_seek_type_get_type), (register_gst_seek_flags),
3528         (gst_seek_flags_get_type), (register_gst_format),
3529         (gst_format_get_type), (register_gst_index_certainty),
3530         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3531         (gst_index_entry_type_get_type),
3532         (register_gst_index_lookup_method),
3533         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3534         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3535         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3536         (gst_index_flags_get_type), (register_gst_debug_level),
3537         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3538         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3539         (gst_iterator_result_get_type), (register_gst_iterator_item),
3540         (gst_iterator_item_get_type), (register_gst_message_type),
3541         (gst_message_type_get_type), (register_gst_mini_object_flags),
3542         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3543         (gst_pad_link_return_get_type), (register_gst_flow_return),
3544         (gst_flow_return_get_type), (register_gst_activate_mode),
3545         (gst_activate_mode_get_type), (register_gst_pad_direction),
3546         (gst_pad_direction_get_type), (register_gst_pad_flags),
3547         (gst_pad_flags_get_type), (register_gst_pad_presence),
3548         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3549         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3550         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3551         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3552         (gst_plugin_flags_get_type), (register_gst_rank),
3553         (gst_rank_get_type), (register_gst_query_type),
3554         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3555         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3556         (gst_tag_flag_get_type), (register_gst_task_state),
3557         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3558         (gst_alloc_trace_flags_get_type),
3559         (register_gst_type_find_probability),
3560         (gst_type_find_probability_get_type), (register_gst_uri_type),
3561         (gst_uri_type_get_type), (register_gst_parse_error),
3562         (gst_parse_error_get_type):
3563         * win32/common/gstversion.h:
3564           update win32 copies
3565
3566 2005-11-01  Luca Ognibene  <luogni@tin.it>
3567
3568         * gst/gst.c:
3569           fix docs. popt is dead, long live GOption.
3570
3571 2005-10-31  Wim Taymans  <wim@fluendo.com>
3572
3573         * gst/gstbuffer.h:
3574         Small doc fix.
3575
3576 2005-10-31  Andy Wingo  <wingo@pobox.com>
3577
3578         * Boo!
3579
3580         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3581
3582         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3583         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3584         the possibility of deadlocks here if code calling notify() or
3585         set() has a lock that can be taken in another notify handler (ABBA
3586         with class lock and e.g. python GIL state lock).
3587
3588 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3589
3590         * gst/gstbus.c: Doc updates.
3591
3592 2005-10-28  Wim Taymans  <wim@fluendo.com>
3593
3594         * docs/design/part-TODO.txt:
3595         * gst/gstiterator.c:
3596         * gst/gstsystemclock.c:
3597         * gst/gstsystemclock.h:
3598         Doc updates.
3599
3600 2005-10-28  Edward Hervey  <edward@fluendo.com>
3601
3602         * docs/gst/gstreamer-docs.sgml:
3603         * docs/gst/gstreamer-sections.txt:
3604         the GstURIType documentation page is private, it only defines GstURIType
3605         which should be defined in the GstURIHandler page
3606         
3607 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3608
3609         * gst/gstbin.c: (gst_bin_class_init):
3610         * gst/gstbin.h:
3611         * gst/gstutils.c:
3612         Documentation updates.
3613
3614 2005-10-28  Wim Taymans  <wim@fluendo.com>
3615
3616         * docs/gst/gstreamer-sections.txt:
3617         * gst/gstclock.c:
3618         * gst/gstclock.h:
3619         Documented the clocks.
3620
3621 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3622
3623         * docs/gst/gstreamer-sections.txt:
3624           move some macros to private sections
3625         * gst/gstminiobject.c:
3626         * gst/gstminiobject.h:
3627           add descriptions provided by ds and some more
3628         * gst/gstpad.h:
3629           mark macro as to be removed
3630
3631 2005-10-28  Wim Taymans  <wim@fluendo.com>
3632
3633         * docs/design/part-TODO.txt:
3634         Add an item to TODO.
3635
3636         * gst/gstiterator.c: (gst_iterator_fold),
3637         (gst_iterator_find_custom):
3638         * gst/gstiterator.h:
3639         Add iterator docs.
3640
3641 2005-10-28  Wim Taymans  <wim@fluendo.com>
3642
3643         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3644         (gst_base_transform_init):
3645         Don't leak class.
3646
3647         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3648         An EOS event marks the queue as completely filled.
3649
3650 2005-10-27  Wim Taymans  <wim@fluendo.com>
3651
3652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3653         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3654         Some more debugging.
3655
3656         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3657         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3658         (gst_base_transform_event), (gst_base_transform_getrange),
3659         (gst_base_transform_chain):
3660         * gst/base/gstbasetransform.h:
3661         Fix debugging,
3662         Protect transform and concurrent buffer alloc with a new lock.
3663         Try not to break ABI/API.
3664
3665 2005-10-27  Wim Taymans  <wim@fluendo.com>
3666
3667         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3668         (gst_base_src_init), (gst_base_src_query),
3669         (gst_base_src_default_newsegment),
3670         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3671         (gst_base_src_send_event), (gst_base_src_event_handler),
3672         (gst_base_src_pad_get_range), (gst_base_src_loop),
3673         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3674         (gst_base_src_start), (gst_base_src_deactivate),
3675         (gst_base_src_activate_push), (gst_base_src_change_state):
3676         Move some stuff around and cleanup things.
3677
3678 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3679
3680         * gst/base/gstbasesrc.c: (gst_base_src_query):
3681           Add missing break statements.
3682
3683 2005-10-27  Wim Taymans  <wim@fluendo.com>
3684
3685         * check/gst/gstbin.c: (GST_START_TEST):
3686         An extra refcount is taken in basesrc.
3687
3688         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3689         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3690         (gst_base_src_loop):
3691         Small cleanups, check for flushing after being unlocked from the 
3692         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3693         Don't send out EOS when going to READY.
3694
3695 2005-10-27  Wim Taymans  <wim@fluendo.com>
3696
3697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3698         (gst_base_sink_get_position):
3699         Some more debug.
3700
3701         * gst/gstbin.c: (message_check), (bin_replace_message),
3702         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3703         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3704         (bin_query_duration_init), (bin_query_duration_fold),
3705         (bin_query_duration_done), (bin_query_generic_fold),
3706         (gst_bin_query):
3707         * tools/gst-launch.c: (main):
3708         Remove old option.
3709
3710 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3711
3712         * examples/controller/audio-example.c: (main):
3713         * examples/queue/queue.c: (event_loop):
3714         * gst/base/gstbasetransform.h:
3715         * gst/gstelement.c: (gst_element_send_event):
3716         * gst/gstevent.h:
3717         * gst/gstpad.c: (gst_pad_send_event):
3718           fixing examples
3719           fixing docs typos
3720           changing log priority in error situations
3721
3722 2005-10-25  Wim Taymans  <wim@fluendo.com>
3723
3724         * gst/gstbin.c: (message_check), (bin_replace_message),
3725         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3726         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3727         (bin_query_duration_init), (bin_query_duration_fold),
3728         (bin_query_duration_done), (bin_query_generic_fold),
3729         (gst_bin_query):
3730         Some doc and debug updates.
3731         Cache previously requested query DURATION for speed. invalidate
3732         cached duration if element posts a DURATION message.
3733
3734 2005-10-25  Wim Taymans  <wim@fluendo.com>
3735
3736         * docs/design/part-TODO.txt:
3737         Update TODO.
3738
3739         * gst/gstbin.c: (message_check), (bin_replace_message),
3740         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3741         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3742         (bin_query_duration_init), (bin_query_duration_fold),
3743         (bin_query_duration_done), (bin_query_generic_fold),
3744         (gst_bin_query):
3745         Handle SEGMENT_START/DONE messages correctly.
3746         More evolved query algorithm that handles duration queries
3747         correctly.
3748
3749         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3750         (gst_element_get_state_func), (gst_element_abort_state),
3751         (gst_element_commit_state), (gst_element_lost_state):
3752         Some more debugging.
3753
3754         * gst/gstmessage.h:
3755         Added doc.
3756
3757 2005-10-25  Wim Taymans  <wim@fluendo.com>
3758
3759         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3760         Don't use invalid stream_time.
3761
3762         * gst/gstevent.c: (gst_event_new_newsegment):
3763         stream_time in newsegment cannot be undefined.
3764
3765 2005-10-24  Wim Taymans  <wim@fluendo.com>
3766
3767         * gst/gstbus.c:
3768         Doc fix.
3769
3770         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3771         (gst_queue_loop):
3772         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3773
3774 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3775
3776         * docs/libs/tmpl/gstdparam.sgml:
3777         * docs/libs/tmpl/gstdplinint.sgml:
3778         * docs/libs/tmpl/gstdpman.sgml:
3779         * docs/libs/tmpl/gstdpsmooth.sgml:
3780         * docs/libs/tmpl/gstunitconvert.sgml:
3781           these are obsolete
3782
3783 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3784
3785         * configure.ac:
3786           back to HEAD
3787
3788 === release 0.9.4 ===
3789
3790 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * configure.ac:
3793           releasing 0.9.4, "Tyrannosaurus Rex"
3794
3795 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3796
3797         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3798         (gst_file_sink_get_current_offset):
3799           Use fseeko() and ftello() if available. When falling back on
3800           lseek() to get the current offset, fflush() first to make sure
3801           everything is up-to-date and we get the right offset.
3802
3803 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3804
3805         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3806         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3807         * gst/gsterror.c: (_gst_stream_errors_init):
3808         * gst/gsterror.h:
3809         * gst/gstqueue.c: (gst_queue_loop):
3810         * po/POTFILES.in:
3811           remove prematurely added error category and clean up the instances
3812
3813 2005-10-21  Wim Taymans  <wim@fluendo.com>
3814
3815         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3816         (gst_base_sink_get_position), (gst_base_sink_query),
3817         (gst_base_sink_change_state):
3818         Simply set the right flag when going to playing, that's all
3819         we need to do instead of calling a function inside the object
3820         lock (that could take the lock as well and deadlock)
3821
3822 2005-10-21  Wim Taymans  <wim@fluendo.com>
3823
3824         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3825         (gst_base_src_loop):
3826         Don't warn, the peer element knows what to do best when
3827         the seek failed, it might try something else.
3828
3829 2005-10-21  Wim Taymans  <wim@fluendo.com>
3830
3831         * gst/base/gstbasesrc.c: (gst_base_src_init),
3832         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3833         Fix seeking.
3834
3835 2005-10-21  Wim Taymans  <wim@fluendo.com>
3836
3837         * docs/design/part-segments.txt:
3838         More docs.
3839
3840         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3841         Correctly set caps, even on the subbufer.
3842
3843 2005-10-21  Wim Taymans  <wim@fluendo.com>
3844
3845         * docs/gst/gstreamer-docs.sgml:
3846         * docs/gst/gstreamer-sections.txt:
3847         * gst/gstelement.h:
3848         * gst/gstevent.c:
3849         * gst/gstevent.h:
3850         * gst/gstmessage.h:
3851         * gst/gstpad.h:
3852         * gst/gstparse.h:
3853         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3854         * gst/gsttask.h:
3855         * gst/gstutils.c:
3856         * gst/gstutils.h:
3857         And 2% more doc coverage.
3858
3859 2005-10-21  Andy Wingo  <wingo@pobox.com>
3860
3861         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3862         position reporting.
3863
3864 2005-10-20  Wim Taymans  <wim@fluendo.com>
3865
3866         * gst/gsterror.c: (gst_error_get_message):
3867         * gst/gstparse.h:
3868         * gst/gstquery.h:
3869         * gst/gststructure.c:
3870         * gst/gsttrace.c:
3871         * gst/gstutils.c:
3872         More docs.
3873
3874 2005-10-20  Wim Taymans  <wim@fluendo.com>
3875
3876         * gst/gstbuffer.h:
3877         * gst/gstpad.c:
3878         * gst/gstparse.c:
3879         Another 1% more coverage.
3880
3881 2005-10-20  Wim Taymans  <wim@fluendo.com>
3882
3883         * docs/gst/gstreamer-sections.txt:
3884         * gst/gstelement.c: (gst_element_get_state_func),
3885         (gst_element_abort_state), (gst_element_commit_state),
3886         (gst_element_lost_state):
3887         * gst/gstevent.h:
3888         * gst/gstquery.c: (gst_query_set_position),
3889         (gst_query_parse_position), (gst_query_set_duration),
3890         (gst_query_parse_duration), (gst_query_new_convert):
3891         * gst/gstutils.c:
3892         Yay! 1% more docs coverage.
3893
3894 2005-10-20  Wim Taymans  <wim@fluendo.com>
3895
3896         * gst/gstpad.h:
3897         * gst/gstquery.c: (gst_query_set_position),
3898         (gst_query_parse_position), (gst_query_set_duration),
3899         (gst_query_parse_duration), (gst_query_new_convert):
3900         * gst/gstquery.h:
3901         * gst/gstutils.c: (gst_element_query_convert):
3902         * gst/gstutils.h:
3903         Docs and consistency fixes.
3904
3905 2005-10-20  Wim Taymans  <wim@fluendo.com>
3906
3907         * gst/gsttask.c:
3908         * gst/gsttask.h:
3909         More docs.
3910
3911 2005-10-20  Wim Taymans  <wim@fluendo.com>
3912
3913         * gst/gstbin.c: (message_check), (bin_replace_message),
3914         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3915         (update_degree), (gst_bin_sort_iterator_next),
3916         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3917         Reworked the message handling a bit, cache the messages instead of
3918         only the senders. alows us to do more in the future.
3919
3920 2005-10-20  Wim Taymans  <wim@fluendo.com>
3921
3922         * docs/design/part-TODO.txt:
3923         Update TODO
3924
3925         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3926         (gst_base_sink_query):
3927         Don't use clock time to report position when in EOS.
3928
3929 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3930
3931         * tools/gst-inspect.c: (print_interfaces),
3932         (print_element_properties_info), (print_element_info):
3933           Fix interface output with gst-inspect -a; don't print
3934           newlines after double/float properties.
3935
3936 2005-10-20  Wim Taymans  <wim@fluendo.com>
3937
3938         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3939         (gst_base_sink_query):
3940         Speed up current position calculation.
3941
3942         * gst/base/gstbasesrc.c: (gst_base_src_query),
3943         (gst_base_src_default_newsegment):
3944         Correctly set stream position in newsegment.
3945
3946         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3947         (update_degree), (gst_bin_sort_iterator_next),
3948         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3949         * gst/gstmessage.c: (gst_message_new_custom):
3950         Clean up debugging info
3951
3952         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3953         (gst_queue_loop), (gst_queue_handle_src_query):
3954         Pause task faster.
3955
3956 2005-10-19  Wim Taymans  <wim@fluendo.com>
3957
3958         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3959         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3960         Fix query handling again.
3961
3962 2005-10-19  Wim Taymans  <wim@fluendo.com>
3963
3964         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3965         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3966         * gst/base/gstbasesrc.c: (gst_base_src_query):
3967         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3968         * gst/elements/gsttypefindelement.c:
3969         (gst_type_find_handle_src_query), (find_element_get_length),
3970         (gst_type_find_element_activate):
3971         API change fix.
3972
3973         * gst/gstquery.c: (gst_query_new_position),
3974         (gst_query_set_position), (gst_query_parse_position),
3975         (gst_query_new_duration), (gst_query_set_duration),
3976         (gst_query_parse_duration), (gst_query_set_segment),
3977         (gst_query_parse_segment):
3978         * gst/gstquery.h:
3979         Bundling query position/duration is not a good idea since duration
3980         does not change much and we don't want to recalculate it for every
3981         position query, so they are separated again..
3982         Base value in segment query is not needed.
3983
3984         * gst/gstqueue.c: (gst_queue_handle_src_query):
3985         * gst/gstutils.c: (gst_element_query_position),
3986         (gst_element_query_duration), (gst_pad_query_position),
3987         (gst_pad_query_duration):
3988         * gst/gstutils.h:
3989         Updates for query API change.
3990         Added some docs here and there.
3991
3992 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3993
3994         * check/gst/gstbin.c: (GST_START_TEST):
3995         * check/gst/gstghostpad.c: (GST_START_TEST):
3996         * check/pipelines/cleanup.c: (GST_START_TEST):
3997           wait on thread to die so we can check refcount correctly
3998
3999 2005-10-18  Wim Taymans  <wim@fluendo.com>
4000
4001         * check/pipelines/stress.c: (GST_START_TEST):
4002         Make check a little more time consuming.
4003
4004 2005-10-18  Wim Taymans  <wim@fluendo.com>
4005
4006         * check/Makefile.am:
4007         * check/pipelines/stress.c: (GST_START_TEST),
4008         (simple_launch_lines_suite), (main):
4009         Small state change torture test.
4010
4011         * docs/design/part-states.txt:
4012         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4013         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4014         (gst_base_sink_change_state):
4015         Never take state lock from streaming thread, clean up ugly
4016         hacks. Unfortunatly core does not yet support nice ways to
4017         async commit state.
4018         
4019         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4020         (bin_bus_handler):
4021         Start state recalc if a STATE_DIRTY message is posted, but only
4022         on the toplevel bin.
4023
4024         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4025         (gst_element_get_state_func), (gst_element_abort_state),
4026         (gst_element_commit_state), (gst_element_lost_state),
4027         (gst_element_set_state_func), (gst_element_change_state):
4028         * gst/gstelement.h:
4029         State variables are now protected with the LOCK, the state
4030         lock is only used to serialize _set_state().
4031
4032 2005-10-18  Wim Taymans  <wim@fluendo.com>
4033
4034         * check/gst/gstbin.c: (GST_START_TEST):
4035         * check/gst/gstmessage.c: (GST_START_TEST):
4036         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4038         (bin_bus_handler):
4039         * gst/gstelement.c: (gst_element_abort_state),
4040         (gst_element_commit_state), (gst_element_lost_state):
4041         * gst/gstmessage.c: (gst_message_new_state_changed),
4042         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4043         (gst_message_new_segment_done), (gst_message_new_duration),
4044         (gst_message_parse_state_changed),
4045         (gst_message_parse_segment_start),
4046         (gst_message_parse_segment_done), (gst_message_parse_duration):
4047         * gst/gstmessage.h:
4048         * tools/gst-launch.c: (event_loop):
4049         Seriously, this is better than a previous commit as we only need
4050         to notify the fact that an element changed state in a streaming
4051         thread, marking the state of the parents dirty, hence the 
4052         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4053         message.
4054
4055 2005-10-18  Wim Taymans  <wim@fluendo.com>
4056
4057         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4058         (gst_bin_recalc_func):
4059         * gst/gstelement.c: (gst_element_set_clock),
4060         (gst_element_abort_state), (gst_element_lost_state):
4061         Cleanups, prepare for state change fixes.
4062
4063 2005-10-18  Wim Taymans  <wim@fluendo.com>
4064
4065         * gst/gstbin.h:
4066         * gst/gstelement.c: (gst_element_class_init),
4067         (gst_element_set_state), (gst_element_set_state_func):
4068         * gst/gstelement.h:
4069         Pending ABI changes.
4070         GThreadPool in GstBinClass to monitor async state changes.
4071         state_cookie in GstElement to detect concurrent gst/set state.
4072         set_state is now virtual too in case a very complicated element
4073         has to be constructed.
4074
4075 2005-10-18  Wim Taymans  <wim@fluendo.com>
4076
4077         * check/gst/gstbin.c: (GST_START_TEST):
4078         * check/gst/gstmessage.c: (GST_START_TEST):
4079         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4080         * gst/gstbin.c: (bin_bus_handler):
4081         * gst/gstelement.c: (gst_element_commit_state),
4082         (gst_element_lost_state):
4083         * gst/gstmessage.c: (gst_message_new_state_changed),
4084         (gst_message_new_segment_start), (gst_message_new_segment_done),
4085         (gst_message_new_duration), (gst_message_parse_state_changed),
4086         (gst_message_parse_segment_start),
4087         (gst_message_parse_segment_done), (gst_message_parse_duration):
4088         * gst/gstmessage.h:
4089         * tools/gst-launch.c: (event_loop):
4090         Make messages future proof.
4091         state-change gets a flag if it was a message comming from the
4092         streaming thread.
4093         segment-start/stop can also be specified in other formats.
4094         A message to notify an app that a pipeline changed playback 
4095         duration.
4096         Also fix a GstMessage leak in -launch
4097
4098 2005-10-18  Andy Wingo  <wingo@pobox.com>
4099
4100         * gst/gstelement.c (gst_element_dispose): More helpful message.
4101
4102 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4103
4104         reviewed by: <delete if not using a buddy>
4105
4106         * common/gtk-doc.mak:
4107
4108 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4109
4110         * gst/gstregistry.c: (gst_registry_scan_path_level):
4111           unref a plug-in we get that was already initialized
4112
4113 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4114
4115         * docs/gst/gstreamer-sections.txt:
4116         * docs/libs/gstreamer-libs-sections.txt:
4117         * gst/gstelement.h:
4118           add new api entries
4119           hide internal macro
4120
4121 2005-10-17  Andy Wingo  <wingo@pobox.com>
4122
4123         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4124         cleanup.
4125
4126         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4127
4128         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4129
4130         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4131         (gst_element_get_state_func): Better debug message.
4132         (gst_element_commit_state): s/INFO/DEBUG/.
4133         (gst_element_lost_state, gst_element_change_state): 
4134
4135         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4136         (gst_message_new_custom): s/INFO/LOG/.
4137
4138 2005-10-17  Michael Smith <msmith@fluendo.com>
4139
4140         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4141           Check if end time is valid using end time, not start time.
4142
4143 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4144
4145         * check/gst-libs/controller.c: (GST_START_TEST),
4146         (gst_controller_suite):
4147         * libs/gst/controller/gstcontroller.c:
4148         (gst_controlled_property_set_interpolation_mode):
4149         * libs/gst/controller/gstcontroller.h:
4150         * libs/gst/controller/gstinterpolation.c:
4151         * testsuite/controller/.cvsignore:
4152         * testsuite/controller/Makefile.am:
4153         * testsuite/controller/interpolator.c:
4154           merge controller testsuites
4155           fix broken tests
4156           remove mem-chunk from docs
4157
4158 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4159
4160         * gst/gstmemchunk.c:
4161         * gst/gstmemchunk.h:
4162         * gst/gsttrashstack.c:
4163         * gst/gsttrashstack.h:
4164           out.  get out.  you're fired.  to the Attic !
4165
4166 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4167
4168         * gst/gstcaps.c: (gst_caps_intersect):
4169           fix signedness issues in a (hopefully) correct way
4170         * gst/gstelement.c: (gst_element_pads_activate):
4171           some debugging
4172         * gst/gstobject.c: (gst_object_set_parent):
4173           some debugging
4174
4175 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4176
4177         * gst/gstvalue.h: Fix prototypes.
4178
4179 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4180
4181         * docs/gst/gstreamer-sections.txt:
4182         * gst/gst.c: (gst_version_string):
4183         * gst/gst.h:
4184         * gst/gstversion.h.in:
4185         * win32/common/libgstreamer.def:
4186           add gst_version_string ()
4187
4188 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4189
4190         * configure.ac:
4191           clean up further
4192         * gst/gst.c: (init_post):
4193         * win32/common/config.h.in:
4194           it's PLUGINDIR now
4195         * gst/gstcaps.c: (gst_caps_intersect):
4196           use gint64, the range could be bigger than a guint
4197
4198 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4199
4200         * gst/gstclock.h:
4201           document potential problem in 2038
4202
4203 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4204
4205         * gst/gstcaps.c: (gst_caps_intersect):
4206           Fix guint j diving under 0
4207
4208 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4209
4210         * configure.ac:
4211         * win32/common/config.h:
4212         * win32/common/config.h.in:
4213           check for process.h, declares getpid() on Windows
4214         * gst/gstinfo.c:
4215           include process.h if we have it
4216         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4217         * gst/gstmemchunk.h:
4218           fix signedness issues
4219         * win32/common/libgstreamer.def:
4220           fix get_type's
4221
4222 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4223
4224         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4225         fix. Because of unsigned ints, caps intersection was going nuts and
4226         trying to access structures with G_MAXUINT index. That fixes
4227         videotestsrc ! ffmpegcolorspace ! fakesink
4228         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4229         consistency.
4230
4231 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4232
4233         * configure.ac:
4234           use the gettext macro
4235         * gst/elements/gstelements.c:
4236         * gst/gst.c:
4237         * gst/indexers/gstindexers.c:
4238           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4239         * win32/common/config.h:
4240           updated config.h
4241         * win32/common/config.h.in:
4242           add the template to generate config.h
4243         * win32/common/gstenumtypes.c:
4244         * win32/common/gstversion.h:
4245           updated copies
4246
4247 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4248
4249         * gst/gst.c: (gst_version):
4250         * gst/gstversion.h.in:
4251           add the nano
4252
4253 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * gst/gstevent.h:
4256           Oops, add missing closing bracket.
4257
4258 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4259
4260         * configure.ac:
4261           use common m4's for argument checking
4262
4263 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4264
4265         * docs/gst/gstreamer-sections.txt:
4266         * gst/gstevent.h:
4267           Add GST_EVENT_TYPE_NAME() macro.
4268
4269 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * gst/gstinfo.c:
4272         * gst/gstpluginfeature.c:
4273         * gst/gsttask.c:
4274           privatize more symbols
4275
4276 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4277
4278         * configure.ac:
4279           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4280           everything that uses GStreamer API should have the includes
4281
4282 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4283
4284         * docs/gst/gstreamer-sections.txt:
4285         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4286         * gst/gstvalue.h:
4287           give each value a _get_type, removes the DATA exports
4288
4289 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4290
4291         * gst/gst.c:
4292         * gst/gst.h:
4293           remove _gst_registry_auto_load, not used anymore
4294         * gst/gstbin.c: (gst_bin_get_type):
4295         * gst/gstbin.h:
4296         * gst/gstelement.c: (gst_element_get_type):
4297         * gst/gstelement.h:
4298         * gst/gstobject.c: (gst_object_get_type):
4299         * gst/gstobject.h:
4300         * gst/gstpad.c: (gst_pad_get_type):
4301         * gst/gstpad.h:
4302           make _get_type functions similar, fixes data export from library
4303
4304 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4305
4306         * configure.ac:
4307           correctly make conditionals
4308         * gst/elements/Makefile.am:
4309         * gst/elements/gstelements.c:
4310           fix typo causing fdsrc not to build
4311
4312 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4313
4314         * testsuite/Makefile.am:
4315         * testsuite/bytestream/.cvsignore:
4316         * testsuite/bytestream/Makefile.am:
4317         * testsuite/bytestream/filepadsink.c:
4318         * testsuite/bytestream/gstbstest.c:
4319         * testsuite/bytestream/test1.c:
4320         * testsuite/bytestream/testfile1:
4321         * testsuite/caps/normalisation.c:
4322         * testsuite/caps/random.c: (main):
4323         * testsuite/cleanup/.cvsignore:
4324         * testsuite/cleanup/Makefile.am:
4325         * testsuite/cleanup/cleanup1.c:
4326         * testsuite/cleanup/cleanup2.c:
4327         * testsuite/cleanup/cleanup3.c:
4328         * testsuite/cleanup/cleanup4.c:
4329         * testsuite/cleanup/cleanup5.c:
4330         * testsuite/controller/interpolator.c:
4331         * testsuite/debug/printf_extension.c: (main):
4332         * testsuite/elements/tee.c:
4333         * testsuite/negotiation/.cvsignore:
4334         * testsuite/negotiation/Makefile.am:
4335         * testsuite/negotiation/pad_link.c:
4336         * testsuite/pad/Makefile.am:
4337         * testsuite/pad/chainnopull.c:
4338         * testsuite/pad/getnopush.c:
4339         * testsuite/pad/link.c:
4340         * testsuite/refcounting/sched.c: (create_pipeline):
4341         * testsuite/registry/Makefile.am:
4342         * testsuite/registry/gst-print-formats.c:
4343         * testsuite/schedulers/.cvsignore:
4344         * testsuite/schedulers/142183-2.c:
4345         * testsuite/schedulers/142183.c:
4346         * testsuite/schedulers/143777-2.c:
4347         * testsuite/schedulers/143777.c:
4348         * testsuite/schedulers/147713.c:
4349         * testsuite/schedulers/147819.c:
4350         * testsuite/schedulers/147894-2.c:
4351         * testsuite/schedulers/147894.c:
4352         * testsuite/schedulers/Makefile.am:
4353         * testsuite/schedulers/group_link.c:
4354         * testsuite/schedulers/queue_link.c:
4355         * testsuite/schedulers/relink.c:
4356         * testsuite/schedulers/unlink.c:
4357         * testsuite/schedulers/unref.c:
4358         * testsuite/schedulers/useless_iteration.c:
4359         * testsuite/states/bin.c:
4360           clean out/remove some stuff from the testsuite directories
4361
4362 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4363
4364         * configure.ac:
4365           check for some headers
4366         * gst/elements/Makefile.am:
4367         * gst/elements/gstelements.c:
4368           don't compile fdsrc without sys/socket.h
4369         * gst/indexers/Makefile.am:
4370         * gst/indexers/gstindexers.c: (plugin_init):
4371           don't compile fileindex without mmap
4372
4373 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4374
4375         * configure.ac:
4376           reorganize
4377           clean up
4378           document more
4379           remove cruft
4380         * check/Makefile.am:
4381         * docs/gst/Makefile.am:
4382         * examples/helloworld/Makefile.am:
4383         * gst/Makefile.am:
4384         * gst/base/Makefile.am:
4385         * gst/check/Makefile.am:
4386         * gst/elements/Makefile.am:
4387         * gst/indexers/Makefile.am:
4388         * gst/parse/Makefile.am:
4389         * libs/gst/controller/Makefile.am:
4390         * libs/gst/dataprotocol/Makefile.am:
4391         * examples/helloworld/helloworld.c: (event_loop):
4392           compile fixes, though it's not being compiled currently
4393
4394 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4395
4396         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4397           Add some simple tests for the new taglist date API.
4398
4399 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4400
4401         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4402         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4403           Beautify 'last-message' output: print 'none' for buffer timestamps
4404           and durations if none is set; improve alignment with next messages.
4405
4406 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4407
4408         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4409         * gst/gstpluginfeature.h:
4410         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4411         * gst/gstregistry.h:
4412         * docs/gst/gstreamer-sections.txt:
4413           Add new API to check plugin feature version requirements.
4414
4415         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4416           Some basic tests for the above.         
4417
4418 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4419
4420         * gst/gststructure.c: (gst_structure_to_string):
4421           guard against NULL printf - happens when for example
4422           a message structure with GstClock gets serialized
4423
4424 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4425
4426         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4427           Fix presumable copy'n'pasto.
4428
4429 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4430
4431         * gst/elements/gstfakesrc.h:
4432         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4433         * gst/elements/gsttypefindelement.c:
4434           fix some signedness
4435         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4436           I wonder if this could actually write +2GB files before
4437
4438 2005-10-13  Andy Wingo  <wingo@pobox.com>
4439
4440         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4441         Fix Timmeke Waymans bug.
4442         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4443         string of the proper length to gst_caps_from_string. There's a
4444         potential for, before this fix, that this could cause someone
4445         connecting over the network to cause a segfault if the payload is
4446         not NUL-terminated.
4447
4448 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4449
4450         * docs/design/draft-push-pull.txt:
4451         * docs/design/part-overview.txt:
4452         * docs/random/TODO-pre-0.9:
4453         * docs/random/old/ChangeLog.gstreamer:
4454         * gst/base/gstpushsrc.c:
4455         * gst/gstclock.c:
4456           fixed typos
4457
4458 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4459
4460         * gst/glib-compat.c: (gst_flags_get_first_value):
4461         * gst/glib-compat.h:
4462         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4463         (gst_value_compare_double), (gst_value_serialize_flags):
4464           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4465           infinite loop
4466
4467 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4468
4469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4470         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4471           fix up debugging
4472         * tools/gst-launch.c: (event_loop):
4473           print out clock nicely
4474
4475 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4476
4477         * docs/gst/gstreamer-sections.txt:
4478         * gst/gsttaglist.h:
4479         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4480         (gst_tag_list_get_date_index):
4481           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4482           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4483
4484 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4485
4486         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4487         (gst_collectpads_chain):
4488         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4489         in CollectData.
4490
4491 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4492
4493         * docs/gst/gstreamer-sections.txt:
4494         * gst/gst.c:
4495         * gst/gsterror.h:
4496         * tools/gst-inspect.c: (main):
4497         * tools/gst-launch.c: (main):
4498         * tools/gst-run.c: (main):
4499         * tools/gst-xmlinspect.c: (main):
4500           fix GOption context leaks
4501           doc fixes
4502
4503 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4504
4505         * gst/gstbus.c:
4506           use HAVE_UNISTD_H
4507         * win32/common/config.h:
4508           update config
4509         * win32/vs6/grammar.dsp:
4510         * win32/vs6/libgstelements.dsp:
4511         * win32/vs6/libgstreamer.dsp:
4512           update vs6 files
4513
4514 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4515
4516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4517         * gst/base/gstbasesrc.c: (gst_base_src_query):
4518           fix more guint64<->gdouble conversions
4519
4520 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4521
4522         * Makefile.am:
4523           add win32-update target
4524         * win32/common/gstconfig.h:
4525         * win32/common/gstenumtypes.c:
4526         * win32/common/gstenumtypes.h:
4527         * win32/common/gstversion.h:
4528           add files that visual studio can't generate
4529
4530 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4531
4532         * Makefile.am:
4533           add a win32-update target
4534         * configure.ac:
4535
4536 2005-10-12  Wim Taymans  <wim@fluendo.com>
4537
4538         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4539         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4540         * gst/gstelement.c: (gst_element_commit_state),
4541         (gst_element_set_state):
4542         Protect flags with proper lock.
4543         unref provided cached clock in dispose.
4544
4545 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4546
4547         * gst/gst.c:
4548         * gst/gstminiobject.h:
4549         * gst/gstpad.h:
4550         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4551           removed unused flags from miniobject
4552           doc fixes
4553
4554 2005-10-12  Wim Taymans  <wim@fluendo.com>
4555
4556         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4557         (gst_file_sink_event), (gst_file_sink_render):
4558         Flush before seeking.
4559
4560 2005-10-12  Andy Wingo  <wingo@pobox.com>
4561
4562         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4563         always been the case.
4564
4565 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4566
4567         * check/gst/gstbin.c: (GST_START_TEST):
4568         * docs/gst/gstreamer-sections.txt:
4569         * gst/base/gstbasesink.c: (gst_base_sink_init):
4570         * gst/base/gstbasesrc.c: (gst_base_src_init),
4571         (gst_base_src_get_range), (gst_base_src_check_get_range),
4572         (gst_base_src_start), (gst_base_src_stop):
4573         * gst/base/gstbasesrc.h:
4574         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4575         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4576         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4577         (bin_bus_handler):
4578         * gst/gstbin.h:
4579         * gst/gstbuffer.h:
4580         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4581         * gst/gstbus.h:
4582         * gst/gstelement.c: (gst_element_is_locked_state),
4583         (gst_element_set_locked_state), (gst_element_commit_state),
4584         (gst_element_set_state):
4585         * gst/gstelement.h:
4586         * gst/gstindex.c: (gst_index_init):
4587         * gst/gstindex.h:
4588         * gst/gstminiobject.h:
4589         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4590         (gst_object_set_parent):
4591         * gst/gstobject.h:
4592         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4593         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4594         * gst/gstpad.h:
4595         * gst/gstpadtemplate.h:
4596         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4597         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4598         * gst/gstpipeline.h:
4599         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4600         (gst_file_index_commit):
4601         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4602         * testsuite/pad/link.c: (gst_test_src_init),
4603         (gst_test_filter_init), (gst_test_sink_init):
4604         * testsuite/states/locked.c: (main):
4605           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4606           moved bitshift from macro to enum definition
4607
4608 2005-10-12  Wim Taymans  <wim@fluendo.com>
4609
4610         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4611         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4612         (gst_file_sink_render):
4613         Some more debugging info.
4614
4615 2005-10-12  Wim Taymans  <wim@fluendo.com>
4616
4617         * docs/design/part-states.txt:
4618         * tools/gst-launch.c: (main):
4619         Some doc updates.
4620         Revert non-intentional change.
4621
4622 2005-10-12  Wim Taymans  <wim@fluendo.com>
4623
4624         * check/gst/gstbin.c: (GST_START_TEST):
4625         * check/gst/gstelement.c: (GST_START_TEST):
4626         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4627         * check/gst/gstghostpad.c: (GST_START_TEST):
4628         * check/gst/gstpipeline.c: (GST_START_TEST):
4629         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4630         * check/states/sinks.c: (GST_START_TEST):
4631         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4632         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4633         (gst_bin_remove_func), (gst_bin_get_state_func),
4634         (gst_bin_recalc_state), (gst_bin_change_state_func),
4635         (bin_bus_handler):
4636         * gst/gstelement.c: (gst_element_get_state_func),
4637         (gst_element_get_state), (gst_element_abort_state),
4638         (gst_element_commit_state), (gst_element_set_state),
4639         (gst_element_change_state), (gst_element_change_state_func):
4640         * gst/gstelement.h:
4641         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4642         (gst_pipeline_provide_clock_func):
4643         * gst/gstutils.c: (gst_element_link_pads_filtered):
4644         * tools/gst-launch.c: (main):
4645         * tools/gst-typefind.c: (main):
4646         Use GstClockTime in _get_state() instead of GTimeVal.
4647         Remove old code in gstutils.c
4648
4649 2005-10-12  Andy Wingo  <wingo@pobox.com>
4650
4651         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4652         removed.
4653
4654         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4655         there is no task. Shouldn't affect any code, as nothing in our
4656         plugins checks this return value.
4657         (gst_pad_stop_task): Also take the stream lock if the pad has no
4658         task. Docs updated.
4659
4660 2005-10-12  Wim Taymans  <wim@fluendo.com>
4661
4662         * gst/gstpad.c: (pre_activate), (post_activate),
4663         (gst_pad_activate_pull), (gst_pad_activate_push):
4664         Cleanup activation code. Reset old state if
4665         activation failed.
4666
4667 2005-10-12  Wim Taymans  <wim@fluendo.com>
4668
4669         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4670         (gst_base_sink_change_state):
4671         No need to prerol after receiving EOS.
4672
4673         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4674         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4675         * gst/elements/gstidentity.c: (gst_identity_event):
4676         Print events more verbosely.
4677
4678 2005-10-12  Wim Taymans  <wim@fluendo.com>
4679
4680         * check/Makefile.am:
4681         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4682         * check/states/sinks2.c:
4683         Moved sinks2 testcode in sinks check.
4684
4685         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4686         (gst_bin_remove_func), (gst_bin_recalc_state),
4687         (gst_bin_change_state_func), (bin_bus_handler):
4688         Fix potential race condition when _get_state() iterated over an
4689         ASYNC element right before it posted a state completion.
4690
4691         * gst/gstclock.h:
4692         Do proper cast here.
4693
4694         * gst/gstevent.c: (gst_event_new_newsegment),
4695         (gst_event_parse_newsegment):
4696         A playback rate of 0.0 is not allowed.
4697
4698 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4699
4700         * win32/common/config.h:
4701         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4702         (_trewinddir), (_ttelldir), (_tseekdir):
4703         * win32/common/dirent.h:
4704         * win32/common/gtchar.h:
4705         * win32/common/libgstbase.def:
4706         * win32/common/libgstreamer.def:
4707         * win32/vs6/grammar.dsp:
4708         * win32/vs6/gst_inspect.dsp:
4709         * win32/vs6/gst_launch.dsp:
4710         * win32/vs6/gstreamer.dsw:
4711         * win32/vs6/libgstbase.dsp:
4712         * win32/vs6/libgstelements.dsp:
4713         * win32/vs6/libgstreamer.dsp:
4714           Visual Studio 6 project files, and a new common directory.
4715           Phear.
4716
4717 2005-10-11  Wim Taymans  <wim@fluendo.com>
4718
4719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4720         (gst_base_sink_do_sync), (gst_base_sink_query),
4721         (gst_base_sink_change_state):
4722         * gst/base/gstbasesink.h:
4723         Correctly parse newsegment info.
4724
4725 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4726
4727         * gst/gst.c: (init_post):
4728           split plugin paths correctly
4729
4730 2005-10-11  Wim Taymans  <wim@fluendo.com>
4731
4732         * check/gst/gstevent.c: (GST_START_TEST):
4733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4734         (gst_base_sink_change_state):
4735         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4736         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4737         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4738         * gst/gstevent.c: (gst_event_new_newsegment),
4739         (gst_event_parse_newsegment):
4740         * gst/gstevent.h:
4741         Added extra flag to newsegment for future API freeze.
4742         Updated check and base elements.
4743
4744 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4745
4746         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4747         (gst_collectpads_add_pad), (gst_collectpads_pop),
4748         (gst_collectpads_event), (gst_collectpads_chain):
4749         * gst/base/gstcollectpads.h: Handle EOS correctly.
4750
4751 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4752
4753         * tools/gst-launch.c: (main):
4754           more null protecting
4755
4756 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4757
4758         * gst/gst-i18n-lib.h:
4759           check for ENABLE_NLS, not GETTEXT_PACKAGE
4760         * gst/gstregistry.c: (gst_registry_add_plugin),
4761         (gst_registry_scan_path_level),
4762         (_gst_registry_remove_cache_plugins):
4763           protect possibly NULL strings
4764         * gst/parse/types.h:
4765           config.h already included before
4766         * tools/gst-inspect.c: (main):
4767           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4768           check for ENABLE_NLS, not GETTEXT_PACKAGE
4769         * tools/gst-launch.c: (main):
4770           check for ENABLE_NLS, not GETTEXT_PACKAGE
4771
4772 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4773
4774         * configure.ac:
4775           if we don't have glib, fail before testing 2.8
4776         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4777           fix a leak, should fix plugins-base testsuite
4778
4779 2005-10-11  Andy Wingo  <wingo@pobox.com>
4780
4781         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4782         take the mode we're going to as an arg. Go head and set the mode
4783         and flushing flags now, so that if the activate function starts a
4784         thread all the flags will be in the right state.
4785         (post_activate): Renamed also. Just handle making sure streaming
4786         finishes for the deactivation case, and setting the deactivated
4787         mode.
4788         (gst_pad_set_active): Complain loudly if deactivation fails.
4789         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4790         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4791         remove the terrible hack.
4792
4793 2005-10-11  Wim Taymans  <wim@fluendo.com>
4794
4795         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4796         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4797         (gst_bin_recalc_state), (gst_bin_change_state_func),
4798         (gst_bin_dispose), (bin_bus_handler):
4799         * gst/gstbin.h:
4800         Prepare to make current EOS message queue more generic.
4801         Fix some typos.
4802
4803         * gst/gstevent.c: (gst_event_new_newsegment),
4804         (gst_event_parse_newsegment):
4805         * gst/gstevent.h:
4806         Rename base to stream_time.
4807
4808         * gst/gstmessage.h:
4809         Fix typo in docs.
4810
4811 2005-10-11  Wim Taymans  <wim@fluendo.com>
4812
4813         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4814         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4815         (gst_bin_change_state_func), (bin_bus_handler):
4816         * gst/gstbin.h:
4817         Work on proper clock selection.
4818
4819 2005-10-11  Edward Hervey  <edward@fluendo.com>
4820
4821         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4822         * libs/gst/controller/gstcontroller.h:
4823         Added GList* version of _remove_properties() in order to be able to wrap
4824         it in bindings.
4825
4826 2005-10-11  Wim Taymans  <wim@fluendo.com>
4827
4828         * docs/design/part-states.txt:
4829         Some more docs.
4830
4831         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4832         (gst_bin_change_state_func), (bin_bus_handler):
4833         Doc updates. Don't distribute the same clock over and over again.
4834
4835         * gst/gstclock.c:
4836         * gst/gstclock.h:
4837         Doc updates.
4838
4839         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4840         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4841         (gst_pad_send_event):
4842         * gst/gstpad.h:
4843         Make probe emission threadsafe again.
4844         Register quarks and move _get_name() from utils.
4845         Doc updates.
4846
4847         * gst/gstpipeline.c: (gst_pipeline_class_init),
4848         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4849         Only redistribute the clock of it changed.
4850
4851         * gst/gstsystemclock.h:
4852         Doc updates. 
4853
4854         * gst/gstutils.c:
4855         * gst/gstutils.h:
4856         Moved the _flow_get_name() to GstPad.
4857
4858 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4859
4860         * check/gst-libs/gdp.c: (GST_START_TEST):
4861         * check/gst/gstcaps.c: (GST_START_TEST):
4862         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4863         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4864         (gst_dp_packet_from_caps):
4865           fix more valgrind warnings before turning up the heat
4866
4867 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4868
4869         * gst/parse/grammar.y:
4870           some cleanup before the hacking
4871
4872 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4873
4874         * gst/base/gstbasesrc.c: (gst_base_src_query):
4875           use conversions
4876         * gst/gstutils.c: (gst_guint64_to_gdouble),
4877         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4878         * gst/gstutils.h:
4879           externalize, basesrc uses it
4880           obviously the implementation needs testing
4881
4882 2005-10-10  Wim Taymans  <wim@fluendo.com>
4883
4884         * tests/sched/Makefile.am:
4885         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4886         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4887
4888 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4889
4890         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4891           apparently converting from guint64 to double is not implemented
4892           on MSVC
4893
4894 2005-10-10  Wim Taymans  <wim@fluendo.com>
4895
4896         * check/Makefile.am:
4897         * check/generic/states.c: (GST_START_TEST):
4898         * check/gst/gstbin.c: (GST_START_TEST):
4899         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4900         * check/states/sinks.c: (GST_START_TEST):
4901         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4902         (main):
4903         Check fixes, use API as stated in design docs, remove hacks.
4904
4905         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4906         (gst_base_sink_change_state):
4907         Catch stopping our task while we're shutting down.
4908
4909         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4910         (gst_bin_remove_func), (gst_bin_get_state_func),
4911         (gst_bin_recalc_state), (gst_bin_change_state_func),
4912         (bin_bus_handler):
4913         * gst/gstbin.h:
4914         * gst/gstelement.c: (gst_element_init),
4915         (gst_element_get_state_func), (gst_element_abort_state),
4916         (gst_element_commit_state), (gst_element_lost_state),
4917         (gst_element_set_state), (gst_element_change_state),
4918         (gst_element_change_state_func):
4919         * gst/gstelement.h:
4920         New state change algorithm (see #318116)
4921
4922         * gst/gstpipeline.c: (gst_pipeline_class_init),
4923         (gst_pipeline_init), (gst_pipeline_set_property),
4924         (gst_pipeline_get_property), (do_pipeline_seek),
4925         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4926         * gst/gstpipeline.h:
4927         Remove crude state change hacks.
4928
4929         * gst/gstutils.h:
4930         Remove crude hacks.
4931
4932         * tools/gst-launch.c: (main):
4933         Fixes for state change. Needs some more work to fully use the
4934         new stuff.
4935
4936 2005-10-10  Andy Wingo  <wingo@pobox.com>
4937
4938         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4939
4940         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4941         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4942         issue.
4943
4944 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4945
4946         * gst/gstiterator.c: (gst_iterator_new):
4947           Fix my previous commit: GTypes passed to gst_iterator_new()
4948           can be fundamental types.
4949
4950 2005-10-10  Wim Taymans  <wim@fluendo.com>
4951
4952         * gst/gstelement.c: (gst_element_iterate_pad_list),
4953         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4954         (gst_element_iterate_sink_pads):
4955         Use src/sink pads lists for the respective iterators instead
4956         of filtering.
4957
4958 2005-10-10  Andy Wingo  <wingo@pobox.com>
4959
4960         Merged in popt removal + GOption addition patch from Ronald, bug
4961         #169772.
4962
4963         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4964         GstElement macros around, remove popt-related symbols, add goption
4965         stuff.
4966
4967         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4968         
4969         * docs/gst/Makefile.am:
4970         * docs/libs/Makefile.am: No POPT_CFLAGS.
4971         
4972         * examples/manual/Makefile.am:
4973         * docs/manual/basics-init.xml: Doc updates with an example.
4974         
4975         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4976         (gst_init), (parse_one_option), (parse_goption_arg):
4977         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4978         bit of hand merging and debugging to get the GOption stuff working
4979         tho.
4980         
4981         * tests/Makefile.am:
4982         * tools/Makefile.am:
4983         * tools/gst-inspect.c: (main):
4984         * tools/gst-launch.c: (main):
4985         * tools/gst-run.c: (main):
4986         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4987
4988 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * gst/gstiterator.c: (gst_iterator_new):
4991           Add assertions to make sure passed GType is likely to really
4992           be a GType (as the compiler won't catch it if the size and
4993           GType arguments get mixed up, see #318447).
4994
4995 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4996
4997         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * gst/gstbin.c: (gst_bin_iterate_sorted):
5000           Pass GType and size arguments to gst_iterator_new() in the right
5001           order (maybe we should make _new() take the GType as first argument
5002           just like _new_list()?) (#318447).
5003           
5004
5005 2005-10-10  Wim Taymans  <wim@fluendo.com>
5006
5007         * gst/gstelement.c: (gst_element_finalize):
5008         And free the GStaticRecMutex too
5009
5010 2005-10-10  Andy Wingo  <wingo@pobox.com>
5011
5012         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5013         Allocate and free the mutex properly.
5014
5015         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5016         New macros.
5017         (GstElement): The state_lock is now recursive. Rebuild your
5018         plugins, suckers. Old macros adapted.
5019
5020         * docs/gst/gstreamer-sections.txt: Doc updates.
5021
5022         * gst/gstutils.h:
5023         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5024         (g_static_rec_cond_wait): Ported from state changes patch, while
5025         we wait on bug #317802 to be solved in a well-distributed GLib.
5026
5027         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5028         gst_element_change_state, variable name changes.
5029         (gst_element_change_state): Split out of gst_element_set_state in
5030         preparation for the state change merge. Doesn't pay attention to
5031         the 'transition' argument.
5032         (gst_element_set_state): Updates, hopefully purely cosmetic.
5033         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5034         state change patch.
5035         (gst_element_get_state_func): Renamed from get_state, cosmetic
5036         changes.
5037
5038 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5039
5040         * gst/elements/gstelements.c:
5041         * win32/GStreamer.vcproj:
5042         * win32/config.h:
5043         * win32/dirent.c: (_tseekdir):
5044         * win32/gst-inspect.vcproj:
5045         * win32/gst-launch.vcproj:
5046         * win32/gstconfig.h:
5047         * win32/gstelements.vcproj:
5048         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5049         * win32/gstreamer.def:
5050         * win32/msvc71.sln:
5051           updates for the win32 build (patch from Sebastien Moutte)
5052
5053 2005-10-10  Andy Wingo  <wingo@pobox.com>
5054
5055         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5056         gst_bin_get_state, cleaned up (but no logic changes).
5057         (bin_element_is_sink): Comment updates.
5058         (sink_iterator_filter): Remove needless cast.
5059         (gst_bin_iterate_sinks): Doc update.
5060         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5061         cleaned up (but no logic changes).
5062
5063         * check/states/sinks.c (test_src_sink): Cleanups from the state
5064         change patch.
5065         (test_livesrc_sink): Sync on the state.
5066
5067         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5068         the state change patch.
5069
5070         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5071         change patch.
5072
5073         * check/gst/gstbin.c: Merge in some style fixes and additional
5074         checks from Wim's state change patch.
5075
5076 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5077
5078         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5079         (gst_type_find_helper):
5080           Check whether we have the requested data already in our list of
5081           cached buffers before pulling a new buffer; also make the buffer
5082           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5083
5084 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5085
5086         * gst/gstcaps.c:
5087         * gst/gstevent.c:
5088           doc updates
5089         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5090           don't use long long, it's not portable.  Replacing with
5091           gint64 seems to work; let's hope no skeletons fall out of the closet.
5092
5093 2005-10-10  Andy Wingo  <wingo@pobox.com>
5094
5095         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5096
5097 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5098
5099         * docs/gst/gstreamer-sections.txt:
5100         * gst/gstevent.c:
5101         * gst/gstevent.h:
5102         * gst/gstinfo.c:
5103         * gst/gstinfo.h:
5104         * gst/gstmessage.c: (gst_message_parse_state_changed):
5105         * gst/gstpad.c:
5106         * gst/gstpad.h:
5107           more docs, fix compilation
5108
5109 2005-10-09  Philippe Khalaf <burger@speedy.org>
5110         * gst/gstmessage.c:
5111           Fixed a few forgotten variables on previous commit
5112
5113 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5116           Fix evil typefind crasher: getrange() might return a short
5117           buffer at the end of a file, but gst_type_find_peek() must
5118           either return the full data as requested or NULL, but
5119           never a short buffer.
5120
5121 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5122
5123         * gst/gstmessage.c: (gst_message_new_state_changed),
5124         (gst_message_parse_state_changed):
5125         * gst/gstmessage.h:
5126           don't use "new", it's a C++ keyword
5127
5128 2005-10-08  Wim Taymans  <wim@fluendo.com>
5129
5130         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5131         * gst/gstelement.c: (gst_element_post_message):
5132         * gst/gstpipeline.c: (gst_pipeline_change_state):
5133         Small docs and debug updates.
5134
5135 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5136
5137         * docs/gst/gstreamer-sections.txt:
5138         * gst/gstelementfactory.c:
5139         * gst/gstevent.c:
5140         * gst/gsttaglist.c:
5141           more docs
5142
5143 2005-10-08  Wim Taymans  <wim@fluendo.com>
5144
5145         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5146         (gst_bin_dispose), (bin_bus_handler):
5147         Fix typos, add comments.
5148         Clear EOS list when going to PAUSED from any direction and do it
5149         in a threadsafe way.
5150         Get base time in a threadsafe way too.
5151         Fix confusing debug in the change_state function.
5152         Various other small cleanups.
5153         
5154         * gst/gstelement.c: (gst_element_post_message):
5155         Fix very verbose bus posting code.
5156
5157         * gst/gstpipeline.c: (gst_pipeline_class_init),
5158         (gst_pipeline_set_property), (gst_pipeline_get_property),
5159         (gst_pipeline_change_state):
5160         Small ARG_ -> PROP_ cleanup
5161
5162 2005-10-08  Wim Taymans  <wim@fluendo.com>
5163
5164         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5165         Do a less CPU demanding EOS check because we can.
5166
5167 2005-10-08  Wim Taymans  <wim@fluendo.com>
5168
5169         * libs/gst/dataprotocol/dataprotocol.c:
5170         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5171         (gst_dp_packet_from_event):
5172         * libs/gst/dataprotocol/dataprotocol.h:
5173         * libs/gst/dataprotocol/dp-private.h:
5174         It's about time we bump the version number.
5175         Since event types don't fit in the guint8 anymore describing
5176         the payload type, make payload type 16 bits wide.
5177
5178 2005-10-08  Wim Taymans  <wim@fluendo.com>
5179
5180         * docs/design/part-TODO.txt:
5181         * docs/design/part-clocks.txt:
5182         * docs/design/part-events.txt:
5183         * docs/design/part-gstbin.txt:
5184         * docs/design/part-gstelement.txt:
5185         * docs/design/part-gstpipeline.txt:
5186         * docs/design/part-live-source.txt:
5187         * docs/design/part-messages.txt:
5188         * docs/design/part-overview.txt:
5189         * docs/design/part-states.txt:
5190         Many doc updates.
5191
5192 2005-10-08  Wim Taymans  <wim@fluendo.com>
5193
5194         * gst/gstevent.c:
5195         * gst/gstevent.h:
5196         Fix event quark registration.
5197         Add some space between events so we can insert them in the
5198         right groups.
5199
5200 2005-10-08  Wim Taymans  <wim@fluendo.com>
5201
5202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5203         (gst_base_sink_handle_buffer):
5204         Better log message.
5205
5206         * gst/gstbus.h:
5207         * gst/gstelement.h:
5208         More docs.
5209
5210         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5211         (gst_queue_set_property), (gst_queue_get_property):
5212         * gst/gstqueue.h:
5213         Remove old unused properties.
5214
5215 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5216         * docs/gst/gstreamer-sections.txt:
5217         * gst/gstmessage.c:
5218         * gst/gstmessage.h:
5219         * gst/gstminiobject.c:
5220         * gst/gstminiobject.h:
5221         * gst/gstobject.h:
5222         * gst/gstpad.h:
5223         * gst/gstutils.h:
5224           lots of new docs and doc fixes
5225
5226 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5227
5228         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5229         * gst/gstplugin.h:
5230         * gst/gstregistry.c: (gst_registry_lookup_locked),
5231         (gst_registry_scan_path_level):
5232         * gst/gstregistryxml.c: (load_plugin):
5233           Only ever load one plugin for a given plugin basename.
5234           This ensures correct overriding of GST_PLUGIN_PATH over
5235           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5236           system installed plugins.
5237
5238 2005-10-08  Wim Taymans  <wim@fluendo.com>
5239
5240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5241         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5242         Prepare for doing QOS.
5243
5244 2005-10-08  Wim Taymans  <wim@fluendo.com>
5245
5246         * check/gst/gstbin.c: (GST_START_TEST):
5247         * check/pipelines/cleanup.c: (GST_START_TEST):
5248         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5249         Allow new clock message too.
5250
5251 2005-10-08  Wim Taymans  <wim@fluendo.com>
5252
5253         * gst/gstmessage.c: (gst_message_new_error),
5254         (gst_message_new_warning), (gst_message_new_tag),
5255         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5256         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5257         (gst_message_new_segment_start), (gst_message_new_segment_done),
5258         (gst_message_parse_state_changed),
5259         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5260         (gst_message_parse_new_clock):
5261         * gst/gstmessage.h:
5262         Also carry the clock in question.
5263
5264 2005-10-08  Wim Taymans  <wim@fluendo.com>
5265
5266         * gst/gstmessage.c: (gst_message_new_custom),
5267         (gst_message_new_eos), (gst_message_new_error),
5268         (gst_message_new_warning), (gst_message_new_tag),
5269         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5270         (gst_message_new_new_clock), (gst_message_new_segment_start),
5271         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5272         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5273         * gst/gstmessage.h:
5274         Clean up.
5275         Added clock related messages.
5276
5277         * gst/gstpipeline.c: (gst_pipeline_change_state):
5278         Post message when the clock changed.
5279
5280         * tools/gst-launch.c: (event_loop):
5281         Print new clock.
5282
5283 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         * tools/gst-inspect.c: (print_element_properties_info):
5286           Can't pass NULL strings to g_print() on windows.
5287
5288 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5289
5290         * docs/Makefile.am:
5291         * docs/gst/Makefile.am:
5292         * docs/gst/gstreamer-docs.sgml:
5293         * docs/gst/running.xml:
5294         * docs/version.entities.in:
5295           add a chapter on running GStreamer.
5296           document GST_DEBUG and GST_PLUGIN* env vars
5297
5298 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5299
5300         * Makefile.am:
5301           remove include dir
5302         * configure.ac:
5303           remove PLUGINS_BUILDDIR stuff
5304         * gst/gst.c: (init_post):
5305           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5306         * idiottest.mak:
5307           remove, it was condescending and not needed
5308
5309 2005-10-08  Wim Taymans  <wim@fluendo.com>
5310
5311         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5312         (gst_base_sink_handle_object), (gst_base_sink_event),
5313         (gst_base_sink_wait), (gst_base_sink_handle_event),
5314         (gst_base_sink_change_state):
5315         * gst/base/gstbasesink.h:
5316         Repost EOS message while going to PLAYING if still EOS.
5317         Make sure that when receiving a FLUSH_START we don't attempt
5318         to sync on the clock anymore.
5319
5320 2005-10-08  Wim Taymans  <wim@fluendo.com>
5321
5322         * tools/gst-launch.c: (event_loop):
5323         Better message printout.
5324
5325 2005-10-08  Wim Taymans  <wim@fluendo.com>
5326
5327         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5328         (gst_bin_child_proxy_get_children_count):
5329         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5330         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5331         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5332         (gst_child_proxy_set_valist):
5333         * gst/parse/grammar.y:
5334         Make ChildProxy threadsafe and fix mem leaks.
5335
5336 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5337
5338         * gst/gst.c: (init_post):
5339           debug the GST_PLUGIN_ env vars
5340
5341 2005-10-08  Wim Taymans  <wim@fluendo.com>
5342
5343         * check/gst/gstbin.c: (GST_START_TEST):
5344         * check/gst/gstmessage.c: (GST_START_TEST):
5345         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5346         * gst/gstelement.c: (gst_element_commit_state),
5347         (gst_element_lost_state):
5348         * gst/gstmessage.c: (gst_message_new_state_changed),
5349         (gst_message_parse_state_changed):
5350         * gst/gstmessage.h:
5351         * tools/gst-launch.c: (event_loop):
5352         Added extra field to STATE_CHANGE message with the pending
5353         state, which will be different from the new state soon.
5354
5355 2005-10-08  Wim Taymans  <wim@fluendo.com>
5356
5357         * gst/gstbus.c: (gst_bus_pop):
5358         * gst/gstclock.c:
5359         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5360         Small cleanups and doc updates.
5361
5362 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5363
5364         * gst/gst.c: (init_pre):
5365         * gst/gstbin.c: (gst_bin_add_func):
5366           log distributing clocks and base time
5367         * gst/gstregistry.c: (gst_registry_add_plugin),
5368         (gst_registry_scan_path_level), (gst_registry_scan_path):
5369           clean up the debugging output a little
5370         * gst/gstutils.c: (gst_element_state_get_name):
5371           warn about a memleak (I've actually seen this be used, though
5372           it was probably a bug)
5373
5374 2005-10-07  Wim Taymans  <wim@fluendo.com>
5375
5376         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5377         (gst_base_src_init), (gst_base_src_default_newsegment),
5378         (gst_base_src_newsegment), (gst_base_src_do_seek),
5379         (gst_base_src_loop), (gst_base_src_start):
5380         * gst/base/gstbasesrc.h:
5381         Make the newsegment event customizable by subclasses.
5382
5383 2005-10-07  Wim Taymans  <wim@fluendo.com>
5384
5385         * gst/gstevent.c: (gst_event_new_buffersize),
5386         (gst_event_parse_buffersize):
5387         * gst/gstevent.h:
5388         New event for future idea.
5389
5390 2005-10-07  Andy Wingo  <wingo@pobox.com>
5391
5392         * gst/gstelement.c (gst_element_post_message): Doc update.
5393
5394         * docs/gst/gstreamer-sections.txt: Update.
5395
5396         * gst/gstmessage.c (gst_message_new_application): Made into a
5397         function like honest API calls.
5398         (gst_message_new_element): New message type.
5399
5400         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5401
5402         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5403         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5404         times.
5405
5406         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5407         NO_PREROLL from gst_element_change_state to fall through.
5408
5409 2005-10-07  Wim Taymans  <wim@fluendo.com>
5410
5411         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5412         (gst_ghost_pad_do_activate_push):
5413         Activating a ghostpad with no internal pad in push mode
5414         is ok.
5415
5416 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * gst/gstobject.h:
5419           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5420           Fixes compilation on Windows.
5421
5422 2005-10-07  Michael Smith <msmith@fluendo.com>
5423
5424         * tools/gst-inspect.c:
5425           Print out feature and plugin count at the end when printing out
5426           all features.
5427
5428 2005-10-04  Michael Smith <msmith@fluendo.com>
5429
5430         * gst/gsterror.c: (_gst_stream_errors_init):
5431           Add another error string used in a few existing plugins.
5432
5433         * gst/gstplugin.c:
5434         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5435         * tools/gst-inspect.c: (print_element_info):
5436           When a feature disappears from a plugin (and the feature exists in
5437           the cached registry file), things went horribly wrong. This isn't a
5438           complete fix, we should actually be removing the 'missing' features
5439           from the features list when we load the actual plugin. That's not
5440           yet implemented. 
5441
5442 2005-10-04  Johan Dahlin  <johan@gnome.org>
5443
5444         * check/gst/gstiterator.c: (GST_START_TEST):
5445         * gst/gstbin.c: (gst_bin_iterate_elements),
5446         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5447         * gst/gstelement.c: (gst_element_iterate_pads):
5448         * gst/gstformat.c: (gst_format_iterate_definitions):
5449         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5450         (gst_iterator_new_list), (gst_iterator_filter):
5451         * gst/gstiterator.h:
5452         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5453         Add a GType to GstIterator, update callsites and tests.
5454
5455 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5456
5457         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5458           give events a chance to be handled by event probes when the pad
5459           is not linked
5460
5461 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5462
5463         * gst/gstevent.c: (gst_event_type_get_name),
5464         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5465         * gst/gstevent.h:
5466           add string representations for event types
5467
5468 2005-10-06  Wim Taymans  <wim@fluendo.com>
5469
5470         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5471         Don't use NULL pointers.
5472
5473 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5474
5475         * gst/gst_private.h:
5476         * gst/gstbus.c:
5477         * gst/gstelement.c:
5478         * gst/gstinfo.c:
5479         * gst/gstpluginfeature.c:
5480           widen the debug category in output to fit the biggest one we have
5481           add a bus category and use it
5482           play with the colors
5483           fix up some categories
5484
5485 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5486
5487         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5488           add push activation of sink ghost pads.
5489           Andye, please verify
5490
5491 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5492
5493         * gst/gstutils.c: (gst_element_link_pads):
5494           fix a bug in the case where neither element has a pad
5495         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5496           add a test for that case
5497
5498 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5499
5500         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5501           emit have-data before checking for peers.  This allows
5502           for probe handlers to connect elements.  This helps autopluggers.
5503         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5504         (gst_pad_suite):
5505           add six checks, linked/unlinked with no/true/false probe
5506
5507 2005-10-04  Wim Taymans  <wim@fluendo.com>
5508
5509         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5510         (gst_fake_sink_event), (gst_fake_sink_preroll),
5511         (gst_fake_sink_render), (gst_fake_sink_change_state):
5512         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5513         (gst_fake_src_get_property), (gst_fake_src_create),
5514         (gst_fake_src_stop):
5515         * gst/elements/gstidentity.c: (gst_identity_stop):
5516         Protect last_message with lock.
5517
5518 2005-10-04  Edward Hervey  <edward@fluendo.com>
5519
5520         * gst/gstformat.h: 
5521         Added precision in the comments for GST_FORMAT_DEFAULT
5522
5523 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * tools/gst-launch.c: (main):
5526           Don't try to run erroneous pipelines.
5527
5528 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5529
5530         * gst/gstbus.c: We don't need this header.
5531
5532 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5533
5534         * configure.ac:
5535           back to development
5536
5537 === release 0.9.3 ===
5538
5539 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5540
5541         * README:
5542         * configure.ac:
5543           Releasing 0.9.3, "Unregistered"
5544
5545 2005-10-03  Andy Wingo  <wingo@pobox.com>
5546
5547         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5548         whereby calling a pad's activatepush() function can start a thread
5549         that starts to push or pull before the pad gets the FLUSHING flag
5550         unset. Hack around it by holding the stream lock until the flag is
5551         set. Need to replace this with a proper solution. Together with
5552         the ghost pad fixes, this fixes mp3 playing/tagreading.
5553
5554         * docs/design/part-gstghostpad.txt: Add a note about activation of
5555         proxy pads outside of ghost pads.
5556
5557         * gst/gstghostpad.c: Implement the ghost pad activation design.
5558
5559 2005-10-02  Andy Wingo  <wingo@pobox.com>
5560
5561         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5562         It is volatile, after all.
5563
5564         * docs/design/part-gstghostpad.txt: Flesh out activation with
5565         ghost pads.
5566
5567         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5568         GST_DEBUG_FUNCPTR.
5569
5570 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * configure.ac:
5573           Fix (unused) AM_CONDITIONAL tests.
5574
5575 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5576
5577         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         * gst/gstutils.c: (gst_pad_query_convert):
5580           Add assertion that makes sure src_val is >=0, just like
5581           gst_query_new_convert() has. (#315895)
5582
5583 2005-09-30  Edward Hervey  <edward@fluendo.com>
5584
5585         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5586         Let's not iterate pads we're not interested in, it avoids getting 
5587         sky-high refcounts on sinkpad.
5588
5589 2005-09-30  Wim Taymans  <wim@fluendo.com>
5590
5591         * gst/gstelement.c: (gst_element_set_state),
5592         (gst_element_change_state):
5593         Small tweak, element in ASYNC remains ASYNC.
5594
5595 2005-09-30  Wim Taymans  <wim@fluendo.com>
5596
5597         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5598         Only error is an error.
5599
5600         * gst/gstbin.c: (gst_bin_change_state):
5601         Better debugging.
5602
5603         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5604         Also call pad_block in pad alloc.
5605
5606         * gst/gstutils.c: (gst_flow_get_name):
5607         Better debugging.
5608
5609 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5610
5611         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5612         (gst_base_src_get_range):
5613           Fix documentation typos. Add some more debug info.
5614
5615 2005-09-29  David Schleef  <ds@schleef.org>
5616
5617         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5618           more end-user friendly.
5619         * tools/gst-inspect.c: (main): Check if command-line argument is
5620           a file and attempt to load that file as a plugin.
5621
5622 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5623
5624         * check/gst/gstbin.c:
5625         * check/states/sinks.c:
5626           fix tests for the new warning
5627         * check/gst/gstpipeline.c:
5628           add a test for pipeline and bus interaction
5629         * gst/gstelement.c:
5630           elements should be NULL if they get disposed; add a warning if not
5631
5632 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5633
5634         * gst/gstobject.c:
5635           for 2.6 refcounting, make debug log more correct by printing
5636           the actual refcounts at the time of swap (Wim)
5637
5638 2005-09-29  Andy Wingo  <wingo@pobox.com>
5639
5640         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5641         removes signal watches previously added via
5642         gst_bus_add_signal_watch.
5643         (gst_bus_add_signal_watch): Don't return the source id, just store
5644         it on the bus if there wasn't an id already.
5645
5646         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5647         add_signal_watch and remove_signal_watch.
5648
5649 2005-09-29  Edward Hervey  <edward@fluendo.com>
5650
5651         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5652         Better if we actually iterate the list :)
5653
5654 2005-09-29  Wim Taymans  <wim@fluendo.com>
5655
5656         * check/gst/gstbin.c: (GST_START_TEST):
5657         Change for new bus API.
5658
5659         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5660         (send_messages), (GST_START_TEST), (gstbus_suite):
5661         Change for new bus signal API.
5662
5663         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5664         (gst_bus_source_prepare), (gst_bus_source_check),
5665         (gst_bus_create_watch), (gst_bus_add_watch_full),
5666         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5667         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5668         * gst/gstbus.h:
5669         Remove support for multiple GSources operating on different
5670         message types as it is too complex and unneeded when using
5671         signals.
5672         Added support for receiving signals from the bus.
5673
5674 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5675
5676         * docs/libs/tmpl/gstdataprotocol.sgml:
5677         * docs/manual/advanced-dataaccess.xml:
5678         * gst/elements/gstcapsfilter.c:
5679         * gst/gstutils.c:
5680           rename filter-caps to caps property
5681
5682 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5683
5684         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5685           More robust fraction string parsing.
5686
5687         * docs/pwg/appendix-porting.xml:
5688           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5689
5690 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5691
5692         * gst/gstcaps.c: (gst_caps_do_simplify):
5693           Thou shalt not free a structure and then continue using it
5694           in the next loop iteration.
5695
5696         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5697         (gst_caps_suite):
5698           Add test case for caps simplification.
5699
5700 2005-09-29  Wim Taymans  <wim@fluendo.com>
5701
5702         * check/gst/gstbin.c: (GST_START_TEST):
5703         Oops.
5704
5705 2005-09-29  Wim Taymans  <wim@fluendo.com>
5706
5707         * check/gst/gstbin.c: (GST_START_TEST):
5708         Add bus to bin.
5709
5710         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5711         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5712         (find_element), (gst_bin_sort_iterator_next),
5713         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5714         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5715         (gst_bin_change_state), (gst_bin_dispose):
5716         A bin does not have a bus, it gets the bus from the parent.
5717
5718         * gst/gstelement.c: (gst_element_requires_clock),
5719         (gst_element_provides_clock), (gst_element_is_indexable),
5720         (gst_element_is_locked_state), (gst_element_change_state),
5721         (gst_element_set_bus_func):
5722         Small cleanups.
5723
5724         * gst/gstpipeline.c: (gst_pipeline_class_init),
5725         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5726         The pipeline provides a bus.
5727
5728 2005-09-28  Johan Dahlin  <johan@gnome.org>
5729
5730         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5731         gst_structure_get_enum instead of gst_structure_get_int
5732
5733         * gst/gststructure.c (gst_structure_get_enum): Impl.
5734
5735         * gst/gststructure.h (gst_structure_get_enum): Add
5736
5737         * docs/gst/gstreamer-sections.txt: Ditto
5738
5739         * gst/gstmessage.c (gst_message_new_state_changed): Use
5740         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5741         which does introspection.
5742         Reviewed by Christian Schaller
5743
5744 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * gst/gstinfo.c: (gst_debug_log_default):
5747           don't do dummy g_strdup()s
5748         * libs/gst/controller/gstcontroller.c:
5749         (on_object_controlled_property_changed),
5750         (gst_controlled_property_new), (gst_controller_new_valist),
5751         (gst_controller_new_list),
5752         (gst_controller_remove_properties_valist), (gst_controller_set),
5753         (gst_controller_get), (gst_controller_sync_values),
5754         (gst_controller_get_value_array), (_gst_controller_class_init),
5755         (gst_controller_get_type):
5756         * libs/gst/controller/gstcontroller.h:
5757         * libs/gst/controller/gstinterpolation.c:
5758         (gst_controlled_property_find_timed_value_node):
5759           convert // to /**/ comments
5760
5761 2005-09-28  Wim Taymans  <wim@fluendo.com>
5762
5763         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5764         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5765         (gst_bus_sync_signal_handler):
5766         * gst/gstbus.h:
5767         Added async-message and sync-message signals to the bus.
5768         Added helper BusFunc to emit signals for all posted messages.
5769
5770         * gst/gstmessage.c: (gst_message_type_get_name),
5771         (gst_message_type_to_quark), (gst_message_get_type):
5772         * gst/gstmessage.h:
5773         Register quarks for message names.
5774
5775 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5776
5777         * docs/libs/gstreamer-libs-sections.txt:
5778         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5779         (gst_controller_new_list):
5780         * libs/gst/controller/gstcontroller.h:
5781           added another constructor for language bindings
5782
5783 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5784
5785         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5786           add another check
5787         * gst/gstbus.c:
5788           add some doc
5789         * gst/gstinfo.c: (_gst_debug_init):
5790           slightly more readable color for refcount debugging
5791
5792 2005-09-28  Wim Taymans  <wim@fluendo.com>
5793
5794         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5795         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5796         (find_element), (gst_bin_sort_iterator_next),
5797         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5798         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5799         (gst_bin_change_state), (gst_bin_dispose):
5800         Small doc fixes. get_clock -> provide_clock.
5801
5802         * gst/gstelement.c: (gst_element_class_init),
5803         (gst_element_provides_clock), (gst_element_provide_clock),
5804         (gst_element_get_clock), (gst_element_commit_state),
5805         (gst_element_lost_state):
5806         * gst/gstelement.h:
5807         Make get/set_clock() symetric. Add provide_clock vmethod since
5808         that is actually what this function does.
5809
5810         * gst/gstpipeline.c: (gst_pipeline_class_init),
5811         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5812         (gst_pipeline_get_clock):
5813         get_clock -> provide_clock.
5814
5815 2005-09-28  Andy Wingo  <wingo@pobox.com>
5816
5817         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5818         lieu of real docs...
5819
5820         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5821
5822 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5823
5824         * gst/elements/gstcapsfilter.c:
5825         * gst/elements/gstfakesink.c:
5826         * gst/elements/gstfakesrc.c:
5827         * gst/elements/gstfdsink.c:
5828         * gst/elements/gstfdsrc.c:
5829         * gst/elements/gstfilesink.c:
5830         * gst/elements/gstfilesrc.c:
5831         * gst/elements/gstidentity.c:
5832         * gst/elements/gsttee.c:
5833         * gst/elements/gsttypefindelement.c:
5834           Make element details static.
5835
5836 2005-09-28  Wim Taymans  <wim@fluendo.com>
5837
5838         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5839         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5840         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5841         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5842         (gst_bin_change_state), (gst_bin_dispose):
5843         Some documentation updates.
5844         Clean up dispose handlers.
5845
5846         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5847         * gst/gstpad.c: (gst_pad_dispose):
5848         Clean up dispose handler.
5849
5850         * gst/gstpipeline.c: (gst_pipeline_change_state):
5851         Removed spurious UNLOCK.
5852
5853 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * docs/gst/gstreamer-sections.txt:
5856         * gst/base/gstbasesrc.h:
5857         * gst/gstelement.h:
5858         * gst/gstevent.h:
5859         * gst/gstobject.h:
5860         * gst/gstpad.h:
5861         * gst/gstpipeline.c:
5862         * gst/gstpipeline.h:
5863         * gst/gstutils.h:
5864         * gst/gstxml.h:
5865           added two new functions to the docs
5866                 documents all undocumented GstXXXFlags
5867                 completed some incomplete docs 
5868
5869 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5870
5871         * gst/gstbin.c: (gst_bin_dispose):
5872         * gst/gstelement.c: (gst_element_dispose):
5873           remove now useless and leaky resurrection code in dispose
5874         * gst/base/gstbasesrc.c: (gst_base_src_init):
5875         * gst/gstelementfactory.c: (gst_element_factory_create):
5876         * gst/gstobject.c: (gst_object_set_parent):
5877           add some debugging
5878
5879 2005-09-27  Wim Taymans  <wim@fluendo.com>
5880
5881         * docs/design/part-TODO.txt:
5882         Update TODO.
5883
5884         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5885         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5886         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5887         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5888         (gst_bin_change_state):
5889         * gst/gstelement.h:
5890         Remove element variable, we keep element info in the iterator now.
5891
5892 2005-09-27  Andy Wingo  <wingo@pobox.com>
5893
5894         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5895         values.
5896
5897 2005-09-27  Wim Taymans  <wim@fluendo.com>
5898
5899         * check/gst/gstbin.c: (GST_START_TEST):
5900         Enable check that works now.
5901
5902         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5903         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5904         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5905         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5906         (gst_bin_change_state):
5907         * gst/gstbin.h:
5908         Redid the state change algorithm using a topological sort algo.
5909         Handles all cases correctly.
5910         Exposed iterator for state change order.
5911
5912         * gst/gstelement.h:
5913         Temp storage for state changes. Need to get rid of this soon.
5914
5915 2005-09-27  Wim Taymans  <wim@fluendo.com>
5916
5917         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5918         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5919         (link_fold_func), (gst_pad_proxy_setcaps):
5920         Leak fixes, the fold functions need to unref the passed object and
5921         _get_parent_*() returns ref to parent.
5922
5923 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * check/gst/gstbuffer.c: (test_make_writable):
5926           Plug leak in test case and fix 'make check-valgrind'
5927
5928 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5929
5930         * gst/gstbuffer.c: (gst_subbuffer_init):
5931           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5932           works correctly in all circumstances (we could have just copied
5933           the parent buffer's readonly flag, but conceptually it seems
5934           cleaner to mark all subbuffers as read-only). (based on patch
5935           by Alessandro Decina, #314710).
5936         
5937         * check/gst/gstbuffer.c: (create_read_only_buffer),
5938         (test_make_writable), (test_subbuffer_make_writable),
5939         (gst_test_suite):
5940           Add some tests for gst_buffer_make_writable().
5941
5942 2005-09-27  Wim Taymans  <wim@fluendo.com>
5943
5944         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5945         use gst_object_has_ancestor().
5946
5947         * gst/gstobject.c: (gst_object_has_ancestor):
5948         * gst/gstobject.h:
5949         gst_object_has_ancestor() copied from gstbin.c as it is a
5950         usefull function.
5951
5952         * tests/instantiate/create.c: (create_all_elements):
5953         * tests/lat.c: (handoff_src), (handoff_sink):
5954         * tests/sched/runxml.c: (main):
5955         * tests/seeking/seeking1.c: (main):
5956         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5957         (main):
5958         Fix compilation of some tests.
5959
5960 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5961
5962         * gst/gsterror.h:
5963           Remove comment. GST_TYPE_G_ERROR is here to stay,
5964           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5965           (#316961, #300610).
5966
5967 2005-09-26  Wim Taymans  <wim@fluendo.com>
5968
5969         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5970         Added check that shows error in state change order.
5971
5972 2005-09-26  Wim Taymans  <wim@fluendo.com>
5973
5974         * gst/gstbin.c: (gst_bin_change_state):
5975         Make state change function use 3 queues again, we were
5976         adding elements in the wrong order.
5977
5978         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5979         Some debug info,
5980
5981         * gst/gstpad.c: (gst_pad_dispose):
5982         Added some debug info first.
5983
5984 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * docs/design/draft-push-pull.txt:
5987         * docs/design/part-events.txt:
5988         * docs/design/part-overview.txt:
5989         * docs/design/part-scheduling.txt:
5990           Replace all _pull_region() with _pull_range()
5991           
5992 2005-09-26  Andy Wingo  <wingo@pobox.com>
5993
5994         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5995
5996         * check/gst-libs/controller.c: Update for controller api change.
5997
5998         * configure.ac: 
5999         * tests/Makefile.am:
6000         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6001         over by GLib bug 118439.
6002         
6003         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6004         routines to a function.
6005
6006         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6007
6008         * libs/gst/controller/gsthelper.c:
6009         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6010         (gst_object_sync_values): Renamed from sink_values. Ugh.
6011
6012         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6013
6014         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6015         Renamed from controller_key, as it is exported.
6016
6017         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6018
6019 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6020
6021         * gst/Makefile.am:
6022         * gst/gst.h:
6023         * gst/gstpad.h:
6024         * gst/gstpadtemplate.h:
6025         * gst/gstquery.c:
6026         * gst/gstquery.h:
6027         * gst/gstqueryutils.c:
6028         * gst/gstqueryutils.h:
6029           remove queryutils headers after moving the two used functions
6030           to gstquery.  also fixes build problem for gstsiddec
6031
6032 2005-09-26  Michael Smith <msmith@fluendo.com>
6033
6034         * tools/gst-launch.1.in:
6035         Correct documentation in manpage of debug syntax
6036
6037 2005-09-26  Wim Taymans  <wim@fluendo.com>
6038
6039         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6040         (gst_base_src_is_seekable), (gst_base_src_change_state):
6041         Some more debugging info.
6042
6043 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6044
6045         * docs/gst/gstreamer-sections.txt:
6046         * gst/base/gstbasetransform.h:
6047         * gst/gstindex.h:
6048           added more docs
6049
6050 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6051
6052         * docs/gst/.cvsignore:
6053         * docs/gst/tmpl/.cvsignore:
6054         * docs/gst/tmpl/gstpipeline.sgml:
6055         * docs/gst/tmpl/gstplugin.sgml:
6056         * gst/gstpipeline.c:
6057         * gst/gstplugin.c:
6058         * gst/gstplugin.h:
6059           inlined the last two docs files
6060           removed the tmpl directory from cvs (no more conflicts here!)
6061
6062 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6063
6064         * docs/gst/gstreamer-sections.txt:
6065         * docs/gst/tmpl/.cvsignore:
6066         * docs/gst/tmpl/gstpad.sgml:
6067         * docs/gst/tmpl/gstpadtemplate.sgml:
6068         * gst/Makefile.am:
6069         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6070         (gst_pad_finalize), (gst_pad_set_pad_template):
6071         * gst/gstpad.h:
6072         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6073         (gst_pad_template_class_init), (gst_pad_template_init),
6074         (gst_pad_template_dispose), (name_is_valid),
6075         (gst_static_pad_template_get), (gst_pad_template_new),
6076         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6077         (gst_pad_template_pad_created):
6078         * gst/gstpadtemplate.h:
6079           inlined two more docs
6080           factored gstpadtemplate out of gstpad
6081
6082 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6083
6084         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6085         (test_children_state_change_order_semi_sink):
6086           Fix test case: we can't rely on a fixed state change order when
6087           going from READY => PAUSED because the sink might commit its 
6088           new state first when the first buffer created by the source 
6089           reaches the sink before the source has finished its change state.
6090           (Test case still fails at times, see #316856, comment 5 onwards)
6091
6092 2005-09-24  Wim Taymans  <wim@fluendo.com>
6093
6094         * docs/design/part-events.txt:
6095         * docs/design/part-gstbus.txt:
6096         * docs/design/part-gstpipeline.txt:
6097         * docs/design/part-messages.txt:
6098         * docs/design/part-overview.txt:
6099         * docs/design/part-segments.txt:
6100         * gst/gstbin.c:
6101         * gst/gstbuffer.c:
6102         * gst/gstclock.c:
6103         * gst/gstelement.c:
6104         * gst/gstevent.c:
6105         * gst/gstfilter.c:
6106         * gst/gstiterator.c:
6107         Various documentation updates.
6108
6109 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6110
6111         * gst/gstclock.h:
6112           Well, that's embarassing.  Luckily we weren't using
6113           GST_CLOCK_DIFF anywhere.
6114
6115 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6116
6117         * common/gtk-doc.mak:
6118           don't fail on building XML, FC4 slave shows a bunch of doc
6119           missing bits that I don't get
6120         * gst/gstpad.c:
6121         * gst/gstpipeline.c:
6122         * gst/gststructure.c:
6123           some doc updates
6124
6125 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6126
6127         * docs/design/part-gstbin.txt:
6128         * docs/design/part-gstbus.txt:
6129         * gst/gstbus.c:
6130           Add blurb about how the bus goes into flushing mode and
6131           drops all messages when its bin goes from READY into NULL 
6132           state.
6133
6134 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6135
6136         * docs/gst/gstreamer-sections.txt:
6137         * gst/gststructure.c: (gst_structure_get_clock_time):
6138         * gst/gststructure.h:
6139           add a method to get a GstClockTime out of a structure
6140
6141 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6144         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6145           Added test to check state change order in bins (can still be made
6146           to fail here under heavy disk load; bails out with 'Push on pad
6147           fakesink:sink0, but it was not activated in push mode').
6148
6149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6150           Fix state change order when there is only a semi sink (#316856)
6151
6152         * gst/gstbus.c: (gst_bus_class_init):
6153           Use _class_peek_parent(), not _class_ref(); fix docs to say
6154           'default main context' instead of 'mainloop' where that is
6155           what's meant.
6156
6157         * gst/gstelement.c: (gst_element_commit_state),
6158         (gst_element_set_state):
6159           Fix typos in debug messages
6160
6161 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6162
6163         * docs/README:
6164         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6165         * gst/gstpluginfeature.c:
6166         * gst/gstutils.c:
6167           various doc updates
6168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6169           change an assert into an error until it gets fixed properly
6170
6171 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6172
6173         * docs/gst/gstreamer-sections.txt:
6174         * docs/gst/tmpl/.cvsignore:
6175         * docs/gst/tmpl/gstelement.sgml:
6176         * docs/gst/tmpl/gstinfo.sgml:
6177         * docs/gst/tmpl/gstobject.sgml:
6178         * gst/gstelement.c:
6179         * gst/gstelement.h:
6180         * gst/gstinfo.c:
6181         * gst/gstinfo.h:
6182         * gst/gstobject.c: (gst_object_class_init):
6183         * gst/gstobject.h:
6184           inlined 3 more biiiig doc files and added some missing docs on the fly
6185
6186 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6187
6188         * check/gst/.cvsignore:
6189         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6190         * gst/gstregistryxml.c: (load_plugin),
6191         (gst_registry_xml_save_plugin):
6192           put back source in registry.  add checks for find_plugin.
6193         * testsuite/states/bin.c: (assert_state), (empty_bin),
6194         (test_adding_one_element), (main):
6195         * testsuite/states/locked.c: (main):
6196           some compile/run fixes
6197
6198 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6199
6200         * check/gst/gstvalue.c: (GST_START_TEST):
6201           fix leaks in the test itself
6202
6203 2005-09-22  Wim Taymans  <wim@fluendo.com>
6204
6205         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6206         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6207         (gst_base_sink_query):
6208         Prepare for more accurate position reporting and query
6209         handling.
6210
6211         * gst/gstelement.c: (gst_element_send_event),
6212         (gst_element_set_state):
6213         Add some comment.
6214
6215 2005-09-22  Wim Taymans  <wim@fluendo.com>
6216
6217         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6218         (gst_query_parse_segment):
6219         * gst/gstquery.h:
6220         More documentation.
6221         Add segment query for future use.
6222
6223 2005-09-22  Wim Taymans  <wim@fluendo.com>
6224
6225         * gst/gstbin.c: (gst_bin_add_func):
6226         Some more debug info.
6227
6228         * gst/gstelement.c: (gst_element_send_event):
6229         Simplify send_event
6230
6231         * gst/gstelement.h:
6232         Don't know how flags got broken.
6233
6234         * gst/gstquery.h:
6235         Added new query.
6236
6237 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6240           Add simplistic test suite for GST_TYPE_DATE serialisation and
6241           deserialisation.
6242
6243 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * docs/gst/gstreamer-sections.txt:
6246         * gst/gststructure.c: (gst_structure_set_valist),
6247         (gst_structure_get_date):
6248         * gst/gststructure.h:
6249         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6250         (gst_date_copy), (gst_value_compare_date),
6251         (gst_value_serialize_date), (gst_value_deserialize_date),
6252         (gst_value_transform_date_string),
6253         (gst_value_transform_string_date), (_gst_value_initialize):
6254         * gst/gstvalue.h:
6255           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6256           bunch of utility functions along with a hack that checks that
6257           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6258           is required. Part of the grand scheme in #170777.
6259
6260 2005-09-22  Andy Wingo  <wingo@pobox.com>
6261
6262         * gst/gstconfig.h.in: Psych out gtk-doc.
6263
6264         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6265
6266         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6267
6268         * tools/gst-inspect.c (print_element_list): Plug some
6269         inconsequential leaks.
6270
6271         * gst/gstregistry.c (gst_registry_get_default): Doc.
6272
6273         * check/gst/gstplugin.c: 
6274         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6275         * gst/gstelementfactory.c (gst_element_factory_create): 
6276         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6277         refcount changes.
6278
6279         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6280         (gst_plugin_feature_load): Doc, don't eat refs.
6281
6282         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6283         (gst_plugin_list_free): Doc.
6284         (gst_plugin_load_file): Doc updates.
6285
6286         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6287         accessors returning refcounted objects, return a ref.
6288
6289         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6290         accessor for caps. IDEMPOTENCE. Oh yes.
6291
6292 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6293
6294         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6295
6296         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6297         (_gst_debug_register_funcptr):
6298           Add mutex to serialise access to the hash table with
6299           the function pointer => function name string mapping;
6300           make that hash table static scope (#316809).
6301
6302         * gst/registries/.cvsignore:
6303           Remove left-over file.
6304
6305 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6306
6307         * docs/pwg/appendix-porting.xml:
6308           And something about newsegment events and caps-on-buffers to
6309           the porting guide (feel free to improve).
6310
6311 2005-09-21  Andy Wingo  <wingo@pobox.com>
6312
6313         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6314         data and event probes on the same pad.
6315         (test_buffer_probe_once): Test that removing probes from within
6316         the probe functions works.
6317
6318 2005-09-21  Andy Wingo  <wingo@pobox.com>
6319
6320         * check/gst/gstutils.c: New file.
6321         (test_buffer_probe_n_times): A simple buffer probe test. More to
6322         come, foolios.
6323
6324         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6325         have-data::buffer, not have-data.
6326         (gst_pad_add_event_probe): Likewise for have-data::event.
6327         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6328         peer' isn't quite right yet though.
6329         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6330         (gst_pad_remove_data_probe): Change to take the guint handler_id
6331         as their arg, not the function+data, which is more glib-like.
6332
6333         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6334         the signal emission to indicate if the data is a buffer or an
6335         event.
6336         (gst_pad_get_type): Initialize buffer and event quarks.
6337         (gst_pad_class_init): have-data is now a detailed signal, yes it
6338         is.
6339
6340 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6341
6342         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6343         * gst/gstutils.c: (gst_util_set_value_from_string),
6344         (gst_util_set_object_arg):
6345           Don't put functional code in g_return_if_fail() or
6346           g_return_val_if_fail() statements, otherwise things will 
6347           break when G_DISABLE_CHECKS is defined during compilation.
6348
6349 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6350
6351         * docs/gst/tmpl/.cvsignore:
6352         * docs/gst/tmpl/gstvalue.sgml:
6353         * gst/gstvalue.c:
6354         * gst/gstvalue.h:
6355           inlied another one and added  some obvious docs
6356
6357 2005-09-21  Wim Taymans  <wim@fluendo.com>
6358
6359         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6360         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6361         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6362         (gst_fdsrc_get_property), (gst_fdsrc_create):
6363         * gst/elements/gstfdsrc.h:
6364         Properly implement fdsrc. Removed signal and timeout,
6365         better implemented somewhere else.
6366
6367 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * docs/gst/tmpl/.cvsignore:
6370         * docs/gst/tmpl/gstimplementsinterface.sgml:
6371         * gst/gstinterface.c:
6372           inlined more docs
6373
6374 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * docs/gst/gstreamer-sections.txt:
6377         * docs/gst/tmpl/.cvsignore:
6378         * docs/gst/tmpl/gstenumtypes.sgml:
6379           remove obsolete doc file
6380
6381 2005-09-21  David Schleef  <ds@schleef.org>
6382
6383         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6384         little beer, fix a little leak.
6385
6386 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6387
6388         * docs/gst/gstreamer-docs.sgml:
6389         * docs/gst/gstreamer-sections.txt:
6390         * docs/gst/tmpl/.cvsignore:
6391         * gst/Makefile.am:
6392         * gst/gst.h:
6393         * gst/gstbin.c:
6394         * gst/gstelement.h:
6395         * gst/gstindex.c: (gst_index_class_init):
6396         * gst/gstindex.h:
6397         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6398         (gst_index_factory_class_init), (gst_index_factory_init),
6399         (gst_index_factory_finalize), (gst_index_factory_new),
6400         (gst_index_factory_destroy), (gst_index_factory_find),
6401         (gst_index_factory_create), (gst_index_factory_make):
6402         * gst/gstindexfactory.h:
6403         * gst/gstpluginfeature.c:
6404         * gst/gstpluginfeature.h:
6405         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6406           more docs inlined, splitted gstindex.{c,h}
6407
6408 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6409
6410         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6411           fix a leak
6412
6413 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6414
6415         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6416           Set sync to FALSE by default.
6417
6418 2005-09-20  Wim Taymans  <wim@fluendo.com>
6419
6420         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6421         (gst_base_sink_init):
6422         Make sync property settable from subclass.
6423
6424         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6425         (gst_fake_sink_change_state):
6426         Set sync to FALSE by default.
6427
6428 2005-09-20  Wim Taymans  <wim@fluendo.com>
6429
6430         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6431         * tools/gst-launch.c: (main):
6432         The timeout handler should have lower priority than the source
6433         so we don't timeout before popping a message with 0 timeout.
6434         Dump error messages after failed state change.
6435
6436 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * tools/gst-inspect.c: (print_element_properties_info):
6439           Fix two typos.
6440
6441 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6442
6443         * check/gst/gstevent.c:
6444         * gst/elements/gstfakesink.c:
6445         * gst/elements/gstfakesink.h:
6446           remove the sync property from fakesink.
6447           has the side effect of setting sync TRUE
6448           for fakesink, which is a change.  Anyone who knows how
6449           to fix this nicely in a GObject-y way, feel free.
6450
6451 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6452
6453         * docs/gst/gstreamer-docs.sgml:
6454           remove probe refsection
6455
6456 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6457
6458         * check/Makefile.am:
6459           disable valgrinding the controller test again
6460         * docs/gst/gstreamer-sections.txt:
6461           update for api-changes
6462
6463 2005-09-20  Wim Taymans  <wim@fluendo.com>
6464
6465         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6466         (gst_base_sink_set_property), (gst_base_sink_get_property),
6467         (gst_base_sink_do_sync):
6468         * gst/base/gstbasesink.h:
6469         Added sync property to basesink to disable clock sync.
6470
6471 2005-09-20  Andy Wingo  <wingo@pobox.com>
6472
6473         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6474         eating the caller's refcount.
6475
6476         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6477         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6478         refcount.
6479
6480         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6481         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6482         of GLib 2.8 public, so we can know which refcount to check in
6483         tests.
6484
6485         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6486         (gst_object_init): Only set the gst refcount if we're going ahead
6487         with the refcount hack.
6488
6489 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6490
6491         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6492         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6493           more leaks plumbed, added more debug-logging
6494         * gst/gstmacros.h:
6495           whitespace fix
6496
6497 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6498
6499         * gst/gstmessage.c:
6500           remove include of gstmemchunk.h
6501
6502 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6503
6504         * gst/gstclock.c: (_gst_clock_id_free):
6505           Commit from the Political Party For More Atomic CVS Commits,
6506           so that people don't waste too much of their day fishing
6507           out obvious leaks out of massive commits.
6508           Oh, and fix a pretty damn obvious leak in the memchunk
6509           removal code.
6510
6511 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6512
6513         * check/Makefile.am:
6514         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6515           plug mem-leak, re-add to valgrindable tests
6516
6517 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6518
6519         * gst/gstplugin.h:
6520           unbreak the build for those who have chronic arthritis
6521           and typing "make check" is just too taxing on the hands
6522
6523 2005-09-20  Andy Wingo  <wingo@pobox.com>
6524
6525         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6526         really want it out, you should fix plugins at the same time.
6527
6528 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6529
6530         * configure.ac:
6531         * docs/gst/gstreamer-sections.txt:
6532         * gst/gstobject.c:
6533           added missing symbols to api docs
6534           disable ref-count hack if we have glib >= 2.8
6535
6536 2005-09-19  David Schleef  <ds@schleef.org>
6537
6538         * docs/gst/Makefile.am: Ignore a few more internal headers
6539         * docs/gst/gstreamer-docs.sgml: Remove old sections
6540         * docs/gst/gstreamer-sections.txt: Remove old sections
6541         * docs/gst/tmpl/gstobject.sgml: update
6542         * docs/gst/tmpl/gstplugin.sgml: update
6543         * docs/gst/tmpl/gstpluginfeature.sgml: update
6544         * docs/random/ds/0.9-suggested-changes: update.
6545         * gst/Makefile.am: remove memchunk and trashstack, since they're
6546           not used.
6547         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6548         * gst/gst.h: don't include some headers
6549         * gst/gstchildproxy.c: add gstmarshal.h
6550         * gst/gstclock.c: Don't use memchunks
6551         * gst/gstminiobject.c: Add some docs
6552         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6553         * gst/gstobject.h: same
6554         * gst/gstplugin.c: include gstmacros.h
6555         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6556         * gst/gstquery.c: don't use memchunks
6557         * gst/gstregistry.c: rename gst_registry_deinit()
6558         * gst/gstregistry.h: same
6559
6560 2005-09-19  David Schleef  <ds@schleef.org>
6561
6562         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6563         * docs/libs/gstreamer-libs-sections.txt:
6564         * docs/libs/tmpl/gstgetbits.sgml:
6565         * docs/libs/tmpl/gstputbits.sgml:
6566
6567 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * win32/gstenumtypes.c:
6570         * win32/gstenumtypes.h:
6571           Update.
6572
6573 2005-09-19  Wim Taymans  <wim@fluendo.com>
6574
6575         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6576         Automatically PAUSE and RESUME a pipeline when a flushing seek
6577         is performed.
6578
6579 2005-09-19  Andy Wingo  <wingo@pobox.com>
6580
6581         * gst/gstregistry.h: Spacing fixen.
6582
6583 2005-09-19  Wim Taymans  <wim@fluendo.com>
6584
6585         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6586         Handle state change failure more correctly.
6587
6588 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6589
6590         * check/Makefile.am:
6591         * check/pipelines/cleanup.c: (run_pipeline):
6592         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6593         (GST_START_TEST):
6594           enable cleanup again after fixing the leak
6595         * docs/README:
6596           some more info on docs
6597
6598 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6599
6600         * check/Makefile.am:
6601           re-enable tests now that leaks are plugged
6602         * check/gst/gst.c:
6603         * check/gst/gstbin.c:
6604         * check/gst/gstpipeline.c:
6605           add some more tests while fixing leaks
6606         * common/check.mak:
6607           make sure binaries are uptodate when valgrinding/gdbing
6608         * gst/gst.c:
6609         * gst/gstelementfactory.c:
6610           remove a ref too many, and add a FIXME for when we get
6611           round to disposing of classes
6612         * gst/gstplugin.c:
6613           fix the refcounting when loading a plugin from a file and
6614           the code pretends that the pointer is the same even though
6615           of course it can change
6616         * gst/gstpluginfeature.c:
6617           unref plugins marked cached (a bit confusing as a name)
6618           as the docs state should be done
6619           various doc additions to explain refcounting
6620         * gst/gstregistry.c:
6621         * gst/gstregistryxml.c:
6622           debugging
6623
6624 2005-09-19  Wim Taymans  <wim@fluendo.com>
6625
6626         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6627         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6628         (send_messages), (GST_START_TEST), (gstbus_suite):
6629         * check/gst/gstpipeline.c: (GST_START_TEST):
6630         * check/pipelines/cleanup.c: (run_pipeline):
6631         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6632         (GST_START_TEST):
6633         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6634         (gst_bus_source_check), (gst_bus_source_dispatch),
6635         (gst_bus_create_watch), (gst_bus_add_watch_full),
6636         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6637         * gst/gstbus.h:
6638         * tools/gst-launch.c: (event_loop):
6639         * tools/gst-md5sum.c: (event_loop):
6640         GstBusHandler -> GstBusFunc, return value has the same meaning as
6641         any other GSource (FALSE == remove source).
6642         _add_watch() and _add_watch_full() now take a MessageType mask to
6643         only handle specific types of messages.
6644         _poll() returns the GstMessage instead of the message type to avoid
6645         race conditions.
6646         _have_pending() takes a MessageType mask now too.
6647         Added testsuite for multiple bus watches.
6648         Fix testsuites and applications for new bus API.
6649
6650 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6651
6652         * check/Makefile.am:
6653           mark a bunch of the tests as to fix until we fix them
6654
6655 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6656
6657         * common/check.mak:
6658           use GST_PLUGIN settings for valgrind tests as well, so we're
6659           valgrinding the correct thing
6660         * gst/gst.c: (init_post):
6661           plug another leak
6662
6663 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6664
6665         * gst/gst.c: (init_post), (gst_deinit):
6666         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6667         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6668         * gst/gstindex.c: (gst_index_factory_class_init),
6669         (gst_index_factory_finalize):
6670         * gst/gstobject.c: (gst_object_dispose):
6671         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6672         (gst_plugin_load_file), (gst_plugin_desc_free):
6673         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6674         (gst_plugin_feature_finalize):
6675         * gst/gstregistry.c: (gst_registry_class_init),
6676         (gst_registry_init), (gst_registry_finalize),
6677         (gst_registry_get_default), (gst_registry_deinit):
6678         * gst/gstregistry.h:
6679         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6680           various cleanups and memleak plugging.  make valgrind is happy now.
6681
6682 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6683
6684         * common/check.mak:
6685           add a check-valgrind target
6686
6687 2005-09-18  David Schleef  <ds@schleef.org>
6688
6689         * tools/gst-inspect.c: Revert the GOption code.
6690
6691 2005-09-17  David Schleef  <ds@schleef.org>
6692
6693         * check/Makefile.am: Fix environment variables.
6694         * check/gst/gstplugin.c: Fix for API changes.
6695         * tools/gst-inspect.c: Fix for API changes.
6696         * tools/gst-xmlinspect.c: Fix for API changes.
6697         * gst/gstelementfactory.c:
6698         * gst/gstplugin.c:
6699         * gst/gstplugin.h:
6700         * gst/gstpluginfeature.c:
6701         * gst/gstpluginfeature.h:
6702         * gst/gstregistry.c:
6703         * gst/gstregistry.h:
6704         * gst/gstregistryxml.c:
6705         * gst/gsttypefind.c:
6706         * gst/gsttypefindfactory.c:
6707         * gst/indexers/gstfileindex.c:
6708         * gst/indexers/gstmemindex.c:
6709         * gst/schedulers/Makefile.am:
6710           Change registry to keep track of both plugins and features,
6711           removing the feature tracking from plugins themselves.
6712
6713 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6714
6715         * check/Makefile.am:
6716         * tools/gst-register.1.in:
6717           remove gst-register
6718
6719 2005-09-15  David Schleef  <ds@schleef.org>
6720
6721         * check/gst/gstplugin.c:
6722         * gst/gstelementfactory.c:
6723         * gst/gstplugin.c:
6724         * gst/gstpluginfeature.c:
6725         * gst/gstregistry.c:
6726           Getting tired of debugging.  Disabled all the unreffing of
6727           plugins and features, which fixes the segfaults, but of
6728           course leaks like crazy.  At least playbin works.
6729
6730 2005-09-15  David Schleef  <ds@schleef.org>
6731
6732         * check/gst/gstplugin.c: (register_check_elements),
6733         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6734         More testing
6735         * gst/elements/gsttypefindelement.c: Fix refcounting.
6736         * gst/gsttypefind.c:
6737         * gst/gsttypefindfactory.c:
6738         * gst/gsttypefindfactory.h:
6739
6740 2005-09-15  David Schleef  <ds@schleef.org>
6741
6742         * gst/gstindex.c: get refcounting correct.
6743         * gst/gstregistry.c: Handle the case where a feature/plugin is
6744           not found.
6745
6746 2005-09-15  David Schleef  <ds@schleef.org>
6747
6748         * check/Makefile.am:
6749         * check/gst/gstplugin.c: Add test
6750         * gst/gstplugin.c: Fix problems noticed by testsuite
6751         * gst/gstplugin.h:
6752         * gst/gstregistry.c: 
6753         * gst/gstregistry.h:
6754
6755 2005-09-15  David Schleef  <ds@schleef.org>
6756
6757         * gst/gstplugin.c: Implement semi-decent recounting and locking
6758           in plugins and plugin features.
6759         * gst/gstplugin.h:
6760         * gst/gstpluginfeature.c:
6761         * gst/gstpluginfeature.h:
6762         * gst/gstregistry.c:
6763
6764 2005-09-15  Michael Smith <msmith@fluendo.com>
6765
6766         * gst/gstregistry.c: (gst_registry_get_feature_list):
6767           Implement this. Makes oggdemux work; decodebin still broken.
6768
6769 2005-09-14  David Schleef  <ds@schleef.org>
6770
6771         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6772           #316076)
6773         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6774         * gst/check/Makefile.am:
6775         * libs/gst/controller/Makefile.am:
6776         * libs/gst/dataprotocol/Makefile.am:
6777
6778 2005-09-14  David Schleef  <ds@schleef.org>
6779
6780         * configure.ac: Remove getbits library.  Nothing uses it, and
6781           it should be in something like liboil if someone did want
6782           to use it.
6783         * libs/gst/Makefile.am:
6784         * libs/gst/getbits/Makefile.am:
6785         * libs/gst/getbits/gbtest.c:
6786         * libs/gst/getbits/getbits.c:
6787         * libs/gst/getbits/getbits.h:
6788         * libs/gst/getbits/gstgetbits_generic.c:
6789         * libs/gst/getbits/gstgetbits_i386.s:
6790         * libs/gst/getbits/gstgetbits_inl.h:
6791
6792 2005-09-14  David Schleef  <ds@schleef.org>
6793
6794         * gst/Makefile.am: Dist glib-compat.h
6795
6796 2005-09-14  David Schleef  <ds@schleef.org>
6797
6798         * configure.ac: Remove gst/registries, since it's no longer used.
6799         * gst/registries/Makefile.am:
6800         * gst/registries/gstlibxmlregistry.c:
6801         * gst/registries/gstlibxmlregistry.h:
6802         * gst/registries/gstxmlregistry.c:
6803         * gst/registries/gstxmlregistry.h:
6804         * gst/registries/registrytest.c:
6805
6806 2005-09-14  David Schleef  <ds@schleef.org>
6807
6808         * gst/glib-compat.h:
6809         * gst/gstregistryxml.c:
6810           Convergence is near.  Seriously.
6811
6812 2005-09-14  David Schleef  <ds@schleef.org>
6813
6814         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6815         * gst/glib-compat.h:
6816           Attempt #4 to appease the buildbots.
6817
6818 2005-09-14  David Schleef  <ds@schleef.org>
6819
6820         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6821           Attempt #3.
6822
6823 2005-09-14  David Schleef  <ds@schleef.org>
6824
6825         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6826         Attempt #2.
6827
6828 2005-09-14  David Schleef  <ds@schleef.org>
6829
6830         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6831           the new functions.
6832
6833 2005-09-14  David Schleef  <ds@schleef.org>
6834
6835         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6836         * gst/glib-compat.h: Add some functions that are in newer versions
6837           of glib than we care to require.
6838         * gst/gstregistryxml.c: Use them.
6839
6840 2005-09-14  David Schleef  <ds@schleef.org>
6841
6842         * po/POTFILES.in: remove gst-register.c
6843
6844 2005-09-14  David Schleef  <ds@schleef.org>
6845
6846         * docs/gst/gstreamer-docs.sgml:
6847         * docs/gst/gstreamer-sections.txt:
6848         * docs/gst/gstreamer.types:
6849         * docs/gst/tmpl/gstelement.sgml:
6850         * docs/gst/tmpl/gstplugin.sgml:
6851         * docs/gst/tmpl/gstpluginfeature.sgml:
6852           Documentation updates for registry changes.
6853
6854 2005-09-14  David Schleef  <ds@schleef.org>
6855
6856         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6857           because we don't require glib-2.8.
6858
6859 2005-09-14  David Schleef  <ds@schleef.org>
6860
6861         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6862           registries directory.
6863
6864 2005-09-14  David Schleef  <ds@schleef.org>
6865
6866         * check/Makefile.am:
6867         * check/generic/states.c:
6868         * gst/Makefile.am:
6869         * gst/gst.c:
6870         * gst/gst.h:
6871         * gst/gst_private.h:
6872         * gst/gstelementfactory.c:
6873         * gst/gstindex.c:
6874         * gst/gstinfo.c:
6875         * gst/gstplugin.c:
6876         * gst/gstplugin.h:
6877         * gst/gstpluginfeature.c:
6878         * gst/gstpluginfeature.h:
6879         * gst/gstregistry.c:
6880         * gst/gstregistry.h:
6881         * gst/gstregistrypool.c: remove
6882         * gst/gstregistrypool.h: remove
6883         * gst/gsttypefind.c:
6884         * gst/gsttypefindfactory.c:
6885         * gst/gsturi.c:
6886         * tools/Makefile.am:
6887         * tools/gst-compprep.c:
6888         * tools/gst-inspect.c:
6889         * tools/gst-register.c: remove
6890         * tools/gst-xmlinspect.c:
6891           Registry rewrite.  Changes registry from being a file created
6892           by a tool into a simple cache file created automatically by 
6893           libgstreamer.  Removed gst-register (because it's no longer
6894           needed).  Remove registry pools, because we only have one
6895           registry implementation (XML).  Fix up other subsystems as
6896           necessary.
6897
6898 2005-09-13  Michael Smith <msmith@fluendo.com>
6899
6900         * gst/gstconfig.h.in:
6901           Don't Use windows linking attributes for MinGW. Fixes #316157
6902
6903 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6904
6905         * gst/gstutils.c: (set_state_async_thread_func),
6906         (gst_element_set_state_async):
6907           Apparently people think it's better if this function doesn't
6908           try to set the state to whatever state was asked for on the first
6909           call to this function for any object.  Seriously.
6910
6911 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6912
6913         * check/gst/gstpipeline.c: (GST_START_TEST):
6914         * docs/gst/gstreamer-sections.txt:
6915         * gst/gstutils.c: (set_state_async_thread_func),
6916         (gst_element_set_state_async):
6917         * gst/gstutils.h:
6918           add a "gst_element_set_state_async" method that
6919           sets the state and starts a thread to make sure the state
6920           change completes as best as it can
6921
6922 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6923
6924         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6925           codify design+behaviour in testsuite after discussion
6926
6927 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6928
6929         * docs/gst/tmpl/gstelement.sgml:
6930         * docs/manual/appendix-quotes.xml:
6931           add a quote
6932         * gst/gstelement.c: (gst_element_set_state):
6933           add some debug
6934
6935 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6936
6937         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6938         (gst_base_transform_prepare_output_buf),
6939         (gst_base_transform_handle_buffer):
6940         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6941         (gst_capsfilter_prepare_buf):
6942           Remove the requirement for sub-classes to call the parent
6943           implementation of prepare_output_buffer with a wrapper function.
6944           
6945         * gst/gsttaglist.h:
6946         * gst/gsttagsetter.h:
6947           Fix #define wrapper
6948
6949 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6950
6951         * docs/gst/gstreamer-sections.txt:
6952           more doc cleanups
6953
6954 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6955
6956         * docs/gst/gstreamer-sections.txt:
6957         * docs/gst/tmpl/gstelement.sgml:
6958         * docs/gst/tmpl/gstplugin.sgml:
6959         * gst/gstminiobject.c:
6960         * gst/gstvalue.h:
6961           docs now stop throwing warnings
6962
6963 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6964
6965         * docs/gst/gstreamer-sections.txt:
6966         * docs/gst/gstreamer.types:
6967         * docs/gst/tmpl/gstpad.sgml:
6968         * docs/gst/tmpl/gsttypes.sgml:
6969         * gst/base/gstadapter.h:
6970         * gst/base/gstbasesink.h:
6971         * gst/base/gstbasesrc.h:
6972         * gst/gstbin.h:
6973         * gst/gstbuffer.h:
6974         * gst/gstbus.h:
6975         * gst/gstcaps.h:
6976         * gst/gstclock.h:
6977         * gst/gstelement.h:
6978         * gst/gstevent.h:
6979         * gst/gstmessage.h:
6980         * gst/gstpad.h:
6981         * gst/gststructure.c:
6982         * gst/registries/gstlibxmlregistry.h:
6983           various documentation fixes
6984
6985 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6986
6987         * docs/gst/gstreamer-sections.txt:
6988         * docs/gst/tmpl/gstvalue.sgml:
6989           rearrange gstvalue section
6990         * gst/gstutils.c: (gst_element_state_get_name):
6991           NONE -> VOID
6992         * gst/gstvalue.c: (_gst_value_initialize):
6993         * gst/gstvalue.h:
6994           doc updates
6995
6996 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6997
6998         * check/gst-libs/controller.c:
6999           Header include fix.
7000         * gst/base/gstbasetransform.c:
7001         (gst_base_transform_default_prepare_buf),
7002         (gst_base_transform_handle_buffer):
7003         * gst/base/gstbasetransform.h:
7004           Some more basetransform changes and fixes to enable sub-classes
7005           that modify buffer metadata only.
7006         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7007         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7008         (gst_capsfilter_prepare_buf):
7009           If the output pad has fixed allowed caps and input buffers 
7010           don't have any, set the fixed caps on outgoing buffers.
7011
7012 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7013         * check/elements/identity.c: (GST_START_TEST):
7014           Make the error a little clearer when the test fails because
7015           identity made a copy of the buffer.
7016         * docs/gst/gstreamer-sections.txt:
7017           New symbols in gstbasetransform.h
7018         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7019         (gst_base_transform_init), (gst_base_transform_transform_size),
7020         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7021         (gst_base_transform_default_prepare_buf),
7022         (gst_base_transform_get_unit_size),
7023         (gst_base_transform_buffer_alloc),
7024         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7025         (gst_base_transform_change_state),
7026         (gst_base_transform_set_passthrough),
7027         (gst_base_transform_set_in_place),
7028         (gst_base_transform_is_in_place):
7029         * gst/base/gstbasetransform.h:
7030           Change BaseTransform to separate in_place operate from same_caps
7031           output. in_place implies that the element can perform the transform
7032           on incoming buffers in-place, even if the caps on the output are
7033           different.
7034           Sub-class elements can now implement special buffer allocation
7035           methods for outgoing buffers if they wish to.
7036           Big documentation addition.
7037         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7038         * gst/elements/gstelements.c:
7039           Changes for basetransform modifications.
7040         * gst/elements/Makefile.am:
7041         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7042           Compile fix. Extra debug output.
7043
7044 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7045
7046         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7047         (gst_pad_suite):
7048           add tests for valid pad naming
7049         * gst/check/gstcheck.c: (gst_check_log_message_func),
7050         (gst_check_log_critical_func):
7051           add ASSERT_WARNING
7052           remove printing of code, it is fragile when the code contains
7053           % and the line number is enough info
7054         * gst/check/gstcheck.h:
7055         * gst/gstpad.c: (gst_pad_template_new):
7056           fix memleaks
7057
7058 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7059
7060         * configure.ac:
7061           say what CHECK flags we use
7062         * docs/libs/gstreamer-libs.types:
7063         * libs/gst/controller/Makefile.am:
7064         * libs/gst/controller/gst-controller.c:
7065         * libs/gst/controller/gst-controller.h:
7066         * libs/gst/controller/gst-helper.c:
7067         * libs/gst/controller/gst-interpolation.c:
7068         * libs/gst/controller/gstcontroller.c:
7069         * libs/gst/controller/gsthelper.c:
7070         * libs/gst/controller/gstinterpolation.c:
7071         * tools/gst-inspect.c: (print_plugin_info):
7072           we don't use dashes in header names
7073
7074 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7075
7076         * check/Makefile.am:
7077         * check/gst/.cvsignore:
7078         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7079         (gst_pipeline_suite), (main):
7080           adding a test for pipelines and state changes
7081         * gst/gstutils.c: (get_state_func):
7082           add some debugging
7083         * gstreamer.spec.in:
7084           fix up spec file
7085
7086 2005-09-08  Michael Smith <msmith@fluendo.com>
7087
7088         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7089         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7090         (gst_file_src_is_seekable), (gst_file_src_get_size),
7091         (gst_file_src_start):
7092         * gst/elements/gstfilesrc.h:
7093           Various fixes for unseekable, unmmapable, and non-normal files, so
7094           that fallback to read() rather than mmap() works.
7095         * gst/gstevent.c: (gst_event_new_newsegment):
7096           Allow newsegment events with segment_start == segment_end, as will
7097           correctly happen if you use filesrc on a zero-size file, for
7098           example.
7099
7100 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7101
7102         * gst/gstplugin.c: (gst_plugin_load_file):
7103           Call g_module_close when we don't load the module
7104
7105         * gst/registries/gstlibxmlregistry.c:
7106         (gst_xml_registry_get_property):
7107           Port leak fix from 0.8
7108
7109 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7110
7111         * docs/gst/gstreamer-docs.sgml:
7112         * docs/gst/tmpl/.cvsignore:
7113         * docs/gst/tmpl/gsttrace.sgml:
7114         * docs/gst/tmpl/gsttrashstack.sgml:
7115         * gst/Makefile.am:
7116         * gst/gst.h:
7117         * gst/gstelement.h:
7118         * gst/gstevent.h:
7119         * gst/gstmessage.c:
7120         * gst/gstmessage.h:
7121         * gst/gsttag.c:
7122         * gst/gsttag.h:
7123         * gst/gsttaginterface.c:
7124         * gst/gsttaginterface.h:
7125         * gst/gsttaglist.c:
7126         * gst/gsttaglist.h:
7127         * gst/gsttagsetter.c:
7128         * gst/gsttagsetter.h:
7129         * gst/gsttrace.c:
7130         * gst/gsttrace.h:
7131         * gst/gsttrashstack.c:
7132           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7133           inlined docs for gsttrace, gsttrashstack
7134
7135 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7136
7137         * gst/Makefile.am:
7138         * gst/elements/gstbufferstore.h:
7139         * gst/elements/gsttypefindelement.c:
7140         * gst/elements/gsttypefindelement.h:
7141         * gst/gst.h:
7142         * gst/gsttypefind.c:
7143         * gst/gsttypefind.h:
7144         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7145         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7146         (gst_type_find_factory_dispose),
7147         (gst_type_find_factory_unload_thyself),
7148         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7149         (gst_type_find_factory_get_caps),
7150         (gst_type_find_factory_get_extensions),
7151         (gst_type_find_factory_call_function):
7152         * gst/gsttypefindfactory.h:
7153         * gst/registries/gstlibxmlregistry.c:
7154         * gst/registries/gstxmlregistry.c:
7155           splitted gsttypefind into gsttypefind, gsttypefindfactory
7156
7157 2005-09-07  Andy Wingo  <wingo@pobox.com>
7158
7159         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7160         condition whereby the pad's task function is entered before the
7161         pad_mode variable was set.
7162
7163 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7164
7165         * gst/gstpad.c: (gst_pad_alloc_buffer):
7166           Catch misbehaving pad_alloc functions that don't
7167           set up caps and do it for them.
7168
7169 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7170
7171         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7172           test for pipe!=NULL
7173         * docs/gst/tmpl/.cvsignore:
7174         * docs/gst/tmpl/gstmemchunk.sgml:
7175         * docs/gst/tmpl/gstparse.sgml:
7176         * docs/gst/tmpl/gsttaglist.sgml:
7177         * docs/gst/tmpl/gsttagsetter.sgml:
7178         * docs/gst/tmpl/gsttypefind.sgml:
7179         * docs/gst/tmpl/gsttypefindfactory.sgml:
7180         * gst/gstmemchunk.c:
7181         * gst/gstparse.c:
7182         * gst/gsttag.c:
7183         * gst/gsttaginterface.c:
7184         * gst/gsttypefind.c:
7185         * gst/gsttypefind.h:
7186           inlined more docs
7187
7188 === release 0.9.2 ===
7189
7190 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7191
7192         * NEWS:
7193         * RELEASE:
7194         * configure.ac:
7195           releasing 0.9.2, "South"
7196
7197 2005-09-05  Andy Wingo  <wingo@pobox.com>
7198
7199         * gst/registries/gstxmlregistry.h:
7200         * gst/registries/gstxmlregistry.c: Um... resurrect...
7201         
7202         * gst/registries/gstxmlregistry.h:
7203         * gst/registries/gstxmlregistry.c: and update to newer API.
7204         Incidentally they should be a bit faster now that they don't have
7205         to parse the caps.
7206         
7207 2005-09-05  Andy Wingo  <wingo@pobox.com>
7208
7209         * gst/registries/gstxmlregistry.h:
7210         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7211         replaced by the libxml registry a while back
7212
7213 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7214
7215         * docs/gst/tmpl/gstplugin.sgml:
7216         * gst/elements/gstelements.c:
7217         * gst/gst.c:
7218         * gst/gstplugin.c: (gst_plugin_register_func),
7219         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7220         (gst_plugin_get_source):
7221         * gst/gstplugin.h:
7222         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7223         (gst_xml_registry_save_plugin):
7224         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7225         (gst_xml_registry_save_plugin):
7226         * tools/gst-inspect.c: (print_plugin_info):
7227           add a "source" plugin description field, to represent the source
7228           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7229           will set it to PACKAGE, which is automake's idea of the name of
7230           the source project.
7231
7232 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7233
7234         * Makefile.am:
7235         * autogen.sh:
7236         * configure.ac:
7237         * docs/Makefile.am:
7238         * docs/faq/Makefile.am:
7239         * docs/gst/tmpl/gstelement.sgml:
7240         * docs/gst/tmpl/gsttypes.sgml:
7241         * docs/htmlinstall.mak:
7242         * docs/manual/Makefile.am:
7243         * docs/pwg/Makefile.am:
7244           reorganize doc build a little
7245           split out docbook and gtk-doc stuff
7246           have two separate --enable's and enable them through autogen
7247           but disable by default in configure (to be similar to other
7248           projects)
7249         * gstreamer.spec.in:
7250           clean up docs install
7251         * po/af.po:
7252         * po/az.po:
7253         * po/ca.po:
7254         * po/cs.po:
7255         * po/de.po:
7256         * po/en_GB.po:
7257         * po/fr.po:
7258         * po/it.po:
7259         * po/nb.po:
7260         * po/nl.po:
7261         * po/ru.po:
7262         * po/sq.po:
7263         * po/sr.po:
7264         * po/sv.po:
7265         * po/tr.po:
7266         * po/uk.po:
7267         * po/vi.po:
7268           translation updates
7269
7270 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7271
7272         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7273           Add comment.
7274           
7275         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7276         (gst_fake_sink_change_state):
7277           Make state change function thread-safe.
7278           
7279         * gst/gstpad.c: (gst_pad_alloc_buffer):
7280           Set offset on generic buffer allocated by fallback.
7281
7282 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7283
7284         * docs/gst/gstreamer-sections.txt:
7285         * docs/gst/tmpl/gstelement.sgml:
7286         * gst/gstpad.c:
7287         * libs/gst/controller/gst-controller.c:
7288         (gst_controlled_property_set_interpolation_mode),
7289         (gst_controlled_property_new),
7290         (gst_controller_find_controlled_property):
7291          run the wingo-magic script against the docs
7292
7293 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * docs/gst/gstreamer-docs.sgml:
7296         * docs/gst/gstreamer-sections.txt:
7297         * docs/gst/tmpl/.cvsignore:
7298         * docs/gst/tmpl/gstelementdetails.sgml:
7299         * docs/gst/tmpl/gstelementfactory.sgml:
7300         * gst/gst.c:
7301         * gst/gstbus.c:
7302         * gst/gstelementfactory.c:
7303         * gst/gstelementfactory.h:
7304           merged elementdetails docs into elementfactory docs
7305           inlined both
7306
7307 2005-09-02  Andy Wingo  <wingo@pobox.com>
7308
7309         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7310         consider this enum an enum and not a flags.
7311
7312 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7313
7314         * docs/gst/gstreamer-docs.sgml:
7315         * docs/gst/tmpl/.cvsignore:
7316         * docs/gst/tmpl/gstghostpad.sgml:
7317         * docs/gst/tmpl/gstiterator.sgml:
7318         * docs/gst/tmpl/gstmacros.sgml:
7319         * docs/gst/tmpl/gstrealpad.sgml:
7320         * docs/gst/tmpl/gstregistry.sgml:
7321         * docs/gst/tmpl/gstregistrypool.sgml:
7322         * docs/gst/tmpl/gststructure.sgml:
7323         * docs/gst/tmpl/gstsystemclock.sgml:
7324         * docs/gst/tmpl/gsttrace.sgml:
7325         * gst/gstghostpad.c:
7326         * gst/gstmacros.h:
7327         * gst/gstmemchunk.c:
7328         * gst/gstmemchunk.h:
7329         * gst/gstqueue.c:
7330         * gst/gstregistry.c:
7331         * gst/gstregistrypool.c:
7332         * gst/gststructure.c:
7333         * gst/gstsystemclock.c:
7334           more docs inlined
7335
7336 2005-09-02  Andy Wingo  <wingo@pobox.com>
7337
7338         * gst/gstelement.h (GstState): Renamed from GstElementState,
7339         changed to be a normal enum instead of flags.
7340         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7341         munged to be GST_STATE_CHANGE_*.
7342         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7343         work with the new state representation.
7344         (GstStateChange): New enumeration of possible state transitions.
7345         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7346         (GstElementClass::change_state): Pass the GstStateChange along as
7347         an argument. Helps language bindings, so they don't have to use
7348         tricky lock-needing macros like GST_STATE_CHANGE ().
7349
7350         * scripts/update-states (file): New script. Run it on a file to
7351         update it for state naming and API changes. Updates files in
7352         place.
7353
7354         * All files updated for the new API.
7355
7356 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7357
7358         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7359         * gst/gstutils.c: (gst_util_set_value_from_string),
7360         (gst_util_set_object_arg):
7361           fix a bunch of unchecked return values
7362         * tools/gst-complete.c: (main):
7363         * gstreamer.spec.in:
7364           clean up a little
7365
7366 2005-09-01  Wim Taymans  <wim@fluendo.com>
7367
7368         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7369         (gst_base_sink_event), (gst_base_sink_do_sync),
7370         (gst_base_sink_handle_event):
7371         * gst/base/gstbasesink.h:
7372         Handle newsegments more correctly.
7373
7374         * gst/gstbus.c:
7375         Fix docs.
7376
7377         * gst/gstevent.c: (gst_event_new_newsegment):
7378         A newsegment cannot have a start_time of -1
7379
7380 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7381
7382         * win32/gstenumtypes.c:
7383         * win32/gstenumtypes.h:
7384           Update
7385
7386 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7387
7388         * libs/gst/controller/gst-controller.c:
7389         (gst_controlled_property_set_interpolation_mode),
7390         (gst_controlled_property_new):
7391          fixed boolean again
7392
7393 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * docs/faq/gst-uninstalled:
7396           add -good
7397         * gst/gstevent.c:
7398         * gst/gstevent.h:
7399           remove wrong docs
7400         * gst/gstutils.c: (gst_element_link_filtered):
7401         * gst/gstutils.h:
7402           add gst_element_link_filtered
7403
7404 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7405
7406         * docs/gst/gstreamer-docs.sgml:
7407         * docs/gst/gstreamer-sections.txt:
7408         * docs/gst/tmpl/.cvsignore:
7409         * docs/gst/tmpl/gsterror.sgml:
7410         * docs/gst/tmpl/gstfilter.sgml:
7411         * docs/gst/tmpl/gsturihandler.sgml:
7412         * docs/gst/tmpl/gsturitype.sgml:
7413         * docs/gst/tmpl/gstutils.sgml:
7414         * docs/gst/tmpl/gstxml.sgml:
7415         * gst/gsterror.c:
7416         * gst/gsterror.h:
7417         * gst/gstfilter.c:
7418         * gst/gsturi.c:
7419         * gst/gsturitype.c:
7420         * gst/gstutils.c:
7421         * gst/gstxml.c:
7422           inlined more docs, fixed double id-ref
7423
7424 2005-08-31  Wim Taymans  <wim@fluendo.com>
7425
7426         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7427         (gst_base_transform_handle_buffer):
7428         Passthrough elements don't need the caps as they don't care.
7429
7430 2005-08-31  Wim Taymans  <wim@fluendo.com>
7431
7432         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7433         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7434         Don't leak refcounts on buffers.
7435
7436 2005-08-31  Wim Taymans  <wim@fluendo.com>
7437
7438         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7439         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7440         (gst_base_transform_chain), (gst_base_transform_change_state):
7441         * gst/base/gstbasetransform.h:
7442         Handle the case where we are not negotiated more gracefully.
7443
7444 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7445
7446         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7447         (gst_file_src_map_region):
7448           Set READONLY flag on mmap'ed buffers, otherwise
7449           gst_buffer_make_writable() won't work properly (#314708).
7450
7451 2005-08-31  Wim Taymans  <wim@fluendo.com>
7452
7453         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7454         passthrough elements can even do inplace on non writable
7455         buffers (as they don't touch them).
7456
7457 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7458
7459         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7460         (gst_test_mono_source_set_property),
7461         (gst_test_mono_source_class_init), (GST_START_TEST),
7462         (gst_controller_suite):
7463           more tests (hehe I have the most)
7464         * gst/gstbus.c:
7465           describe popping messages whenusing mulltiple sources
7466         * libs/gst/controller/gst-controller.c:
7467         (gst_controlled_property_set_interpolation_mode),
7468         (gst_controlled_property_new):
7469         * libs/gst/controller/gst-controller.h:
7470         * libs/gst/controller/gst-interpolation.c:
7471           implement boolean properties
7472
7473 2005-08-31  Wim Taymans  <wim@fluendo.com>
7474
7475         * gst/gstminiobject.c: (gst_mini_object_ref):
7476         Cannot assert that the refcount has to be positive
7477         since a disposed object can be resurrected.
7478
7479 2005-08-31  Wim Taymans  <wim@fluendo.com>
7480
7481         * gst/gstpad.c: (gst_pad_init):
7482         Revert change, need to first fix badly behaving 
7483         apps.
7484
7485 2005-08-30  Wim Taymans  <wim@fluendo.com>
7486
7487         * check/elements/fakesrc.c: (setup_fakesrc):
7488         * check/elements/identity.c: (setup_identity):
7489         Activate pads before using them.
7490
7491 2005-08-30  Wim Taymans  <wim@fluendo.com>
7492
7493         * gst/base/gstadapter.c: (gst_adapter_flush):
7494         Flushing out 0 bytes is ok for this function.
7495
7496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7497         no newsegment gives a warning and sets the start/stop to 
7498         invalid.
7499
7500         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7501         (gst_base_transform_set_passthrough):
7502         Some debug info.
7503
7504         * gst/gstminiobject.c: (gst_mini_object_ref):
7505         Check refcount here too.
7506
7507         * gst/gstpad.c: (gst_pad_init):
7508         Pads are initially flushing and refusing data.
7509
7510         * gst/gstutils.c: (gst_element_link_pads_filtered):
7511         When adding a capsfilter element make sure it has the
7512         same state as the parent bin.
7513
7514 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7515
7516         * docs/gst/tmpl/.cvsignore:
7517         * docs/gst/tmpl/gstformat.sgml:
7518         * docs/gst/tmpl/gstversion.sgml:
7519         * gst/gstbus.h:
7520         * gst/gstformat.c:
7521         * gst/gstformat.h:
7522         * gst/gstversion.h.in:
7523           more docs and two more inlined
7524
7525 2005-08-30  Wim Taymans  <wim@fluendo.com>
7526
7527         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7528         Don't sync to clock.
7529
7530 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7531
7532         * docs/gst/gstreamer-sections.txt:
7533           ultral33t func10ns deserve to appear in the docs actually
7534         * docs/gst/tmpl/.cvsignore:
7535         * docs/gst/tmpl/gstcompat.sgml:
7536         * docs/gst/tmpl/gstconfig.sgml:
7537         * gst/check/gstcheck.c:
7538         * gst/gstcompat.h:
7539         * gst/gstconfig.h.in:
7540           inlined more docs
7541
7542 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7543
7544         * docs/gst/tmpl/.cvsignore:
7545         * docs/gst/tmpl/gstquery.sgml:
7546         * docs/gst/tmpl/gstutils.sgml:
7547         * gst/gstquery.c:
7548         * gst/gstquery.h:
7549           inlined and extended docs
7550
7551 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7552
7553         * check/gst-libs/controller.c: (GST_START_TEST),
7554         (gst_controller_suite):
7555           more tests
7556         * docs/gst/tmpl/gstutils.sgml:
7557         * docs/libs/gstreamer-libs-sections.txt:
7558         * docs/libs/tmpl/gstdataprotocol.sgml:
7559           include path fixes
7560         * examples/controller/audio-example.c: (main):
7561           controller example works now
7562         * gst/gstclock.h:
7563           doc fixes
7564         * tools/gst-inspect.c: (print_element_properties_info):
7565           show param spec flags
7566
7567 2005-08-29  Andy Wingo  <wingo@pobox.com>
7568
7569         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7570
7571 2005-08-28  Andy Wingo  <wingo@pobox.com>
7572
7573         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7574         as having two arguments instead of just one. Allows superclasses
7575         to access information on subclasses -- see the terrible for() loop
7576         in gtype.c:g_type_create_instance for the reason why. All callers
7577         changed.
7578
7579 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7580
7581         * docs/design/part-messages.txt:
7582           update info
7583         * docs/gst/tmpl/.cvsignore:
7584         * docs/gst/tmpl/gstcaps.sgml:
7585         * docs/gst/tmpl/gstclock.sgml:
7586         * gst/gstbus.c:
7587         * gst/gstcaps.c:
7588         * gst/gstcaps.h:
7589         * gst/gstclock.c:
7590         * gst/gstclock.h:
7591         * gst/gstmessage.c:
7592           added descriptions for bus and message
7593           inline caps and clock docs
7594
7595 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * gst/gstmessage.c:
7598         * gst/gstmessage.h:
7599           doc fixes
7600
7601 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7604           fix div-by-zero
7605
7606 2005-08-26  Andy Wingo  <wingo@pobox.com>
7607
7608         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7609         element_set_state's return val.
7610         (test_2_elements): Add test that's been disabled for months.
7611
7612         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7613         can-activate-pull properties.
7614
7615         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7616         can-activate-pull properties. Implement is_seekable so fakesrc can
7617         operate in pull mode.
7618
7619         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7620         properties.
7621         (gst_base_sink_activate, gst_base_sink_activate_pull)
7622         (gst_base_sink_activate_push): Make activation mode choosing work.
7623         Cleanups.
7624         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7625         is right. Make pull mode work. Post an eos before pausing in pull
7626         mode.
7627         (gst_base_sink_change_state): Pay attention to the core's
7628         change_state() return val.
7629         
7630         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7631         has-getrange properties. Cleanups.
7632         
7633         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7634         has_getrange and replace with can_activate_pull and
7635         can_activate_push.
7636
7637         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7638         locking comments. Remove has_loop, has_chain and replace with
7639         can_activate_pull and can_activate_push.
7640
7641 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7642
7643         * configure.ac:
7644         * examples/Makefile.am:
7645         * examples/metadata/Makefile.am:
7646         * examples/metadata/read-metadata.c: (message_loop),
7647         (have_pad_handler), (make_pipeline), (print_tag), (main):
7648           Add metadata reading example that loops over a list of filenames,
7649           dumping any tags found.
7650
7651         * gst/gstbus.c: (gst_bus_dispose):
7652         * gst/gstelement.c: (gst_element_dispose):
7653           Release a few potentially-held references in dispose.
7654
7655 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7656
7657         * docs/gst/tmpl/gstminiobject.sgml:
7658           do *not* add tmpl/*.sgml files to CVS!
7659
7660 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7661
7662         * libs/gst/bytestream/.cvsignore:
7663         * libs/gst/bytestream/Makefile.am:
7664         * libs/gst/bytestream/adapter.c:
7665         * libs/gst/bytestream/adapter.h:
7666         * libs/gst/bytestream/bytestream.c:
7667         * libs/gst/bytestream/bytestream.h:
7668         * libs/gst/bytestream/filepad.c:
7669         * libs/gst/bytestream/filepad.h:
7670           removing obsolete files
7671
7672 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7673
7674         * docs/gst/gstreamer-docs.sgml:
7675         * docs/libs/gstreamer-libs-docs.sgml:
7676           disabed additional index entries again, as this makes docs-gen just
7677           slow and they aren't useful yet
7678         * docs/libs/gstreamer-libs-sections.txt:
7679           little -section.txt cleanup for libs
7680
7681 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7682
7683         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7684         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7685           fix up some debugging
7686         (gst_base_transform_get_unit_size),
7687         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7688         (gst_base_transform_handle_buffer):
7689         * gst/base/gstbasetransform.h:
7690           handle and store timed NEWSEGMENT events so that subclasses that
7691           calculate time by counting samples have a segment_start time they
7692           need to add to their timestamps - see audioresample
7693
7694 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7695
7696         * gst/gstbin.h:
7697           removed ';' from the end of macro defs
7698         * docs/gst/gstreamer-docs.sgml:
7699         * docs/gst/gstreamer-sections.txt:
7700         * docs/gst/tmpl/.cvsignore:
7701         * gst/gstbus.h:
7702         * gst/gstelement.c: (gst_element_class_init),
7703         (gst_element_set_state), (activate_pads),
7704         (gst_element_save_thyself):
7705         * gst/gstevent.c: (gst_event_new_newsegment):
7706         * gst/gstevent.h:
7707         * gst/gstiterator.c:
7708         * gst/gstiterator.h:
7709         * gst/gstpad.c:
7710         * gst/gstprobe.h:
7711         * gst/gstutils.c: (gst_pad_query_convert):
7712         * gst/gstutils.h:
7713           fixed parameter name mismatches between source, header and docs
7714           added some more docs, resolved the last batch of unused elements in
7715           docs (now someone needs to doc them)
7716
7717 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7718
7719         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7720         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7721           don't walk through the plugins backwards.  Where is all this
7722           reversed logic coming from ?
7723
7724 2005-08-25  Wim Taymans  <wim@fluendo.com>
7725
7726         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7727         (gst_base_transform_transform_size),
7728         (gst_base_transform_configure_caps),
7729         (gst_base_transform_get_unit_size),
7730         (gst_base_transform_buffer_alloc),
7731         (gst_base_transform_change_state):
7732         * gst/base/gstbasetransform.h:
7733         Cache caps unit_size.
7734         Make sure we cannot negotiate up and downstream at the
7735         same time.
7736
7737 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7738
7739         * gst/gst.c: (init_pre), (init_post):
7740           register the installed plugin path after the env var
7741         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7742         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7743           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7744           directories, so the tests can prefer uninstalled over installed
7745
7746 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7747
7748         * gst/base/gstbasetransform.h:
7749           comment
7750         * gst/gstpad.c:
7751           add to docs
7752
7753 2005-08-25  Wim Taymans  <wim@fluendo.com>
7754
7755         * gst/gstbin.c: (bin_bus_handler):
7756         Be a bit more conservative about the posted message.
7757         
7758         * gst/gstbus.c: (gst_bus_post):
7759         Some cleanups, warn wrong return values.
7760
7761 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7762
7763         * check/gst/gstbin.c: (GST_START_TEST):
7764         * gst/gstbin.c: (bin_bus_handler):
7765         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7766         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7767         (gst_message_new_warning), (gst_message_new_tag),
7768         (gst_message_new_state_changed), (gst_message_new_segment_start),
7769         (gst_message_new_segment_done), (gst_message_new_custom):
7770         * gst/gstmessage.h:
7771         * tools/gst-launch.c: (event_loop):
7772         * tools/gst-md5sum.c: (event_loop):
7773           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7774
7775 2005-08-25  Wim Taymans  <wim@fluendo.com>
7776
7777         * check/generic/states.c: (GST_START_TEST):
7778         Cleanup can be done at the end.
7779
7780         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7781         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7782         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7783         Oh boy.. Thanks for finding this, Thomas. 
7784
7785 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7786
7787         * docs/gst/gstreamer.types:
7788           added missing types
7789
7790 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7791
7792         * docs/gst/gstreamer-docs.sgml:
7793         * docs/gst/gstreamer-sections.txt:
7794         * docs/gst/tmpl/.cvsignore:
7795         * gst/gstbin.c:
7796         * gst/gstiterator.c:
7797         * gst/gstutils.c:
7798         * gst/registries/gstxmlregistry.h:
7799           added missing classes and symbols (123 more to go)
7800           removed removed symbols from section file
7801           fixed many doc-comments
7802
7803 2005-08-24  Wim Taymans  <wim@fluendo.com>
7804
7805         * check/generic/states.c: (GST_START_TEST):
7806         Make sure all tasks are stopped.
7807
7808         * check/gst/gstbin.c: (GST_START_TEST):
7809         Unref after usage for proper valgrinding.
7810
7811         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7812         Really wait for the task to stop before destroying the
7813         mutex.
7814
7815         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7816         (gst_queue_src_activate_push):
7817         Small cleanups. Don't stop the task when we did not start
7818         it.
7819
7820         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7821         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7822         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7823         (gst_task_join):
7824         * gst/gsttask.h:
7825         Protect the stream lock with the object lock.
7826         Disallow setting the stream lock when running.
7827         Add cleanup_all to wait for the threadpool to finish.
7828         Remove code to autoallocate a mutex if none was provided.
7829         Add _join() to wait for a task to stop.
7830         Protect the thread pool with a global lock.
7831
7832 2005-08-24  Wim Taymans  <wim@fluendo.com>
7833
7834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7835         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7836         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7837         * gst/base/gstbasesink.h:
7838         Handle newsegment events correctly.
7839         Drop buffers out of the segment range.
7840
7841 2005-08-22  Andy Wingo  <wingo@pobox.com>
7842
7843         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7844         macro, implements an interface and gstimplementsinterface for a
7845         new type.
7846
7847 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7848
7849         * check/Makefile.am:
7850         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7851           add a test that does a bunch of state changes on elements
7852           needs some fixing for valgrind
7853         * check/states/sinks.c: (gst_object_suite):
7854           whitespace
7855         * gst/gstcaps.h:
7856           add prototype for gst_caps_is_equal_fixed
7857         * gst/gstplugin.c:
7858         * gst/gstregistrypool.c:
7859           doc fixes
7860
7861 2005-08-24  Andy Wingo  <wingo@pobox.com>
7862
7863         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7864         convert a negative value. Doesn't make much sense. Mostly this is
7865         here to force callers to ensure -1 maps to -1.
7866
7867 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7868
7869         * docs/pwg/advanced-types.xml:
7870           Well done to Michael for catching my deliberate introduction
7871           of this spelling mistake. 
7872         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7873         * gst/gstelement.h:
7874           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7875           unlink pads before removing the element from the bin.
7876
7877 2005-08-24  Andy Wingo  <wingo@pobox.com>
7878
7879         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7880         the same thing as GST_DEBUG=*:4.
7881         (parse_debug_level, parse_debug_category): New helper parsers.
7882
7883 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7884
7885         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7886         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7887         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7888         (gst_base_transform_buffer_alloc),
7889         (gst_base_transform_handle_buffer):
7890           use gboolean return values and pointers to size so we can use the
7891           full GST_BUFFER_SIZE range (guint) for buffer sizes
7892           use GstPadDirection for transform_caps
7893         * gst/base/gstbasetransform.h:
7894           rename get_size to get_unit_size since that's what it is
7895         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7896           use GstPadDirection for transform_caps
7897         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7898         * gst/gstutils.h:
7899           cleanup and debugging
7900
7901 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7902
7903         * gst/gstelement.c: (gst_element_class_init),
7904         (gst_element_set_state), (activate_pads),
7905         (gst_element_save_thyself):
7906         * tools/gst-compprep.c: (main):
7907         * tools/gst-inspect.c: (print_element_properties_info):
7908         * tools/gst-xmlinspect.c: (print_element_properties):
7909           Fixed long standing mem-leak
7910
7911 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7912
7913         * check/gst/gstbin.c: (GST_START_TEST):
7914         * gst/gstbin.c: (bin_bus_handler):
7915         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7916         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7917         (gst_message_new_warning), (gst_message_new_tag),
7918         (gst_message_new_state_changed), (gst_message_new_segment_start),
7919         (gst_message_new_segment_done), (gst_message_new_custom):
7920         * gst/gstmessage.h:
7921         * tools/gst-launch.c: (event_loop):
7922         * tools/gst-md5sum.c: (event_loop):
7923           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7924           that applications can sensibly post custom messages with references
7925           to their own objects.
7926
7927 2005-08-24  Andy Wingo  <wingo@pobox.com>
7928
7929         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7930         already.
7931
7932 2005-08-24  Wim Taymans  <wim@fluendo.com>
7933
7934         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7935         (gst_base_transform_transform_caps),
7936         (gst_base_transform_transform_size),
7937         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7938         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7939         (gst_base_transform_handle_buffer):
7940         * gst/base/gstbasetransform.h:
7941         Many fixes and new features added by Thomas. Can now also do
7942         transforms with variable sizes and a custom fixate_caps function.
7943
7944 2005-08-24  Wim Taymans  <wim@fluendo.com>
7945
7946         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7947         Some debugging.
7948
7949         * gst/gstclock.h:
7950         Cast to ClockTime before formatting to time.
7951
7952         * gst/gstutils.h:
7953         Cleanups.
7954
7955 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7956
7957         * check/gst-libs/controller.c: (GST_START_TEST),
7958         (gst_controller_suite):
7959         * docs/gst/tmpl/gstcaps.sgml:
7960         * docs/gst/tmpl/gstghostpad.sgml:
7961         * docs/gst/tmpl/gstquery.sgml:
7962         * docs/gst/tmpl/gstutils.sgml:
7963         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7964         (gst_object_sink_values), (gst_object_get_value_arrays),
7965         (gst_object_get_value_array):
7966           gracefully handle helper method calls to objects that are not beeing
7967           controlled, added test case for that          
7968
7969 2005-08-23  Wim Taymans  <wim@fluendo.com>
7970
7971         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7972         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7973         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7974         (gst_event_parse_qos), (gst_event_new_seek),
7975         (gst_event_parse_seek):
7976         * gst/gstevent.h:
7977         Some more debugging output and doc cleanups.
7978
7979         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7980         Fix possible deadlock.
7981
7982 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7983
7984         * docs/gst/gstreamer-docs.sgml:
7985         * docs/gst/gstreamer-sections.txt:
7986         * docs/gst/gstreamer.types:
7987         * docs/gst/tmpl/.cvsignore:
7988         * gst/gstbin.h:
7989         * gst/gstbus.c:
7990         * gst/gstelement.c:
7991         * gst/gstevent.h:
7992           added 100 symbols from gstreamer-unused.txt to the right sections
7993           fixed more broken comments
7994           added GstBus to docs
7995
7996 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * docs/gst/gstreamer-sections.txt:
7999         * docs/gst/tmpl/.cvsignore:
8000         * docs/gst/tmpl/gstbin.sgml:
8001         * docs/gst/tmpl/gstbuffer.sgml:
8002         * gst/base/gstbasesrc.c:
8003         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8004         * gst/gstbuffer.c:
8005         * gst/gstbuffer.h:
8006         * tools/gst-launch.1.in:
8007           inlined more doc comments, added missing comments and fixed comments
8008           fixed typos
8009
8010 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8011
8012         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8013           some debugging
8014         * gst/gstcaps.h:
8015           whitespace fixes
8016         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8017           more debugging
8018         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8019         * gst/gststructure.h:
8020           add a fixate function for booleans; add a FIXME that these func
8021           names should probably be gst_structure_fixate_*
8022
8023 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8024
8025         * docs/gst/gstreamer-docs.sgml:
8026         * docs/gst/gstreamer-sections.txt:
8027         * gst/Makefile.am:
8028         * gst/gstbin.c: (gst_bin_get_type),
8029         (gst_bin_child_proxy_get_child_by_index),
8030         (gst_bin_child_proxy_get_children_count),
8031         (gst_bin_child_proxy_init):
8032         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8033         (gst_child_proxy_get_child_by_index),
8034         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8035         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8036         (gst_child_proxy_get), (gst_child_proxy_set_property),
8037         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8038         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8039         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8040         * gst/gstchildproxy.h:
8041         * gst/parse/grammar.y:
8042         * tools/gst-inspect.c: (print_interfaces),
8043         (print_element_properties_info), (print_element_info):
8044           ported gstchildproxy over from 0.8
8045           ported gst-inspect fixes and enhancements over from 0.8
8046
8047 2005-08-22  Wim Taymans  <wim@fluendo.com>
8048
8049         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8050         (gst_base_transform_handle_buffer):
8051         Also call the transform function if we have ANY caps.
8052
8053         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8054         Fix debug info.
8055
8056 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8057
8058         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8059           Don't pretend to handle seek events if the source is not seekable
8060
8061 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8062
8063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8064           Remove extra parameter to debug output
8065
8066         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8067         (gst_base_src_do_seek), (gst_base_src_activate_push):
8068           Fix seek event handling.
8069
8070         * gst/gstpipeline.c: (gst_pipeline_change_state):
8071         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8072         (gst_queue_src_activate_push):
8073           Don't start the src pad task on FLUSH_STOP if the pad
8074           isn't linked.
8075           Debug changes.
8076
8077 2005-08-22  Wim Taymans  <wim@fluendo.com>
8078
8079         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8080         Added check for gst_static_caps_get() refcounting.
8081
8082 2005-08-22  Wim Taymans  <wim@fluendo.com>
8083
8084         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8085         Make _static_caps_get() refcounting sane.
8086         
8087         * gst/gstelement.c: (gst_element_set_state):
8088         Add g_return_val_if_fail() to protect against segfaults.
8089
8090 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8091
8092         * docs/gst/tmpl/gstevent.sgml:
8093         * gst/gstevent.c:
8094         * gst/gstevent.h:
8095           inlined remaining docs, added missing doc comments
8096
8097 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8098
8099         * check/gst/gstbin.c: (GST_START_TEST):
8100           since we don't know when preroll is done, use refcount range
8101           check for the sink
8102         * gst/check/gstcheck.h:
8103           add macro for checking refcount range
8104
8105 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8106
8107         * check/Makefile.am:
8108           clean up environment for when registry gets built versus
8109           when actual tests are run; valgrind seems to not report
8110           leaks if GST_PLUGIN_PATH is set to some specific values
8111         * check/gst/gstbin.c: (GST_START_TEST):
8112           add more refcounting checks; maybe this exposes a
8113           preroll lock bug ?
8114         * common/check.mak:
8115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8116         * gst/check/gstcheck.h:
8117         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8118         (gst_bin_change_state):
8119         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8120           add/fix debugging/whitespace
8121
8122 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8123
8124         * check/gst/gstevent.c: (event_probe), (test_event),
8125         (GST_START_TEST):
8126          Er, don't call gst_bin_watch_for_state_change you idiot.
8127
8128 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8129
8130         * check/Makefile.am:
8131           Use CHECK_CFLAGS and CHECK_LIBS
8132         * check/gst/gstevent.c: (event_probe), (test_event),
8133         (GST_START_TEST):
8134           Don't leak events.
8135         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8136         (gst_base_src_start), (gst_base_src_stop),
8137         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8138         (gst_base_src_change_state):
8139           Sprinkle gst_base_src_stop liberally around error paths to fix
8140           problems reusing a source after failed state changes.
8141         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8142         (helper_find_suggest), (gst_type_find_helper):
8143           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8144         * gst/gstevent.h:
8145         * docs/gst/tmpl/gstevent.sgml:
8146           Migrate part of the docs from the SGML file. Wait for ensonic to
8147           tell me how I did it wrong ;)
8148         * tools/gst-typefind.c: (main):
8149           Extra robustness to state changes between files.
8150
8151 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8152
8153         * check/Makefile.am:
8154           don't valgrind the controller test - it's leaking - Stefan, HELP
8155         * gst/check/gstcheck.c: (gst_check_message_error),
8156         (gst_check_chain_func), (gst_check_setup_element),
8157         (gst_check_teardown_element), (gst_check_setup_src_pad),
8158         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8159         (gst_check_teardown_sink_pad):
8160         * gst/check/gstcheck.h:
8161           add a bunch of methods to set up elements, and src and sink pads
8162         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8163         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8164         (GST_START_TEST):
8165           use them
8166         * gst/gstmessage.c:
8167         * gst/gsttag.h:
8168           whitespace/doc fixes
8169
8170 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8171
8172         * gst/gstelement.h:
8173           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8174           be handled by the application and not always printed as well
8175
8176 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8177
8178         * check/Makefile.am:
8179           set GST_TOOLS_DIR
8180         * gst/check/gstcheck.c: (gst_check_message_error):
8181         * gst/check/gstcheck.h:
8182           add a fail_unless_equals_int
8183           add fail_unless for error messages
8184
8185 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8186
8187         * check/Makefile.am:
8188         * check/gst.supp:
8189         * common/Makefile.am:
8190         * common/check.mak:
8191         * common/gst.supp:
8192           factor out some of the common stuff so we can use it
8193
8194 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8195
8196         * check/Makefile.am:
8197         * check/gst/gstiterator.c: (GST_START_TEST):
8198         * check/gst/gstsystemclock.c: (GST_START_TEST),
8199         (gst_systemclock_suite):
8200         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8201         * gst/gstclock.c:
8202           valgrind more tests
8203
8204 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8205
8206         * check/elements/.cvsignore:
8207         * check/elements/gstfakesrc.c:
8208           rename to name of element
8209         * check/elements/identity.c: (chain_func), (event_func),
8210         (setup_identity), (cleanup_identity), (GST_START_TEST),
8211         (identity_suite), (main):
8212           add a test for identity
8213         * check/Makefile.am:
8214         * pkgconfig/Makefile.am:
8215         * pkgconfig/gstreamer-check.pc.in:
8216         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8217         * gst/check:
8218         * gst/Makefile.am:
8219         * configure.ac:
8220           move the check stuff to a library that gets installed
8221         * check/gst-libs/controller.c: (GST_START_TEST):
8222         * check/gst-libs/gdp.c:
8223         * check/gst/gst.c: (GST_START_TEST):
8224         * check/gst/gstbin.c:
8225         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8226         * check/gst/gstbus.c:
8227         * check/gst/gstcaps.c: (GST_START_TEST):
8228         * check/gst/gstelement.c:
8229         * check/gst/gstghostpad.c:
8230         * check/gst/gstiterator.c:
8231         * check/gst/gstmessage.c:
8232         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8233         * check/gst/gstobject.c:
8234         * check/gst/gstpad.c: (GST_START_TEST):
8235         * check/gst/gststructure.c: (GST_START_TEST):
8236         * check/gst/gstsystemclock.c: (GST_START_TEST),
8237         (gst_systemclock_suite):
8238         * check/gst/gsttag.c: (gst_tag_suite):
8239         * check/gst/gstvalue.c:
8240         * check/pipelines/cleanup.c:
8241         * check/pipelines/simple_launch_lines.c:
8242         * check/states/sinks.c:
8243           change include statement
8244
8245         * docs/gst/gstreamer-sections.txt:
8246         * docs/gst/tmpl/gstpad.sgml:
8247           document more pad stuff
8248         * gst/gstminiobject.c: (gst_mini_object_ref),
8249         (gst_mini_object_unref):
8250           debug refcounting
8251
8252 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8253
8254         * docs/gst/tmpl/gst.sgml:
8255         * gst/gst.c:
8256           eliminate another tmpl file, fix spelling in the long-description
8257
8258 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8259
8260         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8261         (test_event), (timediff), (gstevents_suite):
8262           Should fix build on 64-bit arch's
8263
8264 2005-08-18  Andy Wingo  <wingo@pobox.com>
8265
8266         Make sure that when a pipeline goes to PLAYING, that data has
8267         actually hit the sink.
8268
8269         * check/states/sinks.c (test_sink): A sink that doesn't get any
8270         data shouldn't return SUCCESS for going to either PLAYING or
8271         PAUSED. Test also the return values on the way back down.
8272
8273         * gst/gstelement.c (gst_element_set_state): When changing the
8274         state of an element currently changing state asynchronously, go to
8275         lost-state after commiting the pending state. Makes future calls
8276         to get_state continue to return ASYNC.
8277
8278         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8279         ASYNC when going to PLAYING if we still don't have preroll, as can
8280         happen with live sources.
8281
8282 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8283
8284         * docs/pwg/advanced-types.xml:
8285           Hack long paragraph into 2 chunks as a workaround for buggy
8286           jadetex version in sid and breezy that loops infinitely and
8287           eats all RAM.
8288
8289 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8290
8291         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8292         (test_event), (timediff), (gstevents_suite):
8293           Provide more error margin in clock measurements to allow for 
8294           g_get_current_time inaccuracies.
8295
8296 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8297
8298         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8299         (test_event), (timediff), (gstevents_suite):
8300            Fix error message output so I might be able to tell why the
8301            test works here but fails on the build farm.
8302
8303 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8304
8305         * check/Makefile.am:
8306         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8307         (test_event), (timediff), (gstevents_suite), (main):
8308           I wrote a test!
8309
8310         * docs/design/part-seeking.txt:
8311           Spelling correction
8312
8313         * docs/gst/tmpl/gstevent.sgml:
8314         * docs/gst/tmpl/gstfakesrc.sgml:
8315           Docs updates.
8316
8317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8318           Treat a buffer-without-newsegment the same as a receiving 
8319           a newsegment not in time format, and disable syncing to the clock
8320           with a warning.
8321
8322         * gst/gstbus.c: (gst_bus_set_sync_handler):
8323           Assert if anyone tries to replace the existing sync_handler for bus, 
8324           as only the owner should be setting it.
8325
8326         * gst/gstevent.h:
8327           Have a fixed set of custom event enums with events identified by
8328           their structure name (as in 0.8), rather than a free-for-all
8329           allowing collisions between enum values from different plugins.
8330
8331         * gst/gstpad.c: (gst_pad_class_init):
8332           Docs change.
8333           
8334         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8335           Handle out-of-band downstream events from the sending thread.
8336
8337 2005-08-17  Andy Wingo  <wingo@pobox.com>
8338
8339         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8340         play-timeout==0 to mean no timeout at all. In that case, don't
8341         bother with a get_state or a warning, just return directly, even
8342         if it's ASYNC.
8343
8344         * gst/base/gstbasetransform.c: Debug changes.
8345
8346         * gst/gstutils.h:
8347         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8348         ensure bins post state change messages. A bit of a hack but I can't
8349         think of a way to avoid it.
8350
8351         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8352
8353 2005-08-16  Andy Wingo  <wingo@pobox.com>
8354
8355         * gst/base/gstadapter.h:
8356         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8357         peek() but you own the data. Not terribly efficient atm.
8358
8359 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8360
8361         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8362         (gst_element_found_tags):
8363         * gst/gstutils.h:
8364           Add two utility functions for tag handling.
8365
8366 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8367
8368         * docs/manual/advanced-dataaccess.xml:
8369         * docs/manual/basics-helloworld.xml:
8370           Fix docs to use _bin_add() before _link(), which fixes the examples
8371           with recent core versions (reported by Madhan Raj M
8372           <raj_madan@rediffmail.com>, #313199).
8373
8374 2005-08-16  Wim Taymans  <wim@fluendo.com>
8375
8376         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8377         Added subtract checks.
8378
8379         * docs/design/part-events.txt:
8380         Some more docs about newsegment
8381
8382         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8383         Fix FIXME
8384
8385         * gst/gstcaps.c: (gst_caps_to_string):
8386         Add comments, cleanups.
8387         
8388         * gst/gstelement.c: (gst_element_save_thyself):
8389         cleanups
8390         
8391         * gst/gstvalue.c: (gst_value_collect_int_range),
8392         (gst_string_unwrap), (gst_value_union_int_int_range),
8393         (gst_value_union_int_range_int_range),
8394         (gst_value_intersect_int_int_range),
8395         (gst_value_intersect_int_range_int_range),
8396         (gst_value_intersect_double_double_range),
8397         (gst_value_intersect_double_range_double_range),
8398         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8399         (gst_value_subtract_int_range_int),
8400         (gst_value_subtract_double_range_double),
8401         (gst_value_subtract_double_range_double_range),
8402         (gst_value_subtract_from_list), (gst_value_subtract_list),
8403         (gst_value_can_compare), (gst_value_compare_fraction):
8404         Cleanups, add comments, remove unneeded asserts.
8405
8406 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8407
8408         * tools/gst-launch.c: (event_loop):
8409           don't convert NULL structures to strings
8410
8411 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8412
8413         * docs/gst/gstreamer-sections.txt:
8414           made some defines private
8415         * docs/gst/tmpl/gstconfig.sgml:
8416         * docs/gst/tmpl/gstqueue.sgml:
8417         * docs/gst/tmpl/gsttaglist.sgml:
8418         * docs/gst/tmpl/gsttypes.sgml:
8419         * docs/gst/tmpl/gstutils.sgml:
8420         * docs/pwg/appendix-porting.xml:
8421         * gst/base/gstbasesink.h:
8422         * gst/base/gstbasesrc.c:
8423         * gst/base/gstbasesrc.h:
8424         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8425         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8426         * gst/gstelement.c: (gst_element_class_init):
8427         * gst/gstpad.c: (gst_pad_class_init):
8428         * gst/gstqueue.c: (gst_queue_class_init):
8429         * gst/gstxml.c: (gst_xml_class_init):
8430           documented all undocumented signal inline
8431         * libs/gst/controller/gst-controller.h:
8432           added padding
8433
8434 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8435
8436         * docs/pwg/appendix-porting.xml:
8437           Document _set_link_function -> _set_setcaps_function.
8438
8439 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8440
8441         * check/Makefile.am:
8442           add a .check target for running the check
8443         * check/gst-libs/controller.c: (GST_START_TEST):
8444           cosmetic fixups
8445         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8446           complete checks for gstbuffer; would be nice if I could get the
8447           gcov stuff to work so I can see if I actually completed gstbuffer.c
8448         * check/gstcheck.h:
8449           add ASSERT_BUFFER_REFCOUNT
8450
8451 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8452
8453         * docs/gst/gstreamer-sections.txt:
8454         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8455         * gst/gsttag.h:
8456           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8457           spew out a warning if a tag that is already registered
8458           is re-registered, unless it is re-registered with a 
8459           different type (#308438).
8460
8461 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8462
8463         * docs/pwg/appendix-porting.xml:
8464         * docs/pwg/building-state.xml:
8465           Add some paragraphs about state changes in 0.9 to the PWG
8466           and the porting guide, in particular about the new meaning
8467           of GST_STATE_PAUSED and how to write state change functions
8468           with concurrent access by multiple threads in mind.
8469
8470 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8471
8472         * docs/gst/gstreamer-docs.sgml:
8473         * docs/libs/gstreamer-libs-docs.sgml:
8474           added deprecation and since indexes
8475         * libs/gst/controller/gst-controller.c:
8476         * libs/gst/controller/gst-helper.c:
8477           added since tags
8478
8479
8480 2005-08-11  Wim Taymans  <wim@fluendo.com>
8481
8482         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8483         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8484         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8485         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8486         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8487         (gst_ghost_pad_set_target):
8488         Actually implement (re)setting the target on a ghostpad
8489         as described in the docs.
8490
8491 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8492
8493         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8494           Check whether GST_DEBUG_NO_COLOR environment variable is
8495           set and disable coloured debug output if that is the case.
8496
8497 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8498
8499         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8500         (gst_type_find_helper):
8501           The memory returned by gst_type_find_peek() needs to
8502           stay valid until the end of a typefind function, and
8503           typefind functions may keep results from different 
8504           offsets around, so we can't just unref the buffer from
8505           the previous _peek(), but have to save all buffers 
8506           returned by _peek() until typefinding is done and only
8507           free them then.
8508
8509 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8510
8511         * docs/gst/gstreamer-sections.txt:
8512         * gst/gstutils.h:
8513           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8514
8515 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8516
8517         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8518           Fix a pretty good memleak.
8519
8520 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8521
8522         * gst/gstiterator.h:
8523           Fix wrong include and 'make distcheck'.
8524
8525 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8526
8527         * gst/gstbin.c: (bin_bus_handler):
8528           Use gst_element_post_message() instead.
8529
8530 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8531
8532         * gst/base/gstadapter.h:
8533         * gst/base/gstbasesink.h:
8534         * gst/base/gstbasesrc.h:
8535         * gst/base/gstbasetransform.h:
8536         * gst/base/gstcollectpads.h:
8537         * gst/base/gstpushsrc.h:
8538         * gst/gstiterator.h:
8539           Add padding to our base elements' class and instance structs and
8540           to GstIterator (you will need to rebuild all plugins and apps!)
8541
8542 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8543
8544         * gst/gstbin.c: (bin_bus_handler):
8545           Make default message forwarding from child->bus to bin->bus
8546           threadsafe and make it not emit warnings if the parent has no bus.
8547
8548 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8549
8550         * gst/gstelement.c: (activate_pads):
8551           On paused->ready, set pad->caps to NULL, as is the documented
8552           behaviour in this state change. Fixes playback of series of
8553           media files when visualization is enabled in Totem.
8554
8555 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8556
8557         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8558           Allow NULL as filter-caps (which means "any").
8559
8560 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8561
8562         * docs/libs/gstreamer-libs-sections.txt:
8563         * libs/gst/controller/gst-controller.c:
8564         * libs/gst/controller/gst-controller.h:
8565         * libs/gst/controller/gst-helper.c:
8566           adding more entries to the docs and fix small doc-bugs
8567
8568 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8569
8570         * docs/gst/gstreamer-docs.sgml:
8571         * docs/gst/gstreamer-sections.txt:
8572         * docs/gst/gstreamer.types:
8573         * docs/gst/tmpl/gstbasesink.sgml:
8574         * docs/gst/tmpl/gstbasesrc.sgml:
8575         * docs/gst/tmpl/gstbasetransform.sgml:
8576         * docs/gst/tmpl/gstfakesrc.sgml:
8577         * gst/base/gstcollectpads.c:
8578         * gst/base/gstcollectpads.h:
8579         * libs/gst/controller/gst-controller.c:
8580         * libs/gst/controller/gst-controller.h:
8581         * libs/gst/controller/gst-helper.c:
8582         * libs/gst/controller/gst-interpolation.c:
8583         * libs/gst/controller/lib.c:
8584           added long/short desc for controller docs
8585           added collectpads base class docs
8586           added correct includes to base-class docs
8587
8588 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8589
8590         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8591         (gst_test_mono_source_set_property),
8592         (gst_test_mono_source_class_init), (GST_START_TEST),
8593         (gst_controller_suite):
8594         * docs/gst/gstreamer-docs.sgml:
8595         * docs/gst/gstreamer-sections.txt:
8596         * docs/gst/gstreamer.types:
8597         * docs/libs/gstreamer-libs-docs.sgml:
8598         * docs/libs/gstreamer-libs-sections.txt:
8599         * gst/base/gstadapter.c:
8600         * libs/gst/controller/gst-controller.c:
8601         (gst_controlled_property_new), (gst_controlled_property_free),
8602         (gst_controller_new_valist),
8603         (gst_controller_remove_properties_valist),
8604         (gst_controller_sink_values), (_gst_controller_finalize):
8605         * libs/gst/controller/gst-controller.h:
8606         * libs/gst/controller/gst-helper.c:
8607         (gst_object_control_properties), (gst_object_uncontrol_properties),
8608         (gst_object_get_controller), (gst_object_set_controller),
8609         (gst_object_sink_values), (gst_object_get_value_arrays),
8610         (gst_object_get_value_array):
8611           more tests (and fixes) for the controller
8612           more docs for the controller
8613           integrated companies docs for the adapter 
8614
8615 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8616
8617         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8618         (GST_START_TEST), (fakesrc_suite):
8619           add tests for sizetype
8620
8621 2005-08-04  Andy Wingo  <wingo@pobox.com>
8622
8623         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8624         fixes buffer_alloc proxying among other things.
8625
8626         * gst/base/gstbasetransform.c:
8627         * gst/base/gstbasetransform.h:
8628         Revert patch to gstbasetransform from 7-28 removing
8629         delay_configure.
8630
8631         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8632         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8633         Semantics changed, should return not the size of the output buffer
8634         but the byte size of a buffer with a given caps.
8635
8636         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8637         debug object.
8638         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8639         out) are not the pad caps until setcaps finishes.
8640         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8641         not-in-place case as well. Deal with changing from in-place to
8642         not-in-place within calling pad_alloc_buffer. Still a bit
8643         concerned about the overhead here...
8644
8645 2005-08-03  Andy Wingo  <wingo@pobox.com>
8646
8647         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8648         fixating is an error.
8649
8650 2005-08-04  Edward Hervey  <edward@fluendo.com>
8651
8652         * gst/base/gstadapter.h: 
8653         Added gst_adapter_get_type() to the header
8654
8655 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8656
8657         * check/Makefile.am:
8658         * check/gst-libs/controller.c:
8659         * libs/gst/controller/gst-controller.c:
8660         (gst_controller_new_valist):
8661           added check test suite for the controller
8662         * gst/base/gstpushsrc.c:
8663           fixed a doc typo
8664
8665 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8666
8667         * docs/gst/Makefile.am:
8668         * docs/gst/gstreamer-docs.sgml:
8669         * docs/gst/gstreamer-sections.txt:
8670         * docs/gst/gstreamer.types:
8671         * docs/gst/tmpl/gstfakesrc.sgml:
8672         * gst/base/README:
8673         * gst/base/gstbasesink.c:
8674         * gst/base/gstbasesink.h:
8675         * gst/base/gstbasesrc.c:
8676         * gst/base/gstbasesrc.h:
8677         * gst/base/gstbasetransform.c:
8678         * gst/base/gstpushsrc.c:
8679         * gst/base/gstpushsrc.h:
8680           add short/long description docs to base classes
8681           add pushsrc to the docs
8682           remove consolidated doc fragments
8683
8684 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8685
8686         * configure.ac:
8687         * docs/libs/Makefile.am:
8688         * docs/libs/gstreamer-libs-docs.sgml:
8689         * docs/libs/gstreamer-libs-sections.txt:
8690         * docs/libs/gstreamer-libs.types:
8691         * examples/Makefile.am:
8692         * examples/controller/.cvsignore:
8693         * examples/controller/Makefile.am:
8694         * examples/controller/audio-example.c: (main):
8695         * libs/gst/Makefile.am:
8696         * libs/gst/controller/.cvsignore:
8697         * libs/gst/controller/Makefile.am:
8698         * libs/gst/controller/gst-controller.c:
8699         (on_object_controlled_property_changed), (gst_timed_value_compare),
8700         (gst_timed_value_find),
8701         (gst_controlled_property_set_interpolation_mode),
8702         (gst_controlled_property_new), (gst_controlled_property_free),
8703         (gst_controller_find_controlled_property),
8704         (gst_controller_new_valist), (gst_controller_new),
8705         (gst_controller_remove_properties_valist),
8706         (gst_controller_remove_properties), (gst_controller_set),
8707         (gst_controller_set_from_list), (gst_controller_unset),
8708         (gst_controller_get), (gst_controller_get_all),
8709         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8710         (gst_controller_get_value_array),
8711         (gst_controller_set_interpolation_mode),
8712         (_gst_controller_finalize), (_gst_controller_init),
8713         (_gst_controller_class_init), (gst_controller_get_type):
8714         * libs/gst/controller/gst-controller.h:
8715         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8716         (g_object_uncontrol_properties), (g_object_get_controller),
8717         (g_object_set_controller), (g_object_sink_values),
8718         (g_object_get_value_arrays), (g_object_get_value_array):
8719         * libs/gst/controller/gst-interpolation.c:
8720         (gst_controlled_property_find_timed_value_node),
8721         (interpolate_none_get), (interpolate_trigger_get),
8722         (interpolate_trigger_get_value_array):
8723         * libs/gst/controller/lib.c: (gst_controller_init):
8724         * pkgconfig/Makefile.am:
8725         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8726         * pkgconfig/gstreamer-control.pc.in:
8727         * testsuite/Makefile.am:
8728         * testsuite/controller/.cvsignore:
8729         * testsuite/controller/Makefile.am:
8730         * testsuite/controller/interpolator.c: (main):
8731           added controller code
8732           removed dparam pc files
8733
8734 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8735         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8736         (gst_collectpads_stop):
8737           Broadcast the condition when shutting down, to make sure we wake all
8738           threads up. Shut down pads on finalize, for safety.
8739
8740 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8741         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8742         (gst_base_transform_handle_buffer),
8743         (gst_base_transform_change_state):
8744           Handle PAUSED->READY->PAUSED transition after negotiation
8745           occurred already.
8746         * gst/gstmessage.c: (gst_message_init):
8747           Extra piece of debug for new messages.
8748
8749 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8750
8751         * configure.ac:
8752         * docs/gst/tmpl/gstbasesrc.sgml:
8753         * docs/gst/tmpl/gstelement.sgml:
8754         * docs/gst/tmpl/gstevent.sgml:
8755         * docs/gst/tmpl/gstfakesrc.sgml:
8756         * docs/gst/tmpl/gstformat.sgml:
8757         * docs/gst/tmpl/gstghostpad.sgml:
8758         * docs/gst/tmpl/gstpad.sgml:
8759         * docs/gst/tmpl/gstquery.sgml:
8760         * docs/gst/tmpl/gststructure.sgml:
8761         * docs/gst/tmpl/gsttaglist.sgml:
8762         * docs/gst/tmpl/gstvalue.sgml:
8763         * docs/libs/gstreamer-libs-docs.sgml:
8764         * docs/libs/gstreamer-libs-sections.txt:
8765         * docs/libs/gstreamer-libs.types:
8766         * libs/gst/Makefile.am:
8767         * libs/gst/control/.cvsignore:
8768         * libs/gst/control/Makefile.am:
8769         * libs/gst/control/control.c:
8770         * libs/gst/control/control.h:
8771         * libs/gst/control/dparam.c:
8772         * libs/gst/control/dparam.h:
8773         * libs/gst/control/dparam_smooth.c:
8774         * libs/gst/control/dparam_smooth.h:
8775         * libs/gst/control/dparamcommon.h:
8776         * libs/gst/control/dparammanager.c:
8777         * libs/gst/control/dparammanager.h:
8778         * libs/gst/control/dplinearinterp.c:
8779         * libs/gst/control/dplinearinterp.h:
8780         * libs/gst/control/unitconvert.c:
8781         * libs/gst/control/unitconvert.h:
8782         * testsuite/Makefile.am:
8783         * testsuite/dynparams/.cvsignore:
8784         * testsuite/dynparams/Makefile.am:
8785         * testsuite/dynparams/dparamstest.c:
8786         * tools/Makefile.am:
8787         * tools/gst-inspect.c: (print_element_info), (main):
8788         * tools/gst-xmlinspect.c: (print_element_info), (main):
8789           deactivate and remove dparams (libgstcontrol)
8790
8791 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8792
8793         * gst/elements/gsttypefindelement.c:
8794         (gst_type_find_element_have_type), (gst_type_find_element_init),
8795         (stop_typefinding), (gst_type_find_element_handle_event),
8796         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8797         * gst/elements/gsttypefindelement.h:
8798           Set caps on all outgoing buffers, not just the first one.
8799
8800 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8801
8802         * gst/elements/gsttypefindelement.c:
8803         (gst_type_find_element_have_type),
8804         (gst_type_find_element_check_set_buffer_caps),
8805         (gst_type_find_element_init), (stop_typefinding),
8806         (gst_type_find_element_handle_event),
8807         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8808         * gst/elements/gsttypefindelement.h:
8809           Set caps on first outgoing buffer when we've found the type.
8810
8811 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * docs/gst/gstreamer-docs.sgml:
8814         * docs/gst/gstreamer-sections.txt:
8815         * docs/gst/tmpl/gstscheduler.sgml:
8816         * docs/gst/tmpl/gstschedulerfactory.sgml:
8817           Remove some old cruft from docs.
8818
8819 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8820
8821         * gst/gstpad.h:
8822           Fix inline docs for GstPadLinkReturn.
8823           
8824         * gst/gststructure.c: (gst_structure_has_name):
8825         * gst/gststructure.h:
8826         * docs/gst/gstreamer-sections.txt:
8827           New API: gst_structure_has_name().
8828
8829 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8830
8831         * configure.ac:
8832           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8833           and _LARGEFILE_SOURCE in config.h as required. Do not 
8834           export those flags in our .pc files any longer (#142209).
8835
8836           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8837
8838         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8839         (gst_file_sink_do_seek), (gst_file_sink_event),
8840         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8841           Redo seek/tell calls with large file support in mind; add some
8842           debugging messages; add log message that tells us when large
8843           file support is unavailable or not enabled for some reason.
8844
8845         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8846           Add log message that tells us when large file support 
8847           is unavailable or not enabled for some reason.
8848
8849 2005-07-29  Wim Taymans  <wim@fluendo.com>
8850
8851         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8852         Added test for removing an element with ghostpad from a bin.
8853         Fixed test as current implementation does the right thing.
8854
8855         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8856         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8857         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8858         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8859         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8860         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8861         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8862         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8863         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8864         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8865         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8866         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8867         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8868         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8869         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8870         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8871         * gst/gstghostpad.h:
8872         Clean up ghostpads, remove properties for internal stuff.
8873         Make threadsafe.
8874         Fix refcounting.
8875         Prepare for switching targets, not all use cases work yet.
8876
8877 2005-07-29  Wim Taymans  <wim@fluendo.com>
8878
8879         * docs/design/part-gstghostpad.txt:
8880         Small update.
8881
8882         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8883         (gst_bin_remove_func):
8884         Unlinking pads while holding the bin LOCK is not a good
8885         idea.
8886
8887         * gst/gstpad.c: (gst_pad_class_init),
8888         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8889         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8890         No prob setting template after creating the pad.
8891
8892 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8893
8894         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8895         (gst_bus_peek), (gst_bus_source_dispatch),
8896         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8897         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8898           gst_bus_poll may be called from other threads. Handle
8899           this nicely by not making poll_data disappear off the
8900           stack once gst_bus_poll returns.
8901           gst_bus_peek now increments the refcount on the returned
8902           message.
8903
8904 2005-07-29  Wim Taymans  <wim@fluendo.com>
8905
8906         * docs/design/part-gstghostpad.txt:
8907         Overview of current GhostPad datastructures and use
8908         cases for changing the target.
8909
8910 2005-07-28  Wim Taymans  <wim@fluendo.com>
8911
8912         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8913         Added checks for hierarchy consistency whan adding linked
8914         elements to bins.
8915
8916         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8917         Added check to test element scheduling without bin/pipeline.
8918
8919         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8920         First add elements to bin, then link.
8921         
8922         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8923         (gst_bin_remove_func):
8924         Unlink pads from elements added/removed from bin to maintain
8925         hierarchy consistency.
8926
8927 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8928
8929         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8930         (gst_base_transform_handle_buffer):
8931         * gst/base/gstbasetransform.h:
8932           Remove broken delay_configure (fixes renegotiation of software
8933           scaling pipelines); remove some leftover printf()s.
8934
8935 2005-07-28  Wim Taymans  <wim@fluendo.com>
8936
8937         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8938         Added some more tests for wrong hierarchy
8939
8940         * docs/design/part-overview.txt:
8941         Some updates.
8942
8943         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8944         Cleanups.
8945
8946         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8947         (gst_element_dispose):
8948         Some more cleanups.
8949
8950         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8951         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8952         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8953         (gst_pad_set_caps), (gst_pad_send_event):
8954         Check for correct hierarchy when linking pads. Moving to
8955         strict requirement for ghostpads when linking elements in
8956         different bins.
8957
8958         * gst/gstpad.h:
8959         Clean ups. Added WRONG_HIERARCHY return value.
8960
8961 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8962
8963         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8964           Better debug if no transform is possible.
8965
8966 2005-07-27  Wim Taymans  <wim@fluendo.com>
8967
8968         * docs/random/wtay/network-transp:
8969         Some old doc I had.
8970
8971 2005-07-27  Wim Taymans  <wim@fluendo.com>
8972
8973         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8974         (gst_dp_event_from_packet):
8975         Fix serialization of seek events.
8976
8977 2005-07-27  Wim Taymans  <wim@fluendo.com>
8978
8979         * check/gst-libs/gdp.c: (GST_START_TEST):
8980         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8981         Fix compilation and fix event serialization.
8982
8983 2005-07-27  Wim Taymans  <wim@fluendo.com>
8984
8985         * CHANGES-0.9:
8986         * docs/design/part-TODO.txt:
8987         * docs/design/part-events.txt:
8988         Some docs updates
8989
8990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8991         (gst_base_sink_event), (gst_base_sink_do_sync),
8992         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8993         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8994         (gst_base_src_do_seek), (gst_base_src_event_handler),
8995         (gst_base_src_loop):
8996         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8997         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8998         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8999         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9000         (gst_base_transform_set_passthrough),
9001         (gst_base_transform_is_passthrough):
9002         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9003         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9004         Event updates.
9005
9006         * gst/gstbuffer.h:
9007         Use faster casts.
9008
9009         * gst/gstelement.c: (gst_element_seek):
9010         * gst/gstelement.h:
9011         Update gst_element_seek.
9012
9013         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9014         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9015         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9016         (gst_event_new_eos), (gst_event_new_newsegment),
9017         (gst_event_parse_newsegment), (gst_event_new_tag),
9018         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9019         (gst_event_parse_qos), (gst_event_new_seek),
9020         (gst_event_parse_seek), (gst_event_new_navigation):
9021         * gst/gstevent.h:
9022         Make GstEvent use GstStructure. Add parsing code, make sure the
9023         API is sufficiently generic.
9024         Mark possible directions of events and serialization.
9025
9026         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9027         (_gst_message_copy), (gst_message_new_segment_start),
9028         (gst_message_new_segment_done), (gst_message_new_custom),
9029         (gst_message_parse_segment_start),
9030         (gst_message_parse_segment_done):
9031         Small cleanups.
9032
9033         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9034         (gst_pad_set_caps), (gst_pad_send_event):
9035         Update for new events. 
9036         Catch events sent in wrong directions.
9037
9038         * gst/gstqueue.c: (gst_queue_link_src),
9039         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9040         (gst_queue_handle_src_query):
9041         Event updates.
9042
9043         * gst/gsttag.c:
9044         * gst/gsttag.h:
9045         Remove event code from this file.
9046
9047         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9048         (gst_dp_event_from_packet):
9049         Event updates.
9050
9051 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9052
9053         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9054         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9055         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9056           Make debugging actually useful.
9057
9058 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9059
9060         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9061         (gst_pad_fixate_caps):
9062           Implement default fixation once again, so that gst_pad_fixate()
9063           actually does anything at all. This probably needs to be some
9064           sort of a last resort, and use profile-based fixation first, but
9065           since that doesn't exist yet, this is the best we have. Fixes
9066           visualization in Totem.
9067
9068 2005-07-22  Wim Taymans  <wim@fluendo.com>
9069
9070         * docs/design/part-events.txt:
9071         Small update.
9072
9073         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9074         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9075         (gst_base_sink_activate_pull):
9076         Some more comments.
9077
9078         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9079         (gst_fake_src_create):
9080         Fix handoff marshall.
9081
9082         * gst/elements/gstidentity.c: (gst_identity_class_init),
9083         (gst_identity_transform_ip):
9084         We're a real inplace element.
9085
9086         * gst/gstbus.c: (gst_bus_post):
9087         Added some comments.
9088
9089         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9090         * tests/muxing/case1.c: (main):
9091         * tests/sched/dynamic-pipeline.c: (main):
9092         * tests/sched/interrupt1.c: (main):
9093         * tests/sched/interrupt2.c: (main):
9094         * tests/sched/interrupt3.c: (main):
9095         * tests/sched/runxml.c: (main):
9096         * tests/sched/sched-stress.c: (main):
9097         * tests/seeking/seeking1.c: (event_received), (main):
9098         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9099         (main):
9100         * tests/threadstate/threadstate3.c: (main):
9101         * tests/threadstate/threadstate4.c: (main):
9102         * tests/threadstate/threadstate5.c: (main):
9103         Fix the tests.
9104
9105 2005-07-21  Wim Taymans  <wim@fluendo.com>
9106
9107         * docs/design/part-seeking.txt:
9108         Some small additions.
9109
9110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9111         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9112         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9113         * gst/base/gstbasesink.h:
9114         discont values are gint64, handle the math correctly.
9115
9116         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9117         Make the basesrc report error if the source pad is not linked.
9118
9119         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9120         (gst_queue_loop), (gst_queue_handle_src_query),
9121         (gst_queue_src_activate_push):
9122         Make queue collect data even if the srcpad is not linked.
9123         Start pushing out data as soon as it is linked.
9124
9125         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9126         * gst/gstutils.h:
9127         Added gst_flow_get_name() to ease error reporting.
9128
9129 2005-07-20  Wim Taymans  <wim@fluendo.com>
9130
9131         * gst/gstmessage.c: (gst_message_new_segment_start),
9132         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9133         (gst_message_parse_segment_done):
9134         * gst/gstmessage.h:
9135         Added a bunch of messages for advanced seeking.
9136
9137         * gst/parse/grammar.y:
9138         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9139         (gst_dpman_state_changed):
9140         Fix some new-pad -> pad-added signals
9141
9142 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9143
9144         * docs/manual/appendix-porting.xml:
9145         * docs/pwg/appendix-porting.xml:
9146           Document new-pad/state-change signal renames and the FixedList
9147           type rename.
9148
9149 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9150
9151         * docs/manual/advanced-autoplugging.xml:
9152         * docs/manual/basics-helloworld.xml:
9153         * docs/manual/basics-pads.xml:
9154         * docs/random/ds/0.9-suggested-changes:
9155         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9156         * gst/gstelement.h:
9157         * gst/gstevent.h:
9158         * gst/gstformat.h:
9159         * gst/gstquery.h:
9160         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9161         (gst_structure_parse_array), (gst_structure_parse_value):
9162         * gst/gstvalue.c: (gst_type_is_fixed),
9163         (gst_value_list_prepend_value), (gst_value_list_append_value),
9164         (gst_value_list_get_size), (gst_value_list_get_value),
9165         (gst_value_transform_array_string), (gst_value_serialize_array),
9166         (gst_value_deserialize_array), (gst_value_intersect_array),
9167         (gst_value_is_fixed), (_gst_value_initialize):
9168         * gst/gstvalue.h:
9169           GstElement::new-pad -> pad-added, GstElement::state-change ->
9170           state-changed, GstValueFixedList -> GstValueArray, add format and
9171           flags as their own arguments in gst_element_seek() (should improve
9172           "bindeability"), remove function generators since they don't work
9173           under a whole bunch of compilers (they were deprecated already
9174           anyway).
9175
9176 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9177
9178         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9179         (_gst_debug_register_funcptr):
9180         * gst/gstinfo.h:
9181           Fix illegal cast on some platforms (#309253).
9182
9183 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9184
9185         * gst/gstmessage.c: (gst_message_new_custom):
9186         * gst/gstmessage.h:
9187           Add _new_custom, make _new_application a macro to _new_custom.
9188
9189 2005-07-20  Wim Taymans  <wim@fluendo.com>
9190
9191         * gst/base/gstbasesrc.c: (gst_base_src_init),
9192         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9193         * gst/base/gstbasesrc.h:
9194         Add a gboolean to decide when to push out a discont.
9195
9196         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9197         (gst_queue_loop), (gst_queue_handle_src_query),
9198         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9199         (gst_queue_set_property), (gst_queue_get_property):
9200         Some cleanups.
9201
9202         * tests/threadstate/threadstate1.c: (main):
9203         Make a thread test compile and run... very silly..
9204
9205
9206 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9207
9208         * docs/manual/appendix-porting.xml:
9209           Mention removal of libgstgconf-0.9.la and existence of gconf
9210           elements.
9211
9212 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9213
9214         * docs/pwg/advanced-clock.xml:
9215         * docs/pwg/appendix-porting.xml:
9216         * docs/pwg/intro-preface.xml:
9217         * docs/pwg/other-base.xml:
9218         * docs/pwg/other-manager.xml:
9219         * docs/pwg/other-nton.xml:
9220         * docs/pwg/other-ntoone.xml:
9221         * docs/pwg/other-oneton.xml:
9222         * docs/pwg/pwg.xml:
9223           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9224           demuxer), remove n-to-n (was never written), fix some code examples
9225           and links and update the porting section to include all this.
9226
9227 2005-07-19  Wim Taymans  <wim@fluendo.com>
9228
9229         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9230         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9231         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9232         (gst_queue_src_activate_push), (gst_queue_change_state),
9233         (gst_queue_get_property):
9234         * gst/gstqueue.h:
9235         Propagate GstFlowReturn more intelligently upstream and output
9236         an ERROR/EOS when streaming stopped due to fatal error.
9237
9238 2005-07-19  Wim Taymans  <wim@fluendo.com>
9239
9240         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9241         Don't block forever for the state change to complete, the
9242         pipeline already did with a sensible timeout.
9243
9244 2005-07-19  Wim Taymans  <wim@fluendo.com>
9245
9246         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9247         Make sure we never call the create function is we
9248         got deactivated.
9249
9250 2005-07-19  Andy Wingo  <wingo@pobox.com>
9251
9252         * gst/parse/parse.l: Attempt to solve bug #172815.
9253
9254 2005-07-19  Wim Taymans  <wim@fluendo.com>
9255
9256         * docs/design/part-clocks.txt:
9257         * docs/design/part-events.txt:
9258         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9259         Small docs updates.
9260         Only update the seeking values when we are not
9261         busy streaming.
9262
9263 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9264
9265         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9266           Oops, ignore the result of gst_pad_push_event here.
9267
9268 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9269
9270         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9271         (gst_base_src_activate_push):
9272           Send discont event from the loop function, as pads
9273           aren't activated yet in the activate_push handler.
9274
9275         * gst/gstbin.c: (bin_bus_handler):
9276           Don't leak element name.
9277
9278 2005-07-18  Andy Wingo  <wingo@pobox.com>
9279
9280         * configure.ac: Use AS_LIBTOOL_TAGS.
9281
9282 2005-07-18  Wim Taymans  <wim@fluendo.com>
9283
9284         * docs/gst/gstreamer.types:
9285         Remove deleted types.
9286
9287 2005-07-18  Wim Taymans  <wim@fluendo.com>
9288
9289         * check/elements/gstfakesrc.c: (GST_START_TEST):
9290         * configure.ac:
9291         * gst/Makefile.am:
9292         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9293         (init_popt_callback):
9294         * gst/gst.h:
9295         * gst/gst_private.h:
9296         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9297         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9298         * gst/gstbin.h:
9299         * gst/gstbus.h:
9300         * gst/gstconfig.h.in:
9301         * gst/gstelement.c: (gst_element_class_init),
9302         (gst_element_set_base_time), (gst_element_get_base_time),
9303         (iterator_fold_with_resync), (gst_element_change_state),
9304         (gst_element_dispose), (gst_element_get_bus):
9305         * gst/gstelement.h:
9306         * gst/gstelementfactory.h:
9307         * gst/gsterror.c: (_gst_core_errors_init):
9308         * gst/gsterror.h:
9309         * gst/gstevent.h:
9310         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9311         * gst/gstindex.c:
9312         * gst/gstinfo.c: (_gst_debug_init):
9313         * gst/gstmessage.c: (_gst_message_copy):
9314         * gst/gstmessage.h:
9315         * gst/gstminiobject.h:
9316         * gst/gstobject.c:
9317         * gst/gstobject.h:
9318         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9319         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9320         * gst/gstpad.h:
9321         * gst/gstparse.h:
9322         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9323         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9324         (gst_pipeline_get_last_stream_time):
9325         * gst/gstpipeline.h:
9326         * gst/gstpluginfeature.h:
9327         * gst/gstquery.h:
9328         * gst/gstscheduler.c:
9329         * gst/gstscheduler.h:
9330         * gst/gststructure.h:
9331         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9332         (gst_task_finalize), (gst_task_func), (gst_task_create),
9333         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9334         (gst_task_stop), (gst_task_pause):
9335         * gst/gsttask.h:
9336         * gst/gsttypefind.h:
9337         * gst/gsttypes.h:
9338         * gst/registries/gstlibxmlregistry.c: (load_feature),
9339         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9340         * gst/registries/gstxmlregistry.c:
9341         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9342         * gst/schedulers/threadscheduler.c:
9343         * libs/gst/control/dparammanager.h:
9344         * tools/gst-inspect.c: (print_element_list),
9345         (print_plugin_features), (print_element_features):
9346         * tools/gst-xmlinspect.c: (print_element_list),
9347         (print_plugin_info), (main):
9348         Removed plugable schedulers.
9349         Removed Scheduler/Manager from elements.
9350         Removed gsttypes.h, rearranged includes.
9351         Removed dependency pad<->element, element<>pipeline, and
9352         various others,  fix includes.
9353         implement gst_pad_get_parent() with gst_object_get_parent()
9354         Make GstTask sefcontained.
9355         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9356         timeout.
9357         Fix endless loop in iterator_fold_with_resync.
9358
9359
9360 2005-07-18  Wim Taymans  <wim@fluendo.com>
9361
9362         * gst/Makefile.am:
9363         * gst/gstarch.h:
9364         Remove old file.
9365
9366 2005-07-18  Wim Taymans  <wim@fluendo.com>
9367
9368         * gst/Makefile.am:
9369         No more cothreads.h
9370
9371 2005-07-18  Wim Taymans  <wim@fluendo.com>
9372
9373         * gst/cothreads.c:
9374         * gst/cothreads.h:
9375         Let's remove these.
9376
9377 2005-07-18  Wim Taymans  <wim@fluendo.com>
9378
9379         * docs/design/part-dynamic.txt:
9380         * docs/design/part-events.txt:
9381         * docs/design/part-seeking.txt:
9382         Some more docs in the works.
9383
9384         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9385         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9386         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9387         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9388         (gst_base_transform_handle_buffer),
9389         (gst_base_transform_sink_activate_push),
9390         (gst_base_transform_src_activate_pull),
9391         (gst_base_transform_set_passthrough),
9392         (gst_base_transform_is_passthrough):
9393         Refcounting fixes.
9394
9395         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9396         Cleanups.
9397
9398         * gst/gstevent.c: (gst_event_finalize):
9399         Set SRC to NULL.
9400
9401         * gst/gstutils.c: (gst_element_unlink),
9402         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9403         (gst_pad_proxy_setcaps):
9404         * gst/gstutils.h:
9405         Add _get_parent_element() to get a pads parent as an element.
9406
9407 2005-07-18  Wim Taymans  <wim@fluendo.com>
9408
9409         * check/gst/gstbin.c: (GST_START_TEST):
9410         Remove bogus test.
9411
9412 2005-07-18  Wim Taymans  <wim@fluendo.com>
9413
9414         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9415         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9416         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9417         (gst_base_sink_event), (gst_base_sink_do_sync),
9418         (gst_base_sink_chain), (gst_base_sink_loop),
9419         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9420         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9421         Refcounting fixes.
9422         Fix logic for returning ASYNC when not prerolled.
9423
9424 2005-07-18  Wim Taymans  <wim@fluendo.com>
9425
9426         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9427         Fix nasty refcount bug.
9428
9429 2005-07-16 Philippe Khalaf <burger@speedy.org>
9430
9431         * gst/elements/gstfdsrc.c:
9432         * gst/elements/gstfdsrc.h:
9433         * gst/elements/gstelements.c:
9434         * gst/elements/Makefile.am:
9435         Ported fdsrc to 0.9.
9436
9437 2005-07-16  Wim Taymans  <wim@fluendo.com>
9438
9439         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9440         (gst_base_sink_do_sync):
9441         Fix compile error.
9442
9443 2005-07-16  Wim Taymans  <wim@fluendo.com>
9444
9445         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9446         (gst_base_sink_event), (gst_base_sink_get_times),
9447         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9448         * gst/base/gstbasesink.h:
9449         Store and use discont values when syncing buffers as described
9450         in design docs.
9451         
9452         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9453         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9454         (gst_base_src_activate_push):
9455         Push discont event when starting.
9456
9457         * gst/elements/gstidentity.c: (gst_identity_transform):
9458         Small cleanups.
9459
9460         * gst/gstbin.c: (gst_bin_change_state):
9461         Small cleanups in base_time  distribution.
9462
9463         * gst/gstelement.c: (gst_element_set_base_time),
9464         (gst_element_get_base_time), (gst_element_change_state):
9465         * gst/gstelement.h:
9466         Added methods for the base_time of the element.
9467         Some MT fixes.
9468
9469         * gst/gstpipeline.c: (gst_pipeline_send_event),
9470         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9471         (gst_pipeline_get_last_stream_time):
9472         * gst/gstpipeline.h:
9473         MT fixes.
9474         Handle seeking as described in design doc, remove stream_time
9475         hack.
9476         Cleanups clock and stream_time selection code. Added accessors
9477         for the stream_time.
9478         
9479
9480 2005-07-16  Andy Wingo  <wingo@pobox.com>
9481
9482         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9483         (#305291).
9484
9485 2005-07-16  Wim Taymans  <wim@fluendo.com>
9486
9487         * check/gst/gstbin.c: (GST_START_TEST):
9488         Make elements silent as the deep_notify refs the
9489         parent, which might make the test fail.
9490
9491         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9492         Don't hold the lock for too long.
9493
9494 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9495
9496         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9497           Don't unref the caps we passed to gst_caps_make_writable() after
9498           passing them. gst_caps_make_writable() will do that for us.
9499
9500 2005-07-15  Andy Wingo  <wingo@pobox.com>
9501
9502         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9503         (#157311).
9504
9505         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9506         own marshalling function for the handoff signal. Properly type the
9507         buffer as a buffer. Fixes some warnings. Should do a more general
9508         solution.
9509         (gst_identity_class_init): Plug into the right marshaller.
9510
9511 2005-07-15  Wim Taymans  <wim@fluendo.com>
9512
9513         * docs/design/part-TODO.txt:
9514         * docs/design/part-clocks.txt:
9515         * docs/design/part-element-sink.txt:
9516         * docs/design/part-events.txt:
9517         * docs/design/part-gstpipeline.txt:
9518         Updated docs, mostly DISCONT related.
9519
9520 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9521
9522         * docs/pwg/building-pads.xml:
9523           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9524
9525 2005-07-15  Andy Wingo  <wingo@pobox.com>
9526
9527         * tools/gst-typefind.c: Update, add copyright block.
9528
9529         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9530         Normalize and truncate caps before fixation.
9531
9532         * gst/gstcaps.h:
9533         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9534         discards all but the first structure from its argument.
9535
9536 2005-07-15  Wim Taymans  <wim@fluendo.com>
9537
9538         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9539         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9540         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9541         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9542         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9543         (gst_base_transform_chain), (gst_base_transform_change_state),
9544         (gst_base_transform_set_passthrough),
9545         (gst_base_transform_is_passthrough):
9546         * gst/base/gstbasetransform.h:
9547         Make passthrough work using the bufferpools.
9548         Changed API a bit, subclasses have to write into a buffer
9549         provided by the base class.
9550         More debug info in nego functions.
9551         
9552         * gst/elements/gstidentity.c: (gst_identity_init),
9553         (gst_identity_transform):
9554         Port to new base class.
9555
9556 2005-07-15  Wim Taymans  <wim@fluendo.com>
9557
9558         * gst/gstmessage.c: (gst_message_new_state_changed):
9559         * tools/gst-launch.c: (event_loop), (main):
9560         Totally dump messages in -launch with the -m option.
9561         Fix message name for State messages,
9562
9563 2005-07-14  Wim Taymans  <wim@fluendo.com>
9564
9565         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9566         Post error messages on errors.
9567
9568 2005-07-14  Wim Taymans  <wim@fluendo.com>
9569
9570         * gst/gstcaps.c: (gst_caps_do_simplify):
9571         Remove debug info.
9572
9573         * gst/gsterror.h:
9574         Define error for stream stopped.
9575
9576         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9577         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9578         Do proper return values.
9579
9580         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9581         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9582         (gst_pad_get_range):
9583         Better return values.
9584
9585         * gst/gstpad.h:
9586         Reorganise return values, add macro to check for fatal errors.
9587
9588         * gst/gstqueue.c: (gst_queue_chain):
9589         Return proper GstFlowReturn values,
9590
9591 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9592
9593         * docs/gst/gstreamer-sections.txt:
9594         * docs/gst/gstreamer.types:
9595         * docs/gst/tmpl/gst.sgml:
9596         * docs/gst/tmpl/gstbasesink.sgml:
9597         * docs/gst/tmpl/gstbasesrc.sgml:
9598         * docs/gst/tmpl/gstbasetransform.sgml:
9599         * docs/gst/tmpl/gstbin.sgml:
9600         * docs/gst/tmpl/gstbuffer.sgml:
9601         * docs/gst/tmpl/gstcaps.sgml:
9602         * docs/gst/tmpl/gstclock.sgml:
9603         * docs/gst/tmpl/gstcompat.sgml:
9604         * docs/gst/tmpl/gstconfig.sgml:
9605         * docs/gst/tmpl/gstelement.sgml:
9606         * docs/gst/tmpl/gstelementdetails.sgml:
9607         * docs/gst/tmpl/gstelementfactory.sgml:
9608         * docs/gst/tmpl/gstenumtypes.sgml:
9609         * docs/gst/tmpl/gsterror.sgml:
9610         * docs/gst/tmpl/gstevent.sgml:
9611         * docs/gst/tmpl/gstfakesink.sgml:
9612         * docs/gst/tmpl/gstfakesrc.sgml:
9613         * docs/gst/tmpl/gstfilesink.sgml:
9614         * docs/gst/tmpl/gstfilesrc.sgml:
9615         * docs/gst/tmpl/gstfilter.sgml:
9616         * docs/gst/tmpl/gstformat.sgml:
9617         * docs/gst/tmpl/gstghostpad.sgml:
9618         * docs/gst/tmpl/gstimplementsinterface.sgml:
9619         * docs/gst/tmpl/gstindex.sgml:
9620         * docs/gst/tmpl/gstindexfactory.sgml:
9621         * docs/gst/tmpl/gstinfo.sgml:
9622         * docs/gst/tmpl/gstiterator.sgml:
9623         * docs/gst/tmpl/gstmacros.sgml:
9624         * docs/gst/tmpl/gstmemchunk.sgml:
9625         * docs/gst/tmpl/gstminiobject.sgml:
9626         * docs/gst/tmpl/gstobject.sgml:
9627         * docs/gst/tmpl/gstpad.sgml:
9628         * docs/gst/tmpl/gstpadtemplate.sgml:
9629         * docs/gst/tmpl/gstparse.sgml:
9630         * docs/gst/tmpl/gstpipeline.sgml:
9631         * docs/gst/tmpl/gstplugin.sgml:
9632         * docs/gst/tmpl/gstpluginfeature.sgml:
9633         * docs/gst/tmpl/gstquery.sgml:
9634         * docs/gst/tmpl/gstqueue.sgml:
9635         * docs/gst/tmpl/gstregistry.sgml:
9636         * docs/gst/tmpl/gstregistrypool.sgml:
9637         * docs/gst/tmpl/gstscheduler.sgml:
9638         * docs/gst/tmpl/gstschedulerfactory.sgml:
9639         * docs/gst/tmpl/gststructure.sgml:
9640         * docs/gst/tmpl/gstsystemclock.sgml:
9641         * docs/gst/tmpl/gsttaglist.sgml:
9642         * docs/gst/tmpl/gsttagsetter.sgml:
9643         * docs/gst/tmpl/gsttrace.sgml:
9644         * docs/gst/tmpl/gsttrashstack.sgml:
9645         * docs/gst/tmpl/gsttypefind.sgml:
9646         * docs/gst/tmpl/gsttypefindfactory.sgml:
9647         * docs/gst/tmpl/gsttypes.sgml:
9648         * docs/gst/tmpl/gsturihandler.sgml:
9649         * docs/gst/tmpl/gsturitype.sgml:
9650         * docs/gst/tmpl/gstutils.sgml:
9651         * docs/gst/tmpl/gstvalue.sgml:
9652         * docs/gst/tmpl/gstversion.sgml:
9653         * docs/gst/tmpl/gstxml.sgml:
9654         * docs/libs/tmpl/gstcontrol.sgml:
9655         * docs/libs/tmpl/gstdataprotocol.sgml:
9656         * docs/libs/tmpl/gstdparam.sgml:
9657         * docs/libs/tmpl/gstdplinint.sgml:
9658         * docs/libs/tmpl/gstdpman.sgml:
9659         * docs/libs/tmpl/gstdpsmooth.sgml:
9660         * docs/libs/tmpl/gstgetbits.sgml:
9661         * docs/libs/tmpl/gstunitconvert.sgml:
9662         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9663         (gst_push_src_base_init), (gst_push_src_class_init),
9664         (gst_push_src_init), (gst_push_src_create):
9665         * gst/base/gstpushsrc.h:
9666         * gst/elements/gstelements.c:
9667         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9668         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9669         (gst_fake_sink_init), (gst_fake_sink_set_property),
9670         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9671         (gst_fake_sink_event), (gst_fake_sink_preroll),
9672         (gst_fake_sink_render), (gst_fake_sink_change_state):
9673         * gst/elements/gstfakesink.h:
9674         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9675         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9676         (gst_fake_src_base_init), (gst_fake_src_class_init),
9677         (gst_fake_src_init), (gst_fake_src_event_handler),
9678         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9679         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9680         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9681         (gst_fake_src_create_buffer), (gst_fake_src_create),
9682         (gst_fake_src_start), (gst_fake_src_stop):
9683         * gst/elements/gstfakesrc.h:
9684         * gst/elements/gstfilesink.c: (_do_init),
9685         (gst_file_sink_base_init), (gst_file_sink_class_init),
9686         (gst_file_sink_init), (gst_file_sink_dispose),
9687         (gst_file_sink_set_location), (gst_file_sink_set_property),
9688         (gst_file_sink_get_property), (gst_file_sink_open_file),
9689         (gst_file_sink_close_file), (gst_file_sink_query),
9690         (gst_file_sink_event), (gst_file_sink_render),
9691         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9692         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9693         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9694         * gst/elements/gstfilesink.h:
9695         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9696         (gst_file_src_class_init), (gst_file_src_init),
9697         (gst_file_src_finalize), (gst_file_src_set_location),
9698         (gst_file_src_set_property), (gst_file_src_get_property),
9699         (gst_file_src_map_region), (gst_file_src_map_small_region),
9700         (gst_file_src_create_mmap), (gst_file_src_create_read),
9701         (gst_file_src_create), (gst_file_src_is_seekable),
9702         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9703         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9704         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9705         (gst_file_src_uri_handler_init):
9706         * gst/elements/gstfilesrc.h:
9707           more autistic cleanliness in functions/names/defines
9708
9709 2005-07-13  Andy Wingo  <wingo@pobox.com>
9710
9711         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9712         source couldn't negotiate.
9713
9714         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9715         connections again.
9716
9717         * gst/gstutils.h:
9718         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9719         function. I am channeling Hades. Put your boots on suckers!!!
9720
9721 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9722
9723         * testsuite/caps/Makefile.am:
9724         * testsuite/caps/value_compare.c:
9725         * testsuite/caps/value_intersect.c:
9726         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9727           move two testsuite apps over to the check dir
9728
9729 2005-07-12  Wim Taymans  <wim@fluendo.com>
9730
9731         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9732         Added more debug info in the negotiate process.
9733
9734         * gst/gstmessage.h:
9735         Prepare for segment playback.
9736
9737         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9738         Better debugging.
9739
9740         * gst/gstutils.c:
9741         Some more docs.
9742
9743         * tools/gst-launch.c: (main):
9744         NULL pipeline on errors.
9745
9746 2005-07-12  Andy Wingo  <wingo@pobox.com>
9747
9748         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9749         not it comes from a malloc region. Make sure our copy gets freed.
9750
9751 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9752
9753         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9754         * check/gst/gstmessage.c: (GST_START_TEST):
9755         * check/gst/gststructure.c: (GST_START_TEST),
9756         (gst_structure_suite), (main):
9757           more testing
9758         * gst/gstelement.c: (gst_element_message_full):
9759           clean up GError and debug string now that they get copied
9760         * gst/gstmessage.c: (gst_message_new_error),
9761         (gst_message_new_warning), (gst_message_parse_error),
9762         (gst_message_parse_warning):
9763           use GST_TYPE_G_ERROR for structure_new, and take copies of
9764           arguments, so that we don't mess up refcounting
9765
9766 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9767
9768         * check/Makefile.am:
9769           add per-test valgrind targets
9770         * check/gst-libs/gdp.c: (GST_START_TEST),
9771         (gst_data_protocol_suite), (main):
9772           clean up
9773
9774 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9775
9776         * check/Makefile.am:
9777           instate more valgrindable tests
9778         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9779         (GST_START_TEST), (fakesrc_suite):
9780         * check/gst/gstpad.c: (GST_START_TEST):
9781         * check/gst/gststructure.c: (GST_START_TEST):
9782           fix test leaks
9783         * docs/gst/tmpl/gstminiobject.sgml:
9784         * gst/gstpad.c: (gst_pad_finalize):
9785           fix the static mutex leak
9786
9787 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9788
9789         * check/Makefile.am:
9790           add two more tests for valgrinding
9791         * check/gst/gstvalue.c: (GST_START_TEST):
9792           test refcount of deserialized buffer, found a leak
9793         * docs/gst/gstreamer-docs.sgml:
9794         * docs/gst/gstreamer-sections.txt:
9795         * docs/gst/gstreamer.types:
9796         * docs/gst/tmpl/gstminiobject.sgml:
9797           add miniobject to docs
9798         * gst/gstminiobject.c:
9799           add some docs
9800         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9801         (gst_string_unwrap):
9802           fix a hard-to-find invalid write for one of the tests
9803           fix a leak for deserialized buffers
9804
9805 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9806
9807         * docs/pwg/advanced-events.xml:
9808         * docs/pwg/advanced-request.xml:
9809         * docs/pwg/advanced-scheduling.xml:
9810         * docs/pwg/appendix-porting.xml:
9811         * docs/pwg/building-boiler.xml:
9812         * docs/pwg/intro-preface.xml:
9813         * docs/pwg/other-ntoone.xml:
9814           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9815           of example code and explanation for pad activation, loop() and
9816           getrange() functions and a bit more. Remove old comments pointing
9817           to loop-functions.
9818         * examples/pwg/Makefile.am:
9819           Add loop/getrange examples.
9820
9821 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9822
9823         * configure.ac:
9824           check for valgrind binary + some fixes
9825         * check/gst.supp:
9826           valgrind suppressions for the tests
9827         * check/Makefile.am:
9828           add a valgrind: target that valgrinds the unit tests
9829         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9830         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9831         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9832         * check/gst/gstghostpad.c:
9833           added some cleanup
9834         * check/gst/gstdata.c:
9835           removed
9836         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9837         (thread_unref), (gst_mini_object_suite), (main):
9838           added
9839         * gst/gst.c: (gst_deinit):
9840         * gst/gst.h:
9841           add a method to clean up.
9842         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9843         (gst_system_clock_obtain):
9844           allow for disposing the system clock.
9845         * tools/gst-launch.c: (main):
9846           deinit
9847
9848 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9849
9850         * docs/gst/tmpl/gstbasesrc.sgml:
9851         * docs/gst/tmpl/gstfakesrc.sgml:
9852         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9853         (gst_base_src_init), (gst_base_src_set_property),
9854         (gst_base_src_get_property), (gst_base_src_get_range),
9855         (gst_base_src_start):
9856         * gst/base/gstbasesrc.h:
9857           add num-buffers property
9858         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9859         (gst_fakesrc_init), (gst_fakesrc_set_property),
9860         (gst_fakesrc_get_property), (gst_fakesrc_create),
9861         (gst_fakesrc_start):
9862           remove num-buffers property
9863
9864 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9865
9866         * docs/gst/gstreamer-sections.txt:
9867         * docs/gst/tmpl/gstbasesink.sgml:
9868         * docs/gst/tmpl/gstbasesrc.sgml:
9869         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9870         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9871         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9872         (gst_base_sink_set_property), (gst_base_sink_get_property),
9873         (gst_base_sink_handle_object), (gst_base_sink_event),
9874         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9875         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9876         (gst_base_sink_loop), (gst_base_sink_deactivate),
9877         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9878         (gst_base_sink_change_state):
9879         * gst/base/gstbasesink.h:
9880         * gst/base/gstbasesrc.h:
9881         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9882         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9883         (gst_filesink_init):
9884           more macro splitting
9885
9886 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9887
9888         * gst/gstelement.c: (gst_element_get_bus):
9889           add debug
9890         * tools/gst-launch.c: (check_intr), (event_loop):
9891           fix bus leaks
9892
9893 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9894
9895         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9896           fix a caps leak
9897
9898 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9899
9900         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9901         (gst_base_src_finalize):
9902           add finalize method and clean up properly
9903         * gst/gstpipeline.c: (gst_pipeline_dispose):
9904           add debug
9905
9906 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9907
9908         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9909         (gst_bin_suite):
9910           add more things to check
9911         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9912         * gst/gstelement.c:
9913           more debug
9914
9915 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9916
9917         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9918         (GST_START_TEST), (fakesrc_suite):
9919         * check/gst-libs/gdp.c: (GST_START_TEST):
9920         * check/gst/gst.c: (GST_START_TEST):
9921         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9922         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9923         * check/gst/gstbus.c: (GST_START_TEST):
9924         * check/gst/gstcaps.c: (GST_START_TEST):
9925         * check/gst/gstdata.c: (GST_START_TEST):
9926         * check/gst/gstelement.c: (GST_START_TEST):
9927         * check/gst/gstghostpad.c: (GST_START_TEST):
9928         * check/gst/gstiterator.c: (GST_START_TEST):
9929         * check/gst/gstmessage.c: (GST_START_TEST):
9930         * check/gst/gstobject.c: (GST_START_TEST):
9931         * check/gst/gstpad.c: (GST_START_TEST):
9932         * check/gst/gststructure.c: (GST_START_TEST):
9933         * check/gst/gstsystemclock.c: (GST_START_TEST),
9934         (gst_systemclock_suite):
9935         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9936         * check/gst/gstvalue.c: (GST_START_TEST):
9937         * check/pipelines/cleanup.c: (GST_START_TEST):
9938         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9939         * check/states/sinks.c: (GST_START_TEST):
9940         * check/gstcheck.c: (gst_check_init):
9941         * check/gstcheck.h:
9942           add debugging category
9943           use GST_START_TEST now, so we add a debug line
9944
9945 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9946
9947         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9948           add test for state change message on a bin
9949         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9950           add another test
9951         * gst/gstbin.c: (gst_bin_init):
9952         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9953         * gst/gstelement.c: (gst_element_post_message),
9954         (gst_element_set_state):
9955         * gst/gstelementfactory.c: (gst_element_factory_create):
9956         * gst/gstmessage.c: (gst_message_new):
9957         * gst/gstscheduler.c:
9958           various debugging additions and cleanups
9959
9960 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9961
9962         * check/Makefile.am:
9963         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9964         (main):
9965           adding tests for elements
9966         * gst/gstelement.c: (gst_element_dispose):
9967
9968 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9969
9970         * gst/registries/gstlibxmlregistry.c: (load_feature):
9971           plug more leaks.  A simple gst_init() now is leakfree, yay.
9972
9973 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9974
9975         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9976         (gst_xml_registry_load):
9977           plug another memleak
9978
9979 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9980
9981         * configure.ac:
9982           use GST_SET_ERROR_CFLAGS
9983         * docs/faq/cvs.xml:
9984           change to ERROR_CFLAGS
9985
9986 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9987
9988         * configure.ac:
9989           make GST_ERROR_CFLAGS overridable and re-enable Werror
9990         * docs/faq/cvs.xml:
9991           add a note about error CFLAGS
9992         * docs/gst/tmpl/gstfakesrc.sgml:
9993         * gst/elements/gstfakesrc.c:
9994           comment out some unused code
9995         * gst/gst.c: (split_and_iterate):
9996         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9997         (load_feature):
9998           plug some memleaks
9999
10000 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10001
10002         * common/Makefile.am:
10003         * common/gtk-doc.mak:
10004         * docs/gst/Makefile.am:
10005           factor out gtk-doc.mak
10006
10007 2005-07-07  Wim Taymans  <wim@fluendo.com>
10008
10009         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10010         (gst_thread_scheduler_dispose):
10011         Unlock the STREAM_LOCK completely.
10012
10013 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10014
10015         * check/Makefile.am:
10016         * check/elements/.cvsignore:
10017         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10018         (START_TEST), (fakesrc_suite), (main):
10019         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10020         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10021         (gst_fakesrc_create), (gst_fakesrc_start):
10022         * gst/elements/gstfakesrc.h:
10023           adding a first element test
10024
10025 2005-07-07  Andy Wingo  <wingo@pobox.com>
10026
10027         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10028         debug message.
10029
10030 2005-07-07  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstquery.c:
10033         * gst/gstquery.h:
10034         Remove old types
10035
10036 2005-07-07  Wim Taymans  <wim@fluendo.com>
10037
10038         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10039         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10040         Allow subclasses to implement their own negotiation.
10041
10042 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10043
10044         * docs/design/part-gstbin.txt:
10045         * docs/design/part-gstpipeline.txt:
10046           Update design notes to reflect the movement of
10047           responsibility for bus handling from GstPipeline to
10048           GstBin
10049
10050 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10051
10052         * configure.ac:
10053           Remove unnecessary queue2/3/4 examples.
10054
10055 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10056
10057         * examples/Makefile.am:
10058         * examples/helloworld/helloworld.c: (event_loop), (main):
10059         * examples/queue/queue.c: (event_loop), (main):
10060         * examples/queue2/queue2.c: (main):
10061           Update a couple of the examples to work again.
10062
10063         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10064         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10065          Spelling corrections and extra debug.
10066         
10067         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10068         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10069         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10070         * gst/gstbin.h:
10071         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10072         (gst_pipeline_change_state):
10073         * gst/gstpipeline.h:
10074           Move the bus handler for children to the GstBin, and create a
10075           separate bus for receiving messages from children to the one the
10076           bus sends 'upwards' on.
10077
10078 2005-07-06  Wim Taymans  <wim@fluendo.com>
10079
10080         * gst/base/README:
10081         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10082         (gst_base_sink_handle_object), (gst_base_sink_loop),
10083         (gst_base_sink_change_state):
10084         * gst/base/gstbasesink.h:
10085         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10086         (gst_base_src_init), (gst_base_src_setcaps),
10087         (gst_base_src_getcaps), (gst_base_src_loop),
10088         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10089         (gst_base_src_start), (gst_base_src_change_state):
10090         * gst/base/gstbasesrc.h:
10091         Make basesrc negotiate.
10092         Handle the case where preroll fails in basesink.
10093         Update README.
10094
10095 2005-07-06  Wim Taymans  <wim@fluendo.com>
10096
10097         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10098         Implement the fixate function.
10099         Clean up acceptcaps.
10100
10101 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10102
10103         * docs/pwg/building-filterfactory.xml:
10104         * docs/pwg/pwg.xml:
10105           Remove never-written filter-factory chapter; I'll add the various
10106           base classes to part 4 ("other element types") later on.
10107
10108 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10109
10110         * docs/pwg/advanced-negotiation.xml:
10111         * docs/pwg/building-boiler.xml:
10112         * docs/pwg/building-pads.xml:
10113         * docs/pwg/pwg.xml:
10114         * examples/pwg/Makefile.am:
10115           Add a chapter on caps negotiation, simplify the original code
10116           samples a bit w.r.t. caps negotiation, add link to the advanced
10117           section. Add a bunch of examples showing different use cases of
10118           different types of caps negotiation. Upstream renegotiation isn't
10119           fully documented yet since nobody knows how that works.
10120
10121 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10122
10123         * check/gst/gstpad.c:
10124         * check/gstcheck.c:
10125         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10126           if pad has no parent, return NULL as list of internal links
10127
10128 2005-07-05  Andy Wingo  <wingo@pobox.com>
10129
10130         * gst/elements/gstfilesrc.c:
10131         * gst/elements/gstfakesrc.c: 
10132         * gst/base/gstpushsrc.c:
10133         * gst/base/gstbasesrc.h: 
10134         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10135         
10136 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10137
10138         * Makefile.am:
10139           better report generation target (lcov needs a patch)
10140
10141 2005-07-05  Andy Wingo  <wingo@pobox.com>
10142
10143         * gst/elements, testsuite: Null if we got it...
10144
10145 2005-07-05  Wim Taymans  <wim@fluendo.com>
10146
10147         * configure.ac:
10148         * libs/gst/dataprotocol/Makefile.am:
10149         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10150         * libs/gst/dataprotocol/dataprotocol.h:
10151         * pkgconfig/Makefile.am:
10152         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10153         * pkgconfig/gstreamer-dataprotocol.pc.in:
10154         Ported dataprotol to 0.9. 
10155         Added pkgconfig files.
10156
10157 2005-07-05  Andy Wingo  <wingo@pobox.com>
10158
10159         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10160         Default to returning TRUE for the case when tranform_caps returns
10161         a fixed caps, like for identity or volume.
10162
10163         * check/gst/gstbus.c (pound_bus_with_messages): 
10164         * check/gst/gstmessage.c (START_TEST): 
10165         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10166         message API change.
10167
10168         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10169         logic weaks here: always run transform_caps, trying passthrough
10170         operation only if the original caps intersects with the transform.
10171
10172         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10173         source and sink caps.
10174
10175         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10176         Intersect the peer caps with the pad template before going into
10177         transform_caps.
10178         (gst_base_transform_transform_caps): More debugging.
10179
10180         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10181         src argument.
10182
10183 2005-07-04  Edward Hervey  <edward@fluendo.com>
10184
10185         * gst/gstutils.c:
10186         * gst/gstutils.h:
10187         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10188         in bindings.
10189
10190 2005-07-04  Andy Wingo  <wingo@pobox.com>
10191
10192         * check/gst/gstpad.c: Only set explicit caps on pads.
10193
10194 2005-07-01  Andy Wingo  <wingo@pobox.com>
10195
10196         * tests/network-clock.scm: Commentary update.
10197
10198         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10199         Didn't really make sense, not implementable with basetransform,
10200         etc.
10201         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10202         attempt at implementing the sync property, needs an unlock method.
10203
10204         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10205         New func, by default returns the same caps (the identity
10206         transformation).
10207         (gst_base_transform_getcaps): Uses transform_caps to return
10208         something sensible.
10209         (gst_base_transform_setcaps): Complicated logic to get caps on
10210         both pads, even if they are different, and to call set_caps once
10211         for every time both pads get their caps set.
10212         (gst_base_transform_handle_buffer): Give the ref to the transform
10213         function. Allows in-place modification of the buffer.
10214
10215         * gst/base/gstbasetransform.h (transform_caps): New class method.
10216         Given caps on one side, what can I do on the other.
10217         (set_caps): Take two caps, one for each side of the element.
10218
10219         * gst/gstpad.h:
10220         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10221         caps in place. This is safe because we can check the mutability of
10222         the caps, and a good idea because fixate functions are just called
10223         as a matter of last resort. (Not actually implemented.)
10224         (gst_pad_set_caps): If the caps we're setting is actually the same
10225         as the existing pad caps, just update the pointer without calling
10226         setcaps. Assert that caps is either NULL or fixed, as per the
10227         docs.
10228
10229         * gst/gstghostpad.c: Update for fixate changes.
10230
10231 2005-07-02  Andy Wingo  <wingo@pobox.com>
10232
10233         * gst/gstcaps.c:
10234         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10235         two refcounts makes it immutable, which is enough. Doc more.
10236
10237 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10238
10239         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10240           Put the mini_object into GValue as a mini_object,
10241           not a gpointer, since that's how we declared
10242           the signal.
10243
10244 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10245
10246         * examples/pwg/Makefile.am:
10247           Fix buildbot again.
10248
10249 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10250
10251         * docs/pwg/building-testapp.xml:
10252           Add extra check.
10253         * examples/pwg/Makefile.am:
10254           Fix buildbot.
10255
10256 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10257
10258         * configure.ac:
10259         * examples/Makefile.am:
10260         * examples/pwg/Makefile.am:
10261         * examples/pwg/extract.pl:
10262           Enable building the PWG examples.
10263         * docs/pwg/advanced-interfaces.xml:
10264           Add URI interface stub.
10265         * docs/pwg/advanced-types.xml:
10266         * docs/pwg/other-autoplugger.xml:
10267         * docs/pwg/appendix-porting.xml:
10268         * docs/pwg/pwg.xml:
10269           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10270         * docs/pwg/building-boiler.xml:
10271         * docs/pwg/building-chainfn.xml:
10272         * docs/pwg/building-pads.xml:
10273         * docs/pwg/building-props.xml:
10274         * docs/pwg/building-state.xml:
10275         * docs/pwg/building-testapp.xml:
10276           Update the building-*.xml parts for 0.9 changes. All examples
10277           code blocks compile in examples/pwg/*.
10278
10279 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10280
10281         * docs/manual/advanced-autoplugging.xml:
10282         * docs/manual/appendix-checklist.xml:
10283         * docs/manual/appendix-integration.xml:
10284         * docs/manual/highlevel-components.xml:
10285           Fix playbin/decodebin examples, update docs a bit, mention bus
10286           instead of signals in various places, mention kmplayer and
10287           kaffeine since they have a working GStreamer backend in the KDE
10288           section.
10289
10290 2005-06-30  Wim Taymans  <wim@fluendo.com>
10291
10292         * CHANGES-0.9:
10293         * docs/design/draft-ghostpads.txt:
10294         * docs/design/draft-push-pull.txt:
10295         * docs/design/draft-query.txt:
10296         * docs/design/part-TODO.txt:
10297         * docs/design/part-query.txt:
10298         Added CHANGES-0.9 doc, updated status of other docs.
10299         
10300         * gst/gstquery.h:
10301         Remove "hmm" macro
10302
10303 2005-06-30  Wim Taymans  <wim@fluendo.com>
10304
10305         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10306         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10307         (gst_base_sink_change_state):
10308         * gst/base/gstbasesink.h:
10309         Some tweaks, only EOS and a buffer complete a preroll.
10310
10311 2005-06-30  Andy Wingo  <wingo@pobox.com>
10312
10313         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10314         activate_push down to the internal pad as well.
10315
10316 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10317
10318         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10319
10320         * gst/gsttaginterface.c:
10321           Some documentation fixes (#307394 and #307397).
10322
10323 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10324
10325         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10326
10327         * gst/gstvalue.c: (gst_value_intersect_list):
10328           Fix memleak (#309125).
10329
10330 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10331
10332         * docs/manual/advanced-dataaccess.xml:
10333           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10334         * docs/manual/basics-pads.xml:
10335           Add reference for filtered caps to above chapter.
10336
10337 2005-06-30  Wim Taymans  <wim@fluendo.com>
10338
10339         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10340         (gst_bin_change_state):
10341         Probes are gone.
10342         Lame attempt at making the state change function a bit
10343         more readable.
10344
10345 2005-06-30  Wim Taymans  <wim@fluendo.com>
10346
10347         * docs/design/part-clocks.txt:
10348         * docs/design/part-element-sink.txt:
10349         * docs/design/part-events.txt:
10350         * docs/design/part-preroll.txt:
10351         * docs/design/part-states.txt:
10352         Some more tweeks and additions to the docs.
10353
10354 2005-06-30  Wim Taymans  <wim@fluendo.com>
10355
10356         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10357         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10358         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10359         (gst_pad_check_pull_range), (gst_pad_get_range),
10360         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10361         * gst/gstpad.h:
10362         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10363         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10364         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10365         (gst_pad_remove_buffer_probe):
10366         Removed atomic operations, use existing LOCK.
10367         Move exception handling out of main code path.
10368
10369 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10370
10371         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10372         (silly_return_true_function), (gst_pad_class_init),
10373         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10374         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10375         (gst_pad_send_event):
10376           Fix accumulator, add default value by using _emitv() instead
10377           of _emit() for signal emission.
10378
10379 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10380
10381         * docs/manual/advanced-dataaccess.xml:
10382         * examples/manual/Makefile.am:
10383           Add probe example.
10384         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10385           Make work (??).
10386
10387 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10388
10389         * gst/elements/gstfilesink.c: (gst_filesink_render):
10390           Simplify code so that we don't have to handle short
10391           writes and return GST_FLOW_ERROR if an error occured.
10392
10393 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10394
10395         * docs/gst/gstreamer-docs.sgml:
10396           Remove probes more.
10397
10398 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10399
10400         * docs/gst/gstreamer-sections.txt:
10401         * docs/gst/tmpl/gstpad.sgml:
10402         * docs/gst/tmpl/gstprobe.sgml:
10403         * gst/Makefile.am:
10404         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10405         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10406         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10407         (gst_pad_push_event), (gst_pad_send_event):
10408         * gst/gstpad.h:
10409         * gst/gstutils.c: (gst_pad_add_data_probe),
10410         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10411         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10412         (gst_pad_remove_buffer_probe):
10413         * gst/gstutils.h:
10414           Remove old probes, add new g-signal-based probes and some utility
10415           functions.
10416
10417 2005-06-29  Edward Hervey  <edward@fluendo.com>
10418
10419         * gst/gstelementfactory.c:
10420         * gst/gstutils.h:
10421         * gst/gstutils.c:
10422         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10423         the definition to the header file.
10424
10425 2005-06-29  Andy Wingo  <wingo@pobox.com>
10426
10427         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10428         plugins from the source directory.
10429
10430 2005-06-29  Wim Taymans  <wim@fluendo.com>
10431
10432         * docs/gst/tmpl/gstbuffer.sgml:
10433         * docs/gst/tmpl/gstclock.sgml:
10434         Some fixings for blantently wrong text.
10435
10436 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10437
10438         * check/Makefile.am:
10439         * gst/gst.c: (add_path_func), (init_pre):
10440         * gst/gstregistry.c: (gst_registry_add_path):
10441           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10442           only scan the GST_PLUGIN_PATH locations, and not add
10443           system locations
10444
10445 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10446
10447         * docs/gst/gstreamer-sections.txt:
10448         * docs/gst/tmpl/gstbasesrc.sgml:
10449         * gst/gstelement.c:
10450         * gst/gstelement.h:
10451         * gst/gstevent.c:
10452         * gst/gstutils.c:
10453           doc fixes
10454
10455 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10456
10457         * docs/manual/advanced-autoplugging.xml:
10458           Fix autoplugging example.
10459
10460 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10461
10462         * docs/manual/advanced-autoplugging.xml:
10463         * docs/manual/mime-world.fig:
10464           Try to get autoplugging working, fix type detection. Fix text
10465           in hello-world image.
10466
10467 2005-06-29  Wim Taymans  <wim@fluendo.com>
10468
10469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10470         (gst_base_sink_change_state):
10471         Small debug line.
10472
10473         * gst/gstclock.h:
10474         map SIGNAL and BROADCAST to the right function.
10475
10476         * gst/gstobject.h:
10477         Remove redundant braces.
10478
10479         * gst/gstpad.c: (gst_pad_set_caps):
10480         Don't call setcaps function when reseting caps to NULL.
10481
10482         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10483         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10484         (gst_system_clock_id_unschedule):
10485         Use BROADCAST as this is what we do.
10486
10487 2005-06-29  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10490         We are actually prerolling before commiting the state
10491         change. 
10492
10493 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10494
10495         * docs/manual/advanced-clocks.xml:
10496         * docs/manual/advanced-interfaces.xml:
10497         * docs/manual/advanced-metadata.xml:
10498         * docs/manual/advanced-position.xml:
10499         * docs/manual/advanced-schedulers.xml:
10500         * docs/manual/advanced-threads.xml:
10501         * docs/manual/appendix-porting.xml:
10502         * docs/manual/basics-bins.xml:
10503         * docs/manual/basics-bus.xml:
10504         * docs/manual/basics-elements.xml:
10505         * docs/manual/basics-helloworld.xml:
10506         * docs/manual/basics-pads.xml:
10507         * docs/manual/highlevel-components.xml:
10508         * docs/manual/manual.xml:
10509         * docs/manual/thread.fig:
10510           Update (until threads/scheduling) Application Development Manual;
10511           remove GstThread, add GstBus, add simple porting checklist, add
10512           documentation for tag writing, clocks, make all examples until this
10513           part compile and run.
10514         * examples/manual/Makefile.am:
10515           Update from changes to Application Development Manual; add bus
10516           example, remove thread example.
10517
10518 2005-06-28  Wim Taymans  <wim@fluendo.com>
10519
10520         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10521         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10522         (gst_bus_source_dispatch):
10523         Add debugging messages.
10524         Make internal methods static.
10525         Handle the case where the bus is flushed in the handler.
10526         
10527         * gst/gstelement.c: (gst_element_get_bus):
10528         Fix refcount in _get_bus();
10529
10530         * gst/gstpipeline.c: (gst_pipeline_change_state),
10531         (gst_pipeline_get_clock_func):
10532         Clock refcounting fixes.
10533         Handle the case where preroll timed out more gracefully.
10534         
10535         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10536         Clean up the internal thread in dispose. This is needed
10537         for subclasses that actually get disposed.
10538         
10539         * gst/schedulers/threadscheduler.c:
10540         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10541         (gst_thread_scheduler_dispose):
10542         Free thread pool in dispose.
10543
10544 2005-06-28  Andy Wingo  <wingo@pobox.com>
10545
10546         * tests/network-clock-utils.scm (debug, print-event): New utils.
10547
10548         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10549         (*packet-loss*): Unified loss probability.
10550         (network-time): Report out-of-band events.
10551
10552         * tests/plot-data: Add support for out-of-band events. Hack it
10553         into this script instead of passing it down the pipe; should fix
10554         this later.
10555
10556 2005-06-28  Wim Taymans  <wim@fluendo.com>
10557
10558         * docs/gst/gstreamer.types:
10559         * docs/gst/tmpl/gstbasesrc.sgml:
10560         * docs/gst/tmpl/gstpad.sgml:
10561         Docs fixes.
10562
10563 2005-06-28  Wim Taymans  <wim@fluendo.com>
10564
10565         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10566         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10567         (gst_proxy_pad_do_fixatecaps):
10568         Correctly proxy the check_pull_range function.
10569
10570 2005-06-28  Andy Wingo  <wingo@pobox.com>
10571
10572         * tests/network-clock.scm: Removed need for slib.
10573         
10574 2005-06-28  Wim Taymans  <wim@fluendo.com>
10575
10576         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10577         (gst_basesink_preroll_queue_flush):
10578         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10579         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10580         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10581         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10582         (gst_proxy_pad_set_property):
10583         * gst/gstpad.c:
10584         * gst/gstpad.h:
10585         * gst/gstqueue.c: (gst_queue_init):
10586         The deprecated pad loop function is removed now.
10587
10588 2005-06-28  Andy Wingo  <wingo@pobox.com>
10589
10590         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10591         New parameters, simulate network packet loss.
10592
10593         * tests/network-clock-utils.scm: Initialize the RNG.
10594
10595 2005-06-28  Wim Taymans  <wim@fluendo.com>
10596
10597         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10598         (gst_basesink_event), (gst_basesink_deactivate):
10599         Flushing the preroll queue always needs to unlock the waiters.
10600
10601 2005-06-28  Edward Hervey  <edward@fluendo.com>
10602
10603         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10604         Wheen a seek was successful on a pipeline, set the stream_time to the
10605         seek offset in order to have a synchronized stream_time.
10606
10607 2005-06-28  Wim Taymans  <wim@fluendo.com>
10608
10609         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10610         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10611         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10612         (gst_proxy_pad_do_fixatecaps):
10613         Call wrapper function instead of just calling the function
10614         pointers. This takes care of any locking and whatmore.
10615
10616 2005-06-28  Wim Taymans  <wim@fluendo.com>
10617
10618         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10619         (gst_pad_pull_range):
10620         * gst/gstpad.h:
10621         CONNECTED -> LINKED.
10622
10623 2005-06-28  Andy Wingo  <wingo@pobox.com>
10624
10625         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10626         source-munging commit!!!
10627
10628         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10629         (gst_object_sink): Take gpointer arguments, not GstObject --
10630         avoids casts. Like GLib.
10631
10632         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10633         activate.
10634
10635 2005-06-27  Andy Wingo  <wingo@pobox.com>
10636
10637         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10638         remaining buffer.
10639
10640         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10641         returns a sorted copy of the trace list.
10642         (gst_alloc_trace_print_live): New API, only prints traces with
10643         live objects. Sort the list.
10644         (gst_alloc_trace_print_all): Sort the list.
10645         (gst_alloc_trace_print): Align columns.
10646
10647         * gst/elements/gstttypefindelement.c:
10648         * gst/elements/gsttee.c:
10649         * gst/base/gstbasesrc.c:
10650         * gst/base/gstbasesink.c:
10651         * gst/base/gstbasetransform.c:
10652         * gst/gstqueue.c: Adapt for pad activation changes.
10653
10654         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10655         sched.
10656         (gst_pipeline_dispose): Drop ref on sched.
10657
10658         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10659         (gst_pad_activate_default): Push mode by default.
10660         (pre_activate_switch, post_activate_switch): New stubs, things to
10661         do before and after switching activation modes on pads.
10662         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10663         the pad's activate function to choose which mode to activate.
10664         Shortcut on deactivation and call the right function directly.
10665         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10666         mode.
10667         (gst_pad_activate_push): New API, same for push mode.
10668         (gst_pad_set_activate_function) 
10669         (gst_pad_set_activatepull_function) 
10670         (gst_pad_set_activatepush_function): Setters for new API.
10671
10672         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10673         Trace all miniobjects.
10674         (gst_mini_object_make_writable): Unref the arg if we copy, like
10675         gst_caps_make_writable.
10676
10677         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10678
10679         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10680         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10681         Adapt for new pad API.
10682
10683         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10684
10685         * gst/gstelement.h:
10686         * gst/gstelement.c (gst_element_iterate_src_pads) 
10687         (gst_element_iterate_sink_pads): New API functions.
10688         
10689         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10690         should fold into gstiterator.c in some form.
10691         (gst_element_pads_activate): Simplified via use of fold and
10692         delegation of decisions to gstpad->activate.
10693
10694         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10695         help in debugging.
10696
10697         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10698         class once in init, like gstmessage. Didn't run into this issue
10699         but it seems correct. Don't initialize a trace, gstminiobject does
10700         that.
10701
10702         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10703         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10704         to the bus.
10705         (assert_live_count): New util function, uses alloc traces to check
10706         cleanup.
10707
10708         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10709         To be modified when unlink drops the internal pad.
10710
10711 2005-06-27  Wim Taymans  <wim@fluendo.com>
10712
10713         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10714         (gst_bin_change_state):
10715         Cleanup the get_state() function a little, make sure it
10716         iterates the same set of elements.
10717         Added stub iterate_state_order().
10718
10719 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10720
10721         * docs/gst/gstreamer-docs.sgml:
10722         * docs/gst/gstreamer-sections.txt:
10723         * docs/gst/gstreamer.types:
10724         * docs/gst/tmpl/gstbasesink.sgml:
10725         * docs/gst/tmpl/gstbasesrc.sgml:
10726         * docs/gst/tmpl/gstbasetransform.sgml:
10727         * docs/gst/tmpl/gstelement.sgml:
10728         * docs/gst/tmpl/gstiterator.sgml:
10729         * gst/base/gstbasesrc.c:
10730         * gst/base/gstbasesrc.h:
10731         * gst/base/gstbasetransform.h:
10732         * gst/gstelement.c:
10733         * gst/gstiterator.h:
10734           adding basetransform and iterator docs
10735
10736 2005-06-27  Andy Wingo  <wingo@pobox.com>
10737
10738         * docs/design/part-activation.txt: Notes on how activation should
10739         work -- not quite implemented yet.
10740
10741 2005-06-25  Wim Taymans  <wim@fluendo.com>
10742
10743         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10744         At least get the chain function correct, needs more
10745         fixing.
10746
10747 2005-06-25  Wim Taymans  <wim@fluendo.com>
10748
10749         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10750         (gst_basesink_handle_object), (gst_basesink_event),
10751         (gst_basesink_do_sync), (gst_basesink_handle_event),
10752         (gst_basesink_change_state):
10753         * gst/gsttask.h:
10754         Right, two problems here: ghostpads don't take locks and
10755         glib _rec_mutex_lock_full() with depth==0 still locks.
10756         Catch illegal locking and g_warn them.
10757
10758 2005-06-25  Wim Taymans  <wim@fluendo.com>
10759
10760         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10761         Have to check for completion now...
10762
10763 2005-06-25  Wim Taymans  <wim@fluendo.com>
10764
10765         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10766         (gst_basesink_handle_object), (gst_basesink_event),
10767         (gst_basesink_do_sync), (gst_basesink_handle_event),
10768         (gst_basesink_change_state):
10769         * gst/gstpad.h:
10770         Unlock STREAM_LOCK whatever the recursion was.
10771
10772 2005-06-25  Wim Taymans  <wim@fluendo.com>
10773
10774         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10775         (gst_basesink_preroll_queue_empty),
10776         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10777         (gst_basesink_event), (gst_basesink_do_sync),
10778         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10779         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10780         (gst_basesink_change_state):
10781         Reworked the base sink, handle event and buffer serialisation
10782         correctly and removed possible deadlock.
10783         Handle EOS correctly.
10784
10785 2005-06-25  Wim Taymans  <wim@fluendo.com>
10786
10787         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10788         (gst_pipeline_change_state):
10789         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10790         Allow elements to post EOS in the state change function.
10791         Fix up -launch, make it exit the poll loop when the
10792         pipeline actually changed state.
10793         Fix up warning parsing in -launch.
10794
10795 2005-06-25  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10798         (gst_tee_sink_activate):
10799         Core takes STREAM_LOCK for us now.
10800
10801 2005-06-25  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/gstelement.c: (gst_element_get_state_func),
10804         (gst_element_set_state):
10805         * gst/gstelement.h:
10806         * gst/gstmessage.c: (gst_message_parse_error),
10807         (gst_message_parse_warning):
10808         Keep track of current target state while performing a state
10809         change so that subclasses can do something interesting.
10810         Fix parsing of warning/error messages when GError is NULL.
10811
10812 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10813
10814         * docs/gst/Makefile.am:
10815         * docs/gst/gstreamer-docs.sgml:
10816         * docs/gst/gstreamer-sections.txt:
10817         * docs/gst/gstreamer.types:
10818         * docs/gst/tmpl/gstbasesink.sgml:
10819         * docs/gst/tmpl/gstbasesrc.sgml:
10820         * docs/gst/tmpl/gstbin.sgml:
10821         * docs/gst/tmpl/gstcompat.sgml:
10822         * docs/gst/tmpl/gstfakesink.sgml:
10823         * docs/gst/tmpl/gstfakesrc.sgml:
10824         * docs/gst/tmpl/gstfilesink.sgml:
10825         * docs/gst/tmpl/gstfilesrc.sgml:
10826         * docs/gst/tmpl/gstindex.sgml:
10827         * docs/manual/appendix-quotes.xml:
10828         * gst/base/gstbasesrc.h:
10829         * gst/elements/gstfakesrc.h:
10830         * gst/gstmessage.h:
10831           start pulling in base classes and elements in our docs
10832
10833 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10834
10835         * docs/gst/Makefile.am:
10836         * docs/libs/Makefile.am:
10837           fixed make distcheck with gtk-doc 1.3
10838
10839 2005-06-23  Wim Taymans  <wim@fluendo.com>
10840
10841         * gst/gstelement.c: (gst_element_get_state_func),
10842         (gst_element_set_state), (gst_element_change_state):
10843         When the state did not change, also report NO_PREROLL
10844         when it matters.
10845
10846 2005-06-23  Wim Taymans  <wim@fluendo.com>
10847
10848         * gst/gstpad.c: (gst_pad_event_default):
10849         * gst/gstqueue.c: (gst_queue_loop):
10850         No unsafe task pausing please.
10851
10852 2005-06-23  Wim Taymans  <wim@fluendo.com>
10853
10854         * gst/schedulers/threadscheduler.c:
10855         (gst_thread_scheduler_task_start),
10856         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10857         Ref the task before pushing it on the threadpool. This
10858         makes sure that we have a ref when the threadfunction is
10859         actually called.
10860
10861 2005-06-23  Andy Wingo  <wingo@pobox.com>
10862
10863         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10864         offset is greater than the file's size.
10865
10866         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10867         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10868         * gst/gstobject.c (gst_object_class_init): Make the class lock
10869         recursive. Wim won't let me drop deep_notify. Decodebin works
10870         again, whoopdy doo.
10871
10872         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10873         internal pad, and hacks accordingly. Doesn't do it on the target
10874         pad because we change its caps. Probably catches all cases of
10875         interest tho.
10876         (gst_ghost_pad_set_property): Connect to notify::caps as
10877         appropritate.
10878
10879         * tests/network-clock.scm (plot-simulation): Pipe data to the
10880         elite python skript.
10881
10882         * tests/network-clock-utils.scm (define-parameter): New macro,
10883         defines a parameter that can be set via the command line.
10884         (set-parameter!, parse-parameter-arguments): Command line args
10885         parser.
10886
10887         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10888         stdin.
10889
10890 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10891
10892         * gst/elements/gsttypefindelement.c:
10893         (gst_type_find_element_handle_event):
10894           Don't restart typefinding on a discont.
10895         * gst/gstelement.c: (gst_element_set_state):
10896           Debug spelling fix.
10897         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10898           Allow changing mode of an active pad.
10899           Debug output fixes.
10900         * gst/registries/gstlibxmlregistry.c: (load_feature):
10901           Don't cast a static pad template to a normal pad template.
10902
10903 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10904
10905         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10906         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10907           remove gst_strtoll completely, since it didn't actually do
10908           anything more than what g_ascii_strtoull already does.
10909           check for range errors when deserializing
10910           do a cast for the unsigned cases; but further fixing needs
10911           a decision on what the interpretation of "(int)" and
10912           deserialization should be for values that fall outside the
10913           type's boundaries (ie, refuse, or interpret as casting)
10914
10915 2005-06-23  Wim Taymans  <wim@fluendo.com>
10916
10917         * check/Makefile.am:
10918         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10919         * docs/design/part-live-source.txt:
10920         * docs/design/part-states.txt:
10921         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10922         (gst_basesrc_set_live), (gst_basesrc_is_live),
10923         (gst_basesrc_get_range), (gst_basesrc_activate),
10924         (gst_basesrc_change_state):
10925         * gst/base/gstbasesrc.h:
10926         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10927         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10928         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10929         * gst/gstelement.c: (gst_element_get_state_func),
10930         (gst_element_set_state):
10931         * gst/gstelement.h:
10932         * gst/gsttypes.h:
10933         * tools/gst-launch.c: (event_loop), (main):
10934         Added support for live sources and other elements that
10935         cannot do preroll.
10936         Updated design docs, added live-source design doc.
10937         Implemented live source functionality in basesrc
10938         Fix error condition in _bin_get_state()
10939         Implement live source handling in -launch.
10940         Added check for live sources.
10941         Fixed case in GstBin where elements were changed state
10942         multiple times.
10943
10944
10945 2005-06-23  Andy Wingo  <wingo@pobox.com>
10946
10947         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10948         borken refcounting.
10949
10950         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10951         gst_caps_replace takes care of this for us.
10952
10953         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10954         gst_pad_set_caps on the target, not just its setcaps() function.
10955
10956         * tests/network-clock.scm: 
10957         * tests/network-clock-utils.scm: A network clock simulator.
10958         Something of an algorithmic testbed before doing something in C.
10959
10960 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10961
10962         * check/Makefile.am:
10963         * check/gst/capslist.h:
10964           copy over from 0.8, and add two with bitmasks specified with
10965           (int) 0xFF...
10966         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10967           add test to parse everything from capslist.h
10968         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10969         (main):
10970           add test for structure deserialization
10971         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10972           add tests for deserialization of strings to int types
10973         * gst/gststructure.c: (gst_structure_nth_field_name):
10974         * gst/gststructure.h:
10975           add a way to get the name of a field referenced by index
10976         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10977           instead of checking if the resulting long long lies between
10978           min and max, we check if the long long would fit into
10979           a number of bytes for the final type.
10980           This fixes cases where a string represents 2^32 - 1, which
10981           when cast to int would be the (valid) -1, but is bigger than
10982           G_MAXINT
10983
10984 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10985
10986         * gst/parse/grammar.y:
10987           add a log line for type deserialization
10988
10989 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10990
10991         * check/gst/gstvalue.c: (START_TEST):
10992         * gst/gstvalue.c: (gst_value_deserialize):
10993           return long long, not int, so gint64 deserialization actually
10994           works.  Is there any flag that makes the compiler check this ?
10995           Fixes #308559
10996
10997 2005-06-22  Wim Taymans  <wim@fluendo.com>
10998
10999         * gst/gstbuffer.h:
11000         Added convenience macros for setting buffers in GValue.
11001
11002 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11003
11004         * check/gst/.cvsignore:
11005         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11006           add a test deserializing int64, and comment part out because
11007           it fails, yay !
11008
11009 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11010
11011         * check/Makefile.am:
11012         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11013         * testsuite/Makefile.am:
11014         * testsuite/caps/Makefile.am:
11015         * testsuite/caps/value_serialize.c:
11016         * testsuite/test_gst_init.c:
11017           move a value_serialize test over
11018
11019 2005-06-20  Wim Taymans  <wim@fluendo.com>
11020
11021         * gst/gstpad.c:
11022         Small doc updates.
11023         
11024         * gst/gstvalue.c: (gst_value_compare_buffer),
11025         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11026         (gst_value_compare_flags), (gst_value_serialize_flags),
11027         (gst_value_deserialize_flags), (_gst_value_initialize):
11028         Fix serialisation of buffers, they are not boxed types anymore
11029
11030 2005-06-20  Wim Taymans  <wim@fluendo.com>
11031
11032         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11033         Testcase to show error in buffer-on-caps serialisation.
11034
11035 2005-06-20  Andy Wingo  <wingo@pobox.com>
11036
11037         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11038         will be adding to later.
11039
11040         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11041         if its socks fill with rocks.
11042         (gst_system_clock_obtain): Set the name on object construction.
11043         Avoid double-checked locking.
11044
11045 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11046
11047         * gst/gsturi.c: (gst_element_make_from_uri):
11048           Fix potential endless loop.
11049
11050 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11051
11052         * check/Makefile.am:
11053           add gsttag
11054         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11055         (main):
11056           move over from testsuite dir and clean up
11057         * configure.ac:
11058         * gst/gsttag.c:
11059         * testsuite/Makefile.am:
11060         * testsuite/tags/.cvsignore:
11061         * testsuite/tags/Makefile.am:
11062         * testsuite/tags/merge.c:
11063           remove testsuite/tags
11064
11065 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11066
11067         * docs/gst/gstreamer-sections.txt:
11068         * docs/gst/tmpl/gstenumtypes.sgml:
11069         * win32/gstenumtypes.c:
11070           clean up documentation build a little
11071
11072 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11073
11074         * check/gstcheck.h:
11075           add macros for checking refcounts on objects and caps
11076         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11077           add some more unit tests
11078         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11079         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11080           fix leaked refcounts (I hope :)) so unittest works
11081         * gst/gstpad.h:
11082           whitespace removal
11083
11084 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11085
11086         * configure.ac: back to HEAD
11087
11088 === release 0.9.1 ===
11089
11090 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11091
11092         * NEWS:
11093         * RELEASE:
11094           updated
11095
11096 2005-06-17  Andy Wingo  <wingo@pobox.com>
11097
11098         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11099         assert; it's always possible that the pad gets deactivated in
11100         between the checks in gstpad.c and the implementation. Rely on
11101         finish_preroll() to return a FLUSHING or similar instead of on the
11102         assert.
11103         
11104         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11105         clock and post an EOS message if we come out of finish_preroll in
11106         the playing state.
11107
11108 2005-06-16  David Schleef  <ds@schleef.org>
11109
11110         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11111         (gst_capsfilter_set_property): Allow NULL as possible value
11112         for filter_caps property, indicating GST_CAPS_ANY.
11113
11114 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11115
11116         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11117           fix debug output
11118         * gst/schedulers/Makefile.am:
11119           use libgst prefix
11120         * gstreamer.spec.in:
11121           fix spec for it
11122
11123 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11124
11125         * gstreamer.spec.in:
11126           clean up
11127
11128 2005-06-08  Andy Wingo  <wingo@pobox.com>
11129
11130         * gst/gstutils.c: RPAD fixes all around.
11131         (gst_element_link_pads): Refcounting fixes.
11132
11133         * tools/gst-inspect.c:
11134         * tools/gst-xmlinspect.c:
11135         * parse/grammar.y:
11136         * gst/base/gsttypefindhelper.c:
11137         * gst/base/gstbasesink.c:
11138         * gst/gstqueue.c: RPAD fixes.
11139
11140         * gst/gstghostpad.h:
11141         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11142         pads. The tricky thing is they provide both source and sink
11143         interfaces, since they proxy the internal pad for the external
11144         pad, and vice versa. Implement with lower-level ProxyPad objects,
11145         with the interior proxy pad as a child of the exterior ghost pad.
11146         Should write a doc on this.
11147         
11148         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11149         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11150         gst_object API.
11151         
11152         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11153         pads are real pads. No ghost pads in this file. Not documenting
11154         the myriad s/RPAD/PAD/ and REALIZE fixes.
11155         (gst_pad_class_init): Add properties for "direction" and
11156         "template". Both are construct-only, so they can't change during
11157         the life of the pad. Fixes properly deriving from GstPad.
11158         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11159         derived objects, just set properties when creating the objects via
11160         g_object_new.
11161         (gst_pad_get_parent): Implement as a function, return NULL if the
11162         parent is not an element.
11163         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11164         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11165         
11166         * gst/gstobject.c (gst_object_class_init): Make name a construct
11167         property. Don't set it in the object init.
11168
11169         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11170         with UNKNOWN direction.
11171         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11172         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11173         (gst_element_remove_pad): Remove ghost-pad special cases.
11174         (gst_element_pads_activate): Remove rpad cruft.
11175
11176         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11177         catch the pad's-parent-not-an-element case.
11178
11179         * gst/gst.h: Include gstghostpad.h.
11180
11181         * gst/gst.c (init_post): No more real, ghost pads.
11182
11183         * gst/Makefile.am: Add gstghostpad.[ch].
11184
11185         * check/Makefile.am:
11186         * check/gst/gstbin.c:
11187         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11188         into a bin creates ghost pads, and that the refcounts are right.
11189         Partly moved from gstbin.c.
11190
11191 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11192
11193         * check/gst-libs/.cvsignore:
11194         * check/gst/.cvsignore:
11195         * check/pipelines/.cvsignore:
11196           ignore more
11197         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11198         (START_TEST), (cleanup_suite), (main):
11199           add some tests related to cleanup after running pipelines
11200
11201 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11202
11203         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11204           add a testsuite for GstBuffer
11205
11206 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11207
11208         * gst/gstminiobject.h:
11209           add defines for accessing the refcount
11210
11211 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11212
11213         * Makefile.am: added support for html unit test coverage reports
11214
11215 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11216
11217         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11218           Free existing caps if the capsfilter changes. Add a FIXME about
11219           setting those caps on the pads.
11220
11221         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11222           Before adding a ghost pad to a parent bin, check that there isn't
11223           already one for the element on the bin. Prevents infinite recursion
11224           when using decodebin in parse pipelines. Andy says he'll rewrite the
11225           way this works anyway, so ignore the hack.
11226
11227 2005-06-02  Andy Wingo  <wingo@pobox.com>
11228
11229         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11230         file size, pass it on to the type find helper.
11231
11232         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11233         segment_start and segment_end properly according to the seek
11234         method. Segment_end is still a bit flaky because offset can be
11235         negative for CUR and END cases, but it takes -1 as an "unset"
11236         value.
11237
11238 2005-06-02  Wim Taymans  <wim@fluendo.com>
11239
11240         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11241         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11242         (gst_basesink_activate):
11243         * gst/base/gstbasesink.h:
11244         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11245         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11246         (gst_pad_query), (gst_pad_start_task):
11247         * gst/gstpad.h:
11248         * gst/gstqueue.c: (gst_queue_bufferalloc),
11249         (gst_queue_handle_sink_event), (gst_queue_chain):
11250         Bufferalloc: return GstFlowReturn to more accuratly report
11251         why allocation failed.
11252
11253 2005-06-02  Wim Taymans  <wim@fluendo.com>
11254
11255         * gst/gstpipeline.c: (gst_pipeline_send_event):
11256         Take snapshot of state without blocking.
11257
11258 2005-06-02  Wim Taymans  <wim@fluendo.com>
11259
11260         * docs/design/part-TODO.txt:
11261         * docs/design/part-caps.txt:
11262         * docs/design/part-clocks.txt:
11263         * docs/design/part-negotiation.txt:
11264         * docs/design/part-preroll.txt:
11265         Small doc updates 
11266
11267 2005-05-30  Wim Taymans  <wim@fluendo.com>
11268
11269         * gst/elements/gstidentity.c: (gst_identity_event),
11270         (gst_identity_transform), (gst_identity_get_property):
11271         Protect last_message property as it is accessed from
11272         multiple threads.
11273
11274 2005-05-30  Wim Taymans  <wim@fluendo.com>
11275
11276         * gst/gstelement.c: (gst_element_init),
11277         (gst_element_pads_activate), (gst_element_change_state):
11278         Slicker pad activation code.
11279
11280 2005-05-30  Wim Taymans  <wim@fluendo.com>
11281
11282         * gst/Makefile.am:
11283         * gst/gstelement.h:
11284         * gst/gstelementfactory.h:
11285         * gst/gsttypes.h:
11286         Move elementfactory methods to separate .h file.
11287
11288 2005-05-30  Wim Taymans  <wim@fluendo.com>
11289
11290         * docs/design/part-overview.txt:
11291         * gst/gstsystemclock.h:
11292         Small typo fixes, doc updates.
11293
11294 2005-05-30  Wim Taymans  <wim@fluendo.com>
11295
11296         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11297         (init_popt_callback):
11298         Remove cpu-opt flag.
11299
11300 2005-05-30  Wim Taymans  <wim@fluendo.com>
11301
11302         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11303         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11304         * gst/gstbuffer.h:
11305         Avoid typechecking in places where not needed.
11306         Added accessor for malloc_data.
11307
11308 2005-05-30  Wim Taymans  <wim@fluendo.com>
11309
11310         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11311         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11312         (gst_pad_configure_sink), (gst_pad_configure_src),
11313         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11314         (gst_pad_start_task):
11315         Propagate errors from _set_caps() in configure_src/sink
11316         functions instead of returning TRUE.
11317         FLUSH events can travel up and downstream
11318
11319
11320 2005-05-30  Wim Taymans  <wim@fluendo.com>
11321
11322         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11323         (gst_basesink_activate):
11324         Handle EOS in preroll.
11325
11326 2005-05-30  Wim Taymans  <wim@fluendo.com>
11327
11328         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11329         (gst_queue_loop), (gst_queue_handle_src_event):
11330         Remove old pieces of code
11331         Flushing the queue in an upstream event is a very bad idea.
11332
11333 2005-05-26  Andy Wingo  <wingo@pobox.com>
11334
11335         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11336         gst_value_set_mini_object so as to add a ref on the object (which
11337         will be removed when the value is unset).
11338
11339         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11340         arg type in ::handoff.
11341
11342         * gst/gstelement.c (gst_element_change_state): Also deactivate
11343         pads in READY->NULL, just in case the element didn't make it to
11344         PAUSED. Wingo tested, Wim approved.
11345
11346 2005-05-26  Wim Taymans  <wim@fluendo.com>
11347
11348         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11349         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11350         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11351         A flushing pad cannot be used to alloc_buffer from.
11352
11353 2005-05-26  Wim Taymans  <wim@fluendo.com>
11354
11355         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11356         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11357         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11358         (gst_bus_create_watch), (gst_bus_add_watch_full):
11359         * gst/gstbus.h:
11360         Implement a real GSource and use g_main_context_wakeup() to
11361         signal new messages instead of the socketpair.
11362
11363 2005-05-25  Wim Taymans  <wim@fluendo.com>
11364
11365         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11366         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11367         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11368         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11369         (gst_pad_send_event), (gst_pad_start_task):
11370         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11371         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11372         (gst_queue_sink_activate), (gst_queue_src_activate),
11373         (gst_queue_change_state):
11374         * gst/gstqueue.h:
11375         Fix state changes for non sinks. We now change sinks, then elements
11376         with unconnected srcpads, then the rest.
11377         More efficient queue unlocking in flush and state changes.
11378         Set the pad activate mode even if it does not have an activate
11379         function.
11380
11381 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11382
11383         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11384           Don't go in pull mode for non-seekable sources.
11385         * gst/elements/gsttypefindelement.h:
11386         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11387         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11388         (free_entry), (stop_typefinding),
11389         (gst_type_find_element_handle_event), (find_peek),
11390         (gst_type_find_element_chain), (do_pull_typefind),
11391         (gst_type_find_element_change_state):
11392           Allow typefinding (w/o seeking) in push-mode, simplified version
11393           of what was in 0.8.
11394         * gst/gstutils.c: (gst_buffer_join):
11395         * gst/gstutils.h:
11396           gst_buffer_join() from 0.8.
11397
11398 2005-05-25  Wim Taymans  <wim@fluendo.com>
11399
11400         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11401         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11402         (gst_pad_send_event), (gst_pad_start_task):
11403         Disable attempt at mode switching until it is figured out.
11404
11405 2005-05-25  Wim Taymans  <wim@fluendo.com>
11406
11407         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11408         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11409         (gst_basesink_finish_preroll), (gst_basesink_chain),
11410         (gst_basesink_loop), (gst_basesink_activate),
11411         (gst_basesink_change_state):
11412         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11413         (gst_basesrc_get_range), (gst_basesrc_loop),
11414         (gst_basesrc_activate):
11415         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11416         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11417         (gst_real_pad_init), (gst_real_pad_set_property),
11418         (gst_real_pad_get_property), (gst_pad_set_active),
11419         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11420         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11421         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11422         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11423         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11424         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11425         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11426         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11427         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11428         (gst_pad_stop_task):
11429         * gst/gstpad.h:
11430         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11431         (gst_queue_loop), (gst_queue_src_activate):
11432         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11433         (gst_task_get_state):
11434         * gst/gsttask.h:
11435         * gst/schedulers/threadscheduler.c:
11436         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11437         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11438         in task function.
11439         Remove ACTIVE pad flag, use FLUSHING everywhere
11440         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11441         functions.
11442         Add locks around IS_FLUSHING when reading.
11443         Take STREAM lock in chain(), get_range() functions so plugins
11444         don't need to take it anymore.
11445         
11446
11447
11448 2005-05-25  Wim Taymans  <wim@fluendo.com>
11449
11450         * tools/gst-launch.c: (event_loop):
11451         Unref message after using its contents instead of
11452         before.
11453
11454 2005-05-24  Wim Taymans  <wim@fluendo.com>
11455
11456         * docs/design/draft-ghostpads.txt:
11457         * docs/design/draft-push-pull.txt:
11458         * docs/design/draft-query.txt:
11459         * docs/design/part-overview.txt:
11460         Docs updates, added general overview doc.
11461
11462 2005-05-21  David Schleef  <ds@schleef.org>
11463
11464         * docs/gst/tmpl/old/GstBin.sgml:
11465         * docs/gst/tmpl/old/GstBuffer.sgml:
11466         * docs/gst/tmpl/old/GstCaps.sgml:
11467         * docs/gst/tmpl/old/GstClock.sgml:
11468         * docs/gst/tmpl/old/GstCompat.sgml:
11469         * docs/gst/tmpl/old/GstData.sgml:
11470         * docs/gst/tmpl/old/GstElement.sgml:
11471         * docs/gst/tmpl/old/GstEvent.sgml:
11472         * docs/gst/tmpl/old/GstIndex.sgml:
11473         * docs/gst/tmpl/old/GstStructure.sgml:
11474         * docs/gst/tmpl/old/GstTag.sgml:
11475         * docs/gst/tmpl/old/cothreads.sgml:
11476         * docs/gst/tmpl/old/cothreads_compat.sgml:
11477         * docs/gst/tmpl/old/gettext.sgml:
11478         * docs/gst/tmpl/old/gobject2gtk.sgml:
11479         * docs/gst/tmpl/old/grammar.tab.sgml:
11480         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11481         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11482         * docs/gst/tmpl/old/gst_private.sgml:
11483         * docs/gst/tmpl/old/gstaggregator.sgml:
11484         * docs/gst/tmpl/old/gstarch.sgml:
11485         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11486         * docs/gst/tmpl/old/gstbufferstore.sgml:
11487         * docs/gst/tmpl/old/gstdata_private.sgml:
11488         * docs/gst/tmpl/old/gstdisksink.sgml:
11489         * docs/gst/tmpl/old/gstdisksrc.sgml:
11490         * docs/gst/tmpl/old/gstelementfactory.sgml:
11491         * docs/gst/tmpl/old/gstextratypes.sgml:
11492         * docs/gst/tmpl/old/gstfakesink.sgml:
11493         * docs/gst/tmpl/old/gstfakesrc.sgml:
11494         * docs/gst/tmpl/old/gstfdsink.sgml:
11495         * docs/gst/tmpl/old/gstfdsrc.sgml:
11496         * docs/gst/tmpl/old/gstfilesink.sgml:
11497         * docs/gst/tmpl/old/gstfilesrc.sgml:
11498         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11499         * docs/gst/tmpl/old/gstidentity.sgml:
11500         * docs/gst/tmpl/old/gstindexfactory.sgml:
11501         * docs/gst/tmpl/old/gstmarshal.sgml:
11502         * docs/gst/tmpl/old/gstmd5sink.sgml:
11503         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11504         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11505         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11506         * docs/gst/tmpl/old/gstpipefilter.sgml:
11507         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11508         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11509         * docs/gst/tmpl/old/gstshaper.sgml:
11510         * docs/gst/tmpl/old/gstspider.sgml:
11511         * docs/gst/tmpl/old/gstspideridentity.sgml:
11512         * docs/gst/tmpl/old/gststatistics.sgml:
11513         * docs/gst/tmpl/old/gsttee.sgml:
11514         * docs/gst/tmpl/old/gsttimecache.sgml:
11515         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11516         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11517         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11518         * docs/gst/tmpl/old/types.sgml:
11519           I didn't intend to add these or check them in.
11520
11521 2005-05-19  David Schleef  <ds@schleef.org>
11522
11523         * configure.ac: Use -no-common everywhere.  In a sane world, it
11524           would be the default in libtool, because without it, you can't
11525           build DLLs on Windows.
11526         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11527         * docs/gst/gstreamer-sections.txt:
11528         * docs/gst/tmpl/gstcpu.sgml:
11529         * docs/gst/tmpl/gstdata.sgml:
11530         * docs/gst/tmpl/gstthread.sgml:
11531
11532 2005-05-19  David Schleef  <ds@schleef.org>
11533
11534         * gst/gstminiobject.c: (gst_value_set_mini_object),
11535         (gst_value_take_mini_object), (gst_value_get_mini_object):
11536         * gst/gstminiobject.h: Add GValue set/get functions.
11537
11538 2005-05-19  Wim Taymans  <wim@fluendo.com>
11539
11540         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11541         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11542         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11543         * gst/gstbuffer.h:
11544         * gst/gstbus.c: (gst_bus_post):
11545         * gst/gstelement.c: (gst_element_get_random_pad):
11546         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11547         Make subbufer unref the parent in finalize.
11548         some more debugging info.
11549
11550
11551 2005-05-19  Wim Taymans  <wim@fluendo.com>
11552
11553         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11554         (gst_basesink_init), (gst_basesink_finalize),
11555         (gst_basesink_activate), (gst_basesink_change_state):
11556         Don't free preroll queue too early.
11557
11558 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11559
11560         * gst/Makefile.am:
11561         * gst/ROADMAP:
11562           Hi, I'm outdated. Please shoot me.
11563
11564 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11565
11566         * gst/gstpipeline.c: (gst_pipeline_send_event):
11567           Do not access variables after they have been deleted.
11568
11569 2005-05-19  Wim Taymans  <wim@fluendo.com>
11570
11571         * tools/gst-inspect.c: (print_plugin_features):
11572         A plugin feature does unfortunatly not use the
11573         object name yet...
11574
11575 2005-05-18  Wim Taymans  <wim@fluendo.com>
11576
11577         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11578         Port _span() functions to new subbuffers.
11579
11580 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11581
11582         * gst/gstbin.c: (gst_bin_add_func):
11583           Fix clock settery in bins when adding kids after the clock has
11584           been selected.
11585
11586 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11587
11588         * gst/elements/gstidentity.c: (gst_identity_class_init):
11589           Workaround until signals support GstMiniObject.
11590
11591 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11592
11593         * gst/gstbuffer.c:
11594         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11595
11596 2005-05-18  Wim Taymans  <wim@fluendo.com>
11597
11598         * gst/base/Makefile.am:
11599         * gst/base/gstadapter.c: (gst_adapter_base_init),
11600         (gst_adapter_class_init), (gst_adapter_init),
11601         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11602         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11603         (gst_adapter_flush), (gst_adapter_available),
11604         (gst_adapter_available_fast):
11605         * gst/base/gstadapter.h:
11606         Ported and added adapter to the base classes.
11607
11608 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11609
11610         * gst/gst.c:
11611         * gst/gstmessage.c:
11612           Make sure the class is reffed/unreffed once before threads can be
11613           used.  Fixes #304551.
11614
11615 2005-05-17  Wim Taymans  <wim@fluendo.com>
11616
11617         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11618         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11619         * gst/gstminiobject.c: (gst_mini_object_get_type),
11620         (gst_mini_object_free):
11621         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11622         (gst_pad_push), (gst_pad_push_event):
11623         * gst/gstqueue.c: (gst_queue_change_state):
11624         Don't queue buffers in basesink when we are flushing.
11625         Unref buffer when flushing in basesink.
11626         Flush queue when going to READY
11627         Unref buffer when _push() returns an error.
11628         Don't free MiniObject instance when refcount is incremented
11629         in _finalize() so that we can recover objects.
11630
11631 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11632
11633         * docs/manual/advanced-schedulers.xml:
11634         * docs/manual/appendix-checklist.xml:
11635         * docs/pwg/advanced-clock.xml:
11636         * docs/pwg/advanced-interfaces.xml:
11637         * docs/pwg/advanced-request.xml:
11638         * docs/pwg/advanced-types.xml:
11639         * docs/pwg/intro-preface.xml:
11640         * examples/plugins/example.c: (gst_example_get_type),
11641         (gst_example_class_init), (gst_example_chain),
11642         (gst_example_set_property), (gst_example_get_property),
11643         (gst_example_change_state), (plugin_init):
11644         * examples/plugins/example.h:
11645           small doc fixes
11646
11647 2005-05-17  Wim Taymans  <wim@fluendo.com>
11648
11649         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11650         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11651         * gst/gstqueue.c: (gst_queue_change_state):
11652         Clear queue when going to READY.
11653         Remove IN_SETCAPS flag too.
11654
11655 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11656
11657         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11658           Remove implicit cast from gboolean to GstElementStateReturn;
11659           make sure we still return failure in paused => ready case if
11660           the parent class fails to change state and our own stop 
11661           vfunc succeeds.
11662
11663 2005-05-17  Wim Taymans  <wim@fluendo.com>
11664
11665         * tools/gst-launch.c: (event_loop):
11666         Message was unreffed too soon.
11667
11668 2005-05-16  Andy Wingo  <wingo@pobox.com>
11669
11670         * gst/gstbin.c (sink_iterator_filter): Err... um...
11671
11672         * check/gst/gstbin.c (test_ghost_pads): New test for the
11673         ghosting-if-elements-not-in-same-bin behavior.
11674
11675 2005-05-16  David Schleef  <ds@schleef.org>
11676
11677         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11678         accessing refcount directly.
11679
11680 2005-05-15  David Schleef  <ds@schleef.org>
11681
11682         * check/Makefile.am: remove GstData checks
11683         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11684         * gst/Makefile.am: add miniobject, remove data
11685         * gst/gst.h: add miniobject, remove data
11686         * gst/gstdata.c: remove
11687         * gst/gstdata.h: remove
11688         * gst/gstdata_private.h: remove
11689         * gst/gsttypes.h: remove GstEvent and GstMessage
11690         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11691         * gst/gstmarshal.list: change BOXED -> OBJECT
11692
11693         Implement GstMiniObject.
11694         * gst/gstminiobject.c:
11695         * gst/gstminiobject.h:
11696
11697         Modify to be subclasses of GstMiniObject.
11698         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11699         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11700         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11701         (gst_subbuffer_get_type), (gst_subbuffer_init),
11702         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11703         (gst_buffer_span):
11704         * gst/gstbuffer.h:
11705         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11706         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11707         (_gst_event_copy), (gst_event_new):
11708         * gst/gstevent.h:
11709         * gst/gstmessage.c: (_gst_message_initialize),
11710         (gst_message_get_type), (gst_message_class_init),
11711         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11712         (gst_message_new), (gst_message_new_error),
11713         (gst_message_new_warning), (gst_message_new_tag),
11714         (gst_message_new_state_changed), (gst_message_new_application):
11715         * gst/gstmessage.h:
11716         * gst/gstprobe.c: (gst_probe_perform),
11717         (gst_probe_dispatcher_dispatch):
11718         * gst/gstprobe.h:
11719         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11720         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11721         (_gst_query_copy), (gst_query_new):
11722
11723         Update elements for GstData -> GstMiniObject changes
11724         * gst/gstquery.h:
11725         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11726         (gst_queue_chain), (gst_queue_loop):
11727         * gst/elements/gstbufferstore.c:
11728         (gst_buffer_store_add_buffer_func),
11729         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11730         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11731         (gst_fakesink_render):
11732         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11733         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11734         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11735         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11736         (gst_filesrc_create_read):
11737         * gst/elements/gstidentity.c: (gst_identity_class_init):
11738         * gst/elements/gsttypefindelement.c:
11739         (gst_type_find_element_src_event), (free_entry_buffers),
11740         (gst_type_find_element_handle_event):
11741         * libs/gst/dataprotocol/dataprotocol.c:
11742         (gst_dp_header_from_buffer):
11743         * libs/gst/dataprotocol/dataprotocol.h:
11744         * libs/gst/dataprotocol/dp-private.h:
11745
11746 2005-05-15  David Schleef  <ds@schleef.org>
11747
11748         * gst/elements/gstelements.c: Don't include headers that were
11749         just removed.
11750
11751 2005-05-15  David Schleef  <ds@schleef.org>
11752
11753         * gst/elements/Makefile.am: Remove some elements that don't
11754         need to be in the core (or even exist at all).
11755         * gst/elements/gstaggregator.c:
11756         * gst/elements/gstaggregator.h:
11757         * gst/elements/gstmd5sink.c:
11758         * gst/elements/gstmd5sink.h:
11759         * gst/elements/gstmultifilesrc.c:
11760         * gst/elements/gstmultifilesrc.h:
11761         * gst/elements/gstpipefilter.c:
11762         * gst/elements/gstpipefilter.h:
11763         * gst/elements/gstshaper.c:
11764         * gst/elements/gstshaper.h:
11765         * gst/elements/gststatistics.c:
11766         * gst/elements/gststatistics.h:
11767         * po/POTFILES.in: Remove above files.
11768
11769 2005-05-14  Andy Wingo  <wingo@pobox.com>
11770
11771         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11772         so as to get the refs right.
11773         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11774         unreffing objects that don't pass the filter.
11775
11776         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11777         gst_element_set_bus.
11778         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11779         normal cases, this will destroy the bus.
11780
11781         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11782         object.
11783
11784         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11785         has no sinks.
11786
11787 2005-05-13  Andy Wingo  <wingo@pobox.com>
11788
11789         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11790         gst_pad_link, call pad_link_maybe_ghosting,
11791         (pad_link_maybe_ghosting): Links pads, making sure that the
11792         elements being linked are in the same bin.
11793         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11794         Helpers for pad_link_maybe_ghosting.
11795
11796 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11797
11798         * configure.ac:
11799           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11800
11801 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11802
11803         * docs/design/part-element-source.txt:
11804           Mention GstPushSrc
11805
11806 2005-05-12  Wim Taymans  <wim@fluendo.com>
11807
11808         * gst/base/gstbasesink.c: (gst_basesink_init),
11809         (gst_basesink_activate):
11810         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11811         (gst_basesrc_is_seekable):
11812         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11813         (bin_element_is_sink), (gst_bin_change_state):
11814         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11815         * gst/gstelement.h:
11816         Identify sinks by their flag to avoid overly complicated
11817         checks (fow now).
11818         Do state changes even for elements not reachable from the
11819         sinks.
11820         BaseSink is a sink now :)
11821         Some more debugging info in the basesrc.
11822
11823
11824 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11825
11826         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11827           Implement _query on a bin, similar to _send_event.
11828
11829 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11830
11831         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11832           Discont event offset format should be GST_FORMAT_BYTES,
11833           not GST_FORMAT_TIME.
11834
11835 2005-05-12  Wim Taymans  <wim@fluendo.com>
11836
11837         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11838         Same fix as Ronald's but without the signal. 
11839
11840 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11841
11842         * gst/gstutils.c: (gst_element_query_position):
11843           No, an element is not a pad.
11844
11845 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11846
11847         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11848         (gst_bin_get_state):
11849           If a child is removed from a bin while we remove the child from
11850           the bin and while we're retrieving its state, signal this to the
11851           get_state function so we abort the wait (instead of waiting for
11852           a timeout) and can immediately re-iterate over all other elements.
11853
11854 2005-05-12  Wim Taymans  <wim@fluendo.com>
11855
11856         * gst/base/Makefile.am:
11857         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11858         (gst_basesrc_start):
11859         * gst/base/gstbasesrc.h:
11860         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11861         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11862         (gst_pushsrc_init), (gst_pushsrc_create):
11863         * gst/base/gstpushsrc.h:
11864         Added is_seekable to BaseSrc
11865         Added simple PushSrc.
11866
11867 2005-05-11  Wim Taymans  <wim@fluendo.com>
11868
11869         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11870         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11871         (gst_element_link_pads), (gst_element_query_position),
11872         (gst_element_query_convert), (intersect_caps_func),
11873         (gst_pad_query_position), (gst_pad_query_convert):
11874         Fix refcounting in utils function.
11875         No point in trying to activate a pad when it's added, it could
11876         be added from the state change function and then we deadlock, the
11877         element has to decide what to do.
11878
11879 2005-05-10  Andy Wingo  <wingo@pobox.com>
11880
11881         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11882         *all* the arguments.
11883
11884         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11885         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11886         lock (according to the docs -- if this is wrong change the docs).
11887
11888         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11889         flush messages in the NULL state.
11890
11891         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11892         message immediately and return.
11893         (gst_bus_set_flushing): New function. If a bus is flushing, it
11894         flushes out any queued messages and immediately unrefs new
11895         messages. This is so when an element goes to NULL, all of the
11896         unhandled messages coming from it can be freed, and their
11897         references to the element dropped. In other words: message source
11898         ref considered harmful :P
11899
11900         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11901         we're finished with it.
11902
11903         * gst/gstmessage.c (gst_message_new_state_changed): 
11904
11905 2005-05-10  Wim Taymans  <wim@fluendo.com>
11906
11907         * gst/gstvalue.c: (gst_value_compare_flags),
11908         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11909         (_gst_value_initialize):
11910         Added flags serialize/deserialize/compare code.
11911
11912 2005-05-09  Andy Wingo  <wingo@pobox.com>
11913
11914         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11915         Intersect the peer's caps with our caps.
11916
11917 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11918
11919         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11920         * gst/elements/gsttypefindelement.c: (find_peek):
11921           Handle negative offsets better. Fixes decodebin.
11922
11923 2005-05-09  Wim Taymans  <wim@fluendo.com>
11924
11925         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11926         (gst_base_transform_event):
11927         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11928         Implement accept_caps.
11929         Fix silly lock/unlock mismatch in base class.
11930
11931 2005-05-09  Wim Taymans  <wim@fluendo.com>
11932
11933         * docs/design/draft-push-pull.txt:
11934         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11935         * gst/elements/gstfilesink.c: (gst_filesink_init),
11936         (gst_filesink_query):
11937         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11938         (gst_type_find_handle_src_query), (find_element_get_length):
11939         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11940         * gst/gstelement.h:
11941         * gst/gstmessage.c:
11942         * gst/gstmessage.h:
11943         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11944         (gst_real_pad_get_caps_unlocked),
11945         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11946         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11947         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11948         (gst_real_pad_dispose), (gst_real_pad_finalize),
11949         (gst_pad_load_and_link), (gst_pad_save_thyself),
11950         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11951         (gst_pad_check_pull_range), (gst_pad_pull_range),
11952         (gst_pad_template_get_type), (gst_pad_template_class_init),
11953         (gst_pad_template_init), (gst_pad_template_dispose),
11954         (name_is_valid), (gst_static_pad_template_get),
11955         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11956         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11957         (gst_pad_get_element_private), (gst_pad_start_task),
11958         (gst_pad_pause_task), (gst_pad_stop_task),
11959         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11960         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11961         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11962         (gst_ghost_pad_new):
11963         * gst/gstpad.h:
11964         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11965         (gst_query_new_position), (gst_query_set_position),
11966         (gst_query_parse_position), (gst_query_new_convert),
11967         (gst_query_set_convert), (gst_query_parse_convert):
11968         * gst/gstquery.h:
11969         * gst/gstqueryutils.c:
11970         * gst/gstqueryutils.h:
11971         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11972         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11973         (gst_queue_handle_src_query):
11974         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11975         (gst_element_query_position), (gst_element_query_convert),
11976         (intersect_caps_func), (gst_pad_query_position),
11977         (gst_pad_query_convert):
11978         * gst/gstutils.h:
11979         * tools/gst-inspect.c: (print_pad_info):
11980         * tools/gst-xmlinspect.c: (print_element_info):
11981         Remove old query functions. Ported old code.
11982         Added position/convert helper functions to gstutils.
11983         Reordered gstpad.c code, grouping relevant things.
11984         Remove gst_message_new(), always need to speficy a specific
11985         message.
11986
11987
11988 2005-05-09  Andy Wingo  <wingo@pobox.com>
11989
11990         * gst/gstiterator.h: Add some includes.
11991
11992         * gst/gstqueryutils.h: Include more headers.
11993
11994         * gst/gstpad.h:
11995         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11996         some uses of gst_pad_query.
11997
11998         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11999         NULL out parameters.
12000         (gst_query_new_position): New proc, allocates a new position
12001         query.
12002
12003         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12004         gstqueryutils.c to the build.
12005
12006         * gst/gststructure.c (gst_structure_set_valist): Implement with
12007         the generic G_VALUE_COLLECT.
12008         
12009 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12010
12011         * gst/Makefile.am: (gst_headers):
12012         Added gstqueryutils.h to the list of headers to install, that was
12013         a 'nachty' move wingo :)
12014
12015 2005-05-06  Andy Wingo  <wingo@pobox.com>
12016
12017         * gst/gstquery.h
12018         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12019         GstData, init a memchunk.
12020         (standard_definitions): Add a few query types, deprecate a few.
12021         (gst_query_get_type): New proc.
12022         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12023         implementation.
12024         (gst_query_new_application, gst_query_get_structure): New public
12025         procs.
12026
12027         * docs/design/draft-query.txt: Removed LINKS from the query types,
12028         because all the rest can be dispatched to other pads -- seemed
12029         ugly to have a query that couldn't be dispatched. internal_links
12030         is fine as a pad method.
12031
12032         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12033         in gstpad.c, but maintain binary compatibility for the moment.
12034         Will fix before 0.9 is out.
12035
12036         * gst/gstqueryutils.c: 
12037         * gst/gstqueryutils.h: New files, implement 3 methods for each
12038         query type: parse_query, parse_response, and set. Probably need an
12039         allocator as well.
12040
12041         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12042
12043         * gst/elements/gstfilesink.c (gst_filesink_query2):
12044         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12045         query_types, and formats methods.
12046
12047         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12048         (gst_pad_set_query2_function): New functions.
12049         (gst_real_pad_init): Set query2_default as the default query2
12050         function. Basically just dispatches to internally linked pads.
12051
12052         Needs review!
12053         
12054         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12055         without using the atomic operations. Only one thread can possibly
12056         be accessing the data at this point. Changed so as to avoid
12057         gst_atomic operations.
12058
12059 2005-05-06  Wim Taymans  <wim@fluendo.com>
12060
12061         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12062         Also set caps if we use the fallback buffer alloc.
12063
12064 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12065
12066         * docs/gst/Makefile.am:
12067         * docs/gst/gstreamer-docs.sgml:
12068         * docs/gst/gstreamer-sections.txt:
12069         * docs/gst/tmpl/gstatomic.sgml:
12070         * docs/gst/tmpl/gstmemchunk.sgml:
12071         * testsuite/elements/struct_i386.h:
12072         * win32/GStreamer.vcproj:
12073         * win32/Makefile:
12074           Purge GstAtomic stuff from docs and win32 makefiles as well
12075
12076 2005-05-06  Wim Taymans  <wim@fluendo.com>
12077
12078         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12079         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12080         * gst/gstpad.c: (gst_pad_peer_get_caps):
12081         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12082         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12083         (gst_queue_src_activate), (gst_queue_change_state):
12084         * gst/gstqueue.h:
12085         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12086         (intersect_caps_func):
12087         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12088         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12089         Some fixes for the peer_get_caps() change.
12090
12091 2005-05-06  Wim Taymans  <wim@fluendo.com>
12092
12093         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12094         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12095         (gst_basesink_activate):
12096         Actually do something with error codes returned from the push
12097         functions.
12098
12099 2005-05-06  Wim Taymans  <wim@fluendo.com>
12100
12101         * docs/design/part-element-sink.txt:
12102         * docs/design/part-element-source.txt:
12103         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12104         (gst_basesink_event), (gst_basesink_activate):
12105         * gst/base/gstbasesink.h:
12106         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12107         (gst_basesrc_activate):
12108         * gst/base/gstbasesrc.h:
12109         * gst/gstelement.c: (gst_element_pads_activate):
12110         Some more documentation.
12111         Fixed scheduling decision in _pads_activate().
12112
12113 2005-05-05  Andy Wingo  <wingo@pobox.com>
12114
12115         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12116         the test suite.
12117
12118 2005-05-05  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/base/Makefile.am:
12121         * gst/base/gstbasesink.h:
12122         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12123         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12124         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12125         (gst_collectpads_class_init), (gst_collectpads_init),
12126         (gst_collectpads_finalize), (gst_collectpads_new),
12127         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12128         (find_pad), (gst_collectpads_remove_pad),
12129         (gst_collectpads_is_active), (gst_collectpads_collect),
12130         (gst_collectpads_collect_range), (gst_collectpads_start),
12131         (gst_collectpads_stop), (gst_collectpads_peek),
12132         (gst_collectpads_pop), (gst_collectpads_available),
12133         (gst_collectpads_read), (gst_collectpads_flush),
12134         (gst_collectpads_chain):
12135         * gst/base/gstcollectpads.h:
12136         * gst/elements/Makefile.am:
12137         * gst/elements/gstelements.c:
12138         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12139         (gst_fakesink_get_times), (gst_fakesink_event),
12140         (gst_fakesink_preroll), (gst_fakesink_render):
12141         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12142         (gst_filesink_init), (gst_filesink_set_location),
12143         (gst_filesink_open_file), (gst_filesink_close_file),
12144         (gst_filesink_pad_query), (gst_filesink_event),
12145         (gst_filesink_render), (gst_filesink_change_state):
12146         * gst/elements/gstfilesink.h:
12147         Added object to help in making collect pad based elements.
12148         Ported filesink.
12149         Make event function in sink baseclass return gboolean.
12150
12151 2005-05-05  Wim Taymans  <wim@fluendo.com>
12152
12153         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12154         (gst_bin_get_by_name):
12155         * gst/gstbuffer.h:
12156         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12157         (gst_clock_finalize):
12158         * gst/gstdata.c: (gst_data_replace):
12159         * gst/gstdata.h:
12160         * gst/gstelement.c: (gst_element_request_pad),
12161         (gst_element_pads_activate):
12162         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12163         (gst_object_unref):
12164         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12165         (gst_pad_set_checkgetrange_function),
12166         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12167         (gst_pad_check_pull_range), (gst_pad_pull_range),
12168         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12169         (gst_pad_pause_task), (gst_pad_stop_task):
12170         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12171         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12172         Fix name lookup in GstBin.
12173         Added _data_replace() function and _buffer_replace()
12174         Use finalize method to clean up clock.
12175         Fix refcounting on request pads.
12176         Fix pad schedule mode error.
12177         Some more object refcounting debug info,
12178
12179
12180 2005-05-04  Andy Wingo <wingo@pobox.com>
12181
12182         * check/Makefile.am:
12183         * docs/gst/tmpl/gstatomic.sgml:
12184         * docs/gst/tmpl/gstplugin.sgml:
12185         * gst/base/gstbasesink.c: (gst_basesink_activate):
12186         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12187         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12188         (gst_basesrc_query), (gst_basesrc_set_property),
12189         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12190         (gst_basesrc_activate):
12191         * gst/base/gstbasesrc.h:
12192         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12193         (gst_base_transform_src_activate):
12194         * gst/elements/gstelements.c:
12195         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12196         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12197         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12198         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12199         (gst_type_find_element_checkgetrange),
12200         (gst_type_find_element_activate):
12201         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12202         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12203         (gst_caps_load_thyself):
12204         * gst/gstelement.c: (gst_element_pads_activate),
12205         (gst_element_save_thyself), (gst_element_restore_thyself):
12206         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12207         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12208         * gst/gstpad.h:
12209         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12210         (gst_xml_parse_file), (gst_xml_parse_memory),
12211         (gst_xml_get_element), (gst_xml_make_element):
12212         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12213         (_file_index_id_save_xml), (gst_file_index_commit):
12214         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12215         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12216         (load_paths):
12217         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12218         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12219         * tools/gst-complete.c: (main):
12220         * tools/gst-compprep.c: (main):
12221         * tools/gst-inspect.c: (print_element_properties_info):
12222         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12223         * tools/gst-xmlinspect.c: (print_element_properties):
12224         GCC 4 fixen.
12225         
12226 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12227
12228         * gst/gstplugin.c: (gst_plugin_check_module),
12229         (gst_plugin_check_file), (gst_plugin_load_file):
12230             apply patch from #172526 to make register work on MacOSX
12231
12232 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12233
12234         * docs/gst/tmpl/gstconfig.sgml:
12235         * gst/gstconfig.h.in:
12236           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12237         * testsuite/debug/printf_extension.c: (main):
12238           Do not use GST_PTR_FORMAT on pointers to types with
12239           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12240         * testsuite/elements/property.h:
12241           use correct printf format
12242
12243 2005-05-02  Wim Taymans  <wim@fluendo.com>
12244
12245         * docs/design/draft-push-pull.txt:
12246         * docs/design/draft-query.txt:
12247         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12248         (gst_basesrc_start):
12249         Added draft for new query API.
12250         Added draft for better selecting scheduling methods.
12251         Make basesrc ignore length if the subclass does not support
12252         it.
12253
12254 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12255
12256         * gst/Makefile.am:
12257           possible fixes for automake-1.5 - _LIBADD is reserved
12258
12259 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12260
12261         * docs/faq/Makefile.am:
12262         * docs/manual/Makefile.am:
12263         * docs/manuals.mak:
12264         * docs/pwg/Makefile.am:
12265         * gst/Makefile.am:
12266           possible fixes for automake-1.5
12267
12268 2005-04-28  Wim Taymans  <wim@fluendo.com>
12269
12270         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12271         (gst_basesink_pad_getcaps), (gst_basesink_init),
12272         (gst_basesink_do_sync):
12273         * gst/gstclock.c: (gst_clock_entry_new):
12274         * gst/gstevent.c: (gst_event_discont_get_value):
12275         * gst/gstpipeline.c: (pipeline_bus_handler),
12276         (gst_pipeline_change_state):
12277         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12278         Better debugging of clocking info.
12279         Allow NULL values when getting discont values.
12280
12281 2005-04-27  Wim Taymans  <wim@fluendo.com>
12282
12283         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12284         * check/gst/gstpad.c: (gst_pad_suite):
12285         Increase timeout for checks.
12286
12287 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12288
12289         * check/Makefile.am:
12290           fix the broken rule for cleanup.  Apparently this rule is
12291           only needed on FC2, so maybe this warrants further autotool
12292           inspection.
12293
12294 2005-04-26  Wim Taymans  <wim@fluendo.com>
12295
12296         * gst/gsttrashstack.h:
12297         Ooohh. a nasty one! After having a failed pop() from the stack,
12298         it's possible that the stack is empty. In that case, don't
12299         follow the NULL pointer.
12300
12301 2005-04-25  Wim Taymans  <wim@fluendo.com>
12302
12303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12304         (gst_pad_set_checkgetrange_function),
12305         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12306         (gst_pad_check_pull_range), (gst_pad_pull_range),
12307         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12308         (gst_pad_pause_task), (gst_pad_stop_task):
12309         * gst/gstplugin.c: (gst_plugin_load):
12310         * gst/gstplugin.h:
12311         Remove gst_library_load as it does more harm than good with
12312         the new g_module flags.
12313         Revert bogus caps template check in pad linking, pad caps
12314         are important when linking not the template, which is more
12315         general than the current caps.
12316
12317 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12318
12319         * gst/autoplug/.cvsignore:
12320         * gst/autoplug/Makefile.am:
12321         * gst/autoplug/gstsearchfuncs.c:
12322         * gst/autoplug/gstsearchfuncs.h:
12323         * gst/autoplug/gstspider.c:
12324         * gst/autoplug/gstspider.h:
12325         * gst/autoplug/gstspideridentity.c:
12326         * gst/autoplug/gstspideridentity.h:
12327         * gst/autoplug/spidertest.c:
12328           Die, spider, die.
12329
12330 2005-04-25  Wim Taymans  <wim@fluendo.com>
12331
12332         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12333         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12334         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12335         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12336         * gst/gstpad.h:
12337         Added stubs for unimplemented functions. 
12338
12339 2005-04-24  David Schleef  <ds@schleef.org>
12340
12341         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12342         please fix.
12343
12344 2005-04-24  David Schleef  <ds@schleef.org>
12345
12346         Convert everything from GstAtomicInt to g_atomic_int_*, and
12347         remove gstatomic.
12348         * gst/Makefile.am:
12349         * gst/gstatomic.c:
12350         * gst/gstatomic.h:
12351         * gst/gstatomic_impl.h:
12352         * gst/gstbuffer.c:
12353         * gst/gstcaps.c:
12354         * gst/gstcaps.h:
12355         * gst/gstclock.c:
12356         * gst/gstclock.h:
12357         * gst/gstdata.c:
12358         * gst/gstdata.h:
12359         * gst/gstdata_private.h:
12360         * gst/gstevent.c:
12361         * gst/gstinfo.c:
12362         * gst/gstinfo.h:
12363         * gst/gstmessage.c:
12364         * gst/gstobject.c:
12365         * gst/gstobject.h:
12366         * gst/gststructure.c:
12367         * gst/gststructure.h:
12368         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12369         * gst/gstutils.h:
12370
12371 2005-04-24  David Schleef  <ds@schleef.org>
12372
12373         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12374         make the regressions tests work.  Remove some code that is no
12375         longer true.
12376         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12377         Disable warning for pads without templates.
12378
12379 2005-04-24  David Schleef  <ds@schleef.org>
12380
12381         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12382         functions that handle filtered links.
12383         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12384         removed functions.
12385         * gst/gstutils.c: Fix/remove utility functions that handle
12386         filtered caps.
12387         * gst/gstutils.h:
12388         * gst/gstvalue.c: Add serialization/deserialization of caps
12389         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12390         requires fixing so that the filter caps notation creates
12391         a capsfilter element and sets the filter_caps property.  I
12392         think everyone probably wants to keep the shorthand notation.
12393         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12394         * docs/gst/tmpl/gstpad.sgml:
12395
12396         * gst/elements/gstelements.c: Register capsfilter element.
12397         * gst/Makefile.am: fix spacing
12398         * docs/random/ds/0.9-suggested-changes: random
12399
12400 2005-04-23  David Schleef  <ds@schleef.org>
12401
12402         * gst/elements/Makefile.am:
12403         * gst/elements/gstcapsfilter.c: New element that acts like an
12404         identity, but filters caps.  Will eventually replace filtered
12405         caps in pad linking.
12406         * gst/gstutils.c: (gst_element_create_all_pads): New function
12407         to create all the ALWAYS pads that are registered with an
12408         element class.  This functionality should eventually be
12409         merged in with GstElement initialization.
12410         * gst/gstutils.h:
12411         * testsuite/trigger/README: part of trigger test code that should
12412         have been checked in a long time ago.
12413
12414 2005-04-23  David Schleef  <ds@schleef.org>
12415
12416         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12417         needed with new versions of libtool (nobody will confirm this),
12418         and hard to carry around.
12419         * gst/autoplug/Makefile.am:
12420         * gst/base/Makefile.am:
12421         * gst/elements/Makefile.am:
12422         * gst/indexers/Makefile.am:
12423         * gst/schedulers/Makefile.am:
12424         * libs/gst/bytestream/Makefile.am:
12425         * libs/gst/control/Makefile.am:
12426         * libs/gst/dataprotocol/Makefile.am:
12427         * libs/gst/getbits/Makefile.am:
12428
12429 2005-04-21  Wim Taymans  <wim@fluendo.com>
12430
12431         * docs/design/draft-push-pull.txt:
12432         * docs/design/part-MT-refcounting.txt:
12433         * docs/design/part-TODO.txt:
12434         * docs/design/part-caps.txt:
12435         * docs/design/part-events.txt:
12436         * docs/design/part-gstbus.txt:
12437         * docs/design/part-gstpipeline.txt:
12438         * docs/design/part-messages.txt:
12439         * docs/design/part-push-pull.txt:
12440         * docs/design/part-query.txt:
12441         Some more docs.
12442
12443 2005-04-21  Wim Taymans  <wim@fluendo.com>
12444
12445         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12446         (gst_message_new), (gst_message_new_error),
12447         (gst_message_new_warning), (gst_message_new_tag),
12448         (gst_message_new_state_changed), (gst_message_new_application),
12449         (gst_message_get_structure):
12450         * gst/gstmessage.h:
12451         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12452         (gst_structure_copy_conditional):
12453         Use parent refcount in GstMessage to ensure GstStructure
12454         consistency.
12455         Cleaned up headers a bit.
12456         
12457
12458 2005-04-20  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12461         (gst_basesink_pad_getcaps), (gst_basesink_init),
12462         (gst_basesink_chain_unlocked):
12463         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12464         (gst_type_find_helper):
12465         * gst/elements/gsttypefindelement.c:
12466         (gst_type_find_element_have_type), (gst_type_find_element_init),
12467         (stop_typefinding), (gst_type_find_element_handle_event),
12468         (find_suggest), (gst_type_find_element_chain),
12469         (gst_type_find_element_checkgetrange),
12470         (gst_type_find_element_getrange), (do_typefind),
12471         (gst_type_find_element_activate):
12472         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12473         (gst_buffer_default_free), (gst_buffer_default_copy),
12474         (gst_buffer_set_caps):
12475         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12476         (gst_caps_replace):
12477         * gst/gstmessage.c: (gst_message_new),
12478         (gst_message_new_state_changed):
12479         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12480         (gst_pad_set_checkgetrange_function),
12481         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12482         (gst_pad_set_caps), (gst_pad_check_pull_range),
12483         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12484         * gst/gstpad.h:
12485         * gst/gsttypefind.c: (gst_type_find_register):
12486         Make gst_caps_replace() work like other _replace() functions.
12487         Use _caps_replace() where possible.
12488         Make sure _message_new() initialises its field.
12489         Add gst_static_pad_template_get_caps()
12490
12491
12492 2005-04-18  Andy Wingo  <wingo@pobox.com>
12493
12494         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12495         on the peer, not the pad. I think that was a typo. Pass an extra
12496         arg to see if random access is possible. Activate the pads as
12497         PULL_RANGE if possible.
12498
12499         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12500
12501         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12502         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12503         to PROP_....
12504
12505 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12506
12507         * docs/faq/using.xml:
12508           Add note on gstreamer-properties (#154996).
12509
12510 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12511
12512         * docs/random/bbb/optional-properties:
12513           Some analysis on optional properties.
12514
12515 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12516
12517         * docs/gst/tmpl/gstelementfactory.sgml:
12518         * gst/gstelement.h:
12519         * gst/gstelementfactory.c: (gst_element_factory_init),
12520         (gst_element_factory_cleanup), (gst_element_register),
12521         (__gst_element_factory_add_static_pad_template),
12522         (gst_element_factory_get_static_pad_templates),
12523         (gst_element_factory_can_src_caps),
12524         (gst_element_factory_can_sink_caps):
12525         * gst/registries/Makefile.am:
12526         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12527         (gst_xml_registry_class_init), (gst_xml_registry_init),
12528         (gst_xml_registry_new), (gst_xml_registry_set_property),
12529         (gst_xml_registry_get_property), (get_time), (make_dir),
12530         (gst_xml_registry_get_perms_func),
12531         (plugin_times_older_than_recurse), (plugin_times_older_than),
12532         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12533         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12534         (add_to_char_array), (read_string), (read_uint), (read_enum),
12535         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12536         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12537         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12538         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12539         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12540         (gst_xml_registry_rebuild):
12541         * gst/registries/gstlibxmlregistry.h:
12542         * tools/gst-compprep.c: (main):
12543         * tools/gst-inspect.c: (print_pad_templates_info):
12544         * tools/gst-xmlinspect.c: (print_element_info):
12545           Use libxml2 for registry parsing, use staticpadtemplates in
12546           elementfactories. Makes gst_init() +/- 10x faster.
12547
12548 2005-04-12  Wim Taymans  <wim@fluendo.com>
12549
12550         * gst/base/Makefile.am:
12551         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12552         (gst_basesink_pad_getcaps), (gst_basesink_init),
12553         (gst_basesink_event), (gst_basesink_change_state):
12554         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12555         (gst_basesrc_init), (gst_basesrc_query),
12556         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12557         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12558         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12559         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12560         (gst_basesrc_stop), (gst_basesrc_activate),
12561         (gst_basesrc_change_state):
12562         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12563         (helper_find_suggest), (gst_type_find_helper):
12564         * gst/base/gsttypefindhelper.h:
12565         * gst/elements/Makefile.am:
12566         * gst/elements/gstelements.c:
12567         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12568         (gst_fakesink_get_times), (gst_fakesink_event),
12569         (gst_fakesink_preroll), (gst_fakesink_render):
12570         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12571         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12572         (gst_fakesrc_get_property), (gst_fakesrc_create),
12573         (gst_fakesrc_start), (gst_fakesrc_stop):
12574         * gst/elements/gstfakesrc.h:
12575         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12576         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12577         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12578         (gst_filesrc_create_read), (gst_filesrc_create),
12579         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12580         (gst_filesrc_start):
12581         * gst/elements/gsttypefindelement.c:
12582         (gst_type_find_element_have_type), (gst_type_find_element_init),
12583         (start_typefinding), (stop_typefinding), (push_buffer_store),
12584         (gst_type_find_element_handle_event),
12585         (gst_type_find_element_chain),
12586         (gst_type_find_element_checkgetrange),
12587         (gst_type_find_element_getrange), (do_typefind),
12588         (gst_type_find_element_activate),
12589         (gst_type_find_element_change_state):
12590         * gst/elements/gsttypefindelement.h:
12591         * gst/gstpipeline.c: (pipeline_bus_handler):
12592         Added typefind helper.
12593         Small preroll fix in the base sink.
12594         Disable typefind code in basesrc.
12595         Crude port of typefindelement.
12596         Fakesrc cleanups.
12597
12598
12599 2005-04-11  Wim Taymans  <wim@fluendo.com>
12600
12601         * check/gst/gstbus.c: (gstbus_suite):
12602         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12603         * check/gstcheck.h:
12604           Fix up the timeout so that the test does not fail.
12605
12606 2005-04-06  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/base/README:
12609         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12610         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12611         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12612         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12613         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12614         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12615         (gst_basesrc_stop), (gst_basesrc_activate),
12616         (gst_basesrc_change_state), (basesrc_find_peek),
12617         (basesrc_find_suggest), (gst_basesrc_type_find):
12618         * gst/base/gstbasesrc.h:
12619         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12620         (gst_filesrc_class_init), (gst_filesrc_init),
12621         (gst_filesrc_finalize), (gst_filesrc_set_location),
12622         (gst_filesrc_set_property), (gst_filesrc_get_property),
12623         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12624         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12625         (gst_filesrc_create_read), (gst_filesrc_create),
12626         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12627         * gst/elements/gstfilesrc.h:
12628         * gst/gstelement.c: (gst_element_get_state_func),
12629         (gst_element_lost_state), (gst_element_pads_activate):
12630         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12631         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12632         (gst_pad_pull_range):
12633         * gst/gstpad.h:
12634         More work on the generic source base class, implement seeking,
12635         query.
12636         Make filesrc extend the base source class.
12637         Added gst_pad_set_checkgetrange_function to GstPad.
12638
12639 2005-04-06  Andy Wingo  <wingo@pobox.com>
12640
12641         * pkgconfig/gstreamer-base.pc.in:
12642         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12643
12644         * pkgconfig/Makefile.am:
12645         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12646
12647 2005-04-04  Wim Taymans  <wim@fluendo.com>
12648
12649         * gst/base/Makefile.am:
12650         * gst/base/README:
12651         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12652         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12653         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12654         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12655         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12656         (gst_basesrc_base_init), (gst_basesrc_class_init),
12657         (gst_basesrc_init), (gst_basesrc_get_formats),
12658         (gst_basesrc_get_query_types), (gst_basesrc_query),
12659         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12660         (gst_basesrc_set_property), (gst_basesrc_get_property),
12661         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12662         (gst_basesrc_loop), (gst_basesrc_activate),
12663         (gst_basesrc_change_state):
12664         * gst/base/gstbasesrc.h:
12665         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12666         (gst_fakesrc_class_init), (gst_fakesrc_init),
12667         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12668         (gst_fakesrc_get_property), (gst_fakesrc_create):
12669         * gst/elements/gstfakesrc.h:
12670         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12671         (gst_filesrc_open_file), (gst_filesrc_loop),
12672         (gst_filesrc_activate), (filesrc_find_peek),
12673         (gst_filesrc_type_find):
12674         Made base source class, make fakesrc extend it.
12675         Add comments to basesink class.
12676         Some filesrc cleanup.
12677
12678 2005-03-31  David Schleef  <ds@schleef.org>
12679
12680         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12681         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12682         expected to link against libgstreamer.
12683         * gst/base/Makefile.am: link against libgstreamer
12684         * gst/elements/Makefile.am: same
12685
12686 2005-03-31  Andy Wingo  <wingo@pobox.com>
12687
12688         * tests/instantiate/Makefile.am:
12689         * tests/instantiate/caps.c: Add test to test speed of caps copy
12690         and free.
12691
12692         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12693         GMemChunk to be fair.
12694
12695         * gst/gsttrashstack.h: Remove warning about using the fallback
12696         trash stack implementation, it's still faster than malloc.
12697
12698 2005-03-30  Andy Wingo  <wingo@pobox.com>
12699
12700         * tests/complexity.c: Add a copyright.
12701
12702 2005-03-31  Wim Taymans  <wim@fluendo.com>
12703
12704         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12705         (gst_base_transform_class_init), (gst_base_transform_init),
12706         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12707         (gst_base_transform_get_property),
12708         (gst_base_transform_sink_activate),
12709         (gst_base_transform_src_activate),
12710         (gst_base_transform_change_state):
12711         * gst/base/gstbasetransform.h:
12712         * gst/elements/gstidentity.c: (gst_identity_class_init),
12713         (gst_identity_event), (gst_identity_check_perfect),
12714         (gst_identity_transform), (gst_identity_start),
12715         (gst_identity_stop):
12716         Added start/stop methods to transform base class so subclasses 
12717         don't need to deal with state changes even.
12718
12719 2005-03-31  Wim Taymans  <wim@fluendo.com>
12720
12721         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12722         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12723         * gst/gstevent.h:
12724         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12725         (gst_pad_pull_range):
12726         Added rate to the discont event to prepare for variable speed
12727         and reverse playback.
12728
12729 2005-03-29  David Schleef  <ds@schleef.org>
12730
12731         * configure.ac:
12732         * testsuite/trigger/Makefile.am:
12733         * testsuite/trigger/trigger.c: A little example program to show
12734         how trigger-based elements can work.
12735
12736 2005-03-29  Wim Taymans  <wim@fluendo.com>
12737
12738         * gst/base/Makefile.am:
12739         * gst/base/README:
12740         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12741         (gst_basesink_base_init), (gst_basesink_class_init),
12742         (gst_basesink_pad_getcaps), (gst_basesink_init),
12743         (gst_basesink_activate), (gst_basesink_change_state):
12744         * gst/base/gstbasesink.h:
12745         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12746         (gst_base_transform_base_init), (gst_base_transform_finalize),
12747         (gst_base_transform_class_init), (gst_base_transform_init),
12748         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12749         (gst_base_transform_event), (gst_base_transform_getrange),
12750         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12751         (gst_base_transform_set_property),
12752         (gst_base_transform_get_property),
12753         (gst_base_transform_sink_activate),
12754         (gst_base_transform_src_activate),
12755         (gst_base_transform_change_state):
12756         * gst/base/gstbasetransform.h:
12757         * gst/elements/gstidentity.c: (gst_identity_finalize),
12758         (gst_identity_class_init), (gst_identity_init),
12759         (gst_identity_event), (gst_identity_check_perfect),
12760         (gst_identity_transform), (gst_identity_set_property),
12761         (gst_identity_get_property), (gst_identity_change_state):
12762         * gst/elements/gstidentity.h:
12763         * gst/gstelement.c: (gst_element_get_state_func),
12764         (gst_element_lost_state), (gst_element_pads_activate):
12765         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12766         (gst_pad_check_pull_range), (gst_pad_pull_range):
12767         * gst/gstpad.h:
12768         Simplify pad activation.
12769         Added function to check if pull_range can be performed.
12770         Error out when pulling inactive or flushing pads.
12771         Removed const from refcounted types as it does not make sense.
12772         Simplify pad templates in basesink
12773         Added base class for simple 1-to-1 transforms.
12774         Make identity subclass the base transform.
12775
12776 2005-03-29  Andy Wingo  <wingo@pobox.com>
12777
12778         * docs/libs/gstreamer-libs-overrides.txt: 
12779         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12780         really don't understand what's going on, but like whatever. I want
12781         green buildbot!
12782
12783         * docs/gst/Makefile.am:
12784         * docs/libs/Makefile.am: Dist the overrides files.
12785
12786         * check/Makefile.am (clean-local): Remove .libs directories.
12787
12788         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12789         elements to EXTRA_DIST, so po/ files are happy.
12790
12791         * po/POTFILES.in: Er, remove it here.
12792
12793         * po/POTFILES: Remove gstspider.c.
12794
12795         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12796
12797         * docs/libs/gstreamer-libs-docs.sgml: 
12798         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12799         bytestream.
12800
12801         * tests/complexity.c (main): Set the length of the preroll queue
12802         on the sinks to prevent a lockup.
12803
12804         * libs/gst/dataprotocol/Makefile.am: 
12805         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12806         the same as the one in check/gst-libs/gdp.c.
12807
12808         * po/, docs/gst/: Commit automatic changes to docs and po files.
12809
12810         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12811         the versioned libgstbase.
12812
12813         * check/Makefile.am: Depend on an unversioned gst-register, seems
12814         to make autoconf happier.
12815
12816         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12817
12818 2005-03-28  Wim Taymans  <wim@fluendo.com>
12819
12820         * configure.ac:
12821         * docs/design/part-gstelement.txt:
12822         * docs/design/part-negotiation.txt:
12823         * docs/design/part-preroll.txt:
12824         * docs/design/part-scheduling.txt:
12825         * docs/design/part-states.txt:
12826         * gst/Makefile.am:
12827         * gst/base/Makefile.am:
12828         * gst/base/README:
12829         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12830         (gst_basesink_base_init), (gst_basesink_class_init),
12831         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12832         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12833         (gst_basesink_set_pad_functions),
12834         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12835         (gst_basesink_set_property), (gst_basesink_get_property),
12836         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12837         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12838         (gst_basesink_preroll_queue_push),
12839         (gst_basesink_preroll_queue_empty),
12840         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12841         (gst_basesink_event), (gst_basesink_get_times),
12842         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12843         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12844         (gst_basesink_loop), (gst_basesink_activate),
12845         (gst_basesink_change_state):
12846         * gst/base/gstbasesink.h:
12847         * gst/elements/Makefile.am:
12848         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12849         (gst_fakesink_class_init), (gst_fakesink_init),
12850         (gst_fakesink_set_property), (gst_fakesink_get_property),
12851         (gst_fakesink_get_times), (gst_fakesink_event),
12852         (gst_fakesink_preroll), (gst_fakesink_render),
12853         (gst_fakesink_change_state):
12854         * gst/elements/gstfakesink.h:
12855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12856         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12857         * gst/gstelement.c: (gst_element_add_pad),
12858         (gst_element_get_state_func), (gst_element_abort_state),
12859         (gst_element_commit_state), (gst_element_lost_state),
12860         (gst_element_set_state), (gst_element_pads_activate):
12861         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12862         * gst/gstpipeline.c: (gst_pipeline_send_event),
12863         (gst_pipeline_change_state):
12864         Added state change code.
12865         Added/updated docs.
12866         Added sink base class, make fakesink extend the base class.
12867         Small cleanups in GstPipeline.
12868
12869 2005-03-26  David Schleef  <ds@schleef.org>
12870
12871         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12872         is broken and should be implemented in a different library.
12873         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12874         * gst/gst.h: remove gstcpu.h
12875         * gst/gstcpu.c: remove
12876         * gst/gstcpu.h: remove
12877         * gst/Makefile.am.future: Remove this file.  It's ancient.
12878
12879 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12880
12881         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12882         (gst_bin_send_event):
12883           Add default event/set_manager handlers. The set_manager handler
12884           takes care that the manager is distributed over kids that were
12885           already in the bin before the manager was set. The event handler
12886           is a utility virtual function that sends the event over all sinks,
12887           so that gst_element_send_event (bin, event); has the expected
12888           behaviour.
12889         * gst/gstpad.c: (gst_pad_event_default):
12890           Re-install default event handling for discontinuities, so that
12891           seeking works without requiring hacks in applications or extra
12892           code in sinks.
12893         * gst/gstpipeline.c: (gst_pipeline_class_init),
12894         (gst_pipeline_send_event):
12895           Half hack, half utility: set a pipeline to PAUSED for seek events,
12896           since that is the only way we can guarantee a/v sync. Means that
12897           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12898           and it "just works".
12899
12900 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12901
12902         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12903           Lock/unlock mismatch.
12904
12905 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12906
12907         * docs/faq/gst-uninstalled:
12908           add gst-plugins-base
12909         * docs/gst/Makefile.am:
12910           don't error out until docs are fixed
12911         * docs/gst/gstreamer.types:
12912           remove thread
12913
12914 2005-03-22  Wim Taymans  <wim@fluendo.com>
12915
12916         * check/Makefile.am:
12917         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12918         * gst/gststructure.c: (gst_structure_set_valist),
12919         (gst_structure_copy_conditional):
12920         Activated more tests.
12921         Added message test.
12922         Added G_TYPE_POINTER to GstStructure.
12923         
12924
12925 2005-03-22  Wim Taymans  <wim@fluendo.com>
12926
12927         * docs/design/part-TODO.txt:
12928         * docs/design/part-events.txt:
12929         * docs/design/part-gstbin.txt:
12930         * docs/design/part-gstbus.txt:
12931         * docs/design/part-gstpipeline.txt:
12932         * docs/design/part-messages.txt:
12933         * gst/gstbus.c:
12934         * gst/gstmessage.c:
12935         Docs updates
12936
12937 2005-03-21  Wim Taymans  <wim@fluendo.com>
12938
12939         * gst/gstbus.c: (gst_bus_post):
12940         Fix copy-and-paste error.
12941
12942 2005-03-21  Wim Taymans  <wim@fluendo.com>
12943
12944         * check/Makefile.am:
12945         * gst/Makefile.am:
12946         * gst/elements/Makefile.am:
12947         * gst/elements/gstelements.c:
12948         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12949         (gst_fakesink_event), (gst_fakesink_chain):
12950         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12951         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12952         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12953         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12954         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12955         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12956         (gst_fakesrc_loop), (gst_fakesrc_activate),
12957         (gst_fakesrc_change_state):
12958         * gst/elements/gstfakesrc.h:
12959         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12960         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12961         (gst_filesrc_open_file), (gst_filesrc_loop),
12962         (gst_filesrc_activate), (gst_filesrc_change_state),
12963         (filesrc_find_peek), (filesrc_find_suggest),
12964         (gst_filesrc_type_find):
12965         * gst/elements/gstidentity.c: (gst_identity_finalize),
12966         (gst_identity_class_init), (gst_identity_init),
12967         (gst_identity_proxy_getcaps), (identity_queue_push),
12968         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12969         (gst_identity_getrange), (gst_identity_chain),
12970         (gst_identity_sink_loop), (gst_identity_src_loop),
12971         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12972         (gst_identity_set_property), (gst_identity_get_property),
12973         (gst_identity_change_state):
12974         * gst/elements/gstidentity.h:
12975         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12976         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12977         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12978         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12979         (gst_tee_sink_activate):
12980         * gst/elements/gsttee.h:
12981         * gst/gst.c: (gst_register_core_elements), (init_post):
12982         * gst/gst.h:
12983         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12984         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12985         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12986         (gst_bin_change_state):
12987         * gst/gstbin.h:
12988         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12989         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12990         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12991         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12992         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12993         (bus_watch_callback), (bus_watch_destroy),
12994         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12995         (poll_timeout), (gst_bus_poll):
12996         * gst/gstbus.h:
12997         * gst/gstcaps.h:
12998         * gst/gstdata.h:
12999         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13000         (gst_element_post_message), (gst_element_message_full),
13001         (gst_element_get_state_func), (gst_element_get_state),
13002         (gst_element_abort_state), (gst_element_commit_state),
13003         (gst_element_lost_state), (gst_element_set_state),
13004         (gst_element_pads_activate), (gst_element_change_state),
13005         (gst_element_dispose), (gst_element_set_manager_func),
13006         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13007         (gst_element_set_manager), (gst_element_get_manager),
13008         (gst_element_set_bus), (gst_element_get_bus),
13009         (gst_element_set_scheduler), (gst_element_get_scheduler):
13010         * gst/gstelement.h:
13011         * gst/gstevent.c: (gst_event_new_segment_seek),
13012         (gst_event_new_flush):
13013         * gst/gstevent.h:
13014         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13015         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13016         (gst_message_new_eos), (gst_message_new_error),
13017         (gst_message_new_warning), (gst_message_new_tag),
13018         (gst_message_new_state_changed), (gst_message_new_application),
13019         (gst_message_get_structure), (gst_message_parse_tag),
13020         (gst_message_parse_state_changed), (gst_message_parse_error),
13021         (gst_message_parse_warning):
13022         * gst/gstmessage.h:
13023         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13024         (gst_real_pad_set_property), (gst_pad_set_active),
13025         (gst_pad_is_active), (gst_pad_set_blocked_async),
13026         (gst_pad_set_blocked), (gst_pad_is_blocked),
13027         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13028         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13029         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13030         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13031         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13032         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13033         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13034         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13035         (gst_pad_set_caps), (gst_pad_configure_sink),
13036         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13037         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13038         (gst_real_pad_dispose), (gst_real_pad_finalize),
13039         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13040         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13041         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13042         * gst/gstpad.h:
13043         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13044         (pipeline_bus_handler), (gst_pipeline_change_state),
13045         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13046         * gst/gstpipeline.h:
13047         * gst/gstprobe.h:
13048         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13049         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13050         (gst_queue_link_src), (gst_queue_bufferalloc),
13051         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13052         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13053         (gst_queue_loop), (gst_queue_handle_src_event),
13054         (gst_queue_handle_src_query), (gst_queue_src_activate),
13055         (gst_queue_change_state):
13056         * gst/gstqueue.h:
13057         * gst/gstscheduler.c: (gst_scheduler_init),
13058         (gst_scheduler_dispose), (gst_scheduler_create_task),
13059         (gst_scheduler_factory_create):
13060         * gst/gstscheduler.h:
13061         * gst/gststructure.c: (gst_structure_get_type),
13062         (gst_structure_copy_conditional):
13063         * gst/gststructure.h:
13064         * gst/gsttaginterface.h:
13065         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13066         (gst_task_init), (gst_task_dispose), (gst_task_create),
13067         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13068         (gst_task_pause):
13069         * gst/gsttask.h:
13070         * gst/gstthread.c:
13071         * gst/gstthread.h:
13072         * gst/gsttypes.h:
13073         * gst/schedulers/Makefile.am:
13074         * gst/schedulers/cothreads_compat.h:
13075         * gst/schedulers/entryscheduler.c:
13076         * gst/schedulers/faircothreads.c:
13077         * gst/schedulers/faircothreads.h:
13078         * gst/schedulers/fairscheduler.c:
13079         * gst/schedulers/gstbasicscheduler.c:
13080         * gst/schedulers/gstoptimalscheduler.c:
13081         * gst/schedulers/gthread-cothreads.h:
13082         * gst/schedulers/threadscheduler.c:
13083         (gst_thread_scheduler_task_get_type),
13084         (gst_thread_scheduler_task_class_init),
13085         (gst_thread_scheduler_task_init),
13086         (gst_thread_scheduler_task_start),
13087         (gst_thread_scheduler_task_stop),
13088         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13089         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13090         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13091         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13092         (plugin_init):
13093         * libs/gst/Makefile.am:
13094         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13095         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13096         (gst_file_pad_parent_set):
13097         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13098         (gst_dp_event_from_packet):
13099         * tests/complexity.c: (main):
13100         * tests/mass_elements.c: (main):
13101         * testsuite/states/locked.c: (message_received), (main):
13102         * testsuite/states/parent.c: (main):
13103         * tools/gst-inspect.c: (print_element_flag_info),
13104         (print_implementation_info), (print_pad_info):
13105         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13106         (main):
13107         * tools/gst-md5sum.c: (event_loop), (main):
13108         * tools/gst-typefind.c: (main):
13109         * tools/gst-xmlinspect.c: (print_element_info):
13110         Next big merge.
13111         Added GstBus for mainloop integration.
13112         Added GstMessage for sending notifications on the bus.
13113         Added GstTask as an abstraction for pipeline entry points.
13114         Removed GstThread.
13115         Removed Schedulers.
13116         Simplified GstQueue for multithreaded core.
13117         Made _link threadsafe, removed old capsnego.
13118         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13119         Added pad blocking functions.
13120         Reworked scheduling functions in GstPad to prepare for
13121         scheduling updates soon.
13122         Moved events out of data stream.
13123         Simplified GstEvent types.
13124         Added return values to push/pull.
13125         Removed clocking from GstElement.
13126         Added prototypes for state change function for next merge.
13127         Removed iterate from bins and state change management.
13128         Fixed some elements, disabled others for now.
13129         Fixed -inspect and -launch.
13130         Added check for GstBus.
13131
13132 2005-03-10  Wim Taymans  <wim@fluendo.com>
13133
13134         * docs/design/part-MT-refcounting.txt:
13135         * docs/design/part-clocks.txt:
13136         * docs/design/part-gstelement.txt:
13137         * docs/design/part-gstobject.txt:
13138         * docs/design/part-standards.txt:
13139         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13140         (gst_bin_remove_func), (gst_bin_remove):
13141         * gst/gstbin.h:
13142         * gst/gstbuffer.c:
13143         * gst/gstcaps.h:
13144         * testsuite/clock/clock1.c: (main):
13145         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13146         (main):
13147         * testsuite/dlopen/loadgst.c: (do_test):
13148         * testsuite/refcounting/bin.c: (add_remove_test1),
13149         (add_remove_test2), (main):
13150         * testsuite/refcounting/element.c: (main):
13151         * testsuite/refcounting/element_pad.c: (main):
13152         * testsuite/refcounting/pad.c: (main):
13153         * tools/gst-launch.c: (sigint_handler_sighandler):
13154         * tools/gst-typefind.c: (main):
13155         Doc updates.
13156         Added doc about clock.
13157         removed gst_bin_iterate_recurse_up(), marked methods
13158         for removal.
13159         Fix more testsuites.
13160
13161 2005-03-09  Wim Taymans  <wim@fluendo.com>
13162
13163         * gst/gstpad.c: (gst_pad_get_direction),
13164         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13165         (gst_pad_collect_valist):
13166         * testsuite/bins/interface.c: (main):
13167         * testsuite/caps/audioscale.c: (test_caps):
13168         * testsuite/caps/caps.c: (test1), (test2), (test3):
13169         * testsuite/caps/deserialize.c: (main):
13170         * testsuite/caps/enumcaps.c: (main):
13171         * testsuite/caps/filtercaps.c: (main):
13172         * testsuite/caps/intersect2.c: (main):
13173         * testsuite/caps/random.c: (main):
13174         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13175         * testsuite/caps/sets.c: (check_caps):
13176         * testsuite/caps/simplify.c: (check_caps), (main):
13177         * testsuite/caps/subtract.c: (check_caps):
13178         Fix _pad_get_direction wrt ghostpads.
13179         Fix caps testsuite.
13180
13181 2005-03-09  Wim Taymans  <wim@fluendo.com>
13182
13183         * check/Makefile.am:
13184         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13185         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13186         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13188         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13189         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13190         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13191         (bin_element_is_sink), (gst_bin_iterate_sinks),
13192         (gst_bin_iterate_all_by_interface):
13193         * gst/gstbin.h:
13194         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13195         (gst_element_change_state), (gst_element_dispose),
13196         (gst_element_finalize), (gst_element_set_loop_function):
13197         * gst/gstelement.h:
13198         * gst/gstiterator.c: (find_custom_fold_func):
13199         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13200         (gst_pad_collectv), (gst_pad_collect_valist),
13201         (gst_pad_template_new):
13202         * gst/gstpipeline.c: (gst_pipeline_class_init),
13203         (gst_pipeline_dispose), (gst_pipeline_set_property),
13204         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13205         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13206         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13207         * gst/gstutils.h:
13208         * gst/schedulers/entryscheduler.c:
13209         * gst/schedulers/gstbasicscheduler.c:
13210         (gst_basic_scheduler_cothreaded_chain),
13211         (gst_basic_scheduler_chain_add_element):
13212         * testsuite/bins/interface.c: (main):
13213         Added GstBin test.
13214         Added GstSystemClock test.
13215         Implemented clock distribution code in GstBin.
13216         Implemented iterate sinks method for future use.
13217         Rearranged gstelement.h
13218         Fix GstIterator comparison bug.
13219         Moved some code to GstPipeline, mostly clocking related.
13220
13221 2005-03-09  Wim Taymans  <wim@fluendo.com>
13222
13223         * configure.ac:
13224         * gst/gst_private.h:
13225         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13226         (gst_bin_remove_func), (gst_bin_remove),
13227         (gst_bin_get_by_name_recurse_up):
13228         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13229         (gst_clock_id_compare_func), (gst_clock_id_wait),
13230         (gst_clock_id_wait_async), (gst_clock_init),
13231         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13232         * gst/gstelement.h:
13233         * gst/gstinfo.c: (_gst_debug_init):
13234         * gst/gstobject.h:
13235         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13236         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13237         * gst/gstpad.h:
13238         Bump version number, we're now 0.9.0
13239         Add future debugging category.
13240         Fix NULL _unref() in _get_by_name_recurse_up
13241         Rearrange gstpad.h.
13242         Update some docs.
13243
13244 2005-03-08  Wim Taymans  <wim@fluendo.com>
13245
13246         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13247         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13248         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13249         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13250         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13251         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13252         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13253         * gst/elements/gstidentity.c: (gst_identity_class_init):
13254         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13255         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13256         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13257         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13258         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13259         (gst_tee_link):
13260         * gst/gstelement.c: (gst_element_class_init),
13261         (gst_element_base_class_init), (gst_element_init),
13262         (gst_element_get_random_pad), (gst_element_wait_state_change),
13263         (gst_element_change_state), (gst_element_dispose),
13264         (gst_element_finalize), (gst_element_set_loop_function):
13265         * gst/gstelement.h:
13266         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13267         * gst/gstthread.c: (gst_thread_class_init),
13268         (gst_thread_release_children_locks), (gst_thread_change_state):
13269         * gst/schedulers/gstbasicscheduler.c:
13270         (gst_basic_scheduler_loopfunc_wrapper),
13271         (gst_basic_scheduler_chain_wrapper),
13272         (gst_basic_scheduler_src_wrapper),
13273         (gst_basic_scheduler_remove_element):
13274         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13275         Remove threadsafe properties. Fix elements because GObject
13276         complains when installing a property before declaring a
13277         set/get_property handler.
13278         Rearrange gstelement.h file, use STATE macros for state locks.
13279         Free mutexes in the finalize method instead of dispose.
13280
13281 2005-03-08  Wim Taymans  <wim@fluendo.com>
13282
13283         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13284         * gst/gstthread.c: (gst_thread_release_children_locks):
13285         Added parentage check.
13286         Fix build og GstThread again.
13287
13288 2005-03-08  Wim Taymans  <wim@fluendo.com>
13289
13290         * docs/design/part-MT-refcounting.txt:
13291         * docs/design/part-conventions.txt:
13292         * docs/design/part-gstobject.txt:
13293         * docs/design/part-relations.txt:
13294         * docs/design/part-standards.txt:
13295         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13296         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13297         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13298         (gst_bin_iterate_all_by_interface):
13299         * gst/gstbuffer.h:
13300         * gst/gstclock.h:
13301         * gst/gstelement.c: (gst_element_class_init),
13302         (gst_element_change_state), (gst_element_set_loop_function):
13303         * gst/gstelement.h:
13304         * gst/gstiterator.c:
13305         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13306         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13307         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13308         (gst_object_set_parent), (gst_object_unparent),
13309         (gst_object_check_uniqueness):
13310         * gst/gstobject.h:
13311         Docs updates, clean up some headers.
13312
13313 2005-03-07  Wim Taymans  <wim@fluendo.com>
13314
13315         * check/.cvsignore:
13316         * check/Makefile.am:
13317         * check/gst-libs/.cvsignore:
13318         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13319         * check/gst/.cvsignore:
13320         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13321         (START_TEST), (gstbus_suite), (main):
13322         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13323         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13324         (gst_data_suite), (main):
13325         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13326         (add_fold_func), (gstiterator_suite), (main):
13327         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13328         (thread_name_object), (thread_name_object_default),
13329         (gst_object_name_compare), (gst_object_suite), (main):
13330         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13331         (gst_pad_suite), (main):
13332         * check/gstcheck.c: (gst_check_log_message_func),
13333         (gst_check_log_critical_func), (gst_check_init):
13334         * check/gstcheck.h:
13335         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13336         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13337         Added checks.
13338
13339 2005-03-07  Wim Taymans  <wim@fluendo.com>
13340
13341         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13342         (gst_list_iterator_next), (gst_list_iterator_resync),
13343         (gst_list_iterator_free), (gst_iterator_new_list),
13344         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13345         (gst_iterator_free), (gst_iterator_push), (filter_next),
13346         (filter_resync), (filter_uninit), (filter_free),
13347         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13348         (gst_iterator_foreach), (find_custom_fold_func),
13349         (gst_iterator_find_custom):
13350         * gst/gstiterator.h:
13351         Added missing files.
13352
13353 2005-03-07  Wim Taymans  <wim@fluendo.com>
13354
13355         * Makefile.am:
13356         * configure.ac:
13357         * docs/design/part-MT-refcounting.txt:
13358         * docs/design/part-conventions.txt:
13359         * docs/design/part-gstobject.txt:
13360         * docs/design/part-relations.txt:
13361         * examples/mixer/mixer.c: (main):
13362         * examples/thread/thread.c: (eos), (main):
13363         * gst/Makefile.am:
13364         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13365         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13366         (gst_spider_plug_from_srcpad):
13367         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13368         (gst_spider_identity_change_state),
13369         (gst_spider_identity_sink_loop_type_finding):
13370         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13371         * gst/elements/gstidentity.c: (gst_identity_init):
13372         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13373         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13374         * gst/elements/gsttypefindelement.c: (free_entry):
13375         * gst/gst.c:
13376         * gst/gst.h:
13377         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13378         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13379         (gst_bin_set_index), (gst_bin_set_element_sched),
13380         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13381         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13382         (gst_bin_iterate_elements), (iterate_child_recurse),
13383         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13384         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13385         (compare_interface), (gst_bin_get_by_interface),
13386         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13387         * gst/gstbin.h:
13388         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13389         (gst_buffer_default_free), (gst_buffer_default_copy),
13390         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13391         (gst_buffer_create_sub):
13392         * gst/gstbuffer.h:
13393         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13394         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13395         (gst_caps_unref), (gst_static_caps_get),
13396         (gst_caps_remove_and_get_structure), (gst_caps_append),
13397         (gst_caps_append_structure), (gst_caps_remove_structure),
13398         (gst_caps_copy_nth), (gst_caps_set_simple),
13399         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13400         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13401         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13402         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13403         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13404         (gst_caps_structure_figure_out_union),
13405         (gst_caps_switch_structures), (gst_caps_do_simplify),
13406         (gst_caps_replace), (gst_caps_from_string),
13407         (gst_caps_copy_conditional):
13408         * gst/gstcaps.h:
13409         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13410         (_gst_clock_id_free), (gst_clock_id_unref),
13411         (gst_clock_id_compare_func), (gst_clock_id_wait),
13412         (gst_clock_id_wait_async), (gst_clock_class_init),
13413         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13414         (gst_clock_get_time), (gst_clock_set_time_adjust),
13415         (gst_clock_set_property), (gst_clock_get_property):
13416         * gst/gstclock.h:
13417         * gst/gstcompat.h:
13418         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13419         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13420         * gst/gstdata.h:
13421         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13422         (gst_element_requires_clock), (gst_element_provides_clock),
13423         (gst_element_set_clock), (gst_element_clock_wait),
13424         (gst_element_wait), (gst_element_set_time_delay),
13425         (gst_element_is_indexable), (gst_element_add_pad),
13426         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13427         (pad_compare_name), (gst_element_get_static_pad),
13428         (gst_element_request_pad), (gst_element_get_request_pad),
13429         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13430         (gst_element_class_get_pad_template_list),
13431         (gst_element_class_get_pad_template), (gst_element_error_func),
13432         (gst_element_get_random_pad), (gst_element_get_event_masks),
13433         (gst_element_send_event), (gst_element_seek),
13434         (gst_element_get_query_types), (gst_element_query),
13435         (gst_element_get_formats), (gst_element_convert),
13436         (gst_element_is_locked_state), (gst_element_set_locked_state),
13437         (gst_element_sync_state_with_parent), (gst_element_change_state),
13438         (gst_element_finalize), (gst_element_yield),
13439         (gst_element_interrupt), (gst_element_set_scheduler),
13440         (gst_element_get_scheduler), (gst_element_set_loop_function):
13441         * gst/gstelement.h:
13442         * gst/gstevent.h:
13443         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13444         (gst_format_get_by_nick), (gst_format_get_details),
13445         (gst_format_iterate_definitions):
13446         * gst/gstformat.h:
13447         * gst/gstindex.c: (gst_index_gtype_resolver):
13448         * gst/gstinfo.c:
13449         * gst/gstinfo.h:
13450         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13451         (gst_mem_chunk_free):
13452         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13453         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13454         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13455         (gst_object_dispatch_properties_changed),
13456         (gst_object_set_name_default), (gst_object_set_name),
13457         (gst_object_get_name), (gst_object_set_name_prefix),
13458         (gst_object_get_name_prefix), (gst_object_set_parent),
13459         (gst_object_get_parent), (gst_object_unparent),
13460         (gst_object_check_uniqueness), (gst_object_save_thyself),
13461         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13462         (gst_object_set_property), (gst_object_get_property),
13463         (gst_object_get_path_string):
13464         * gst/gstobject.h:
13465         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13466         (gst_real_pad_init), (gst_real_pad_get_property),
13467         (gst_pad_custom_new), (gst_pad_get_direction),
13468         (gst_pad_set_active), (gst_pad_is_active),
13469         (gst_pad_set_event_function), (gst_pad_is_linked),
13470         (gst_pad_link_free), (gst_pad_link_intersect),
13471         (gst_pad_link_fixate), (gst_pad_set_caps),
13472         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13473         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13474         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13475         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13476         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13477         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13478         (gst_pad_realize), (gst_pad_get_allowed_caps),
13479         (gst_real_pad_dispose), (gst_real_pad_finalize),
13480         (gst_pad_collectv), (gst_pad_collect_valist),
13481         (gst_pad_template_dispose), (gst_pad_template_new),
13482         (gst_pad_get_internal_links):
13483         * gst/gstpad.h:
13484         * gst/gstpipeline.c: (gst_pipeline_dispose),
13485         (gst_pipeline_change_state):
13486         * gst/gstpipeline.h:
13487         * gst/gstplugin.c:
13488         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13489         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13490         * gst/gstpluginfeature.h:
13491         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13492         * gst/gstquery.c: (_gst_query_type_initialize),
13493         (gst_query_type_register), (gst_query_type_get_by_nick),
13494         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13495         * gst/gstquery.h:
13496         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13497         * gst/gstscheduler.c: (gst_scheduler_add_element),
13498         (gst_scheduler_factory_create):
13499         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13500         (gst_structure_free), (gst_structure_set_name),
13501         (gst_structure_id_set_value), (gst_structure_set_value),
13502         (gst_structure_set_valist), (gst_structure_remove_field),
13503         (gst_structure_remove_fields),
13504         (gst_structure_remove_fields_valist),
13505         (gst_structure_remove_all_fields), (gst_structure_foreach),
13506         (gst_structure_map_in_place),
13507         (gst_caps_structure_fixate_field_nearest_int),
13508         (gst_caps_structure_fixate_field_nearest_double):
13509         * gst/gststructure.h:
13510         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13511         (gst_system_clock_init), (gst_system_clock_dispose),
13512         (gst_system_clock_async_thread),
13513         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13514         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13515         * gst/gstsystemclock.h:
13516         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13517         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13518         * gst/gsttaginterface.c:
13519         * gst/gstthread.c: (gst_thread_dispose),
13520         (gst_thread_release_children_locks), (gst_thread_change_state),
13521         (gst_thread_main_loop):
13522         * gst/gsttrashstack.h:
13523         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13524         * gst/gsttypes.h:
13525         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13526         (gst_element_request_pad), (gst_element_get_pad_from_template),
13527         (gst_element_request_compatible_pad),
13528         (gst_element_get_compatible_pad_filtered),
13529         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13530         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13531         (gst_element_link_many), (gst_element_link),
13532         (gst_element_link_pads), (gst_element_unlink_pads),
13533         (gst_element_unlink_many), (gst_element_unlink),
13534         (gst_pad_can_link_filtered), (gst_pad_can_link),
13535         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13536         (gst_object_default_error), (gst_bin_add_many),
13537         (gst_bin_remove_many), (gst_element_populate_std_props),
13538         (gst_element_class_install_std_props), (gst_buffer_merge),
13539         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13540         (link_fold_func), (gst_pad_proxy_setcaps):
13541         * gst/gstutils.h:
13542         * gst/gstvalue.c: (gst_value_deserialize_string):
13543         * gst/parse/grammar.y:
13544         * gst/schedulers/gstbasicscheduler.c:
13545         (gst_basic_scheduler_cothreaded_chain),
13546         (gst_basic_scheduler_chain_recursive_add),
13547         (gst_basic_scheduler_pad_link):
13548         * gst/schedulers/gstoptimalscheduler.c:
13549         (get_group_schedule_function),
13550         (gst_opt_scheduler_state_transition),
13551         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13552         * libs/gst/bytestream/bytestream.c:
13553         * libs/gst/dataprotocol/dataprotocol.c:
13554         (gst_dp_header_from_buffer):
13555         * po/nb.po:
13556         * po/ru.po:
13557         * tests/threadstate/threadstate2.c: (eos):
13558         * tools/gst-compprep.c: (main):
13559         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13560         (print_pad_info), (print_children_info):
13561         * tools/gst-launch.c: (idle_func), (main):
13562         * tools/gst-md5sum.c: (idle_func), (main):
13563         * tools/gst-xmlinspect.c: (print_element_info):
13564         First THREADED backport attempt, focusing on adding locks and
13565         making sure the API is threadsafe. Needs more work. More docs
13566         follow this week.
13567
13568 2005-02-24  Andy Wingo  <wingo@pobox.com>
13569
13570         * tests/bench-complexity.scm:
13571         * tests/complexity.gnuplot: New files, good for running complexity
13572         benchmarks.
13573
13574         * tests/Makefile.am:
13575         * tests/complexity.c: New test, sets up N elements, at each level
13576         teeing into M streams per element. Eeeenteresting.
13577
13578         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13579         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13580         running bench-mass_elements.scm.
13581
13582         * tests/bench-mass_elements.scm: New script, runs mass_elements
13583         for various numbers of identities, outputting the results to a
13584         file. Requires guile 1.6. Just for testing.
13585
13586 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13587
13588         * gst/schedulers/fairscheduler.c:
13589           compile with debug disabled
13590
13591 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13592
13593         * configure.ac:
13594           hunting season on 0.9 is now OPEN