gst/gsttypefindfactory.c: Don't unref factories after calling them.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-12  Michael Smith  <msmith@fluendo.com>
2
3         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4           Don't unref factories after calling them.
5         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6         * plugins/elements/gsttypefindelement.c:
7         (gst_type_find_element_chain):
8           Free lists of factories after using them. Fixing typefinding memory
9           leaks.
10
11 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12
13         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14         (gst_plugin_feature_load):
15           more meaningful debug output
16         * configure.ac:
17         * tests/Makefile.am:
18         * tests/old/examples/Makefile.am:
19           make make distcheck happy again
20
21 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
22
23         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
24           Catch the special case where we are operating chain-based,
25           but the downstream peer pad has no chain function. Emit a
26           custom error message in this case instead of letting the
27           core generate one implying that this is some sort of core
28           bug. It's not, it just means that whatever got plugged
29           into the pipeline downstream when we announced the type
30           can only operate pull-based, while our source can only
31           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
32           Error string has not been marked for translation yet, as
33           it probably needs some more work first.
34
35         (gst_type_find_element_get_best_possibility):
36           Add helper function to find the best of all available
37           found possibilities that qualify given the min. threshold.
38
39         (gst_type_find_element_handle_event):
40           Fix the case where we get an EOS while still in TYPEFIND
41           mode (we want to chose the best of all possible types,
42           not just the first type that happens to be in our unsorted
43           list of possible types).
44
45         (gst_type_find_element_chain):
46           Make sure we return GST_FLOW_ERROR when we errored out
47           in stop_typefinding(); also, don't just find the best of
48           all found type entries and then use the last examined
49           type entry, but actually use the best entry.
50
51 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
52
53         * tests/examples/typefind/typefind.c: (type_found):
54         * tests/examples/xml/runxml.c: (xml_loaded):
55           More gcc4 fixes and a mem leak fix.
56
57 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
58
59         * tests/examples/xml/createxml.c: (object_saved):
60           gcc 4 fixes
61
62 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
63
64         * tests/Makefile.am:
65           enable the examples even more
66
67 2005-12-12  Andy Wingo  <wingo@pobox.com>
68
69         * libs/gst/net/gstnettimeprovider.c
70         (gst_net_time_provider_class_init, gst_net_time_provider_init)
71         (gst_net_time_provider_set_property)
72         (gst_net_time_provider_get_property): Export "active" as a GObject
73         property.
74         (gst_net_time_provider_thread): Only respond to time queries if
75         the time provider is active.
76
77         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
78         NetTimeProvider, preserving binary compat.
79
80 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
81
82         * tests/examples/controller/audio-example.c: (main):
83         * tests/examples/launch/Makefile.am:
84           convert comments again
85
86 2005-12-12  Wim Taymans  <wim@fluendo.com>
87
88         * libs/gst/base/gstpushsrc.c:
89         Fix typo.
90
91 2005-12-12  Wim Taymans  <wim@fluendo.com>
92
93         * docs/libs/gstreamer-libs-sections.txt:
94         Added new symbol to docs.
95
96         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
97         (gst_base_src_init), (gst_base_src_set_format),
98         (gst_base_src_default_query), (gst_base_src_query),
99         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
100         (gst_base_src_perform_seek), (gst_base_src_send_event),
101         (gst_base_src_default_event), (gst_base_src_event_handler),
102         (gst_base_src_set_property), (gst_base_src_get_property),
103         (gst_base_src_wait), (gst_base_src_do_sync),
104         (gst_base_src_update_length), (gst_base_src_get_range),
105         (gst_base_src_check_get_range), (gst_base_src_loop),
106         (gst_base_src_default_negotiate), (gst_base_src_start),
107         (gst_base_src_activate_push), (gst_base_src_activate_pull),
108         (gst_base_src_change_state):
109         * libs/gst/base/gstbasesrc.h:
110         Implement seeking to other formats than _BYTES.
111         Implement more seeking methods correctly.
112         Doc updates.
113         Added query vmethod.
114         Added do_seek vmethod to make life easier for subclasses
115         when seeking.
116         API addition: gst_base_src_set_format()
117
118 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
119
120         * tests/examples/Makefile.am:
121           added that too
122
123 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
124
125         * configure.ac:
126         * docs/random/ensonic/media-device-daemon.txt:
127         * tests/examples/controller/.cvsignore:
128         * tests/examples/controller/Makefile.am:
129         * tests/examples/controller/audio-example.c: (main):
130         * tests/examples/helloworld/.cvsignore:
131         * tests/examples/helloworld/Makefile.am:
132         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
133         * tests/examples/launch/.cvsignore:
134         * tests/examples/launch/Makefile.am:
135         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
136         * tests/examples/metadata/.cvsignore:
137         * tests/examples/metadata/Makefile.am:
138         * tests/examples/metadata/read-metadata.c: (message_loop),
139         (make_pipeline), (print_tag), (main):
140         * tests/examples/queue/.cvsignore:
141         * tests/examples/queue/Makefile.am:
142         * tests/examples/queue/queue.c: (event_loop), (main):
143         * tests/examples/typefind/.cvsignore:
144         * tests/examples/typefind/Makefile.am:
145         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
146         (main):
147         * tests/examples/xml/.cvsignore:
148         * tests/examples/xml/Makefile.am:
149         * tests/examples/xml/createxml.c: (object_saved), (main):
150         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
151         * tests/old/examples/Makefile.am:
152         * tests/old/examples/TODO:
153         * tests/old/examples/controller/.cvsignore:
154         * tests/old/examples/controller/Makefile.am:
155         * tests/old/examples/controller/audio-example.c:
156         * tests/old/examples/helloworld/.cvsignore:
157         * tests/old/examples/helloworld/Makefile.am:
158         * tests/old/examples/helloworld/helloworld.c:
159         * tests/old/examples/launch/.cvsignore:
160         * tests/old/examples/launch/Makefile.am:
161         * tests/old/examples/launch/mp3parselaunch.c:
162         * tests/old/examples/launch/mp3play:
163         * tests/old/examples/manual/Makefile.am:
164         * tests/old/examples/metadata/Makefile.am:
165         * tests/old/examples/metadata/read-metadata.c:
166         * tests/old/examples/queue/.cvsignore:
167         * tests/old/examples/queue/Makefile.am:
168         * tests/old/examples/queue/queue.c:
169         * tests/old/examples/typefind/.cvsignore:
170         * tests/old/examples/typefind/Makefile.am:
171         * tests/old/examples/typefind/typefind.c:
172         * tests/old/examples/xml/.cvsignore:
173         * tests/old/examples/xml/Makefile.am:
174         * tests/old/examples/xml/createxml.c:
175         * tests/old/examples/xml/runxml.c:
176           applied some simple fixing to some examples
177           re-enabled the working examples
178
179 2005-12-12  Wim Taymans  <wim@fluendo.com>
180
181         * gst/gstsegment.c: (gst_segment_init),
182         (gst_segment_set_last_stop), (gst_segment_set_seek),
183         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
184         (gst_segment_to_running_time):
185         Added more documentation.
186         Make sure the last_pos value is updated properly.
187         Make sure to_stream_time and to_running_time don't
188         operate on wrong values.
189
190         * tests/check/gst/gstsegment.c: (GST_START_TEST):
191         Update check.
192
193 2005-12-12  Michael Smith  <msmith@fluendo.com>
194
195         * plugins/elements/gsttypefindelement.c: (free_entry),
196         (gst_type_find_element_chain):
197           Now that we're not leaking factories, make sure we keep references
198           to them while we need them.
199
200 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
201
202         * tests/check/gst/struct_i386.h:
203           ifdef out the XML structs
204
205 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
206
207         * gst/gstvalue.c: (gst_value_transform_double_fraction):
208           floor is not needed, F is always positive; this obviates the
209           need for adding -lm when building without libxml
210
211 2005-12-12  Wim Taymans  <wim@fluendo.com>
212
213         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
214         Take current playback rate into account when reporting
215         the position.
216
217 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
218
219         * docs/manual/mime-world.fig:
220           Let's try this again, this time with a file that is
221           actually in XFig format.
222
223 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
224
225         * docs/manual/mime-world.fig:
226           Add audioconvert element to diagram so that it
227           matches the text and the code (fixes #319526).
228
229 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
230
231         * docs/pwg/building-chainfn.xml:
232         * docs/pwg/building-pads.xml:
233         * docs/pwg/building-state.xml:
234         * docs/pwg/other-source.xml:
235           Update state change stuff for 0.10 (fixes #322969).
236
237 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
238
239         * docs/manual/advanced-dataaccess.xml:
240         * docs/manual/appendix-checklist.xml:
241         * docs/manual/appendix-programs.xml:
242         * docs/manual/basics-pads.xml:
243         * docs/manual/highlevel-components.xml:
244         * docs/manual/manual.xml:
245           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
246           add converters in front of pipelines; remove curly
247           brackets for threads stuff, they no longer exist; use
248           GST_TYPE_FRACTION for framerates; update some pieces of
249           code to 0.10, but there's plenty more to do.
250
251         * docs/manual/appendix-porting.xml:
252           Expand on asynchroneous state changes; s/0.9/0.10/;
253           mention disappearance of gst_init_get_popt_table()
254           (fixes #322916).
255
256 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
257
258         * docs/faq/using.xml:
259           Spider no longer exists, and neither does gst-launch-ext.
260           Update examples to use decodebin and playbin and put
261           converters in front of sinks (fixes #323726).
262
263 2005-12-09  Michael Smith  <msmith@fluendo.com>
264
265         * plugins/elements/gsttypefindelement.c: (find_peek),
266         (gst_type_find_element_chain):
267           Fix leaking element factories in typefinding.
268           Fix problem where we forgot about a probable type on non-seekable
269           files, and thus later mis-typefound it.
270
271 2005-12-09  Michael Smith  <msmith@fluendo.com>
272
273         * common/m4/gst-makecontext.m4:
274         * common/m4/gst-mcsc.m4:
275         * configure.ac:
276         * win32/common/config.h:
277         * win32/common/config.h.in:
278           Remove makecontext stuff; not used in 0.10 and causes problems on
279           HPUX according to bug #322441
280
281 2005-12-07  Wim Taymans  <wim@fluendo.com>
282
283         * tests/check/Makefile.am:
284         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
285         (main):
286         * tests/check/libs/struct_i386.h:
287         Added ABI check for libs
288
289 2005-12-07  Wim Taymans  <wim@fluendo.com>
290
291         * tests/check/Makefile.am:
292         And add the struct_i386.h to dist.
293
294 2005-12-07  Wim Taymans  <wim@fluendo.com>
295
296         * tests/check/Makefile.am:
297         * tests/check/gst/.cvsignore:
298         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
299         (main):
300         * tests/check/gst/struct_i386.h:
301         Added check for ABI compatibility.
302
303 2005-12-07  Wim Taymans  <wim@fluendo.com>
304
305         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
306         (gst_fake_src_get_times), (gst_fake_src_create):
307         Fix broken sync option, fixes #323259
308
309 2005-12-07  Wim Taymans  <wim@fluendo.com>
310
311         * gst/gstbuffer.c:
312         Small docs update.
313
314         * gst/gstcaps.c: (gst_caps_is_equal):
315         Don't assert on NULL <--> X. Fixes #323260
316
317         * gst/gstminiobject.c: (gst_mini_object_replace):
318         If we're doing atomic operations, we might just as well use
319         the proper way to get an atomic pointer.
320
321         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
322         Clean up debugging.
323
324 2005-12-07  Michael Smith  <msmith@fluendo.com>
325
326         * gst/parse/grammar.y:
327           Remove handling of { } for threads.
328
329 2005-12-06  David Schleef  <ds@schleef.org>
330
331         * libs/gst/base/gstbasetransform.c: speling fix.
332
333 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
334
335         * docs/libs/tmpl/gstdataprotocol.sgml:
336         * docs/random/omega/testing/gstobject.c:
337         * gst/gst.c:
338         * gst/gstclock.c:
339         * gst/gstelement.c:
340         * gst/gstelementfactory.c:
341         * gst/gsterror.c:
342         * gst/gstevent.c:
343         * gst/gstghostpad.c:
344         * gst/gstinfo.c:
345         * gst/gstpadtemplate.c:
346         * gst/gstregistryxml.c:
347         * gst/gsttaglist.c:
348         * gst/gsttagsetter.c:
349         * gst/gsttypefind.c:
350         * gst/gstvalue.c:
351         * libs/gst/base/gstbasesrc.c:
352         * libs/gst/net/gstnetclientclock.c:
353         * libs/gst/net/gstnettimeprovider.c:
354         * plugins/elements/gstfakesrc.c:
355         * plugins/elements/gstfdsrc.c:
356         * plugins/elements/gstfilesrc.c:
357         * plugins/elements/gstidentity.c:
358         * plugins/elements/gstqueue.c:
359         * plugins/elements/gsttypefindelement.c:
360         * plugins/indexers/gstfileindex.c:
361         * plugins/indexers/gstmemindex.c:
362         * tests/check/gst/gsttag.c:
363         * tests/old/examples/cutter/cutter.c:
364         * tests/old/examples/mixer/mixer.c:
365         * tests/old/examples/xml/runxml.c: (main):
366         * tests/old/testsuite/caps/normalisation.c:
367         * tests/old/testsuite/debug/global.c:
368         * tests/old/testsuite/parse/parse1.c:
369         * tools/gst-xmlinspect.c:
370         * win32/common/dirent.c:
371           expand tabs
372
373 === release 0.10.0 ===
374
375 2005-12-05   <thomas (at) apestaart (dot) org>
376
377         * configure.ac:
378           releasing 0.10.0, "Maroilles"
379
380 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
381
382         submitted by: Funda Wang <fundawang@linux.net.cn>
383
384         * po/LINGUAS:
385         * po/zh_CN.po:
386           added Chinese (Traditional) translation
387
388 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * docs/gst/gstreamer-sections.txt:
391         * docs/libs/tmpl/gstdataprotocol.sgml:
392         * docs/random/thomasvs/TODO:
393         * gst/gstutils.c:
394         * gst/gstutils.h:
395           fix docs
396
397 2005-12-05  Andy Wingo  <wingo@pobox.com>
398
399         patch by: Wim Taymans <wim@fluendo.com>
400
401         * libs/gst/base/gstbasetransform.c
402         (gst_base_transform_prepare_output_buf)
403         (gst_base_transform_buffer_alloc):
404         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
405         alloc_buffer_and_set_caps.
406
407         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
408         set_caps on the source pad.
409         (gst_pad_alloc_buffer_and_set_caps): New function, does what
410         alloc_buffer used to do. Fixes #322874.
411
412         * docs/gst/gstreamer-sections.txt: 
413         * docs/design/part-negotiation.txt: 
414         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
415         changes.
416
417 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
418
419         patch by: Sebastien Moutte
420
421         * win32/MANIFEST:
422         * win32/common/config.h.in:
423         * win32/vs6/libgstcontroller.dsp:
424           win32 build fixes
425
426 2005-12-05  Wim Taymans  <wim@fluendo.com>
427
428         * gst/gstcaps.c: (gst_caps_is_equal):
429         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
430         (gst_fake_src_create):
431         Back out previous code changes, leave doc updates, file bugs 
432         instead. 
433
434 2005-12-05  Wim Taymans  <wim@fluendo.com>
435
436         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
437         (gst_fake_src_get_times), (gst_fake_src_create):
438         * plugins/elements/gstfakesrc.h:
439         Fix broken sync code.
440
441 2005-12-05  Wim Taymans  <wim@fluendo.com>
442
443         * gst/gstcaps.c: (gst_caps_is_equal):
444         Comparing NULL against !NULL yields different caps, not a
445         failure.
446
447 2005-12-05  Wim Taymans  <wim@fluendo.com>
448
449         * gst/gstpipeline.c:
450         Fix small typo in docs.
451
452 2005-12-05  Andy Wingo  <wingo@pobox.com>
453
454         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
455
456         * gst/gst.c (init_post): remove hard-coded 0.9 location for
457         registries/plugins with a MAJORMINOR one.
458         (plugin_desc): Rename library from gstcoreleements to
459         staticelements. Fixes #323222.
460
461 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
462
463         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
464           Change debug category to 'collectpads' from 'collect_pads'
465           (fixes #323250).
466
467 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
468
469         patch by: Sebastien Moutte
470
471         * libs/gst/controller/gstinterpolation.c:
472           use convert function for uint64/double
473         * win32/vs6/libgstcontroller.dsp:
474           link to GLib
475
476 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
477
478         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
479         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
480         * gst/gstutils.h:
481         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
482           add tests that seem to show that the guint64/gdouble conversions
483           are correct.
484
485 2005-12-02  Wim Taymans  <wim@fluendo.com>
486
487         * gst/gstregistry.c: (gst_registry_add_path):
488         * gst/gstregistry.h:
489         * gst/gstregistryxml.c:
490         Fix docs again.
491
492 2005-12-02  Wim Taymans  <wim@fluendo.com>
493
494         * gst/gstutils.c: (gst_util_uint64_scale_int64),
495         (gst_util_uint64_scale_int):
496         Small cleanup.
497
498         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
499         Add debug log line.
500
501         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
502         Add FIXME.
503
504 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
505
506         * win32/MANIFEST:
507         * win32/common/config.h:
508         * win32/vs6/gstreamer.dsw:
509         * win32/vs6/libgstcoreelements.dsp:
510         * win32/vs6/libgstelements.dsp:
511           renamed core elements plugin
512
513 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
514
515         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
516         (get_candidates):
517           do piece-wise major/minor comparison so 0.9 < 0.10
518           also allow .exe extensions for tools
519
520 2005-12-02  Michael Smith  <msmith@fluendo.com>
521
522         * gst/gst.c:
523           Escape a % to make gtkdoc happier; bug 322958.
524
525 === release 0.9.7 ===
526
527 2005-12-01   <thomas (at) apestaart (dot) org>
528
529         * configure.ac:
530           releasing 0.9.7, "My Dog Has No Nose"
531
532 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
533
534         * common/gst-xmlinspect.py:
535         * configure.ac:
536         * docs/libs/tmpl/gstdataprotocol.sgml:
537         * docs/random/release:
538         * po/af.po:
539         * po/az.po:
540         * po/bg.po:
541         * po/ca.po:
542         * po/cs.po:
543         * po/de.po:
544         * po/en_GB.po:
545         * po/fr.po:
546         * po/it.po:
547         * po/nb.po:
548         * po/nl.po:
549         * po/ru.po:
550         * po/sq.po:
551         * po/sr.po:
552         * po/sv.po:
553         * po/tr.po:
554         * po/uk.po:
555         * po/vi.po:
556         * win32/common/config.h:
557         * win32/common/config.h.in:
558         * win32/vs6/gst_inspect.dsp:
559         * win32/vs6/gst_launch.dsp:
560         * win32/vs6/libgstbase.dsp:
561         * win32/vs6/libgstelements.dsp:
562         * win32/vs6/libgstreamer.dsp:
563         * win32/vs7/GStreamer.vcproj:
564         * win32/vs7/gst-inspect.vcproj:
565         * win32/vs7/gst-launch.vcproj:
566         * win32/vs7/libgstbase.vcproj:
567           bump GST_MAJORMINOR to 0.10
568           reset libtool version
569
570 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
571
572         * po/LINGUAS:
573         * po/bg.po:
574           Added Bulgarian translation by (Alexander Shopov)
575
576 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
577
578         * tests/check/gst/gstplugin.c:
579           fix test
580
581 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
582
583         * common/gst-xmlinspect.py:
584         * common/gtk-doc-plugins.mak:
585         * configure.ac:
586         * docs/Makefile.am:
587         * docs/gst/Makefile.am:
588         * docs/gst/gstreamer-docs.sgml:
589         * docs/gst/gstreamer-sections.txt:
590         * docs/gst/gstreamer.types:
591         * docs/gst/gstreamer.types.in:
592         * docs/plugins/Makefile.am:
593         * docs/plugins/gstreamer-plugins-docs.sgml:
594         * docs/plugins/gstreamer-plugins-sections.txt:
595         * docs/plugins/gstreamer-plugins.types:
596         * docs/plugins/inspect.stamp:
597         * docs/plugins/inspect/plugin-coreelements.xml:
598         * docs/plugins/inspect/plugin-coreindexers.xml:
599         * docs/plugins/scanobj-build.stamp:
600         * gstreamer.spec.in:
601         * plugins/elements/Makefile.am:
602         * plugins/elements/gstelements.c:
603         * plugins/elements/gstfakesink.c:
604         * plugins/elements/gstfakesrc.c:
605         * plugins/elements/gstfilesink.c:
606         * plugins/elements/gstfilesrc.c:
607         * plugins/elements/gstqueue.c:
608         * plugins/indexers/Makefile.am:
609         * plugins/indexers/gstindexers.c:
610           document core plugins in a separate document just like all the
611           others
612           rename these plugins to something starting with core
613
614 2005-12-01  Andy Wingo  <wingo@pobox.com>
615
616         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
617         padding here before, but it missed the commit.
618
619 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
620
621         * libs/gst/controller/gstinterpolation.c:
622           whitespace prices have crashed, we should feel free to use some now
623           use gst_guint64_to_gdouble
624
625 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
626
627         * libs/gst/controller/gstcontroller.c:
628         * libs/gst/controller/gsthelper.c:
629         * libs/gst/controller/gstinterpolation.c:
630         * libs/gst/controller/lib.c:
631           wrap config.h include
632
633 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
634
635         * docs/gst/gstreamer-sections.txt:
636           update docs
637
638 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
639
640         * plugins/elements/gstelements.c:
641         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
642         (gst_fd_sink__class_init), (gst_fd_sink__init),
643         (gst_fd_sink__chain), (gst_fd_sink__set_property),
644         (gst_fd_sink__get_property):
645         * plugins/elements/gstfdsink.h:
646         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
647         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
648         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
649         (gst_fd_src_unlock), (gst_fd_src_set_property),
650         (gst_fd_src_get_property), (gst_fd_src_create),
651         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
652         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
653         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
654         (gst_fd_src_uri_handler_init):
655         * plugins/elements/gstfdsrc.h:
656         * plugins/elements/gstqueue.c: (gst_queue_get_type):
657           more anal cleanup
658
659 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
660
661         * docs/gst/Makefile.am:
662         * docs/gst/gstreamer.types.in:
663         * gst/Makefile.am:
664           fix the docs build
665
666 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
667
668         * configure.ac:
669         * gst/Makefile.am:
670         * gst/gst.c:
671         * gst/gstplugin.h:
672         * gst/gstregistry.h:
673         * tests/benchmarks/complexity.c:
674         * tests/benchmarks/mass-elements.c:
675         * tests/check/Makefile.am:
676         * tools/Makefile.am:
677         * tools/gst-inspect.c:
678         * tools/gst-xmlinspect.c:
679           various fixes to make
680           --disable-nls --disable-registry --disable-loadsave
681           --disable-parse --disable-gst-debug
682           work and get the core .so down to 360444 bytes after stripping
683
684 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
685
686         * Makefile.am:
687         * configure.ac:
688           descend into tests
689         * docs/random/thomasvs/TODO:
690         * tests/Makefile.am:
691         * tests/README:
692           add a README
693
694 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
695
696         * win32/GStreamer.vcproj:
697         * win32/MANIFEST:
698         * win32/Makefile:
699         * win32/Makefile.inspect:
700         * win32/Makefile.launch:
701         * win32/Makefile.register:
702         * win32/README.txt:
703         * win32/gst-inspect.vcproj:
704         * win32/gst-launch.vcproj:
705         * win32/gst-register.vcproj:
706         * win32/gstelements.vcproj:
707         * win32/gstgetbits.def:
708         * win32/gstgetbits.vcproj:
709         * win32/gstreamer-dbg.def:
710         * win32/gstreamer.def:
711         * win32/libgstbase.def:
712         * win32/libgstbase.vcproj:
713         * win32/link_oldruntime.c:
714         * win32/mman.c:
715         * win32/mman.h:
716         * win32/mman.inl:
717         * win32/msvc71.sln:
718           move even more stuff, win32/ is nice and clean now
719
720 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
721
722         * libs/gst/control/.cvsignore:
723         * win32/MANIFEST:
724         * win32/config.h:
725         * win32/dirent.c:
726         * win32/dirent.h:
727         * win32/gstbytestream.def:
728         * win32/gstbytestream.vcproj:
729         * win32/gstconfig.h:
730         * win32/gstenumtypes.c:
731         * win32/gstenumtypes.h:
732         * win32/gstoptimalscheduler.vcproj:
733         * win32/gstversion.h:
734         * win32/gtchar.h:
735         * win32/testsuite/bins.vcproj:
736         * win32/testsuite/bytestream.vcproj:
737         * win32/testsuite/caps.vcproj:
738         * win32/testsuite/cleanup.vcproj:
739         * win32/testsuite/clock.vcproj:
740         * win32/testsuite/debug.vcproj:
741         * win32/testsuite/dlopen.vcproj:
742         * win32/testsuite/dynparams.vcproj:
743         * win32/testsuite/elements.vcproj:
744         * win32/testsuite/ghostpads.vcproj:
745         * win32/testsuite/indexers.vcproj:
746         * win32/testsuite/negotiation.vcproj:
747         * win32/testsuite/parse.vcproj:
748         * win32/testsuite/plugin.vcproj:
749         * win32/testsuite/refcounting.vcproj:
750         * win32/testsuite/schedulers.vcproj:
751         * win32/testsuite/states.vcproj:
752         * win32/testsuite/tags.vcproj:
753         * win32/testsuite/threads.vcproj:
754           remove old win32 stuff that isn't maintained and should be
755           reorganized
756
757 2005-11-30  Andy Wingo  <wingo@pobox.com>
758
759         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
760         loading the gst.interfaces python module bork.
761
762         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
763         available since GLib 2.2. Fixes #318031.
764
765 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
766
767         * Makefile.am:
768         * check/.cvsignore:
769         * check/Makefile.am:
770         * check/elements/.cvsignore:
771         * check/elements/fakesrc.c:
772         * check/elements/fdsrc.c:
773         * check/elements/identity.c:
774         * check/generic/.cvsignore:
775         * check/generic/states.c:
776         * check/gst-libs/.cvsignore:
777         * check/gst-libs/controller.c:
778         * check/gst-libs/gdp.c:
779         * check/gst/.cvsignore:
780         * check/gst/capslist.h:
781         * check/gst/gst.c:
782         * check/gst/gstbin.c:
783         * check/gst/gstbuffer.c:
784         * check/gst/gstbus.c:
785         * check/gst/gstcaps.c:
786         * check/gst/gstelement.c:
787         * check/gst/gstevent.c:
788         * check/gst/gstghostpad.c:
789         * check/gst/gstiterator.c:
790         * check/gst/gstmessage.c:
791         * check/gst/gstminiobject.c:
792         * check/gst/gstobject.c:
793         * check/gst/gstpad.c:
794         * check/gst/gstpipeline.c:
795         * check/gst/gstplugin.c:
796         * check/gst/gstsegment.c:
797         * check/gst/gststructure.c:
798         * check/gst/gstsystemclock.c:
799         * check/gst/gsttag.c:
800         * check/gst/gstutils.c:
801         * check/gst/gstvalue.c:
802         * check/net/.cvsignore:
803         * check/net/gstnetclientclock.c:
804         * check/net/gstnettimeprovider.c:
805         * check/pipelines/.cvsignore:
806         * check/pipelines/cleanup.c:
807         * check/pipelines/simple_launch_lines.c:
808         * check/pipelines/stress.c:
809         * check/states/.cvsignore:
810         * check/states/sinks.c:
811         * configure.ac:
812         * examples/Makefile.am:
813         * examples/appreader/.cvsignore:
814         * examples/appreader/Makefile.am:
815         * examples/appreader/appreader.c:
816         * examples/controller/.cvsignore:
817         * examples/controller/Makefile.am:
818         * examples/controller/audio-example.c:
819         * examples/cutter/.cvsignore:
820         * examples/cutter/Makefile.am:
821         * examples/cutter/cutter.c:
822         * examples/cutter/cutter.h:
823         * examples/events/Makefile.am:
824         * examples/events/seek.c:
825         * examples/helloworld/.cvsignore:
826         * examples/helloworld/Makefile.am:
827         * examples/helloworld/helloworld.c:
828         * examples/helloworld2/.cvsignore:
829         * examples/helloworld2/Makefile.am:
830         * examples/helloworld2/helloworld2.c:
831         * examples/launch/.cvsignore:
832         * examples/launch/Makefile.am:
833         * examples/launch/mp3parselaunch.c:
834         * examples/launch/mp3play:
835         * examples/manual/.cvsignore:
836         * examples/manual/Makefile.am:
837         * examples/manual/extract.pl:
838         * examples/metadata/Makefile.am:
839         * examples/metadata/read-metadata.c:
840         * examples/mixer/.cvsignore:
841         * examples/mixer/Makefile.am:
842         * examples/mixer/mixer.c:
843         * examples/mixer/mixer.h:
844         * examples/pingpong/.cvsignore:
845         * examples/pingpong/Makefile.am:
846         * examples/pingpong/pingpong.c:
847         * examples/plugins/.cvsignore:
848         * examples/plugins/Makefile.am:
849         * examples/plugins/example.c:
850         * examples/plugins/example.h:
851         * examples/pwg/.cvsignore:
852         * examples/pwg/Makefile.am:
853         * examples/pwg/extract.pl:
854         * examples/queue/.cvsignore:
855         * examples/queue/Makefile.am:
856         * examples/queue/queue.c:
857         * examples/queue2/.cvsignore:
858         * examples/queue2/Makefile.am:
859         * examples/queue2/queue2.c:
860         * examples/queue3/.cvsignore:
861         * examples/queue3/Makefile.am:
862         * examples/queue3/queue3.c:
863         * examples/queue4/.cvsignore:
864         * examples/queue4/Makefile.am:
865         * examples/queue4/queue4.c:
866         * examples/retag/.cvsignore:
867         * examples/retag/Makefile.am:
868         * examples/retag/retag.c:
869         * examples/retag/transcode.c:
870         * examples/thread/.cvsignore:
871         * examples/thread/Makefile.am:
872         * examples/thread/thread.c:
873         * examples/typefind/.cvsignore:
874         * examples/typefind/Makefile.am:
875         * examples/typefind/typefind.c:
876         * examples/xml/.cvsignore:
877         * examples/xml/Makefile.am:
878         * examples/xml/createxml.c:
879         * examples/xml/runxml.c:
880         * tests/Makefile.am:
881         * tests/check/Makefile.am:
882         * testsuite/.cvsignore:
883         * testsuite/Makefile.am:
884         * testsuite/Rules:
885         * testsuite/caps/.cvsignore:
886         * testsuite/caps/Makefile.am:
887         * testsuite/caps/app_fixate.c:
888         * testsuite/caps/audioscale.c:
889         * testsuite/caps/caps.c:
890         * testsuite/caps/caps.h:
891         * testsuite/caps/caps_strings:
892         * testsuite/caps/compatibility.c:
893         * testsuite/caps/deserialize.c:
894         * testsuite/caps/enumcaps.c:
895         * testsuite/caps/eratosthenes.c:
896         * testsuite/caps/filtercaps.c:
897         * testsuite/caps/fixed.c:
898         * testsuite/caps/fraction-convert.c:
899         * testsuite/caps/fraction-multiply-and-zero.c:
900         * testsuite/caps/intersect2.c:
901         * testsuite/caps/intersection.c:
902         * testsuite/caps/normalisation.c:
903         * testsuite/caps/random.c:
904         * testsuite/caps/renegotiate.c:
905         * testsuite/caps/sets.c:
906         * testsuite/caps/simplify.c:
907         * testsuite/caps/string-conversions.c:
908         * testsuite/caps/structure.c:
909         * testsuite/caps/subtract.c:
910         * testsuite/caps/union.c:
911         * testsuite/debug/.cvsignore:
912         * testsuite/debug/Makefile.am:
913         * testsuite/debug/category.c:
914         * testsuite/debug/commandline.c:
915         * testsuite/debug/global.c:
916         * testsuite/debug/output.c:
917         * testsuite/debug/printf_extension.c:
918         * testsuite/dlopen/.cvsignore:
919         * testsuite/dlopen/Makefile.am:
920         * testsuite/dlopen/dlopen_gst.c:
921         * testsuite/dlopen/loadgst.c:
922         * testsuite/elements/.cvsignore:
923         * testsuite/elements/Makefile.am:
924         * testsuite/elements/gst-inspect-check.in:
925         * testsuite/elements/struct_i386.h:
926         * testsuite/elements/struct_size.c:
927         * testsuite/indexers/.cvsignore:
928         * testsuite/indexers/Makefile.am:
929         * testsuite/indexers/cache1.c:
930         * testsuite/indexers/indexdump.c:
931         * testsuite/parse/.cvsignore:
932         * testsuite/parse/Makefile.am:
933         * testsuite/parse/parse1.c:
934         * testsuite/parse/parse2.c:
935         * testsuite/plugin/.cvsignore:
936         * testsuite/plugin/Makefile.am:
937         * testsuite/plugin/README:
938         * testsuite/plugin/dynamic.c:
939         * testsuite/plugin/linked.c:
940         * testsuite/plugin/loading.c:
941         * testsuite/plugin/registry.c:
942         * testsuite/plugin/static.c:
943         * testsuite/plugin/static2.c:
944         * testsuite/plugin/testplugin.c:
945         * testsuite/plugin/testplugin2.c:
946         * testsuite/plugin/testplugin2_s.c:
947         * testsuite/plugin/testplugin_s.c:
948         * testsuite/refcounting/.cvsignore:
949         * testsuite/refcounting/Makefile.am:
950         * testsuite/refcounting/bin.c:
951         * testsuite/refcounting/element.c:
952         * testsuite/refcounting/element_pad.c:
953         * testsuite/refcounting/mainloop.c:
954         * testsuite/refcounting/mem.c:
955         * testsuite/refcounting/mem.h:
956         * testsuite/refcounting/object.c:
957         * testsuite/refcounting/pad.c:
958         * testsuite/refcounting/sched.c:
959         * testsuite/refcounting/thread.c:
960         * testsuite/states/.cvsignore:
961         * testsuite/states/Makefile.am:
962         * testsuite/states/bin.c:
963         * testsuite/states/locked.c:
964         * testsuite/states/parent.c:
965         * testsuite/threads/.cvsignore:
966         * testsuite/threads/159566.c:
967         * testsuite/threads/159852.c:
968         * testsuite/threads/Makefile.am:
969         * testsuite/threads/queue.c:
970         * testsuite/threads/signals.c:
971         * testsuite/threads/staticrec.c:
972         * testsuite/threads/thread.c:
973         * testsuite/threads/threadb.c:
974         * testsuite/threads/threadc.c:
975         * testsuite/threads/threadd.c:
976         * testsuite/threads/threade.c:
977         * testsuite/threads/threadf.c:
978         * testsuite/threads/threadg.c:
979         * testsuite/threads/threadh.c:
980         * testsuite/threads/threadi.c:
981           move all of these under tests
982
983 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
984
985         * configure.ac:
986         * tests/Makefile.am:
987           fix distcheck
988
989 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
990
991         * docs/gst/gstreamer-sections.txt:
992         * tests/sched/.cvsignore:
993         * tests/sched/Makefile.am:
994         * tests/sched/cases/(fs-fs).xml:
995         * tests/sched/cases/(fs-i-fs).xml:
996         * tests/sched/cases/(fs-i-i-fs).xml:
997         * tests/sched/cases/(fs-i-q[i-fs]).xml:
998         * tests/sched/dynamic-pipeline.c:
999         * tests/sched/interrupt1.c:
1000         * tests/sched/interrupt2.c:
1001         * tests/sched/interrupt3.c:
1002         * tests/sched/runtestcases:
1003         * tests/sched/runxml.c:
1004         * tests/sched/sched-stress.c:
1005         * tests/sched/sort.c:
1006         * tests/sched/testcases:
1007         * tests/sched/testcases1.tc:
1008         * tests/seeking/.cvsignore:
1009         * tests/seeking/Makefile.am:
1010         * tests/seeking/seeking1.c:
1011         * tests/threadstate/.cvsignore:
1012         * tests/threadstate/Makefile.am:
1013         * tests/threadstate/test1.c:
1014         * tests/threadstate/test2.c:
1015         * tests/threadstate/threadstate1.c:
1016         * tests/threadstate/threadstate2.c:
1017         * tests/threadstate/threadstate3.c:
1018         * tests/threadstate/threadstate4.c:
1019         * tests/threadstate/threadstate5.c:
1020           remove obsolete tests
1021         * configure.ac:
1022         * tests/bench-complexity.scm:
1023         * tests/bench-mass_elements.scm:
1024         * tests/complexity.c:
1025         * tests/complexity.gnuplot:
1026         * tests/instantiate/.cvsignore:
1027         * tests/instantiate/Makefile.am:
1028         * tests/instantiate/caps.c:
1029         * tests/mass_elements.c:
1030         * tests/network-clock-utils.scm:
1031         * tests/network-clock.scm:
1032         * tests/plot-data:
1033         First pass at cleaning up tests/ dir before moving the rest
1034         Combined with CVS surgery
1035
1036 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1037
1038         * po/POTFILES.in:
1039           queue has moved, update
1040
1041 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1042
1043         * docs/gst/gstreamer-sections.txt:
1044           remove double entries from the docs
1045         * gst/gst_private.h:
1046         * gst/gstinfo.c: (_gst_debug_init):
1047           remove the THREAD debug category
1048         * gst/Makefile.am:
1049         * gst/gstqueue.c:
1050         * gst/gstqueue.h:
1051         * docs/gst/gstreamer.types:
1052         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1053         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1054           completely move queue and fix up debugging categories
1055
1056 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1057
1058         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1059           make initialization portable, using LL is not
1060
1061 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1062
1063         * win32/common/gstconfig.h:
1064           add large padding
1065
1066 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1067
1068         * win32/common/libgstreamer.def:
1069           rename symbols; sort base section
1070
1071 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1072
1073         * gst/gstclock.c: (do_linear_regression):
1074           remove crack non-portable handrolled DEBUG macro
1075
1076 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1077
1078         * docs/random/release:
1079           update notes
1080         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1081         (gst_object_flags_get_type), (register_gst_bin_flags),
1082         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1083         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1084         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1085         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1086         (gst_caps_flags_get_type), (register_gst_clock_return),
1087         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1088         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1089         (gst_clock_flags_get_type), (register_gst_state),
1090         (gst_state_get_type), (register_gst_state_change_return),
1091         (gst_state_change_return_get_type), (register_gst_state_change),
1092         (gst_state_change_get_type), (register_gst_element_flags),
1093         (gst_element_flags_get_type), (register_gst_core_error),
1094         (gst_core_error_get_type), (register_gst_library_error),
1095         (gst_library_error_get_type), (register_gst_resource_error),
1096         (gst_resource_error_get_type), (register_gst_stream_error),
1097         (gst_stream_error_get_type), (register_gst_event_type_flags),
1098         (gst_event_type_flags_get_type), (register_gst_event_type),
1099         (gst_event_type_get_type), (register_gst_seek_type),
1100         (gst_seek_type_get_type), (register_gst_seek_flags),
1101         (gst_seek_flags_get_type), (register_gst_format),
1102         (gst_format_get_type), (register_gst_index_certainty),
1103         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1104         (gst_index_entry_type_get_type),
1105         (register_gst_index_lookup_method),
1106         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1107         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1108         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1109         (gst_index_flags_get_type), (register_gst_debug_level),
1110         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1111         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1112         (gst_iterator_result_get_type), (register_gst_iterator_item),
1113         (gst_iterator_item_get_type), (register_gst_message_type),
1114         (gst_message_type_get_type), (register_gst_mini_object_flags),
1115         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1116         (gst_pad_link_return_get_type), (register_gst_flow_return),
1117         (gst_flow_return_get_type), (register_gst_activate_mode),
1118         (gst_activate_mode_get_type), (register_gst_pad_direction),
1119         (gst_pad_direction_get_type), (register_gst_pad_flags),
1120         (gst_pad_flags_get_type), (register_gst_pad_presence),
1121         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1122         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1123         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1124         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1125         (gst_plugin_flags_get_type), (register_gst_rank),
1126         (gst_rank_get_type), (register_gst_query_type),
1127         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1128         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1129         (gst_tag_flag_get_type), (register_gst_task_state),
1130         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1131         (gst_alloc_trace_flags_get_type),
1132         (register_gst_type_find_probability),
1133         (gst_type_find_probability_get_type), (register_gst_uri_type),
1134         (gst_uri_type_get_type), (register_gst_parse_error),
1135         (gst_parse_error_get_type):
1136         * win32/common/gstenumtypes.h:
1137         * win32/common/gstversion.h:
1138           update visual studio generated files
1139
1140 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1141
1142         * win32/vs6/libgstbase.dsp:
1143         * win32/vs6/libgstelements.dsp:
1144           update project files for new locations
1145
1146 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1147
1148         * Makefile.am:
1149           remove some files
1150         * README:
1151           reinstate and update
1152         * DEVEL:
1153         * REQUIREMENTS:
1154           removed
1155         * LICENSE:
1156         * docs/random/LICENSE:
1157           moved to random
1158
1159 2005-11-30  Edward Hervey  <edward@fluendo.com>
1160
1161         * gst/gsttypefind.c: (gst_type_find_register):
1162         * gst/gsttypefind.h:
1163         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1164         (gst_type_find_factory_dispose):
1165         * gst/gsttypefindfactory.h:
1166         Fix memory leak in GstTypeFindFactory.
1167
1168 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1169
1170         * gst/gst.c:
1171         * plugins/elements/Makefile.am:
1172         * plugins/elements/gstelements.c:
1173         * plugins/elements/gstqueue.c:
1174           move queue from core to the elements plugin
1175
1176 2005-11-29  Andy Wingo  <wingo@pobox.com>
1177
1178         * libs/gst/base/gstbasetransform.h: 
1179         * libs/gst/base/gstbasesrc.h: 
1180         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1181
1182         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1183         of pointers by which to pad very extensible base classes (like the
1184         ones in libs/gst/base).
1185
1186 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1187
1188         * docs/gst/gstreamer-docs.sgml:
1189         * docs/gst/gstreamer-sections.txt:
1190         * docs/libs/gstreamer-libs-docs.sgml:
1191         * docs/libs/gstreamer-libs-sections.txt:
1192           moving documentation from core to lib
1193
1194 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1195
1196         * check/Makefile.am:
1197         * configure.ac:
1198         * docs/gst/Makefile.am:
1199         * gst/Makefile.am:
1200         * gst/base/.cvsignore:
1201         * gst/base/Makefile.am:
1202         * gst/base/README:
1203         * gst/base/gstadapter.c:
1204         * gst/base/gstadapter.h:
1205         * gst/base/gstbasesink.c:
1206         * gst/base/gstbasesink.h:
1207         * gst/base/gstbasesrc.c:
1208         * gst/base/gstbasesrc.h:
1209         * gst/base/gstbasetransform.c:
1210         * gst/base/gstbasetransform.h:
1211         * gst/base/gstcollectpads.c:
1212         * gst/base/gstcollectpads.h:
1213         * gst/base/gstpushsrc.c:
1214         * gst/base/gstpushsrc.h:
1215         * gst/base/gsttypefindhelper.c:
1216         * gst/base/gsttypefindhelper.h:
1217         * gst/check/Makefile.am:
1218         * gst/check/gstcheck.c:
1219         * gst/check/gstcheck.h:
1220         * gst/net/Makefile.am:
1221         * gst/net/gstnet.h:
1222         * gst/net/gstnetclientclock.c:
1223         * gst/net/gstnetclientclock.h:
1224         * gst/net/gstnettimepacket.c:
1225         * gst/net/gstnettimepacket.h:
1226         * gst/net/gstnettimeprovider.c:
1227         * gst/net/gstnettimeprovider.h:
1228         * libs/gst/Makefile.am:
1229         * libs/gst/base/Makefile.am:
1230         * libs/gst/base/gstbasetransform.c:
1231         * libs/gst/check/Makefile.am:
1232         * plugins/elements/Makefile.am:
1233         * po/POTFILES.in:
1234           CVS surgery + support to move base, check, and net out of gst
1235           and into libs/gst
1236
1237 2005-11-29  Andy Wingo  <wingo@pobox.com>
1238
1239         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1240
1241         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1242         padding.
1243
1244         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1245
1246         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1247
1248         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1249
1250         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1251         padding; reduces object size by about 30%. We don't expect
1252         anything else to go into gstobject.
1253
1254         * gst/gstminiobject.h (struct _GstMiniObject)
1255         (struct _GstMiniObjectClass): Only one pointer of padding; the
1256         payload is only a pointer and two ints anyway. For the class there
1257         are only two methods as well.
1258         
1259         * gst/gstelement.h (struct _GstElementClass): Removed
1260         the state_changed signal callback, it is not used.
1261
1262 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1263
1264         * docs/gst/gstreamer.types:
1265           fix includes, though they are a little dinky
1266
1267 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1268
1269         * check/Makefile.am:
1270           look in the right place for elements, a lot more chance of
1271           success
1272         * gst/Makefile.am:
1273           remove indexers and elements subdirs
1274         * plugins/Makefile.am:
1275           make indexers conditional
1276
1277 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1278
1279         * Makefile.am:
1280         * configure.ac:
1281         * plugins/elements/Makefile.am:
1282         * plugins/elements/gstcapsfilter.c:
1283         * plugins/elements/gstfilesink.c:
1284         * plugins/elements/gstfilesrc.c:
1285         * plugins/elements/gstidentity.c:
1286         * plugins/indexers/Makefile.am:
1287           do CVS surgery and related build fixery to move elements
1288           and indexers in a new gstreamer/plugins directory, out of the
1289           gst/ directory
1290
1291 2005-11-29  Andy Wingo  <wingo@pobox.com>
1292
1293         * check/Makefile.am:
1294         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1295         * pkgconfig/gstreamer-net.pc.in:
1296         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1297         #322257.
1298
1299 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1300
1301         * tools/Makefile.am:
1302         * tools/gst-complete.1.in:
1303         * tools/gst-complete.c:
1304         * tools/gst-compprep.1.in:
1305         * tools/gst-compprep.c:
1306           removing -compprep and -complete
1307
1308 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1309
1310         * gst/gstevent.c: (gst_event_new_new_segment),
1311         (gst_event_parse_new_segment):
1312         * gst/gstevent.h:
1313           fix #320529 - clean up new_segment API and structure.
1314           Let's hope everyone was using the methods, and not the structure.
1315
1316 2005-11-29  Edward Hervey  <edward@fluendo.com>
1317
1318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1319         (gst_base_sink_event), (gst_base_sink_do_sync),
1320         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1321         Properly handle non GST_FORMAT_TIME segment
1322         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1323         Properly handle non GST_FORMAT_TIME segment
1324         * gst/gstsegment.c:
1325         This function is valid if the accumulator is 0 and the format
1326         is different from the requested format.
1327         
1328 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1329
1330         * docs/gst/gstreamer-sections.txt:
1331         Add gst_query_new_seeking and gst_query_parse_seeking to the
1332         docs.
1333
1334 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1335
1336         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1337           Treat a pad alloc with new caps the same as if we were not
1338           negotiated, in order to allow a changing upstream output
1339           to produce a new format of data.
1340
1341 2005-11-29  Edward Hervey  <edward@fluendo.com>
1342
1343         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1344         (gst_base_transform_event), (gst_base_transform_eventfunc):
1345         The event virtual method is now properly implemented, with a default
1346         handler
1347         Sub classes should call the parent_class event method. They should
1348         return FALSE if they had a problem handling the given event, or don't
1349         want GstBaseTransform to send that even downstream
1350         * gst/elements/gstidentity.c: (gst_identity_class_init),
1351         (gst_identity_init), (gst_identity_event),
1352         (gst_identity_transform_ip), (gst_identity_set_property),
1353         (gst_identity_get_property):
1354         * gst/elements/gstidentity.h:
1355         Added the single-segment boolean property.
1356         If set to TRUE, it will output a single segment of data, starting from
1357         0, will eat up all incoming newsegment, and modify the timestamp of the
1358         buffers accordingly
1359
1360 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1363           Don't ref NULL target pad (#322751). Improve docs.
1364
1365 2005-11-29  Michael Smith  <msmith@fluendo.com>
1366
1367         * gst/gstregistryxml.c: (load_plugin):
1368           Don't crash if we failed to load a feature from a plugin. 
1369
1370 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1371
1372         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1373         (GST_START_TEST):
1374           use more check API and less GLib API
1375
1376 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1377
1378         * Makefile.am:
1379           don't run checks if we don't have check
1380         * common/check.mak:
1381           remove the registry when running make torture
1382         * docs/gst/gstreamer-sections.txt:
1383           remove second multiply
1384         * gst/gstqueue.c: (gst_queue_loop):
1385           fix a compile warning when disabling debug
1386
1387 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1388
1389         * gst/gstinfo.h:
1390         Hey! Let's print the pad name if the pointer != NULL instead
1391         of when it == NULL :-)
1392
1393 2005-11-28  Wim Taymans  <wim@fluendo.com>
1394
1395         * check/gst/gstutils.c: (GST_START_TEST):
1396         Updated check, add some scaling accuracy checking code.
1397
1398         * gst/gstutils.c: (gst_util_div128_64),
1399         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1400         (gst_util_uint64_scale_int):
1401         Fix 6 times faster division code. Optimize for common 
1402         1/1 and less common X/1 cases.
1403
1404 2005-11-28  Wim Taymans  <wim@fluendo.com>
1405
1406         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1407         More checks.
1408
1409         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1410         (do_linear_regression), (gst_clock_add_observation):
1411         Cleanups.
1412         Release lock when the clock cannot be slaved.
1413         Catch the case where the regression returned an invalid denominator.
1414
1415         * gst/gstutils.c: (gst_util_div128_64_iterate),
1416         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1417         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1418         Add protentially more performant non-iterative 128/64 divide function
1419         that unfortunatly does not work yet.
1420         Shortcut the trivial 0/X = 0 case.
1421         Remove the warnings on overflow.
1422
1423 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1424
1425         * gst/gstplugin.c: (gst_plugin_register_func):
1426           everything causing a plugin not to load should be at least a WARNING
1427
1428 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1429
1430         * docs/random/ensonic/dparams.txt:
1431           some TODOs for the next dev cycle
1432         * libs/gst/controller/gstcontroller.c:
1433         (gst_controlled_property_set_interpolation_mode),
1434         (gst_controlled_property_new):
1435         * libs/gst/controller/gstcontroller.h:
1436           use base type to assign acccessor functions
1437
1438 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1439
1440         * check/Makefile.am:
1441         Oops, that should have been top_srcdir
1442
1443 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1444
1445         * check/Makefile.am:
1446         * check/elements/fdsrc.c: (GST_START_TEST):
1447         Use a cmdline define to specify the location of a file to use for
1448         testing, to avoid breaking distcheck.
1449
1450 2005-11-28  Andy Wingo  <wingo@pobox.com>
1451
1452         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1453
1454 2005-11-28  Edward Hervey  <edward@fluendo.com>
1455
1456         * tools/gst-launch.c: (main):
1457         Clarify the output strings, makes it easier to translate.
1458         Fixes #322626
1459
1460 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1461
1462         * gst/Makefile.am:
1463           don't try and build net if we don't even have <sys/socket.h>
1464
1465 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1466
1467         * check/Makefile.am:
1468         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1469         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1470           Add tests for fdsrc seekability
1471
1472         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1473         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1474         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1475         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1476         * gst/elements/gstfdsrc.h:
1477           fdsrc should not be a 'live' source.
1478           Implement seeking on seekable fd's.
1479
1480         * gst/gstquery.c: (gst_query_new_seeking),
1481         (gst_query_parse_seeking):
1482         * gst/gstquery.h:
1483           Implement SEEKING query functions: 
1484             *_new_seeking and *_parse_seeking
1485
1486 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1487
1488         * gst/gstelement.c: (gst_element_dispose):
1489           don't loop forever
1490
1491         * gst/gstiterator.c:
1492         * gst/gststructure.c:
1493           doc fixes
1494
1495         * libs/gst/controller/gstcontroller.c:
1496         (gst_controlled_property_set_interpolation_mode):
1497         * libs/gst/controller/gstcontroller.h:
1498         * libs/gst/controller/gstinterpolation.c:
1499         (interpolate_none_get_enum_value_array):
1500           support controlling enums
1501
1502 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1503
1504         * gst/gstvalue.c:
1505           Improve documentation for gst_value_union().
1506
1507         * gst/gstvalue.h:
1508           Change return value for union, intersect and subtract functions
1509           from gint to gboolean.
1510
1511 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1512
1513         * gst/gstvalue.c: (gst_value_serialize_any_list),
1514         (gst_value_transform_any_list_string),
1515         (gst_value_deserialize_list), (gst_value_deserialize_array),
1516         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1517         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1518         (gst_value_set_fraction_range_full),
1519         (gst_value_deserialize_fraction_range),
1520         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1521         (gst_value_deserialize_boolean),
1522         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1523         (gst_value_serialize_float), (gst_value_deserialize_float),
1524         (gst_string_wrap), (gst_value_deserialize_string),
1525         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1526         (gst_value_union_int_range_int_range),
1527         (gst_value_intersect_int_range_int_range),
1528         (gst_value_intersect_double_range_double_range),
1529         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1530         (gst_value_subtract_int_range_int_range),
1531         (gst_value_subtract_double_double_range),
1532         (gst_value_subtract_double_range_double_range),
1533         (gst_value_deserialize_fraction):
1534         * gst/gstvalue.h:
1535           Use gint, gdouble and gchar in our API instead of int, double and
1536           char (and make usage in gstvalue.c more consistent).
1537
1538 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1539
1540         * check/Makefile.am:
1541         * libs/gst/controller/Makefile.am:
1542         * libs/gst/dataprotocol/Makefile.am:
1543           fix up Makefile.am and remove GST_ENABLE_NEW
1544
1545 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1546
1547         * configure.ac:
1548         * gst/Makefile.am:
1549         * gst/base/Makefile.am:
1550         * gst/check/Makefile.am:
1551         * gst/elements/Makefile.am:
1552         * gst/net/Makefile.am:
1553           update LDFLAGS use some more
1554
1555 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1556
1557         * common/m4/gst-doc.m4:
1558           Fixes #312589
1559
1560 2005-11-26  Edward Hervey  <edward@fluendo.com>
1561
1562         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1563         This shouldn't issue a g_warning since it returns NULL if it
1564         couldn't find the plugin, and all functions using this behave
1565         properly on a NULL return. Switching to a GST_WARNING.
1566
1567 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1568
1569         * gst/gstbin.c: (gst_bin_handle_message_func):
1570         Don't leak clock messages.
1571
1572 2005-11-25  Wim Taymans  <wim@fluendo.com>
1573
1574         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1575         (gst_util_uint64_scale_int):
1576         Optimisations, remove unneeded vars.
1577
1578 2005-11-25  Wim Taymans  <wim@fluendo.com>
1579
1580         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1581         Added more checks for the high precision uint64 cases.
1582
1583         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1584         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1585         Implement high precision (guint64 * guint64) / guint64.
1586
1587 2005-11-24  Wim Taymans  <wim@fluendo.com>
1588
1589         * gst/base/gstbasesrc.c: (gst_base_src_query):
1590         Fix wrong percentage query.
1591
1592         * gst/gstutils.c: (gst_util_uint64_scale),
1593         (gst_util_uint64_scale_int):
1594         Add some more common cases that can be handled 
1595         efficiently to _scale.
1596
1597 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1598
1599         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1600         (gst_mini_object_suite):
1601           don't use check calls from threads; check probably isn't
1602           threadsafe and using a lock to make it threadsafe would
1603           defeat the purpose of this check
1604         * gst/check/gstcheck.c:
1605         * gst/check/gstcheck.h:
1606           use GST_DEBUG some more
1607
1608 2005-11-24  Wim Taymans  <wim@fluendo.com>
1609
1610         * gst/gstutils.c: (gst_util_uint64_scale),
1611         (gst_util_uint64_scale_int):
1612         Chain trivial case to _scale_int.
1613
1614 2005-11-24  Wim Taymans  <wim@fluendo.com>
1615
1616         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1617         Added test for scaling.
1618
1619         * gst/gstclock.h:
1620         Small doc fix.
1621
1622         * gst/gstutils.c: (gst_util_uint64_scale_int):
1623         Implemented high precision scaling code.
1624
1625 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1626
1627         * gst/gstinfo.h:
1628           do not crash on pad==NULL
1629
1630 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1631
1632         Patch by: Stefan Kost
1633
1634         * common/gtk-doc.mak:
1635         * docs/gst/Makefile.am:
1636         * docs/libs/Makefile.am:
1637           Fix distcheck issues for the libraries docs build
1638           Closes #319599.
1639
1640 2005-11-24  Michael Smith <msmith@fluendo.com>
1641
1642         * docs/manual/basics-helloworld.xml:
1643           Fix bug #315027: memory leak in example code in docs.
1644
1645 2005-11-24  Michael Smith <msmith@fluendo.com>
1646
1647         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1648           Unlock the PREROLL_LOCK in a failure case.
1649
1650 2005-11-24  Wim Taymans  <wim@fluendo.com>
1651
1652         * docs/gst/gstreamer-sections.txt:
1653         * gst/base/gstadapter.h:
1654         * gst/base/gstbasesink.h:
1655         * gst/base/gstbasesrc.h:
1656         * gst/base/gstbasetransform.h:
1657         * gst/base/gstpushsrc.h:
1658         * gst/elements/gstfakesink.h:
1659         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1660         * gst/elements/gstfakesrc.h:
1661         * gst/elements/gstfilesink.h:
1662         * gst/elements/gstfilesrc.h:
1663         * gst/gst.c:
1664         * gst/gstbin.c:
1665         * gst/gstbuffer.c: (_gst_buffer_copy):
1666         * gst/gstbus.h:
1667         * gst/gstcaps.c:
1668         * gst/gstchildproxy.c:
1669         * gst/gstclock.c:
1670         * gst/gstelement.c:
1671         * gst/gstelementfactory.c:
1672         * gst/gstelementfactory.h:
1673         * gst/gstevent.c:
1674         * gst/gstghostpad.h:
1675         * gst/gstindex.h:
1676         * gst/gstinterface.h:
1677         * gst/gstminiobject.c:
1678         * gst/gstminiobject.h:
1679         * gst/gstpad.c:
1680         * gst/gstpad.h:
1681         * gst/gstpadtemplate.h:
1682         * gst/gstpipeline.h:
1683         * gst/gstpluginfeature.h:
1684         * gst/gstquery.h:
1685         * gst/gstqueue.h:
1686         * gst/gsttaglist.c:
1687         * gst/gsttaglist.h:
1688         * gst/gsttagsetter.c:
1689         * gst/gsttagsetter.h:
1690         * gst/gsttrace.c:
1691         * gst/gsttrace.h:
1692         * gst/gsttypefind.h:
1693         * gst/gsturi.h:
1694         * gst/gstvalue.c:
1695         * gst/net/gstnetclientclock.c:
1696         * gst/net/gstnetclientclock.h:
1697         * gst/net/gstnettimepacket.c:
1698         * gst/net/gstnettimeprovider.c:
1699         * gst/net/gstnettimeprovider.h:
1700         Doc fixes.
1701
1702 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1703
1704         * configure.ac: back to HEAD
1705
1706 === release 0.9.6 ===
1707
1708 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1709
1710         * configure.ac:
1711           releasing 0.9.6, "Always On Time"
1712
1713 2005-11-23  Wim Taymans  <wim@fluendo.com>
1714
1715         * docs/gst/gstreamer-sections.txt:
1716         * gst/glib-compat.c:
1717         * gst/gsttagsetter.c:
1718         * gst/gstvalue.c:
1719         * gst/net/gstnetclientclock.c:
1720         * gst/net/gstnettimepacket.h:
1721         Doc updates.
1722
1723 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1724
1725         * docs/faq/using.xml:
1726         * docs/libs/tmpl/gstcontrol.sgml:
1727         * docs/manual/advanced-dparams.xml:
1728         * docs/manual/appendix-checklist.xml:
1729         * docs/manual/basics-elements.xml:
1730         * docs/pwg/other-source.xml:
1731         * docs/random/moving-plugins:
1732         * gst/gstpad.c:
1733         * tools/gst-launch.1.in:
1734           remove mentions of sinesrc
1735
1736 2005-11-23  Michael Smith <msmith@fluendo.com>
1737
1738         * docs/gst/gstreamer-sections.txt:
1739           Update for new API and API changes.
1740         * gst/gstobject.h:
1741           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1742         * gst/gstvalue.c:
1743           Documentation typo fix.
1744         * gst/net/gstnettimepacket.c:
1745           Documentation fixes for arguments.
1746
1747 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1748
1749         * gst/gststructure.c: (gst_structure_get_fraction),
1750         (gst_structure_parse_value),
1751         (gst_structure_fixate_field_nearest_fraction):
1752         * gst/gststructure.h:
1753         * gst/gstutils.c: (gst_util_uint64_scale_int):
1754         * gst/gstutils.h:
1755         * scripts/update-funcnames:
1756         API Changes. 
1757         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1758         Make gst_structure_fixate_field_nearest_fraction take a numerator
1759         and denominator argument instead of a GValue
1760         add gst_structure_get_fraction helper function.
1761
1762 2005-11-23  Wim Taymans  <wim@fluendo.com>
1763
1764         * docs/design/part-TODO.txt:
1765         Update TODO.
1766
1767         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1768         * gst/net/gstnetclientclock.h:
1769         Use parent fields for timeout and window_size.
1770
1771 2005-11-23  Andy Wingo  <wingo@pobox.com>
1772
1773         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1774         rate_num/rate_denom change.
1775
1776         * gst/net/gstnetclientclock.c
1777         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1778         OBJECT_LOCK. Don't call add_observation with the lock.
1779
1780         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1781         fraction.
1782         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1783         rate fraction.
1784         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1785         deal with rate as a fraction whose numerator and denominator are
1786         GstClockTime values.
1787         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1788         master; the other fields are protected by the SLAVE_LOCK.
1789         (do_linear_regression): Note that this must be called with the
1790         SLAVE_LOCK.
1791         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1792         OBJECT_LOCK. Call set_calibration instead of touching the
1793         variables directly.
1794         (gst_clock_set_property, gst_clock_get_property): Protect
1795         master/slave parameters with the SLAVE_LOCK.
1796
1797         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1798         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1799         note that all of the instance variables that add_observation and
1800         the set_master functions use are protected by that lock and not
1801         the OBJECT_LOCK.
1802         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1803
1804         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1805         the caller to take the object lock.
1806
1807 2005-11-23  Wim Taymans  <wim@fluendo.com>
1808
1809         * gst/gsterror.c: (_gst_core_errors_init):
1810         * gst/gsterror.h:
1811         Add error for clock stuff.
1812
1813         * gst/gstpipeline.c: (gst_pipeline_change_state),
1814         (gst_pipeline_set_clock):
1815         Post clock error when clock cannot be used in a pipeline.
1816
1817 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1818
1819         * docs/gst/gstreamer-sections.txt:
1820           make two symbols from gstinfo private for the docs
1821         * gst/base/gstcollectpads.h:
1822         * gst/gstutils.c:
1823           fix doc typos, update docs
1824
1825 2005-11-22  Wim Taymans  <wim@fluendo.com>
1826
1827         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1828         (gst_base_sink_wait), (gst_base_sink_do_sync),
1829         (gst_base_sink_handle_event):
1830         * gst/base/gstbasesink.h:
1831         No need to store the clock, the parent element class already
1832         has it.
1833
1834         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1835         Updates for clock_set returning a gboolean
1836
1837         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1838         (gst_clock_id_wait_async), (gst_clock_class_init),
1839         (gst_clock_init), (gst_clock_finalize),
1840         (gst_clock_get_internal_time), (gst_clock_get_time),
1841         (gst_clock_slave_callback), (gst_clock_set_master),
1842         (gst_clock_get_master), (do_linear_regression),
1843         (gst_clock_add_observation), (gst_clock_set_property),
1844         (gst_clock_get_property):
1845         * gst/gstclock.h:
1846         Implement master/slave. When setting a clock as a slave, a
1847         periodic timeout is scheduled to sample master and slave times.
1848         Then the slave clock is recalibrated to match offset and rate
1849         of the master clock.
1850         Update logging a bit.
1851         Add flag so that a clock can state that is cannot be slaved to
1852         another clock.
1853
1854         * gst/gstelement.c: (gst_element_set_clock):
1855         * gst/gstelement.h:
1856         The set clock returns a gboolean for when an element cannot
1857         deal with the selected clock in the pipeline. 
1858
1859         * gst/gstpipeline.c: (gst_pipeline_change_state),
1860         (gst_pipeline_set_clock):
1861         * gst/gstpipeline.h:
1862         Handle the case where the selected clock cannot be set on
1863         the pipeline.
1864
1865         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1866         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1867         (gst_net_client_clock_set_property),
1868         (gst_net_client_clock_get_property),
1869         (gst_net_client_clock_observe_times):
1870         * gst/net/gstnetclientclock.h:
1871         Use regression code in GstClock parent, remove duplicated
1872         functionality.
1873
1874 2005-11-22  Michael Smith <msmith@fluendo.com>
1875
1876         * gst/gstutils.c: (gst_util_clock_time_scale):
1877         * gst/gstutils.h:
1878         * docs/gst/gstreamer-sections.txt:
1879           Rename method to have extra underscore.
1880
1881 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1882
1883         * gst/elements/Makefile.am:
1884         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1885         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1886         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1887         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1888         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1889         * gst/elements/gstfakesrc.h:
1890         * gst/gstqueue.c: (queue_leaky_get_type):
1891           correctly fix GEnumValues so that nick is the short lowercase
1892           dashed tag
1893         * tools/gst-inspect.c: (print_element_properties_info):
1894           also show the nick, since it's useful to use from parse_launch
1895           syntax
1896           Fixes #322139
1897
1898 2005-11-22  Michael Smith <msmith@fluendo.com>
1899
1900         * gst/gstutils.c: (gst_util_clocktime_scale):
1901         * gst/gstutils.h:
1902         * docs/gst/gstreamer-sections.txt:
1903           Add util method for scaling a clocktime by a fraction. Useful 
1904           implementation is left as an exercise for the reader.
1905
1906 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1907
1908         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1909         If needed, allocate storage in the destination value during
1910         collection.
1911
1912 2005-11-22  Edward Hervey  <edward@fluendo.com>
1913
1914         * docs/gst/gstreamer-sections.txt:
1915         * gst/Makefile.am:
1916         * gst/gst.h:
1917         * gst/gsturitype.c:
1918         * gst/gsturitype.h:
1919         * gst/gstutils.c: (gst_util_set_object_arg):
1920         * tools/gst-compprep.c: (main):
1921         * tools/gst-inspect.c: (print_element_properties_info):
1922         Removed GstURI, closes bug #321061
1923
1924 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1925
1926         * check/gst/gststructure.c: (GST_START_TEST):
1927         * gst/gststructure.c: (gst_structure_parse_value):
1928           Oops, broke automatic string type parsing.
1929           Add a test to catch it in future.
1930
1931 2005-11-22  Andy Wingo  <wingo@pobox.com>
1932
1933         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1934         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1935         Actually rename the function implementations. Grr.
1936
1937 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1938
1939         * check/gst/capslist.h:
1940           Comment test cases
1941         * check/gst/gststructure.c: (GST_START_TEST),
1942         (gst_structure_suite):
1943           Test automatic value type detection in gst_structure_from_string.
1944         * gst/gststructure.c: (gst_structure_parse_value):
1945           Add fraction as a type we try and guess automatically in
1946           caps/structure strings.
1947
1948 2005-11-22  Andy Wingo  <wingo@pobox.com>
1949
1950         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1951
1952         * gst/gsttagsetter.h:
1953         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1954         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1955         (gst_tag_setter_add_tag_valist)
1956         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1957         _add_values, _add_valist, and _add_valist_values. Since this is an
1958         interface the function suffixes should be more explicit so
1959         language binding don't end up with element.add_valist ->
1960         gst_tag_setter_add_valist, for example. Fixes #322069.
1961
1962 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1963
1964         * check/gst/gstcaps.c: (GST_START_TEST):
1965           Extend caps string tests to check that a caps to string
1966           conversion is reversible and produces the same caps.
1967
1968         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1969           Output "fraction" as the generic type fraction range, so caps
1970           serialisation and deserialisation works.
1971         * check/gst/capslist.h:
1972         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1973           Support 'MIN' and 'MAX' for deserialising fractions.
1974
1975 2005-11-22  Andy Wingo  <wingo@pobox.com>
1976
1977         * gst/gstevent.h (gst_event_new_new_segment)
1978         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1979         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1980         Renamed from *_newsegment, *_buffersize, *_notarget.
1981
1982         * scripts/update-funcnames: New script, performs the changes
1983         listed above.
1984
1985 2005-11-22  Wim Taymans  <wim@fluendo.com>
1986
1987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1988         Make sure the GstFlowReturn is returned.
1989
1990         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1991         (gst_bus_add_signal_watch):
1992         * gst/gstbus.h:
1993         add gst_bus_add_signal_watch_full.
1994
1995         * gst/gstplugin.c: (gst_plugin_load_file):
1996         Small style cleanup.
1997
1998 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1999
2000         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2001           Block the fakesrc srcpad when we send an event, to avoid
2002           contention on the stream_lock causing random test failures.
2003
2004 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2005
2006         * check/gst/gstvalue.c: (GST_START_TEST):
2007         * gst/gstvalue.c: (gst_value_fraction_subtract):
2008           Fix subtraction.
2009
2010 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
2011
2012         * gst/gst.h:
2013           include "gstchildproxy.h"
2014         * gst/gstchildproxy.h:
2015         * libs/gst/controller/gstcontroller.h:
2016           use G_GNUC_NULL_TERMINATED
2017
2018 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2019
2020         * check/gst/capslist.h:
2021         * check/gst/gstcaps.c: (GST_START_TEST):
2022         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2023         * gst/gststructure.c: (gst_structure_parse_range),
2024         (gst_structure_fixate_field_nearest_fraction):
2025         * gst/gststructure.h:
2026         * gst/gstvalue.c: (gst_value_init_fraction_range),
2027         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2028         (gst_value_collect_fraction_range),
2029         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2030         (gst_value_set_fraction_range_full),
2031         (gst_value_get_fraction_range_min),
2032         (gst_value_get_fraction_range_max),
2033         (gst_value_serialize_fraction_range),
2034         (gst_value_transform_fraction_range_string),
2035         (gst_value_compare_fraction_range),
2036         (gst_value_deserialize_fraction_range),
2037         (gst_value_intersect_fraction_fraction_range),
2038         (gst_value_intersect_fraction_range_fraction_range),
2039         (gst_value_subtract_fraction_fraction_range),
2040         (gst_value_subtract_fraction_range_fraction),
2041         (gst_value_subtract_fraction_range_fraction_range),
2042         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2043         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2044         (gst_value_transform_string_fraction), (_gst_value_initialize):
2045         * gst/gstvalue.h:
2046           Implement fraction ranges and extend GstFraction to support
2047           arithmetic subtraction, as well as deserialization from integer
2048           strings such as "100"
2049           Add a testsuite as for int and double range set operations
2050
2051 2005-11-21  Andy Wingo  <wingo@pobox.com>
2052
2053         * gst/gsttaglist.h: 
2054         * gst/gstcaps.h: 
2055         * gst/gststructure.h: Add glib-compat.h.
2056
2057 2005-11-21  Wim Taymans  <wim@fluendo.com>
2058
2059         * gst/gstbin.c: (gst_bin_change_state_func):
2060         Fix for #321595
2061
2062 2005-11-21  Wim Taymans  <wim@fluendo.com>
2063
2064         * gst/gstsegment.h:
2065         And add a nice define too.
2066
2067 2005-11-21  Wim Taymans  <wim@fluendo.com>
2068
2069         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2070         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2071         (gst_segment_set_duration), (gst_segment_set_last_stop),
2072         (gst_segment_set_seek), (gst_segment_set_newsegment),
2073         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2074         (gst_segment_clip):
2075         * gst/gstsegment.h:
2076         Make binding friendly.
2077
2078 2005-11-21  Andy Wingo  <wingo@pobox.com>
2079
2080         * gst/gsttagsetter.h: 
2081         * gst/gsttaglist.h: 
2082         * gst/gststructure.h: 
2083         * gst/gstcaps.h: 
2084         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2085         #319940.
2086
2087         * gst/gsterror.c (_gst_core_errors_init):
2088         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2089         category.
2090
2091         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2092         (noinst_HEADERS): noinst the -private.
2093
2094 2005-11-21  Michael Smith <msmith@fluendo.com>
2095
2096         * gst/gstplugin.h:
2097         * gst/gstregistry.h:
2098           Remove unimplemented declarations for which we can see no sensible
2099           use.
2100
2101 2005-11-21  Andy Wingo  <wingo@pobox.com>
2102
2103         * gst/gst.h: Include glib-compat.h.
2104
2105         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2106
2107         * gst/glib-compat.c: Include the public and the private header.
2108
2109         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2110
2111         * gst/gstvalue.c: 
2112         * gst/gstpad.c: 
2113         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2114
2115         * check/gst/gstevent.c (create_custom_events): Check that
2116         FLUSH_STOP is serialized.
2117
2118         * check/elements/identity.c (event_func): 
2119         * check/elements/fakesrc.c (event_func): No stream lock, the core
2120         takes it.
2121
2122         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2123         stream lock taking, yay.
2124
2125         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2126         ensure that core takes the stream lock.
2127
2128         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2129         lock name change.
2130
2131         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2132         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2133         it already. For the flush start we do take it though so we get the
2134         right preroll state change messages.
2135
2136         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2137         the stream lock here, the core does it for us.
2138
2139         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2140         GST_STREAM_GET_LOCK.
2141         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2142         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2143         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2144         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2145         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2146         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2147
2148         * gst/gstpad.c: Update for stream lock name change.
2149
2150         * gst/base/gstbasesink.c: Update for preroll lock name change.
2151
2152 2005-11-21  Wim Taymans  <wim@fluendo.com>
2153
2154         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2155         (gst_clock_get_master):
2156         * gst/gstclock.h:
2157         * gst/gstsystemclock.c: (gst_system_clock_init):
2158         Convert Clock flags to object flags.
2159         Added methods to manage master/slave clocks.
2160
2161 2005-11-21  Wim Taymans  <wim@fluendo.com>
2162
2163         * check/gst/gstsegment.c: (GST_START_TEST):
2164         * docs/design/part-TODO.txt:
2165         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2166         (gst_base_sink_event), (gst_base_sink_do_sync),
2167         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2168         (gst_base_sink_query), (gst_base_sink_change_state):
2169         * gst/base/gstbasesink.h:
2170         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2171         (gst_base_src_default_newsegment),
2172         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2173         (gst_base_src_get_range), (gst_base_src_loop),
2174         (gst_base_src_change_state):
2175         * gst/base/gstbasesrc.h:
2176         * gst/base/gstbasetransform.c:
2177         (gst_base_transform_prepare_output_buf),
2178         (gst_base_transform_event), (gst_base_transform_change_state):
2179         * gst/base/gstbasetransform.h:
2180         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2181         (gst_collect_pads_event):
2182         * gst/base/gstcollectpads.h:
2183         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2184         (gst_fake_src_create):
2185         * gst/elements/gstfakesrc.h:
2186         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2187         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2188         (gst_segment_set_last_stop), (gst_segment_set_seek),
2189         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2190         (gst_segment_to_running_time), (gst_segment_clip):
2191         * gst/gstsegment.h:
2192         More segment updates, replace code in plugins with segment
2193         helper functions.
2194
2195 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2196
2197         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2198         Don't ignore sscanf results
2199
2200 2005-11-21  Andy Wingo  <wingo@pobox.com>
2201
2202         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2203
2204         * *.h:
2205         * *.c: Ran scripts/update-macros. Oh yes.
2206
2207         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2208         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2209         GST_GET_LOCK, etc.
2210
2211         * scripts/update-macros: New script. Run it on your files to
2212         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2213         well.
2214
2215 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2216
2217         * docs/gst/Makefile.am:
2218         * docs/gst/gstreamer-docs.sgml:
2219         * docs/gst/gstreamer-sections.txt:
2220         * docs/gst/gstreamer.types:
2221         * gst/gstinfo.h:
2222           more docs fixes, add new api to the docs
2223
2224 2005-11-21  Andy Wingo  <wingo@pobox.com>
2225
2226         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2227         state_broadcast call.
2228
2229         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2230
2231 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2232
2233         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2234         function calls for arrays.
2235
2236 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2237
2238         * docs/random/ensonic/media-device-daemon.txt:
2239           wild idea, can this be done?
2240         * docs/gst/gstreamer-sections.txt:
2241         * gst/gsterror.h:
2242         * gst/gstfilter.c:
2243         * gst/gstfilter.h:
2244         * gst/gstplugin.h:
2245         * gst/gstpluginfeature.c:
2246         * gst/gsttrace.c:
2247         * gst/gstvalue.c:
2248         * gst/gstvalue.h:
2249           doc fixes and additions
2250
2251 2005-11-21  Andy Wingo  <wingo@pobox.com>
2252
2253         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2254         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2255         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2256         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2257         private to the basesrc implementation.
2258
2259         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2260         behalf of event function if necessary. It should no longer be
2261         necessary to take the stream lock in pad's event functions. Fixes
2262         #320299.
2263
2264 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2265         * docs/gst/gstreamer-sections.txt:
2266         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2267         (gst_structure_fixate_field_nearest_double),
2268         (gst_structure_fixate_field_boolean):
2269         * gst/gststructure.h:
2270         * win32/common/libgstreamer.def:
2271         * win32/gstreamer.def:
2272
2273         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2274         (#322027)
2275
2276 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2277
2278         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2279         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2280         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2281         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2282         (gst_fdsrc_uri_handler_init):
2283         * gst/elements/gstfdsrc.h:
2284           Port fd:// URI handler from 0.8 to fdsrc
2285
2286 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2287
2288         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2289         (gst_value_serialize_fourcc):
2290         * gst/gstvalue.h:
2291           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2292           consistent with our other format defines (#320324).
2293
2294 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2295
2296         * gst/gstvalue.c: (gst_value_is_fixed):
2297           Revert previous commit. Value lists are by definition
2298           not fixed, as they are a list of possible values.
2299
2300 2005-11-21  Andy Wingo  <wingo@pobox.com>
2301
2302         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2303         during the stable series if we need it. Fixes #319178.
2304
2305         * gst/gstevent.c (gst_event_new_filler): Removed.
2306
2307         * check/gst/gstevent.c: Update comment about filler events.
2308
2309 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2310
2311         * gst/gstvalue.c: (gst_value_is_fixed):
2312           Should handle both value arrays and value lists.
2313
2314 2005-11-21  Andy Wingo  <wingo@pobox.com>
2315
2316         patch by: Alessandro Dessina <alessandro nnva org>
2317
2318         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2319         functions to access arrays. Fixes #321962.
2320
2321 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2322
2323         * docs/gst/gstreamer.types:
2324           gst_collectpads_get_type => gst_collect_pads_get_type.
2325           
2326         * gst/base/gstbasetransform.c:
2327           Remove unused SIGNAL_HANDOFF enum.
2328
2329 2005-11-21  Andy Wingo  <wingo@pobox.com>
2330
2331         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2332         the event type (upstream, downstream, serialized). Renamed
2333         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2334         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2335         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2336
2337         * gst/gstevent.c: Update for new CUSTOM event names.
2338
2339         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2340
2341         * gst/gstevent.h:
2342         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2343         bug #319392.
2344
2345 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2346
2347         * docs/gst/gstreamer-sections.txt:
2348         * win32/common/libgstbase.def:
2349         * win32/libgstbase.def:
2350         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2351         (gst_collect_pads_class_init), (gst_collect_pads_init),
2352         (gst_collect_pads_finalize), (gst_collect_pads_new),
2353         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2354         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2355         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2356         (gst_collect_pads_start), (gst_collect_pads_stop),
2357         (gst_collect_pads_peek), (gst_collect_pads_pop),
2358         (gst_collect_pads_available), (gst_collect_pads_read),
2359         (gst_collect_pads_flush), (gst_collect_pads_event),
2360         (gst_collect_pads_chain):
2361         * gst/base/gstcollectpads.h:
2362           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2363           unimplemented functions as unimplemented. Add padding to
2364           GstCollectData. (#320766, #320423)
2365
2366 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2367
2368         * gst/gstmessage.c:
2369           Improve docs for DURATION message (usage of duration parameter)
2370           (#320113)
2371
2372 2005-11-20  Wim Taymans  <wim@fluendo.com>
2373
2374         * check/Makefile.am:
2375         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2376         (main):
2377         * gst/Makefile.am:
2378         * gst/gst.h:
2379         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2380         (gst_segment_set_seek), (gst_segment_set_newsegment),
2381         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2382         (gst_segment_clip):
2383         * gst/gstsegment.h:
2384         Added segment helper structure and methods. Not fully implemented
2385         yet.
2386         Added segment check.
2387
2388 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2389
2390         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2391           Add a deserialisation test for fractions
2392         * examples/metadata/read-metadata.c: (message_loop),
2393         (make_pipeline), (main):
2394           Fix up metadata reading sample.
2395         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2396           Debug format fix
2397         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2398           Don't try and fixate empty caps
2399         * gst/gst_private.h:
2400           Wrap in G_BEGIN_DECLS/G_END_DECLS
2401         * gst/gstvalue.c: (gst_value_collect_fraction),
2402         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2403         (gst_value_transform_string_fraction),
2404         (gst_value_compare_fraction):
2405           Add some extra guards to ensure that we don't end up 
2406           with an invalid denominator of 0 in a gstfraction and
2407           that fractions always get reduced.
2408
2409 2005-11-20  Wim Taymans  <wim@fluendo.com>
2410
2411         * docs/gst/gstreamer-sections.txt:
2412         * gst/gstbuffer.h:
2413         * gst/gstelement.c:
2414         * gst/gstformat.c:
2415         * gst/gstformat.h:
2416         * gst/gstindex.h:
2417         * gst/gstquery.c:
2418         * gst/gstquery.h:
2419         * gst/gstvalue.c:
2420         Doc fixes.
2421
2422 2005-11-20  Wim Taymans  <wim@fluendo.com>
2423
2424         * docs/design/part-TODO.txt:
2425         * gst/gstcaps.h:
2426         Make a proper enum of the flag.
2427
2428 2005-11-19  Wim Taymans  <wim@fluendo.com>
2429
2430         * docs/design/part-TODO.txt:
2431         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2432         (gst_format_to_quark), (gst_format_register):
2433         * gst/gstformat.h:
2434         * gst/gstquery.c: (_gst_query_initialize),
2435         (gst_query_type_get_name), (gst_query_type_to_quark),
2436         (gst_query_type_register):
2437         * gst/gstquery.h:
2438         Add type to quark and type to string conversions.
2439
2440 2005-11-19  Andy Wingo  <wingo@pobox.com>
2441
2442         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2443         #320097.
2444
2445 2005-11-19  Wim Taymans  <wim@fluendo.com>
2446
2447         * docs/design/part-TODO.txt:
2448         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2449         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2450         (gst_bin_handle_message_func):
2451         * gst/gstbin.h:
2452         Make message handling overridable.
2453
2454 2005-11-19  Andy Wingo  <wingo@pobox.com>
2455
2456         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2457
2458         * gst/gstclock.h:
2459         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2460         be a GstClockTime.
2461         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2462         is a GstClockTime. Fixes #321710.
2463
2464         * gst/gstclock.h (GstClock): Remove offset property. Add
2465         internal_calibration and external_calibration. Fix padding. Pad
2466         also by GstClockTime so we don't run into problems.
2467
2468         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2469         (gst_clock_get_rate_offset): Remove.
2470         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2471
2472         * gst/gstutils.h:
2473         * gst/gstutils.c (g_static_rec_cond_wait)
2474         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2475
2476         * gst/gstbin.c: Remove terrible continue_state prototype.
2477
2478         * gst/gstelement.h (gst_element_continue_state): Make public.
2479
2480         * gst/gstelement.h:
2481         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2482         by continue_state. Fixes #319389.
2483
2484         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2485         Really fixes #168438. However I don't see anywhere where the
2486         filter function is called... stupid GStreamer...
2487         
2488         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2489         don't have a dispose function, so it won't get called when the
2490         object is unreffed, but oh well!
2491
2492         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2493         allows a destroy function to be set so user_data can be freed.
2494         Fixes #168438.
2495         (gst_index_set_filter): Call gst_index_set_filter_full.
2496
2497         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2498
2499         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2500         string should produce an error, given the lack of a way to
2501         represent NULL strings. Fixes #165650.
2502         
2503         * gst/gstvalue.h: 
2504         * gst/gstvalue.c (gst_value_array_append_value) 
2505         (gst_value_array_prepend_value, gst_value_array_get_size) 
2506         (gst_value_array_get_value): New API, copied from
2507         gst_value_list_*, only operates on arrays.
2508         (gst_value_list_append_value, gst_value_list_prepend_value) 
2509         (gst_value_list_concat, gst_value_list_get_size) 
2510         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2511
2512         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2513         init_list, because it works on both.
2514         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2515         (gst_value_copy_list_or_array): Renamed from copy_list.
2516         (gst_value_free_list_or_array): Renamed from free_list.
2517         (gst_value_collect_list_or_array): Renamed from collect_list.
2518         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2519         (gst_value_list_or_array_peek_pointer): Renamed from
2520         list_peek_pointer.
2521         (_gst_value_array_value_table, _gst_value_list_value_table):
2522         Update value table functions.
2523         (gst_value_compare_list_or_array): Renamed from compare_list.
2524
2525         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2526         some constness.
2527
2528         * gst/gsttaglist.c:
2529         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2530         GstTagList*. Fixes #143472.
2531
2532         * gst/gststructure.h: Clarify what the foreach/map functions can
2533         or can't do to their arguments.
2534
2535 2005-11-18  Wim Taymans  <wim@fluendo.com>
2536
2537         * gst/gstclock.c: (gst_clock_set_calibration),
2538         (gst_clock_get_calibration):
2539         Doc and API fixes.
2540         Calibration can be set with internal time equal to current
2541         internal time too.
2542
2543 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2544
2545         * gst/gsterror.c:
2546         * gst/gsterror.h:
2547           document
2548
2549 2005-11-18  Andy Wingo  <wingo@pobox.com>
2550
2551         * configure.ac: 
2552         * pkgconfig/gstreamer-net.pc.in:
2553         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2554         * pkgconfig/Makefile.am: Add net pkgconfig files.
2555
2556 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2557
2558         * gst/gstcaps.c:
2559         * gst/gstghostpad.c:
2560         * gst/gsttrace.c:
2561         * gst/gstvalue.c:
2562         * gst/gstvalue.h:
2563           docs fixes
2564
2565 2005-11-18  Andy Wingo  <wingo@pobox.com>
2566
2567         * gst/net/gstnetclientclock.c: Turn off debugging.
2568
2569         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2570         times connverge somewhat. Can't make a real test.
2571
2572         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2573         integer arithmetic. Return the minimum of the domain, which can be
2574         set as "internal" for gst_clock_set_calibration.
2575         (gst_net_client_clock_observe_times): Call _set_calibration.
2576         (gst_net_client_clock_new): Call _set_calibration instead of
2577         rate_offset.
2578
2579         * check/net/gstnetclientclock.c (test_functioning): Use the right
2580         adjustment api.
2581
2582         * gst/gstclock.h:
2583         * gst/gstclock.c (gst_clock_get_calibration) 
2584         (gst_clock_set_calibration): New functions, obsolete the ones I
2585         added yesterday. Doh. Precision issues mean we have to extrapolate
2586         from a point in the more recent past than 1970.
2587         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2588         obsolete.
2589         (gst_clock_adjust_unlocked): Use the right calibration data.
2590
2591 2005-11-18  Edward Hervey  <edward@fluendo.com>
2592
2593         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2594         Also reset the ->current_* values in READY->PAUSED
2595
2596 2005-11-18  Andy Wingo  <wingo@pobox.com>
2597
2598         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2599         Whoops, check the right fd. Also add some debugging.
2600         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2601         (do_linear_regression): Add a crapload of debugging. Subtract off
2602         the minimum values from the input series to discard unneeded bits.
2603         Use only int arithmetic. There is still double arithmetic when
2604         calculating the intercept that needs fixing. Return boolean to
2605         indicate success; FALSE would mean the domain or range is too
2606         great. Still needs fixes.
2607
2608 2005-11-18  Wim Taymans  <wim@fluendo.com>
2609
2610         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2611         For the current position in stream time, we need to subtract
2612         accumulated time.
2613         
2614         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2615         Release lock before calling the callback function of async
2616         entries.
2617
2618 2005-11-18  Andy Wingo  <wingo@pobox.com>
2619
2620         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2621         Port goes all the way to MAXUINT16.
2622
2623         * gst/net/gstnettimeprovider.c: Make the port range the same as
2624         for the kernel: 0 assigns, otherwise ports are less than
2625         MAXUINT16.
2626
2627         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2628         port change.
2629
2630         * check/net/gstnetclientclock.c (test_functioning): Add the start
2631         of another test. 
2632
2633 2005-11-18  Wim Taymans  <wim@fluendo.com>
2634
2635         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2636         (gst_bin_remove_func), (bin_bus_handler):
2637         * gst/gstbin.h:
2638         Removing a clock provider from a bin, triggers a clock lost message
2639         so that a new clock will be selected.
2640         Adding a clock to a bin triggers a clock provider message.
2641         Make sure we reselect a clock when we received a clock lost message.
2642         Keep a reference to the element that provided the clock.
2643
2644 2005-11-18  Andy Wingo  <wingo@pobox.com>
2645
2646         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2647         the clock initially so it produces values around the base time.
2648         (gst_net_client_clock_class_init): Typo fix.
2649         (gst_net_client_clock_thread): Add note on when the socket gets
2650         closed.
2651
2652 2005-11-17  Wim Taymans  <wim@fluendo.com>
2653
2654         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2655         Free remote and local time arrays.
2656
2657 2005-11-17  Wim Taymans  <wim@fluendo.com>
2658
2659         * gst/net/gstnetclientclock.c: (do_linear_regression),
2660         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2661         Fix compilation, uninitialized vars and a forgotten continue.
2662
2663 2005-11-17  Andy Wingo  <wingo@pobox.com>
2664
2665         * check/Makefile.am (check_PROGRAMS): 
2666         * check/net/gstnetclientclock.c: Add a most minimal test for the
2667         net client clock. More to come later.
2668
2669         * gst/net/gstnet.h: 
2670         * gst/net/Makefile.am: Add netclientclock.
2671
2672         * gst/net/gstnetclientclock.h:
2673         * gst/net/gstnetclientclock.c: New files, implement an untested
2674         GstClock that takes its time from a network time provider.
2675         Implements the algorithm in network-clock.scm.
2676
2677         * tests/network-clock.scm (*window-size*): Rename from
2678         *queue-length*.
2679         * tests/network-clock.scm (network-time): 
2680         * tests/network-clock-utils.scm (q-push): Update callers.
2681
2682 2005-11-17  Wim Taymans  <wim@fluendo.com>
2683
2684         * gst/gstbin.c: (gst_bin_provide_clock_func),
2685         (gst_bin_sort_iterator_new):
2686         And unref the child too..
2687
2688 2005-11-17  Wim Taymans  <wim@fluendo.com>
2689
2690         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2691         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2692         Refactor the sort iterator so it can be used while holding the
2693         LOCK too.
2694         Make clock selection select a clock closest to the source.
2695
2696 2005-11-17  Michael Smith <msmith@fluendo.com>
2697
2698         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2699         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2700         * gst/gstclock.h:
2701           Anonymous structs are a gcc (and some other compilers) extension, so
2702           don't use them. Since this is only for ABI-compatibility, and our
2703           API/ABI freeze is over in a few days, this whole thing will only
2704           last a few days, so don't bother trying to think up a meaningful
2705           name for the struct.
2706
2707 2005-11-17  Andy Wingo  <wingo@pobox.com>
2708
2709         * gst/gstclock.h (GstClock): Add rate and offset properties,
2710         preserving ABI stability. Add rate/offset accessors. Will file bug
2711         for the freeze break.
2712
2713         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2714         and offset, trying to keep precision and avoiding
2715         underflow/overflow.
2716         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2717         functions. Make gst_clock_set_time_adjust obsolete.
2718         (gst_clock_set_time_adjust): Note that this function is obsolete.
2719         Will file bug soon.
2720
2721         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2722         greppable by using GST_PADDING-1+1.
2723
2724 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2725
2726         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2727
2728         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2729           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2730
2731         * gst/gstpadtemplate.h:
2732         * gst/gstpluginfeature.h:
2733           Don't use c++ style comments in headers (#321638).
2734
2735 2005-11-16  Andy Wingo  <wingo@pobox.com>
2736
2737         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2738         buffer.
2739
2740         * check/net/gstnettimeprovider.c: Check to see that the time
2741         provider actually provides times. Works, yo!
2742
2743 2005-11-16  Wim Taymans  <wim@fluendo.com>
2744
2745         * check/Makefile.am:
2746         Enable more tests.
2747
2748         * check/elements/fakesrc.c: (GST_START_TEST):
2749         Set element to NULL before disposing it.
2750
2751 2005-11-16  Andy Wingo  <wingo@pobox.com>
2752
2753         * gst/net/Makefile.am:
2754         * gst/net/gstnet.h:
2755         * gst/net/gstnettimeprovider.c: 
2756         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2757         provider, include it from gstnet.h, and add it to the build.
2758
2759         * gst/net/gstnettimepacket.h: 
2760         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2761         sending and receiving.
2762
2763 2005-11-16  Wim Taymans  <wim@fluendo.com>
2764
2765         * check/Makefile.am:
2766         Enable valgrind check.
2767
2768         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2769         (gst_fake_src_alloc_buffer):
2770         Fix memleak.
2771
2772 2005-11-16  Wim Taymans  <wim@fluendo.com>
2773
2774         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2775         Call parent finalize too.
2776
2777 2005-11-16  Wim Taymans  <wim@fluendo.com>
2778
2779         * check/Makefile.am:
2780         Enable valgrind check that should work fine now.
2781
2782         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2783         * gst/gstqueue.c: (gst_queue_init):
2784         Fix memleaks in pad allocation.
2785
2786 2005-11-16  Andy Wingo  <wingo@pobox.com>
2787
2788         * gst/net/Makefile.am:
2789         * gst/net/gstnet.h: New part of core to hold network elements and
2790         objects. Put in core because it exposes API that applications want
2791         to use. The library is named libgstnet-tempname right now because
2792         of the existing libgstnet in gst-plugins-base. Solution is
2793         probably to rename the one in plugins-base; will file a bug for
2794         the freeze break.
2795
2796         * gst/net/gstnettimeprovider.c: 
2797         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2798         get_time call over the network.
2799
2800         * configure.ac: 
2801         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2802
2803         * check/Makefile.am:
2804         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2805         get additions shortly.
2806
2807 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2808
2809         * gst/gstpad.c: (gst_pad_new_from_static_template):
2810         * gst/gstpad.h:
2811           add gst_pad_new_from_static_template functions
2812         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2813         (gst_check_setup_sink_pad):
2814         * gst/elements/gsttee.c: (gst_tee_init):
2815           and use them
2816
2817 2005-11-16  Wim Taymans  <wim@fluendo.com>
2818
2819         * gst/gstpad.c: (gst_pad_pause_task):
2820         Removed warning, it's not really an error either.
2821
2822 2005-11-16  Wim Taymans  <wim@fluendo.com>
2823
2824         * gst/base/gstbasetransform.c:
2825         (gst_base_transform_prepare_output_buf),
2826         (gst_base_transform_event):
2827         Check if the caps are NULL, this can happen if the element
2828         is shutting down and the pad caps are set to NULL.
2829
2830 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2831
2832         * gst/elements/gsttee.c: (gst_tee_init):
2833           fix pad template leak in tee
2834
2835 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2836
2837         * gst/glib-compat.c: (g_value_dup_gst_object):
2838         * gst/glib-compat.h:
2839         * gst/gstpad.c: (gst_pad_set_property):
2840           use gst_object_ref when setting the pad template; this will
2841           trigger the pad template leaks on GLib 2.6 and the slaves
2842
2843 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2844
2845         * gst/glib-compat.c: (gst_flags_get_first_value):
2846         * gst/glib-compat.h:
2847         * gst/gstregistryxml.c:
2848           remove functions copied from GLib 2.6
2849
2850 2005-11-16  Michael Smith <msmith@fluendo.com>
2851
2852         * gst/Makefile.am:
2853           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2854           do, but only breaks with newer valgrind versions. We're not a
2855           valgrind tool, we have no link-time dependencies on libcoregrind.
2856
2857 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2858
2859         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2860           some debug changes
2861         * gst/gstmessage.h:
2862           typo fixes
2863
2864 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2865
2866         * gst/base/gstbasesrc.c: (gst_base_src_init):
2867         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2868         * gst/gstqueue.c: (gst_queue_init):
2869         * gst/gstregistryxml.c: (load_feature):
2870           Revert all these unrefs, they don't even pass make check !
2871
2872 2005-11-15  Johan Dahlin  <johan@gnome.org>
2873
2874         * gst/base/gstbasesrc.c: (gst_base_src_init):
2875         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2876         * gst/gstqueue.c: (gst_queue_init): 
2877         Free pad templates, fixes a couple of leaks.
2878
2879 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2880
2881         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2882
2883         * gst/gstpad.c: (gst_pad_get_property):
2884           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2885           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2886           (#321452)
2887
2888 2005-11-15  Wim Taymans  <wim@fluendo.com>
2889
2890         * gst/gstevent.c:
2891         Small doc update.
2892
2893 2005-11-15  Andy Wingo  <wingo@pobox.com>
2894
2895         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2896
2897         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2898         using GST_CLOCK_TIME_NONE to disable base time management.
2899         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2900         time if it was NONE before.
2901         (gst_pipeline_change_state): Only munge the base time if
2902         stream_time != GST_CLOCK_TIME_NONE.
2903
2904         * check/gst/gstpipeline.c (test_base_time): Punt around the
2905         problem of the probe not being called, because that's not the
2906         issue I'm looking at. Add a check that setting stream_time to NONE
2907         disables base time management.
2908         
2909 2005-11-15  Wim Taymans  <wim@fluendo.com>
2910
2911         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2912         segment_stop == -1 at startup.
2913
2914         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2915         (gst_base_transform_change_state):
2916         Init segment values at start.
2917
2918 2005-11-15  Wim Taymans  <wim@fluendo.com>
2919
2920         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2921         0 segment values are 0 in any format.
2922
2923         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2924         * gst/base/gstbasetransform.h:
2925         Parse newsegment correctly in basetransform
2926
2927         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2928         Sync to clock using updated segment values.
2929
2930 2005-11-15  Andy Wingo  <wingo@pobox.com>
2931
2932         * check/gst/gstpipeline.c (test_base_time): Add check that the
2933         base time and stream time are reset correctly.
2934
2935 2005-11-15  Wim Taymans  <wim@fluendo.com>
2936
2937         * docs/design/part-TODO.txt:
2938         Some more TODO items.
2939
2940 2005-11-15  Andy Wingo  <wingo@pobox.com>
2941
2942         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2943         error if the user selected "no clock" as the clocking method.
2944
2945         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2946         timestamps with live capture.
2947
2948         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2949         is 0 but we are a live source, timestamp the buffers using the
2950         element's clock.
2951
2952 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2953
2954         * docs/gst/gstreamer-sections.txt:
2955         * gst/gsterror.c:
2956         * gst/gstghostpad.c:
2957         * gst/gstobject.h:
2958         * gst/gstxml.c:
2959           more section docs
2960
2961 2005-11-14  Wim Taymans  <wim@fluendo.com>
2962
2963         * common/gst.supp:
2964           add suppressions from Wim's Debian machine
2965
2966 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2967
2968         * common/gst.supp:
2969           add suppressions from Andy's AMD64 Ubuntu machine
2970
2971 2005-11-14  Andy Wingo  <wingo@pobox.com>
2972
2973         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2974         STATE_LOCK not necessary. Fixes #311489.
2975
2976         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2977         #305291.
2978
2979         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2980         this function is not implemented.
2981
2982 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2983
2984         * gst/base/gstbasetransform.c:
2985         (gst_base_transform_prepare_output_buf):
2986         Ref the source pad caps while we need them.
2987         Fixes (#321386)
2988
2989 2005-11-11  Wim Taymans  <wim@fluendo.com>
2990
2991         * docs/gst/gstreamer-sections.txt:
2992         Added some docs for GstCollectData.
2993
2994         * gst/base/gstadapter.c:
2995         Some small code example fix.
2996
2997         * gst/base/gstcollectpads.c:
2998         * gst/base/gstcollectpads.h:
2999         Document some more.
3000
3001 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3002
3003         * configure.ac: back to HEAD
3004
3005 === release 0.9.5 ===
3006
3007 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
3008
3009         * configure.ac:
3010           releasing 0.9.5, "Bike Lunch Day"
3011
3012 2005-11-11  Wim Taymans  <wim@fluendo.com>
3013
3014         * gst/gstbuffer.c: (_gst_buffer_copy):
3015         Copy more flags.
3016
3017         * gst/gstcaps.c: (gst_caps_is_equal):
3018         Fix some docs.
3019         Make _is_equal fast in the trivial cases.
3020
3021         * gst/gstminiobject.c:
3022         * gst/gstminiobject.h:
3023         More docs. Spifify .h file.
3024
3025         * gst/gstutils.c:
3026         Small doc update.
3027
3028 2005-11-11  Wim Taymans  <wim@fluendo.com>
3029
3030         * gst/base/gstbasetransform.c:
3031         (gst_base_transform_prepare_output_buf),
3032         (gst_base_transform_handle_buffer):
3033         Small cleanups.
3034         If we're processing a buffer and need to allocate an output
3035         buffer, we cannot accept a format change. If we did get a 
3036         format change, we have to alloc a buffer ourselves of the 
3037         right size.
3038
3039 2005-11-11  Wim Taymans  <wim@fluendo.com>
3040
3041         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3042         While checking the flag for reentrancy in the gstcaps function
3043         is nice to detect recursive invocations, it also makes it 
3044         impossible to call getcaps from multiple threads, which must be
3045         possible. So, checking for recursive calls has to go.
3046
3047 2005-11-11  Michael Smith <msmith@fluendo.com>
3048
3049         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3050           Don't sync on buffers that fall partially outside our current
3051           segment. Prevents an assertion failure/abort playing some files.
3052
3053 2005-11-10  Andy Wingo  <wingo@pobox.com>
3054
3055         * check/gst/gstbin.c (test_message_state_changed_children): Style
3056         fix..
3057
3058         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3059         gst_bus_poll with the signal watch. Ensures that poll and a signal
3060         watch see the same messages.
3061
3062         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3063         a poll and a watch at the same time get the same messages.
3064
3065 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3066
3067         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3068         * gst/gstcaps.c: (gst_caps_intersect):
3069           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3070           and it's not needed.
3071
3072 2005-11-10  Wim Taymans  <wim@fluendo.com>
3073
3074         * docs/design/part-TODO.txt:
3075         Updated todo.
3076
3077 2005-11-10  Wim Taymans  <wim@fluendo.com>
3078
3079         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3080         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3081         (gst_base_src_do_sync), (gst_base_src_get_range):
3082         Implement clock sync in base class.
3083
3084 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3085
3086         patch by: Tim-Philipp Müller <tim at centricular dot net>
3087
3088         * gst/gststructure.c: (gst_structure_parse_field),
3089         (gst_structure_from_string):
3090           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3091           so that gst_parse_launch() can deal with spaces in filtered link
3092           caps (fixes #164479)
3093         * check/gst/capslist.h:
3094         * check/gst/gststructure.c: (GST_START_TEST):
3095           add unit tests for this change
3096
3097 2005-11-10  Wim Taymans  <wim@fluendo.com>
3098
3099         * docs/gst/gstreamer-sections.txt:
3100         * gst/gstelement.c:
3101         * gst/gstelement.h:
3102         Fix docs, move some STATE macros to private.
3103
3104 2005-11-10  Wim Taymans  <wim@fluendo.com>
3105
3106         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3107         Added check for bug #317341
3108
3109         * gst/gstbuffer.c:
3110         * gst/gstbuffer.h:
3111         Some more spiffifying.
3112
3113         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3114         Call peer linkfunction if we are a source pad. Totally fixes
3115         #317341
3116
3117         * gst/gstpad.c:
3118         Update docs, source pads should call the peer linkfunction
3119         so they can atomically perform the pad link.
3120
3121 2005-11-09  Wim Taymans  <wim@fluendo.com>
3122
3123         * gst/gstbuffer.c:
3124         * gst/gstbuffer.h:
3125         Uber-spiffy-spiffify some more.
3126
3127 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3128
3129         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3130         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3131         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3132         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3133         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3134         * gst/gstpad.c: (gst_pad_init):
3135           Use GST_DEBUG_FUNCPTR() more extensively.
3136
3137 2005-11-09  Wim Taymans  <wim@fluendo.com>
3138
3139         * gst/gstobject.c: (gst_object_class_init):
3140         * gst/gstobject.h:
3141         Documentation fixes.
3142
3143 2005-11-09  Edward Hervey  <edward@fluendo.com>
3144
3145         * gst/gsttypefindfactory.c:
3146         Fix docs.
3147         
3148 2005-11-09  Edward Hervey  <edward@fluendo.com>
3149
3150         * gst/base/gsttypefindhelper.c:
3151         * gst/gsttypefind.c:
3152         * gst/gsttypefind.h:
3153         Fix docs.
3154
3155 2005-11-09  Wim Taymans  <wim@fluendo.com>
3156
3157         * gst/gstiterator.c:
3158         Fix revision data.
3159
3160         * gst/gsttask.c:
3161         * gst/gsttask.h:
3162         Fix docs.
3163
3164 2005-11-09  Wim Taymans  <wim@fluendo.com>
3165
3166         * gst/gstevent.h:
3167         * gst/gsturi.h:
3168         Fix docs.
3169
3170 2005-11-09  Wim Taymans  <wim@fluendo.com>
3171
3172         * docs/gst/gstreamer-sections.txt:
3173         Moved the message async delivery private lock and cond
3174         to the private section.
3175
3176         * gst/gstmessage.c:
3177         * gst/gstmessage.h:
3178         Fixed docs.
3179
3180 2005-11-09  Edward Hervey  <edward@fluendo.com>
3181
3182         * docs/gst/gstreamer-sections.txt:
3183         * gst/gsturi.c:
3184         * gst/gsturi.h:
3185         Document GstURIHandler
3186
3187 2005-11-09  Wim Taymans  <wim@fluendo.com>
3188
3189         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3190         (gst_iterator_find_custom):
3191         * gst/gstiterator.h:
3192         Fix iterator docs.
3193
3194 2005-11-09  Wim Taymans  <wim@fluendo.com>
3195
3196         * gst/gstbin.h:
3197         Document another field.
3198
3199         * gst/gststructure.c:
3200         * gst/gststructure.h:
3201         Document.
3202
3203 2005-11-09  Wim Taymans  <wim@fluendo.com>
3204
3205         * gst/gstbin.h:
3206         Documented structs.
3207
3208 2005-11-09  Wim Taymans  <wim@fluendo.com>
3209
3210         * docs/gst/gstreamer-sections.txt:
3211         Added some new macros.
3212
3213         * gst/gstclock.c:
3214         * gst/gstclock.h:
3215         * gst/gstobject.h:
3216         Docs updates.
3217
3218 2005-11-09  Wim Taymans  <wim@fluendo.com>
3219
3220         * docs/design/part-TODO.txt:
3221         Some more items for the TODO
3222
3223         * gst/gstcaps.c:
3224         * gst/gstcaps.h:
3225         Document GstCaps.
3226
3227 2005-11-09  Andy Wingo  <wingo@pobox.com>
3228
3229         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3230         to work on something else now tho...
3231
3232         * gst/base/gstadapter.c: More adapter docs.
3233
3234         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3235         (gst_file_sink_stop): New functions, replace the state change
3236         handler.
3237         (gst_file_sink_class_init): Hook up the start and stop functions.
3238         (gst_file_sink_base_init): Don't set the state change handler any
3239         more. It was a bit ugly too, being set from here...
3240         (gst_file_sink_get_property, gst_file_sink_set_property):
3241         Cleanups...
3242         (gst_file_sink_set_location): More robust check that doesn't call
3243         GST_STATE. Ugggggg.
3244
3245 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3246
3247         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3248           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3249
3250 2005-11-08  Wim Taymans  <wim@fluendo.com>
3251
3252         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3253         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3254         (gst_base_sink_chain), (gst_base_sink_change_state):
3255         * gst/base/gstbasesink.h:
3256         * gst/base/gstbasesrc.h:
3257         * gst/gstelement.h:
3258         * gst/gstevent.h:
3259         Avoid excessive typechecking in macros.
3260
3261         * gst/gstminiobject.c: (gst_mini_object_get_type),
3262         (gst_mini_object_init), (gst_mini_object_new),
3263         (gst_mini_object_free):
3264         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3265         (gst_object_finalize):
3266         Remove cruft code, optimize alloc_trace.
3267
3268 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3269
3270         * docs/faq/gst-uninstalled:
3271           fix up PS1 for systems that try to reset it
3272
3273 2005-11-07  Wim Taymans  <wim@fluendo.com>
3274
3275         * gst/base/gstbasesrc.c: (gst_base_src_init),
3276         (gst_base_src_get_range):
3277         Set the segment_end to -1 initially. Fixed typefind.
3278
3279 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3280
3281         * gst/base/gstadapter.c:
3282           Debug category should be 'adapter', not 'GstAdapter'.
3283           
3284         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3285         (gst_collectpads_class_init), (gst_collectpads_init),
3286         (gst_collectpads_peek), (gst_collectpads_pop),
3287         (gst_collectpads_event), (gst_collectpads_chain):
3288           Add debug category and some debugging output. Use boilerplate
3289           macros. Remove some extraneous words from docs.
3290
3291 2005-11-05  Andy Wingo  <wingo@pobox.com>
3292
3293         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3294         macro.
3295
3296 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3297
3298         * docs/gst/gstreamer-sections.txt:
3299         * gst/gstcaps.h:
3300         * gst/gstinfo.c:
3301         * gst/gstminiobject.h:
3302         * gst/gstobject.h:
3303         * gst/gstutils.h:
3304           more docs added
3305
3306 2005-11-04  Wim Taymans  <wim@fluendo.com>
3307
3308         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3309         Small update to stop at the configured segment_end
3310         position.
3311
3312 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3313
3314         * gst/gstregistry.c:
3315         * gst/gstregistry.h:
3316           added missing docs
3317
3318 2005-11-04  Edward Hervey  <edward@fluendo.com>
3319
3320         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3321         Check if we are doing a segment seek and have arrived at the
3322         end of that segment.
3323
3324 2005-11-04  Wim Taymans  <wim@fluendo.com>
3325
3326         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3327         Don't leak a mutex unlock in case of an error.
3328
3329         * gst/gstbus.h:
3330         Doc fixes.
3331
3332 2005-11-04  Wim Taymans  <wim@fluendo.com>
3333
3334         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3335         (gst_bus_post):
3336         Get the context to wake up only once.
3337
3338 2005-11-03  Wim Taymans  <wim@fluendo.com>
3339
3340         * check/states/sinks.c: (GST_START_TEST):
3341         Uncomment fixed check.
3342
3343         * docs/design/part-TODO.txt:
3344         Updated TODO.
3345
3346         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3347         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3348         (gst_base_sink_get_position):
3349         If we are going to PLAYING, post the right pending state
3350         when we post the intermediate paused message.
3351
3352         * gst/gstelement.c: (gst_element_continue_state),
3353         (gst_element_set_state_func), (gst_element_change_state):
3354         Don't post state changes that were between the same state
3355         and were not ASYNC.
3356
3357 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3358
3359         * docs/gst/gstreamer-sections.txt:
3360         * gst/gstcaps.h:
3361         * gst/gstinfo.c:
3362         * gst/gstminiobject.h:
3363         * gst/gstobject.h:
3364         * gst/gstutils.h:
3365           more docs and doc style fixes
3366
3367 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3368
3369         * docs/gst/gstreamer-sections.txt:
3370         * gst/gstelement.c:
3371         * gst/gstminiobject.c:
3372         doc fixes
3373
3374 2005-11-03  Andy Wingo  <wingo@pobox.com>
3375
3376         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3377         state-changed messages actually have the right order and the right
3378         values.
3379
3380 2005-11-03  Wim Taymans  <wim@fluendo.com>
3381
3382         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3383         Added some more checks. Specifically the case where NO_PREROLL
3384         elements are in the pipeline.
3385
3386         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3387         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3388         (gst_base_sink_get_position):
3389         Post READY->PAUSED state change messages too.
3390         Fix bug where VOID was posted as pending state...
3391
3392         * gst/gstbin.c: (gst_bin_recalc_state):
3393         use _element_continue_state() to continue the state change.
3394
3395         * gst/gstelement.c: (gst_element_continue_state),
3396         (gst_element_commit_state), (gst_element_set_state_func),
3397         (gst_element_change_state), (gst_element_change_state_func):
3398         Lots of state change cleanups, assign the STATE_RETURN in
3399         a new continue_state() function that also propagates the
3400         last return value from a state change to the app.
3401         Update some debug statements with proper category.
3402
3403 2005-11-03  Wim Taymans  <wim@fluendo.com>
3404
3405         * docs/design/part-events.txt:
3406         * docs/design/part-gstpipeline.txt:
3407         * docs/design/part-messages.txt:
3408         * docs/design/part-overview.txt:
3409         * docs/design/part-seeking.txt:
3410         * docs/design/part-states.txt:
3411         * docs/design/part-trickmodes.txt:
3412         * docs/manual/advanced-position.xml:
3413         Small docs updates.
3414
3415         * gst/gstobject.h:
3416         People think !! is ugly, this looks better.
3417
3418         * gst/gstpad.c: (gst_pad_set_blocked_async):
3419         Remove !! since it's fixed elsewhere now.
3420
3421 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3422
3423         * gst/gstminiobject.h:
3424         * gst/gstobject.h:
3425           Add !! to _FLAG_IS_SET macros to make the result boolean.
3426
3427 2005-11-03  Edward Hervey  <edward@fluendo.com>
3428
3429         * gst/gstpad.c: (gst_pad_set_blocked_async):
3430         comparing a flag and a gboolean rarely returns coherent results...
3431         Added two characters (!!) to make that work correctly.
3432         
3433 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3434
3435         * gst/gstbus.c: (gst_bus_class_init):
3436           Fix some typos.
3437           
3438         * gst/gstqueue.c: (gst_queue_loop):
3439           Don't assume a miniobject that isn't a buffer is an
3440           event (it could be that there is a refcounting
3441           problem somewhere and the pointer is stale and
3442           refers to an already destroyed miniobject).
3443
3444 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3445
3446         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3447
3448 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3449
3450         * docs/manual/advanced-position.xml:
3451           Update seek example and explanations to current 0.9 API.
3452
3453         * gst/elements/gsttypefindelement.c:
3454         (gst_type_find_element_activate):
3455           Remove FIXME comment now that the found caps
3456           are unreffed.
3457
3458 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3459
3460         * gst/gstregistryxml.c: (load_feature):
3461           Add another GST_STR_NULL instance
3462
3463 2005-11-02  Edward Hervey  <edward@fluendo.com>
3464
3465         * gst/gstpad.c: (handle_pad_block):
3466         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3467         
3468 2005-11-02  Wim Taymans  <wim@fluendo.com>
3469
3470         * gst/gstbin.c:
3471         Fix typo in docs.
3472
3473         * gst/gstelement.c: (gst_element_commit_state):
3474         Remove unused value.
3475
3476         * gst/gstiterator.c:
3477         Mention that the returned element is reffed in the docs.
3478
3479 2005-11-02  Wim Taymans  <wim@fluendo.com>
3480
3481         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3482         (gst_pad_push), (gst_pad_push_event):
3483         Unlock blocked pads when they are flushed.
3484
3485 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3486
3487         * docs/README:
3488         * docs/gst/gstreamer-sections.txt:
3489         * gst/gstbin.c:
3490           doc updates
3491         * gst/gstregistry.c: (gst_registry_scan_path_level):
3492           fix for a nasty little missed situation where an installed plug-in
3493           which was in the cache did not get overridden by an uninstalled one
3494           which was earlier in the plugin path because the newly created plugin
3495           for the uninstalled one (not in the registry) didn't get its
3496           ->registered set to TRUE
3497
3498 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3499
3500         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3501         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3502         (gst_collectpads_is_active), (gst_collectpads_collect),
3503         (gst_collectpads_collect_range), (gst_collectpads_start),
3504         (gst_collectpads_stop), (gst_collectpads_peek),
3505         (gst_collectpads_pop), (gst_collectpads_available),
3506         (gst_collectpads_read), (gst_collectpads_flush):
3507           Guard public API with assertions.
3508         
3509         * gst/gstpad.c:
3510           Fix docs for gst_pad_set_link_function().
3511
3512 2005-11-02  Johan Dahlin  <johan@gnome.org>
3513
3514         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3515         Unref found_caps after we used it.
3516
3517 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3518
3519         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3520           Don't try to ref NULL.
3521
3522 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3523
3524         * win32/common/config.h.in:
3525           provide a GST_FUNCTION that just gives a string for now
3526
3527 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3528
3529         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3530         (gst_object_flags_get_type), (register_gst_bin_flags),
3531         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3532         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3533         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3534         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3535         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3536         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3537         (gst_clock_flags_get_type), (register_gst_state),
3538         (gst_state_get_type), (register_gst_state_change_return),
3539         (gst_state_change_return_get_type), (register_gst_state_change),
3540         (gst_state_change_get_type), (register_gst_element_flags),
3541         (gst_element_flags_get_type), (register_gst_core_error),
3542         (gst_core_error_get_type), (register_gst_library_error),
3543         (gst_library_error_get_type), (register_gst_resource_error),
3544         (gst_resource_error_get_type), (register_gst_stream_error),
3545         (gst_stream_error_get_type), (register_gst_event_type),
3546         (gst_event_type_get_type), (register_gst_seek_type),
3547         (gst_seek_type_get_type), (register_gst_seek_flags),
3548         (gst_seek_flags_get_type), (register_gst_format),
3549         (gst_format_get_type), (register_gst_index_certainty),
3550         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3551         (gst_index_entry_type_get_type),
3552         (register_gst_index_lookup_method),
3553         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3554         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3555         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3556         (gst_index_flags_get_type), (register_gst_debug_level),
3557         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3558         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3559         (gst_iterator_result_get_type), (register_gst_iterator_item),
3560         (gst_iterator_item_get_type), (register_gst_message_type),
3561         (gst_message_type_get_type), (register_gst_mini_object_flags),
3562         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3563         (gst_pad_link_return_get_type), (register_gst_flow_return),
3564         (gst_flow_return_get_type), (register_gst_activate_mode),
3565         (gst_activate_mode_get_type), (register_gst_pad_direction),
3566         (gst_pad_direction_get_type), (register_gst_pad_flags),
3567         (gst_pad_flags_get_type), (register_gst_pad_presence),
3568         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3569         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3570         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3571         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3572         (gst_plugin_flags_get_type), (register_gst_rank),
3573         (gst_rank_get_type), (register_gst_query_type),
3574         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3575         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3576         (gst_tag_flag_get_type), (register_gst_task_state),
3577         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3578         (gst_alloc_trace_flags_get_type),
3579         (register_gst_type_find_probability),
3580         (gst_type_find_probability_get_type), (register_gst_uri_type),
3581         (gst_uri_type_get_type), (register_gst_parse_error),
3582         (gst_parse_error_get_type):
3583         * win32/common/gstversion.h:
3584           update win32 copies
3585
3586 2005-11-01  Luca Ognibene  <luogni@tin.it>
3587
3588         * gst/gst.c:
3589           fix docs. popt is dead, long live GOption.
3590
3591 2005-10-31  Wim Taymans  <wim@fluendo.com>
3592
3593         * gst/gstbuffer.h:
3594         Small doc fix.
3595
3596 2005-10-31  Andy Wingo  <wingo@pobox.com>
3597
3598         * Boo!
3599
3600         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3601
3602         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3603         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3604         the possibility of deadlocks here if code calling notify() or
3605         set() has a lock that can be taken in another notify handler (ABBA
3606         with class lock and e.g. python GIL state lock).
3607
3608 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3609
3610         * gst/gstbus.c: Doc updates.
3611
3612 2005-10-28  Wim Taymans  <wim@fluendo.com>
3613
3614         * docs/design/part-TODO.txt:
3615         * gst/gstiterator.c:
3616         * gst/gstsystemclock.c:
3617         * gst/gstsystemclock.h:
3618         Doc updates.
3619
3620 2005-10-28  Edward Hervey  <edward@fluendo.com>
3621
3622         * docs/gst/gstreamer-docs.sgml:
3623         * docs/gst/gstreamer-sections.txt:
3624         the GstURIType documentation page is private, it only defines GstURIType
3625         which should be defined in the GstURIHandler page
3626         
3627 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3628
3629         * gst/gstbin.c: (gst_bin_class_init):
3630         * gst/gstbin.h:
3631         * gst/gstutils.c:
3632         Documentation updates.
3633
3634 2005-10-28  Wim Taymans  <wim@fluendo.com>
3635
3636         * docs/gst/gstreamer-sections.txt:
3637         * gst/gstclock.c:
3638         * gst/gstclock.h:
3639         Documented the clocks.
3640
3641 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3642
3643         * docs/gst/gstreamer-sections.txt:
3644           move some macros to private sections
3645         * gst/gstminiobject.c:
3646         * gst/gstminiobject.h:
3647           add descriptions provided by ds and some more
3648         * gst/gstpad.h:
3649           mark macro as to be removed
3650
3651 2005-10-28  Wim Taymans  <wim@fluendo.com>
3652
3653         * docs/design/part-TODO.txt:
3654         Add an item to TODO.
3655
3656         * gst/gstiterator.c: (gst_iterator_fold),
3657         (gst_iterator_find_custom):
3658         * gst/gstiterator.h:
3659         Add iterator docs.
3660
3661 2005-10-28  Wim Taymans  <wim@fluendo.com>
3662
3663         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3664         (gst_base_transform_init):
3665         Don't leak class.
3666
3667         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3668         An EOS event marks the queue as completely filled.
3669
3670 2005-10-27  Wim Taymans  <wim@fluendo.com>
3671
3672         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3673         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3674         Some more debugging.
3675
3676         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3677         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3678         (gst_base_transform_event), (gst_base_transform_getrange),
3679         (gst_base_transform_chain):
3680         * gst/base/gstbasetransform.h:
3681         Fix debugging,
3682         Protect transform and concurrent buffer alloc with a new lock.
3683         Try not to break ABI/API.
3684
3685 2005-10-27  Wim Taymans  <wim@fluendo.com>
3686
3687         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3688         (gst_base_src_init), (gst_base_src_query),
3689         (gst_base_src_default_newsegment),
3690         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3691         (gst_base_src_send_event), (gst_base_src_event_handler),
3692         (gst_base_src_pad_get_range), (gst_base_src_loop),
3693         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3694         (gst_base_src_start), (gst_base_src_deactivate),
3695         (gst_base_src_activate_push), (gst_base_src_change_state):
3696         Move some stuff around and cleanup things.
3697
3698 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3699
3700         * gst/base/gstbasesrc.c: (gst_base_src_query):
3701           Add missing break statements.
3702
3703 2005-10-27  Wim Taymans  <wim@fluendo.com>
3704
3705         * check/gst/gstbin.c: (GST_START_TEST):
3706         An extra refcount is taken in basesrc.
3707
3708         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3709         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3710         (gst_base_src_loop):
3711         Small cleanups, check for flushing after being unlocked from the 
3712         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3713         Don't send out EOS when going to READY.
3714
3715 2005-10-27  Wim Taymans  <wim@fluendo.com>
3716
3717         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3718         (gst_base_sink_get_position):
3719         Some more debug.
3720
3721         * gst/gstbin.c: (message_check), (bin_replace_message),
3722         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3723         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3724         (bin_query_duration_init), (bin_query_duration_fold),
3725         (bin_query_duration_done), (bin_query_generic_fold),
3726         (gst_bin_query):
3727         * tools/gst-launch.c: (main):
3728         Remove old option.
3729
3730 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3731
3732         * examples/controller/audio-example.c: (main):
3733         * examples/queue/queue.c: (event_loop):
3734         * gst/base/gstbasetransform.h:
3735         * gst/gstelement.c: (gst_element_send_event):
3736         * gst/gstevent.h:
3737         * gst/gstpad.c: (gst_pad_send_event):
3738           fixing examples
3739           fixing docs typos
3740           changing log priority in error situations
3741
3742 2005-10-25  Wim Taymans  <wim@fluendo.com>
3743
3744         * gst/gstbin.c: (message_check), (bin_replace_message),
3745         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3746         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3747         (bin_query_duration_init), (bin_query_duration_fold),
3748         (bin_query_duration_done), (bin_query_generic_fold),
3749         (gst_bin_query):
3750         Some doc and debug updates.
3751         Cache previously requested query DURATION for speed. invalidate
3752         cached duration if element posts a DURATION message.
3753
3754 2005-10-25  Wim Taymans  <wim@fluendo.com>
3755
3756         * docs/design/part-TODO.txt:
3757         Update TODO.
3758
3759         * gst/gstbin.c: (message_check), (bin_replace_message),
3760         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3761         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3762         (bin_query_duration_init), (bin_query_duration_fold),
3763         (bin_query_duration_done), (bin_query_generic_fold),
3764         (gst_bin_query):
3765         Handle SEGMENT_START/DONE messages correctly.
3766         More evolved query algorithm that handles duration queries
3767         correctly.
3768
3769         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3770         (gst_element_get_state_func), (gst_element_abort_state),
3771         (gst_element_commit_state), (gst_element_lost_state):
3772         Some more debugging.
3773
3774         * gst/gstmessage.h:
3775         Added doc.
3776
3777 2005-10-25  Wim Taymans  <wim@fluendo.com>
3778
3779         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3780         Don't use invalid stream_time.
3781
3782         * gst/gstevent.c: (gst_event_new_newsegment):
3783         stream_time in newsegment cannot be undefined.
3784
3785 2005-10-24  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/gstbus.c:
3788         Doc fix.
3789
3790         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3791         (gst_queue_loop):
3792         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3793
3794 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3795
3796         * docs/libs/tmpl/gstdparam.sgml:
3797         * docs/libs/tmpl/gstdplinint.sgml:
3798         * docs/libs/tmpl/gstdpman.sgml:
3799         * docs/libs/tmpl/gstdpsmooth.sgml:
3800         * docs/libs/tmpl/gstunitconvert.sgml:
3801           these are obsolete
3802
3803 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3804
3805         * configure.ac:
3806           back to HEAD
3807
3808 === release 0.9.4 ===
3809
3810 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3811
3812         * configure.ac:
3813           releasing 0.9.4, "Tyrannosaurus Rex"
3814
3815 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3818         (gst_file_sink_get_current_offset):
3819           Use fseeko() and ftello() if available. When falling back on
3820           lseek() to get the current offset, fflush() first to make sure
3821           everything is up-to-date and we get the right offset.
3822
3823 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3824
3825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3826         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3827         * gst/gsterror.c: (_gst_stream_errors_init):
3828         * gst/gsterror.h:
3829         * gst/gstqueue.c: (gst_queue_loop):
3830         * po/POTFILES.in:
3831           remove prematurely added error category and clean up the instances
3832
3833 2005-10-21  Wim Taymans  <wim@fluendo.com>
3834
3835         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3836         (gst_base_sink_get_position), (gst_base_sink_query),
3837         (gst_base_sink_change_state):
3838         Simply set the right flag when going to playing, that's all
3839         we need to do instead of calling a function inside the object
3840         lock (that could take the lock as well and deadlock)
3841
3842 2005-10-21  Wim Taymans  <wim@fluendo.com>
3843
3844         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3845         (gst_base_src_loop):
3846         Don't warn, the peer element knows what to do best when
3847         the seek failed, it might try something else.
3848
3849 2005-10-21  Wim Taymans  <wim@fluendo.com>
3850
3851         * gst/base/gstbasesrc.c: (gst_base_src_init),
3852         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3853         Fix seeking.
3854
3855 2005-10-21  Wim Taymans  <wim@fluendo.com>
3856
3857         * docs/design/part-segments.txt:
3858         More docs.
3859
3860         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3861         Correctly set caps, even on the subbufer.
3862
3863 2005-10-21  Wim Taymans  <wim@fluendo.com>
3864
3865         * docs/gst/gstreamer-docs.sgml:
3866         * docs/gst/gstreamer-sections.txt:
3867         * gst/gstelement.h:
3868         * gst/gstevent.c:
3869         * gst/gstevent.h:
3870         * gst/gstmessage.h:
3871         * gst/gstpad.h:
3872         * gst/gstparse.h:
3873         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3874         * gst/gsttask.h:
3875         * gst/gstutils.c:
3876         * gst/gstutils.h:
3877         And 2% more doc coverage.
3878
3879 2005-10-21  Andy Wingo  <wingo@pobox.com>
3880
3881         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3882         position reporting.
3883
3884 2005-10-20  Wim Taymans  <wim@fluendo.com>
3885
3886         * gst/gsterror.c: (gst_error_get_message):
3887         * gst/gstparse.h:
3888         * gst/gstquery.h:
3889         * gst/gststructure.c:
3890         * gst/gsttrace.c:
3891         * gst/gstutils.c:
3892         More docs.
3893
3894 2005-10-20  Wim Taymans  <wim@fluendo.com>
3895
3896         * gst/gstbuffer.h:
3897         * gst/gstpad.c:
3898         * gst/gstparse.c:
3899         Another 1% more coverage.
3900
3901 2005-10-20  Wim Taymans  <wim@fluendo.com>
3902
3903         * docs/gst/gstreamer-sections.txt:
3904         * gst/gstelement.c: (gst_element_get_state_func),
3905         (gst_element_abort_state), (gst_element_commit_state),
3906         (gst_element_lost_state):
3907         * gst/gstevent.h:
3908         * gst/gstquery.c: (gst_query_set_position),
3909         (gst_query_parse_position), (gst_query_set_duration),
3910         (gst_query_parse_duration), (gst_query_new_convert):
3911         * gst/gstutils.c:
3912         Yay! 1% more docs coverage.
3913
3914 2005-10-20  Wim Taymans  <wim@fluendo.com>
3915
3916         * gst/gstpad.h:
3917         * gst/gstquery.c: (gst_query_set_position),
3918         (gst_query_parse_position), (gst_query_set_duration),
3919         (gst_query_parse_duration), (gst_query_new_convert):
3920         * gst/gstquery.h:
3921         * gst/gstutils.c: (gst_element_query_convert):
3922         * gst/gstutils.h:
3923         Docs and consistency fixes.
3924
3925 2005-10-20  Wim Taymans  <wim@fluendo.com>
3926
3927         * gst/gsttask.c:
3928         * gst/gsttask.h:
3929         More docs.
3930
3931 2005-10-20  Wim Taymans  <wim@fluendo.com>
3932
3933         * gst/gstbin.c: (message_check), (bin_replace_message),
3934         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3935         (update_degree), (gst_bin_sort_iterator_next),
3936         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3937         Reworked the message handling a bit, cache the messages instead of
3938         only the senders. alows us to do more in the future.
3939
3940 2005-10-20  Wim Taymans  <wim@fluendo.com>
3941
3942         * docs/design/part-TODO.txt:
3943         Update TODO
3944
3945         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3946         (gst_base_sink_query):
3947         Don't use clock time to report position when in EOS.
3948
3949 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3950
3951         * tools/gst-inspect.c: (print_interfaces),
3952         (print_element_properties_info), (print_element_info):
3953           Fix interface output with gst-inspect -a; don't print
3954           newlines after double/float properties.
3955
3956 2005-10-20  Wim Taymans  <wim@fluendo.com>
3957
3958         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3959         (gst_base_sink_query):
3960         Speed up current position calculation.
3961
3962         * gst/base/gstbasesrc.c: (gst_base_src_query),
3963         (gst_base_src_default_newsegment):
3964         Correctly set stream position in newsegment.
3965
3966         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3967         (update_degree), (gst_bin_sort_iterator_next),
3968         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3969         * gst/gstmessage.c: (gst_message_new_custom):
3970         Clean up debugging info
3971
3972         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3973         (gst_queue_loop), (gst_queue_handle_src_query):
3974         Pause task faster.
3975
3976 2005-10-19  Wim Taymans  <wim@fluendo.com>
3977
3978         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3979         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3980         Fix query handling again.
3981
3982 2005-10-19  Wim Taymans  <wim@fluendo.com>
3983
3984         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3985         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3986         * gst/base/gstbasesrc.c: (gst_base_src_query):
3987         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3988         * gst/elements/gsttypefindelement.c:
3989         (gst_type_find_handle_src_query), (find_element_get_length),
3990         (gst_type_find_element_activate):
3991         API change fix.
3992
3993         * gst/gstquery.c: (gst_query_new_position),
3994         (gst_query_set_position), (gst_query_parse_position),
3995         (gst_query_new_duration), (gst_query_set_duration),
3996         (gst_query_parse_duration), (gst_query_set_segment),
3997         (gst_query_parse_segment):
3998         * gst/gstquery.h:
3999         Bundling query position/duration is not a good idea since duration
4000         does not change much and we don't want to recalculate it for every
4001         position query, so they are separated again..
4002         Base value in segment query is not needed.
4003
4004         * gst/gstqueue.c: (gst_queue_handle_src_query):
4005         * gst/gstutils.c: (gst_element_query_position),
4006         (gst_element_query_duration), (gst_pad_query_position),
4007         (gst_pad_query_duration):
4008         * gst/gstutils.h:
4009         Updates for query API change.
4010         Added some docs here and there.
4011
4012 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4013
4014         * check/gst/gstbin.c: (GST_START_TEST):
4015         * check/gst/gstghostpad.c: (GST_START_TEST):
4016         * check/pipelines/cleanup.c: (GST_START_TEST):
4017           wait on thread to die so we can check refcount correctly
4018
4019 2005-10-18  Wim Taymans  <wim@fluendo.com>
4020
4021         * check/pipelines/stress.c: (GST_START_TEST):
4022         Make check a little more time consuming.
4023
4024 2005-10-18  Wim Taymans  <wim@fluendo.com>
4025
4026         * check/Makefile.am:
4027         * check/pipelines/stress.c: (GST_START_TEST),
4028         (simple_launch_lines_suite), (main):
4029         Small state change torture test.
4030
4031         * docs/design/part-states.txt:
4032         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4033         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4034         (gst_base_sink_change_state):
4035         Never take state lock from streaming thread, clean up ugly
4036         hacks. Unfortunatly core does not yet support nice ways to
4037         async commit state.
4038         
4039         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4040         (bin_bus_handler):
4041         Start state recalc if a STATE_DIRTY message is posted, but only
4042         on the toplevel bin.
4043
4044         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4045         (gst_element_get_state_func), (gst_element_abort_state),
4046         (gst_element_commit_state), (gst_element_lost_state),
4047         (gst_element_set_state_func), (gst_element_change_state):
4048         * gst/gstelement.h:
4049         State variables are now protected with the LOCK, the state
4050         lock is only used to serialize _set_state().
4051
4052 2005-10-18  Wim Taymans  <wim@fluendo.com>
4053
4054         * check/gst/gstbin.c: (GST_START_TEST):
4055         * check/gst/gstmessage.c: (GST_START_TEST):
4056         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4057         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4058         (bin_bus_handler):
4059         * gst/gstelement.c: (gst_element_abort_state),
4060         (gst_element_commit_state), (gst_element_lost_state):
4061         * gst/gstmessage.c: (gst_message_new_state_changed),
4062         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4063         (gst_message_new_segment_done), (gst_message_new_duration),
4064         (gst_message_parse_state_changed),
4065         (gst_message_parse_segment_start),
4066         (gst_message_parse_segment_done), (gst_message_parse_duration):
4067         * gst/gstmessage.h:
4068         * tools/gst-launch.c: (event_loop):
4069         Seriously, this is better than a previous commit as we only need
4070         to notify the fact that an element changed state in a streaming
4071         thread, marking the state of the parents dirty, hence the 
4072         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4073         message.
4074
4075 2005-10-18  Wim Taymans  <wim@fluendo.com>
4076
4077         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4078         (gst_bin_recalc_func):
4079         * gst/gstelement.c: (gst_element_set_clock),
4080         (gst_element_abort_state), (gst_element_lost_state):
4081         Cleanups, prepare for state change fixes.
4082
4083 2005-10-18  Wim Taymans  <wim@fluendo.com>
4084
4085         * gst/gstbin.h:
4086         * gst/gstelement.c: (gst_element_class_init),
4087         (gst_element_set_state), (gst_element_set_state_func):
4088         * gst/gstelement.h:
4089         Pending ABI changes.
4090         GThreadPool in GstBinClass to monitor async state changes.
4091         state_cookie in GstElement to detect concurrent gst/set state.
4092         set_state is now virtual too in case a very complicated element
4093         has to be constructed.
4094
4095 2005-10-18  Wim Taymans  <wim@fluendo.com>
4096
4097         * check/gst/gstbin.c: (GST_START_TEST):
4098         * check/gst/gstmessage.c: (GST_START_TEST):
4099         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4100         * gst/gstbin.c: (bin_bus_handler):
4101         * gst/gstelement.c: (gst_element_commit_state),
4102         (gst_element_lost_state):
4103         * gst/gstmessage.c: (gst_message_new_state_changed),
4104         (gst_message_new_segment_start), (gst_message_new_segment_done),
4105         (gst_message_new_duration), (gst_message_parse_state_changed),
4106         (gst_message_parse_segment_start),
4107         (gst_message_parse_segment_done), (gst_message_parse_duration):
4108         * gst/gstmessage.h:
4109         * tools/gst-launch.c: (event_loop):
4110         Make messages future proof.
4111         state-change gets a flag if it was a message comming from the
4112         streaming thread.
4113         segment-start/stop can also be specified in other formats.
4114         A message to notify an app that a pipeline changed playback 
4115         duration.
4116         Also fix a GstMessage leak in -launch
4117
4118 2005-10-18  Andy Wingo  <wingo@pobox.com>
4119
4120         * gst/gstelement.c (gst_element_dispose): More helpful message.
4121
4122 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4123
4124         reviewed by: <delete if not using a buddy>
4125
4126         * common/gtk-doc.mak:
4127
4128 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4129
4130         * gst/gstregistry.c: (gst_registry_scan_path_level):
4131           unref a plug-in we get that was already initialized
4132
4133 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4134
4135         * docs/gst/gstreamer-sections.txt:
4136         * docs/libs/gstreamer-libs-sections.txt:
4137         * gst/gstelement.h:
4138           add new api entries
4139           hide internal macro
4140
4141 2005-10-17  Andy Wingo  <wingo@pobox.com>
4142
4143         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4144         cleanup.
4145
4146         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4147
4148         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4149
4150         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4151         (gst_element_get_state_func): Better debug message.
4152         (gst_element_commit_state): s/INFO/DEBUG/.
4153         (gst_element_lost_state, gst_element_change_state): 
4154
4155         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4156         (gst_message_new_custom): s/INFO/LOG/.
4157
4158 2005-10-17  Michael Smith <msmith@fluendo.com>
4159
4160         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4161           Check if end time is valid using end time, not start time.
4162
4163 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4164
4165         * check/gst-libs/controller.c: (GST_START_TEST),
4166         (gst_controller_suite):
4167         * libs/gst/controller/gstcontroller.c:
4168         (gst_controlled_property_set_interpolation_mode):
4169         * libs/gst/controller/gstcontroller.h:
4170         * libs/gst/controller/gstinterpolation.c:
4171         * testsuite/controller/.cvsignore:
4172         * testsuite/controller/Makefile.am:
4173         * testsuite/controller/interpolator.c:
4174           merge controller testsuites
4175           fix broken tests
4176           remove mem-chunk from docs
4177
4178 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4179
4180         * gst/gstmemchunk.c:
4181         * gst/gstmemchunk.h:
4182         * gst/gsttrashstack.c:
4183         * gst/gsttrashstack.h:
4184           out.  get out.  you're fired.  to the Attic !
4185
4186 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4187
4188         * gst/gstcaps.c: (gst_caps_intersect):
4189           fix signedness issues in a (hopefully) correct way
4190         * gst/gstelement.c: (gst_element_pads_activate):
4191           some debugging
4192         * gst/gstobject.c: (gst_object_set_parent):
4193           some debugging
4194
4195 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4196
4197         * gst/gstvalue.h: Fix prototypes.
4198
4199 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * docs/gst/gstreamer-sections.txt:
4202         * gst/gst.c: (gst_version_string):
4203         * gst/gst.h:
4204         * gst/gstversion.h.in:
4205         * win32/common/libgstreamer.def:
4206           add gst_version_string ()
4207
4208 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4209
4210         * configure.ac:
4211           clean up further
4212         * gst/gst.c: (init_post):
4213         * win32/common/config.h.in:
4214           it's PLUGINDIR now
4215         * gst/gstcaps.c: (gst_caps_intersect):
4216           use gint64, the range could be bigger than a guint
4217
4218 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4219
4220         * gst/gstclock.h:
4221           document potential problem in 2038
4222
4223 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4224
4225         * gst/gstcaps.c: (gst_caps_intersect):
4226           Fix guint j diving under 0
4227
4228 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4229
4230         * configure.ac:
4231         * win32/common/config.h:
4232         * win32/common/config.h.in:
4233           check for process.h, declares getpid() on Windows
4234         * gst/gstinfo.c:
4235           include process.h if we have it
4236         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4237         * gst/gstmemchunk.h:
4238           fix signedness issues
4239         * win32/common/libgstreamer.def:
4240           fix get_type's
4241
4242 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4243
4244         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4245         fix. Because of unsigned ints, caps intersection was going nuts and
4246         trying to access structures with G_MAXUINT index. That fixes
4247         videotestsrc ! ffmpegcolorspace ! fakesink
4248         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4249         consistency.
4250
4251 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4252
4253         * configure.ac:
4254           use the gettext macro
4255         * gst/elements/gstelements.c:
4256         * gst/gst.c:
4257         * gst/indexers/gstindexers.c:
4258           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4259         * win32/common/config.h:
4260           updated config.h
4261         * win32/common/config.h.in:
4262           add the template to generate config.h
4263         * win32/common/gstenumtypes.c:
4264         * win32/common/gstversion.h:
4265           updated copies
4266
4267 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4268
4269         * gst/gst.c: (gst_version):
4270         * gst/gstversion.h.in:
4271           add the nano
4272
4273 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4274
4275         * gst/gstevent.h:
4276           Oops, add missing closing bracket.
4277
4278 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4279
4280         * configure.ac:
4281           use common m4's for argument checking
4282
4283 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4284
4285         * docs/gst/gstreamer-sections.txt:
4286         * gst/gstevent.h:
4287           Add GST_EVENT_TYPE_NAME() macro.
4288
4289 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4290
4291         * gst/gstinfo.c:
4292         * gst/gstpluginfeature.c:
4293         * gst/gsttask.c:
4294           privatize more symbols
4295
4296 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4297
4298         * configure.ac:
4299           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4300           everything that uses GStreamer API should have the includes
4301
4302 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4303
4304         * docs/gst/gstreamer-sections.txt:
4305         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4306         * gst/gstvalue.h:
4307           give each value a _get_type, removes the DATA exports
4308
4309 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4310
4311         * gst/gst.c:
4312         * gst/gst.h:
4313           remove _gst_registry_auto_load, not used anymore
4314         * gst/gstbin.c: (gst_bin_get_type):
4315         * gst/gstbin.h:
4316         * gst/gstelement.c: (gst_element_get_type):
4317         * gst/gstelement.h:
4318         * gst/gstobject.c: (gst_object_get_type):
4319         * gst/gstobject.h:
4320         * gst/gstpad.c: (gst_pad_get_type):
4321         * gst/gstpad.h:
4322           make _get_type functions similar, fixes data export from library
4323
4324 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4325
4326         * configure.ac:
4327           correctly make conditionals
4328         * gst/elements/Makefile.am:
4329         * gst/elements/gstelements.c:
4330           fix typo causing fdsrc not to build
4331
4332 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4333
4334         * testsuite/Makefile.am:
4335         * testsuite/bytestream/.cvsignore:
4336         * testsuite/bytestream/Makefile.am:
4337         * testsuite/bytestream/filepadsink.c:
4338         * testsuite/bytestream/gstbstest.c:
4339         * testsuite/bytestream/test1.c:
4340         * testsuite/bytestream/testfile1:
4341         * testsuite/caps/normalisation.c:
4342         * testsuite/caps/random.c: (main):
4343         * testsuite/cleanup/.cvsignore:
4344         * testsuite/cleanup/Makefile.am:
4345         * testsuite/cleanup/cleanup1.c:
4346         * testsuite/cleanup/cleanup2.c:
4347         * testsuite/cleanup/cleanup3.c:
4348         * testsuite/cleanup/cleanup4.c:
4349         * testsuite/cleanup/cleanup5.c:
4350         * testsuite/controller/interpolator.c:
4351         * testsuite/debug/printf_extension.c: (main):
4352         * testsuite/elements/tee.c:
4353         * testsuite/negotiation/.cvsignore:
4354         * testsuite/negotiation/Makefile.am:
4355         * testsuite/negotiation/pad_link.c:
4356         * testsuite/pad/Makefile.am:
4357         * testsuite/pad/chainnopull.c:
4358         * testsuite/pad/getnopush.c:
4359         * testsuite/pad/link.c:
4360         * testsuite/refcounting/sched.c: (create_pipeline):
4361         * testsuite/registry/Makefile.am:
4362         * testsuite/registry/gst-print-formats.c:
4363         * testsuite/schedulers/.cvsignore:
4364         * testsuite/schedulers/142183-2.c:
4365         * testsuite/schedulers/142183.c:
4366         * testsuite/schedulers/143777-2.c:
4367         * testsuite/schedulers/143777.c:
4368         * testsuite/schedulers/147713.c:
4369         * testsuite/schedulers/147819.c:
4370         * testsuite/schedulers/147894-2.c:
4371         * testsuite/schedulers/147894.c:
4372         * testsuite/schedulers/Makefile.am:
4373         * testsuite/schedulers/group_link.c:
4374         * testsuite/schedulers/queue_link.c:
4375         * testsuite/schedulers/relink.c:
4376         * testsuite/schedulers/unlink.c:
4377         * testsuite/schedulers/unref.c:
4378         * testsuite/schedulers/useless_iteration.c:
4379         * testsuite/states/bin.c:
4380           clean out/remove some stuff from the testsuite directories
4381
4382 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4383
4384         * configure.ac:
4385           check for some headers
4386         * gst/elements/Makefile.am:
4387         * gst/elements/gstelements.c:
4388           don't compile fdsrc without sys/socket.h
4389         * gst/indexers/Makefile.am:
4390         * gst/indexers/gstindexers.c: (plugin_init):
4391           don't compile fileindex without mmap
4392
4393 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4394
4395         * configure.ac:
4396           reorganize
4397           clean up
4398           document more
4399           remove cruft
4400         * check/Makefile.am:
4401         * docs/gst/Makefile.am:
4402         * examples/helloworld/Makefile.am:
4403         * gst/Makefile.am:
4404         * gst/base/Makefile.am:
4405         * gst/check/Makefile.am:
4406         * gst/elements/Makefile.am:
4407         * gst/indexers/Makefile.am:
4408         * gst/parse/Makefile.am:
4409         * libs/gst/controller/Makefile.am:
4410         * libs/gst/dataprotocol/Makefile.am:
4411         * examples/helloworld/helloworld.c: (event_loop):
4412           compile fixes, though it's not being compiled currently
4413
4414 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4417           Add some simple tests for the new taglist date API.
4418
4419 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4420
4421         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4422         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4423           Beautify 'last-message' output: print 'none' for buffer timestamps
4424           and durations if none is set; improve alignment with next messages.
4425
4426 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4429         * gst/gstpluginfeature.h:
4430         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4431         * gst/gstregistry.h:
4432         * docs/gst/gstreamer-sections.txt:
4433           Add new API to check plugin feature version requirements.
4434
4435         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4436           Some basic tests for the above.         
4437
4438 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4439
4440         * gst/gststructure.c: (gst_structure_to_string):
4441           guard against NULL printf - happens when for example
4442           a message structure with GstClock gets serialized
4443
4444 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4447           Fix presumable copy'n'pasto.
4448
4449 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4450
4451         * gst/elements/gstfakesrc.h:
4452         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4453         * gst/elements/gsttypefindelement.c:
4454           fix some signedness
4455         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4456           I wonder if this could actually write +2GB files before
4457
4458 2005-10-13  Andy Wingo  <wingo@pobox.com>
4459
4460         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4461         Fix Timmeke Waymans bug.
4462         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4463         string of the proper length to gst_caps_from_string. There's a
4464         potential for, before this fix, that this could cause someone
4465         connecting over the network to cause a segfault if the payload is
4466         not NUL-terminated.
4467
4468 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4469
4470         * docs/design/draft-push-pull.txt:
4471         * docs/design/part-overview.txt:
4472         * docs/random/TODO-pre-0.9:
4473         * docs/random/old/ChangeLog.gstreamer:
4474         * gst/base/gstpushsrc.c:
4475         * gst/gstclock.c:
4476           fixed typos
4477
4478 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4479
4480         * gst/glib-compat.c: (gst_flags_get_first_value):
4481         * gst/glib-compat.h:
4482         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4483         (gst_value_compare_double), (gst_value_serialize_flags):
4484           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4485           infinite loop
4486
4487 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4488
4489         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4490         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4491           fix up debugging
4492         * tools/gst-launch.c: (event_loop):
4493           print out clock nicely
4494
4495 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4496
4497         * docs/gst/gstreamer-sections.txt:
4498         * gst/gsttaglist.h:
4499         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4500         (gst_tag_list_get_date_index):
4501           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4502           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4503
4504 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4505
4506         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4507         (gst_collectpads_chain):
4508         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4509         in CollectData.
4510
4511 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4512
4513         * docs/gst/gstreamer-sections.txt:
4514         * gst/gst.c:
4515         * gst/gsterror.h:
4516         * tools/gst-inspect.c: (main):
4517         * tools/gst-launch.c: (main):
4518         * tools/gst-run.c: (main):
4519         * tools/gst-xmlinspect.c: (main):
4520           fix GOption context leaks
4521           doc fixes
4522
4523 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * gst/gstbus.c:
4526           use HAVE_UNISTD_H
4527         * win32/common/config.h:
4528           update config
4529         * win32/vs6/grammar.dsp:
4530         * win32/vs6/libgstelements.dsp:
4531         * win32/vs6/libgstreamer.dsp:
4532           update vs6 files
4533
4534 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4535
4536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4537         * gst/base/gstbasesrc.c: (gst_base_src_query):
4538           fix more guint64<->gdouble conversions
4539
4540 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4541
4542         * Makefile.am:
4543           add win32-update target
4544         * win32/common/gstconfig.h:
4545         * win32/common/gstenumtypes.c:
4546         * win32/common/gstenumtypes.h:
4547         * win32/common/gstversion.h:
4548           add files that visual studio can't generate
4549
4550 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4551
4552         * Makefile.am:
4553           add a win32-update target
4554         * configure.ac:
4555
4556 2005-10-12  Wim Taymans  <wim@fluendo.com>
4557
4558         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4559         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4560         * gst/gstelement.c: (gst_element_commit_state),
4561         (gst_element_set_state):
4562         Protect flags with proper lock.
4563         unref provided cached clock in dispose.
4564
4565 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4566
4567         * gst/gst.c:
4568         * gst/gstminiobject.h:
4569         * gst/gstpad.h:
4570         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4571           removed unused flags from miniobject
4572           doc fixes
4573
4574 2005-10-12  Wim Taymans  <wim@fluendo.com>
4575
4576         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4577         (gst_file_sink_event), (gst_file_sink_render):
4578         Flush before seeking.
4579
4580 2005-10-12  Andy Wingo  <wingo@pobox.com>
4581
4582         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4583         always been the case.
4584
4585 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4586
4587         * check/gst/gstbin.c: (GST_START_TEST):
4588         * docs/gst/gstreamer-sections.txt:
4589         * gst/base/gstbasesink.c: (gst_base_sink_init):
4590         * gst/base/gstbasesrc.c: (gst_base_src_init),
4591         (gst_base_src_get_range), (gst_base_src_check_get_range),
4592         (gst_base_src_start), (gst_base_src_stop):
4593         * gst/base/gstbasesrc.h:
4594         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4595         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4596         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4597         (bin_bus_handler):
4598         * gst/gstbin.h:
4599         * gst/gstbuffer.h:
4600         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4601         * gst/gstbus.h:
4602         * gst/gstelement.c: (gst_element_is_locked_state),
4603         (gst_element_set_locked_state), (gst_element_commit_state),
4604         (gst_element_set_state):
4605         * gst/gstelement.h:
4606         * gst/gstindex.c: (gst_index_init):
4607         * gst/gstindex.h:
4608         * gst/gstminiobject.h:
4609         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4610         (gst_object_set_parent):
4611         * gst/gstobject.h:
4612         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4613         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4614         * gst/gstpad.h:
4615         * gst/gstpadtemplate.h:
4616         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4617         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4618         * gst/gstpipeline.h:
4619         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4620         (gst_file_index_commit):
4621         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4622         * testsuite/pad/link.c: (gst_test_src_init),
4623         (gst_test_filter_init), (gst_test_sink_init):
4624         * testsuite/states/locked.c: (main):
4625           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4626           moved bitshift from macro to enum definition
4627
4628 2005-10-12  Wim Taymans  <wim@fluendo.com>
4629
4630         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4631         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4632         (gst_file_sink_render):
4633         Some more debugging info.
4634
4635 2005-10-12  Wim Taymans  <wim@fluendo.com>
4636
4637         * docs/design/part-states.txt:
4638         * tools/gst-launch.c: (main):
4639         Some doc updates.
4640         Revert non-intentional change.
4641
4642 2005-10-12  Wim Taymans  <wim@fluendo.com>
4643
4644         * check/gst/gstbin.c: (GST_START_TEST):
4645         * check/gst/gstelement.c: (GST_START_TEST):
4646         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4647         * check/gst/gstghostpad.c: (GST_START_TEST):
4648         * check/gst/gstpipeline.c: (GST_START_TEST):
4649         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4650         * check/states/sinks.c: (GST_START_TEST):
4651         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4652         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4653         (gst_bin_remove_func), (gst_bin_get_state_func),
4654         (gst_bin_recalc_state), (gst_bin_change_state_func),
4655         (bin_bus_handler):
4656         * gst/gstelement.c: (gst_element_get_state_func),
4657         (gst_element_get_state), (gst_element_abort_state),
4658         (gst_element_commit_state), (gst_element_set_state),
4659         (gst_element_change_state), (gst_element_change_state_func):
4660         * gst/gstelement.h:
4661         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4662         (gst_pipeline_provide_clock_func):
4663         * gst/gstutils.c: (gst_element_link_pads_filtered):
4664         * tools/gst-launch.c: (main):
4665         * tools/gst-typefind.c: (main):
4666         Use GstClockTime in _get_state() instead of GTimeVal.
4667         Remove old code in gstutils.c
4668
4669 2005-10-12  Andy Wingo  <wingo@pobox.com>
4670
4671         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4672         removed.
4673
4674         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4675         there is no task. Shouldn't affect any code, as nothing in our
4676         plugins checks this return value.
4677         (gst_pad_stop_task): Also take the stream lock if the pad has no
4678         task. Docs updated.
4679
4680 2005-10-12  Wim Taymans  <wim@fluendo.com>
4681
4682         * gst/gstpad.c: (pre_activate), (post_activate),
4683         (gst_pad_activate_pull), (gst_pad_activate_push):
4684         Cleanup activation code. Reset old state if
4685         activation failed.
4686
4687 2005-10-12  Wim Taymans  <wim@fluendo.com>
4688
4689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4690         (gst_base_sink_change_state):
4691         No need to prerol after receiving EOS.
4692
4693         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4694         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4695         * gst/elements/gstidentity.c: (gst_identity_event):
4696         Print events more verbosely.
4697
4698 2005-10-12  Wim Taymans  <wim@fluendo.com>
4699
4700         * check/Makefile.am:
4701         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4702         * check/states/sinks2.c:
4703         Moved sinks2 testcode in sinks check.
4704
4705         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4706         (gst_bin_remove_func), (gst_bin_recalc_state),
4707         (gst_bin_change_state_func), (bin_bus_handler):
4708         Fix potential race condition when _get_state() iterated over an
4709         ASYNC element right before it posted a state completion.
4710
4711         * gst/gstclock.h:
4712         Do proper cast here.
4713
4714         * gst/gstevent.c: (gst_event_new_newsegment),
4715         (gst_event_parse_newsegment):
4716         A playback rate of 0.0 is not allowed.
4717
4718 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4719
4720         * win32/common/config.h:
4721         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4722         (_trewinddir), (_ttelldir), (_tseekdir):
4723         * win32/common/dirent.h:
4724         * win32/common/gtchar.h:
4725         * win32/common/libgstbase.def:
4726         * win32/common/libgstreamer.def:
4727         * win32/vs6/grammar.dsp:
4728         * win32/vs6/gst_inspect.dsp:
4729         * win32/vs6/gst_launch.dsp:
4730         * win32/vs6/gstreamer.dsw:
4731         * win32/vs6/libgstbase.dsp:
4732         * win32/vs6/libgstelements.dsp:
4733         * win32/vs6/libgstreamer.dsp:
4734           Visual Studio 6 project files, and a new common directory.
4735           Phear.
4736
4737 2005-10-11  Wim Taymans  <wim@fluendo.com>
4738
4739         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4740         (gst_base_sink_do_sync), (gst_base_sink_query),
4741         (gst_base_sink_change_state):
4742         * gst/base/gstbasesink.h:
4743         Correctly parse newsegment info.
4744
4745 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4746
4747         * gst/gst.c: (init_post):
4748           split plugin paths correctly
4749
4750 2005-10-11  Wim Taymans  <wim@fluendo.com>
4751
4752         * check/gst/gstevent.c: (GST_START_TEST):
4753         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4754         (gst_base_sink_change_state):
4755         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4756         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4757         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4758         * gst/gstevent.c: (gst_event_new_newsegment),
4759         (gst_event_parse_newsegment):
4760         * gst/gstevent.h:
4761         Added extra flag to newsegment for future API freeze.
4762         Updated check and base elements.
4763
4764 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4765
4766         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4767         (gst_collectpads_add_pad), (gst_collectpads_pop),
4768         (gst_collectpads_event), (gst_collectpads_chain):
4769         * gst/base/gstcollectpads.h: Handle EOS correctly.
4770
4771 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4772
4773         * tools/gst-launch.c: (main):
4774           more null protecting
4775
4776 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4777
4778         * gst/gst-i18n-lib.h:
4779           check for ENABLE_NLS, not GETTEXT_PACKAGE
4780         * gst/gstregistry.c: (gst_registry_add_plugin),
4781         (gst_registry_scan_path_level),
4782         (_gst_registry_remove_cache_plugins):
4783           protect possibly NULL strings
4784         * gst/parse/types.h:
4785           config.h already included before
4786         * tools/gst-inspect.c: (main):
4787           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4788           check for ENABLE_NLS, not GETTEXT_PACKAGE
4789         * tools/gst-launch.c: (main):
4790           check for ENABLE_NLS, not GETTEXT_PACKAGE
4791
4792 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4793
4794         * configure.ac:
4795           if we don't have glib, fail before testing 2.8
4796         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4797           fix a leak, should fix plugins-base testsuite
4798
4799 2005-10-11  Andy Wingo  <wingo@pobox.com>
4800
4801         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4802         take the mode we're going to as an arg. Go head and set the mode
4803         and flushing flags now, so that if the activate function starts a
4804         thread all the flags will be in the right state.
4805         (post_activate): Renamed also. Just handle making sure streaming
4806         finishes for the deactivation case, and setting the deactivated
4807         mode.
4808         (gst_pad_set_active): Complain loudly if deactivation fails.
4809         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4810         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4811         remove the terrible hack.
4812
4813 2005-10-11  Wim Taymans  <wim@fluendo.com>
4814
4815         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4816         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4817         (gst_bin_recalc_state), (gst_bin_change_state_func),
4818         (gst_bin_dispose), (bin_bus_handler):
4819         * gst/gstbin.h:
4820         Prepare to make current EOS message queue more generic.
4821         Fix some typos.
4822
4823         * gst/gstevent.c: (gst_event_new_newsegment),
4824         (gst_event_parse_newsegment):
4825         * gst/gstevent.h:
4826         Rename base to stream_time.
4827
4828         * gst/gstmessage.h:
4829         Fix typo in docs.
4830
4831 2005-10-11  Wim Taymans  <wim@fluendo.com>
4832
4833         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4834         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4835         (gst_bin_change_state_func), (bin_bus_handler):
4836         * gst/gstbin.h:
4837         Work on proper clock selection.
4838
4839 2005-10-11  Edward Hervey  <edward@fluendo.com>
4840
4841         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4842         * libs/gst/controller/gstcontroller.h:
4843         Added GList* version of _remove_properties() in order to be able to wrap
4844         it in bindings.
4845
4846 2005-10-11  Wim Taymans  <wim@fluendo.com>
4847
4848         * docs/design/part-states.txt:
4849         Some more docs.
4850
4851         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4852         (gst_bin_change_state_func), (bin_bus_handler):
4853         Doc updates. Don't distribute the same clock over and over again.
4854
4855         * gst/gstclock.c:
4856         * gst/gstclock.h:
4857         Doc updates.
4858
4859         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4860         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4861         (gst_pad_send_event):
4862         * gst/gstpad.h:
4863         Make probe emission threadsafe again.
4864         Register quarks and move _get_name() from utils.
4865         Doc updates.
4866
4867         * gst/gstpipeline.c: (gst_pipeline_class_init),
4868         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4869         Only redistribute the clock of it changed.
4870
4871         * gst/gstsystemclock.h:
4872         Doc updates. 
4873
4874         * gst/gstutils.c:
4875         * gst/gstutils.h:
4876         Moved the _flow_get_name() to GstPad.
4877
4878 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4879
4880         * check/gst-libs/gdp.c: (GST_START_TEST):
4881         * check/gst/gstcaps.c: (GST_START_TEST):
4882         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4883         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4884         (gst_dp_packet_from_caps):
4885           fix more valgrind warnings before turning up the heat
4886
4887 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4888
4889         * gst/parse/grammar.y:
4890           some cleanup before the hacking
4891
4892 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4893
4894         * gst/base/gstbasesrc.c: (gst_base_src_query):
4895           use conversions
4896         * gst/gstutils.c: (gst_guint64_to_gdouble),
4897         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4898         * gst/gstutils.h:
4899           externalize, basesrc uses it
4900           obviously the implementation needs testing
4901
4902 2005-10-10  Wim Taymans  <wim@fluendo.com>
4903
4904         * tests/sched/Makefile.am:
4905         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4906         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4907
4908 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4909
4910         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4911           apparently converting from guint64 to double is not implemented
4912           on MSVC
4913
4914 2005-10-10  Wim Taymans  <wim@fluendo.com>
4915
4916         * check/Makefile.am:
4917         * check/generic/states.c: (GST_START_TEST):
4918         * check/gst/gstbin.c: (GST_START_TEST):
4919         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4920         * check/states/sinks.c: (GST_START_TEST):
4921         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4922         (main):
4923         Check fixes, use API as stated in design docs, remove hacks.
4924
4925         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4926         (gst_base_sink_change_state):
4927         Catch stopping our task while we're shutting down.
4928
4929         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4930         (gst_bin_remove_func), (gst_bin_get_state_func),
4931         (gst_bin_recalc_state), (gst_bin_change_state_func),
4932         (bin_bus_handler):
4933         * gst/gstbin.h:
4934         * gst/gstelement.c: (gst_element_init),
4935         (gst_element_get_state_func), (gst_element_abort_state),
4936         (gst_element_commit_state), (gst_element_lost_state),
4937         (gst_element_set_state), (gst_element_change_state),
4938         (gst_element_change_state_func):
4939         * gst/gstelement.h:
4940         New state change algorithm (see #318116)
4941
4942         * gst/gstpipeline.c: (gst_pipeline_class_init),
4943         (gst_pipeline_init), (gst_pipeline_set_property),
4944         (gst_pipeline_get_property), (do_pipeline_seek),
4945         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4946         * gst/gstpipeline.h:
4947         Remove crude state change hacks.
4948
4949         * gst/gstutils.h:
4950         Remove crude hacks.
4951
4952         * tools/gst-launch.c: (main):
4953         Fixes for state change. Needs some more work to fully use the
4954         new stuff.
4955
4956 2005-10-10  Andy Wingo  <wingo@pobox.com>
4957
4958         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4959
4960         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4961         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4962         issue.
4963
4964 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4965
4966         * gst/gstiterator.c: (gst_iterator_new):
4967           Fix my previous commit: GTypes passed to gst_iterator_new()
4968           can be fundamental types.
4969
4970 2005-10-10  Wim Taymans  <wim@fluendo.com>
4971
4972         * gst/gstelement.c: (gst_element_iterate_pad_list),
4973         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4974         (gst_element_iterate_sink_pads):
4975         Use src/sink pads lists for the respective iterators instead
4976         of filtering.
4977
4978 2005-10-10  Andy Wingo  <wingo@pobox.com>
4979
4980         Merged in popt removal + GOption addition patch from Ronald, bug
4981         #169772.
4982
4983         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4984         GstElement macros around, remove popt-related symbols, add goption
4985         stuff.
4986
4987         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4988         
4989         * docs/gst/Makefile.am:
4990         * docs/libs/Makefile.am: No POPT_CFLAGS.
4991         
4992         * examples/manual/Makefile.am:
4993         * docs/manual/basics-init.xml: Doc updates with an example.
4994         
4995         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4996         (gst_init), (parse_one_option), (parse_goption_arg):
4997         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4998         bit of hand merging and debugging to get the GOption stuff working
4999         tho.
5000         
5001         * tests/Makefile.am:
5002         * tools/Makefile.am:
5003         * tools/gst-inspect.c: (main):
5004         * tools/gst-launch.c: (main):
5005         * tools/gst-run.c: (main):
5006         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5007
5008 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5009
5010         * gst/gstiterator.c: (gst_iterator_new):
5011           Add assertions to make sure passed GType is likely to really
5012           be a GType (as the compiler won't catch it if the size and
5013           GType arguments get mixed up, see #318447).
5014
5015 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
5016
5017         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * gst/gstbin.c: (gst_bin_iterate_sorted):
5020           Pass GType and size arguments to gst_iterator_new() in the right
5021           order (maybe we should make _new() take the GType as first argument
5022           just like _new_list()?) (#318447).
5023           
5024
5025 2005-10-10  Wim Taymans  <wim@fluendo.com>
5026
5027         * gst/gstelement.c: (gst_element_finalize):
5028         And free the GStaticRecMutex too
5029
5030 2005-10-10  Andy Wingo  <wingo@pobox.com>
5031
5032         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5033         Allocate and free the mutex properly.
5034
5035         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5036         New macros.
5037         (GstElement): The state_lock is now recursive. Rebuild your
5038         plugins, suckers. Old macros adapted.
5039
5040         * docs/gst/gstreamer-sections.txt: Doc updates.
5041
5042         * gst/gstutils.h:
5043         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5044         (g_static_rec_cond_wait): Ported from state changes patch, while
5045         we wait on bug #317802 to be solved in a well-distributed GLib.
5046
5047         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5048         gst_element_change_state, variable name changes.
5049         (gst_element_change_state): Split out of gst_element_set_state in
5050         preparation for the state change merge. Doesn't pay attention to
5051         the 'transition' argument.
5052         (gst_element_set_state): Updates, hopefully purely cosmetic.
5053         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5054         state change patch.
5055         (gst_element_get_state_func): Renamed from get_state, cosmetic
5056         changes.
5057
5058 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5059
5060         * gst/elements/gstelements.c:
5061         * win32/GStreamer.vcproj:
5062         * win32/config.h:
5063         * win32/dirent.c: (_tseekdir):
5064         * win32/gst-inspect.vcproj:
5065         * win32/gst-launch.vcproj:
5066         * win32/gstconfig.h:
5067         * win32/gstelements.vcproj:
5068         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5069         * win32/gstreamer.def:
5070         * win32/msvc71.sln:
5071           updates for the win32 build (patch from Sebastien Moutte)
5072
5073 2005-10-10  Andy Wingo  <wingo@pobox.com>
5074
5075         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5076         gst_bin_get_state, cleaned up (but no logic changes).
5077         (bin_element_is_sink): Comment updates.
5078         (sink_iterator_filter): Remove needless cast.
5079         (gst_bin_iterate_sinks): Doc update.
5080         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5081         cleaned up (but no logic changes).
5082
5083         * check/states/sinks.c (test_src_sink): Cleanups from the state
5084         change patch.
5085         (test_livesrc_sink): Sync on the state.
5086
5087         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5088         the state change patch.
5089
5090         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5091         change patch.
5092
5093         * check/gst/gstbin.c: Merge in some style fixes and additional
5094         checks from Wim's state change patch.
5095
5096 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5099         (gst_type_find_helper):
5100           Check whether we have the requested data already in our list of
5101           cached buffers before pulling a new buffer; also make the buffer
5102           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5103
5104 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5105
5106         * gst/gstcaps.c:
5107         * gst/gstevent.c:
5108           doc updates
5109         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5110           don't use long long, it's not portable.  Replacing with
5111           gint64 seems to work; let's hope no skeletons fall out of the closet.
5112
5113 2005-10-10  Andy Wingo  <wingo@pobox.com>
5114
5115         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5116
5117 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5118
5119         * docs/gst/gstreamer-sections.txt:
5120         * gst/gstevent.c:
5121         * gst/gstevent.h:
5122         * gst/gstinfo.c:
5123         * gst/gstinfo.h:
5124         * gst/gstmessage.c: (gst_message_parse_state_changed):
5125         * gst/gstpad.c:
5126         * gst/gstpad.h:
5127           more docs, fix compilation
5128
5129 2005-10-09  Philippe Khalaf <burger@speedy.org>
5130         * gst/gstmessage.c:
5131           Fixed a few forgotten variables on previous commit
5132
5133 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5136           Fix evil typefind crasher: getrange() might return a short
5137           buffer at the end of a file, but gst_type_find_peek() must
5138           either return the full data as requested or NULL, but
5139           never a short buffer.
5140
5141 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5142
5143         * gst/gstmessage.c: (gst_message_new_state_changed),
5144         (gst_message_parse_state_changed):
5145         * gst/gstmessage.h:
5146           don't use "new", it's a C++ keyword
5147
5148 2005-10-08  Wim Taymans  <wim@fluendo.com>
5149
5150         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5151         * gst/gstelement.c: (gst_element_post_message):
5152         * gst/gstpipeline.c: (gst_pipeline_change_state):
5153         Small docs and debug updates.
5154
5155 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5156
5157         * docs/gst/gstreamer-sections.txt:
5158         * gst/gstelementfactory.c:
5159         * gst/gstevent.c:
5160         * gst/gsttaglist.c:
5161           more docs
5162
5163 2005-10-08  Wim Taymans  <wim@fluendo.com>
5164
5165         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5166         (gst_bin_dispose), (bin_bus_handler):
5167         Fix typos, add comments.
5168         Clear EOS list when going to PAUSED from any direction and do it
5169         in a threadsafe way.
5170         Get base time in a threadsafe way too.
5171         Fix confusing debug in the change_state function.
5172         Various other small cleanups.
5173         
5174         * gst/gstelement.c: (gst_element_post_message):
5175         Fix very verbose bus posting code.
5176
5177         * gst/gstpipeline.c: (gst_pipeline_class_init),
5178         (gst_pipeline_set_property), (gst_pipeline_get_property),
5179         (gst_pipeline_change_state):
5180         Small ARG_ -> PROP_ cleanup
5181
5182 2005-10-08  Wim Taymans  <wim@fluendo.com>
5183
5184         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5185         Do a less CPU demanding EOS check because we can.
5186
5187 2005-10-08  Wim Taymans  <wim@fluendo.com>
5188
5189         * libs/gst/dataprotocol/dataprotocol.c:
5190         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5191         (gst_dp_packet_from_event):
5192         * libs/gst/dataprotocol/dataprotocol.h:
5193         * libs/gst/dataprotocol/dp-private.h:
5194         It's about time we bump the version number.
5195         Since event types don't fit in the guint8 anymore describing
5196         the payload type, make payload type 16 bits wide.
5197
5198 2005-10-08  Wim Taymans  <wim@fluendo.com>
5199
5200         * docs/design/part-TODO.txt:
5201         * docs/design/part-clocks.txt:
5202         * docs/design/part-events.txt:
5203         * docs/design/part-gstbin.txt:
5204         * docs/design/part-gstelement.txt:
5205         * docs/design/part-gstpipeline.txt:
5206         * docs/design/part-live-source.txt:
5207         * docs/design/part-messages.txt:
5208         * docs/design/part-overview.txt:
5209         * docs/design/part-states.txt:
5210         Many doc updates.
5211
5212 2005-10-08  Wim Taymans  <wim@fluendo.com>
5213
5214         * gst/gstevent.c:
5215         * gst/gstevent.h:
5216         Fix event quark registration.
5217         Add some space between events so we can insert them in the
5218         right groups.
5219
5220 2005-10-08  Wim Taymans  <wim@fluendo.com>
5221
5222         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5223         (gst_base_sink_handle_buffer):
5224         Better log message.
5225
5226         * gst/gstbus.h:
5227         * gst/gstelement.h:
5228         More docs.
5229
5230         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5231         (gst_queue_set_property), (gst_queue_get_property):
5232         * gst/gstqueue.h:
5233         Remove old unused properties.
5234
5235 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5236         * docs/gst/gstreamer-sections.txt:
5237         * gst/gstmessage.c:
5238         * gst/gstmessage.h:
5239         * gst/gstminiobject.c:
5240         * gst/gstminiobject.h:
5241         * gst/gstobject.h:
5242         * gst/gstpad.h:
5243         * gst/gstutils.h:
5244           lots of new docs and doc fixes
5245
5246 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5247
5248         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5249         * gst/gstplugin.h:
5250         * gst/gstregistry.c: (gst_registry_lookup_locked),
5251         (gst_registry_scan_path_level):
5252         * gst/gstregistryxml.c: (load_plugin):
5253           Only ever load one plugin for a given plugin basename.
5254           This ensures correct overriding of GST_PLUGIN_PATH over
5255           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5256           system installed plugins.
5257
5258 2005-10-08  Wim Taymans  <wim@fluendo.com>
5259
5260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5261         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5262         Prepare for doing QOS.
5263
5264 2005-10-08  Wim Taymans  <wim@fluendo.com>
5265
5266         * check/gst/gstbin.c: (GST_START_TEST):
5267         * check/pipelines/cleanup.c: (GST_START_TEST):
5268         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5269         Allow new clock message too.
5270
5271 2005-10-08  Wim Taymans  <wim@fluendo.com>
5272
5273         * gst/gstmessage.c: (gst_message_new_error),
5274         (gst_message_new_warning), (gst_message_new_tag),
5275         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5276         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5277         (gst_message_new_segment_start), (gst_message_new_segment_done),
5278         (gst_message_parse_state_changed),
5279         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5280         (gst_message_parse_new_clock):
5281         * gst/gstmessage.h:
5282         Also carry the clock in question.
5283
5284 2005-10-08  Wim Taymans  <wim@fluendo.com>
5285
5286         * gst/gstmessage.c: (gst_message_new_custom),
5287         (gst_message_new_eos), (gst_message_new_error),
5288         (gst_message_new_warning), (gst_message_new_tag),
5289         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5290         (gst_message_new_new_clock), (gst_message_new_segment_start),
5291         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5292         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5293         * gst/gstmessage.h:
5294         Clean up.
5295         Added clock related messages.
5296
5297         * gst/gstpipeline.c: (gst_pipeline_change_state):
5298         Post message when the clock changed.
5299
5300         * tools/gst-launch.c: (event_loop):
5301         Print new clock.
5302
5303 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         * tools/gst-inspect.c: (print_element_properties_info):
5306           Can't pass NULL strings to g_print() on windows.
5307
5308 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5309
5310         * docs/Makefile.am:
5311         * docs/gst/Makefile.am:
5312         * docs/gst/gstreamer-docs.sgml:
5313         * docs/gst/running.xml:
5314         * docs/version.entities.in:
5315           add a chapter on running GStreamer.
5316           document GST_DEBUG and GST_PLUGIN* env vars
5317
5318 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5319
5320         * Makefile.am:
5321           remove include dir
5322         * configure.ac:
5323           remove PLUGINS_BUILDDIR stuff
5324         * gst/gst.c: (init_post):
5325           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5326         * idiottest.mak:
5327           remove, it was condescending and not needed
5328
5329 2005-10-08  Wim Taymans  <wim@fluendo.com>
5330
5331         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5332         (gst_base_sink_handle_object), (gst_base_sink_event),
5333         (gst_base_sink_wait), (gst_base_sink_handle_event),
5334         (gst_base_sink_change_state):
5335         * gst/base/gstbasesink.h:
5336         Repost EOS message while going to PLAYING if still EOS.
5337         Make sure that when receiving a FLUSH_START we don't attempt
5338         to sync on the clock anymore.
5339
5340 2005-10-08  Wim Taymans  <wim@fluendo.com>
5341
5342         * tools/gst-launch.c: (event_loop):
5343         Better message printout.
5344
5345 2005-10-08  Wim Taymans  <wim@fluendo.com>
5346
5347         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5348         (gst_bin_child_proxy_get_children_count):
5349         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5350         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5351         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5352         (gst_child_proxy_set_valist):
5353         * gst/parse/grammar.y:
5354         Make ChildProxy threadsafe and fix mem leaks.
5355
5356 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5357
5358         * gst/gst.c: (init_post):
5359           debug the GST_PLUGIN_ env vars
5360
5361 2005-10-08  Wim Taymans  <wim@fluendo.com>
5362
5363         * check/gst/gstbin.c: (GST_START_TEST):
5364         * check/gst/gstmessage.c: (GST_START_TEST):
5365         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5366         * gst/gstelement.c: (gst_element_commit_state),
5367         (gst_element_lost_state):
5368         * gst/gstmessage.c: (gst_message_new_state_changed),
5369         (gst_message_parse_state_changed):
5370         * gst/gstmessage.h:
5371         * tools/gst-launch.c: (event_loop):
5372         Added extra field to STATE_CHANGE message with the pending
5373         state, which will be different from the new state soon.
5374
5375 2005-10-08  Wim Taymans  <wim@fluendo.com>
5376
5377         * gst/gstbus.c: (gst_bus_pop):
5378         * gst/gstclock.c:
5379         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5380         Small cleanups and doc updates.
5381
5382 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5383
5384         * gst/gst.c: (init_pre):
5385         * gst/gstbin.c: (gst_bin_add_func):
5386           log distributing clocks and base time
5387         * gst/gstregistry.c: (gst_registry_add_plugin),
5388         (gst_registry_scan_path_level), (gst_registry_scan_path):
5389           clean up the debugging output a little
5390         * gst/gstutils.c: (gst_element_state_get_name):
5391           warn about a memleak (I've actually seen this be used, though
5392           it was probably a bug)
5393
5394 2005-10-07  Wim Taymans  <wim@fluendo.com>
5395
5396         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5397         (gst_base_src_init), (gst_base_src_default_newsegment),
5398         (gst_base_src_newsegment), (gst_base_src_do_seek),
5399         (gst_base_src_loop), (gst_base_src_start):
5400         * gst/base/gstbasesrc.h:
5401         Make the newsegment event customizable by subclasses.
5402
5403 2005-10-07  Wim Taymans  <wim@fluendo.com>
5404
5405         * gst/gstevent.c: (gst_event_new_buffersize),
5406         (gst_event_parse_buffersize):
5407         * gst/gstevent.h:
5408         New event for future idea.
5409
5410 2005-10-07  Andy Wingo  <wingo@pobox.com>
5411
5412         * gst/gstelement.c (gst_element_post_message): Doc update.
5413
5414         * docs/gst/gstreamer-sections.txt: Update.
5415
5416         * gst/gstmessage.c (gst_message_new_application): Made into a
5417         function like honest API calls.
5418         (gst_message_new_element): New message type.
5419
5420         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5421
5422         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5423         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5424         times.
5425
5426         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5427         NO_PREROLL from gst_element_change_state to fall through.
5428
5429 2005-10-07  Wim Taymans  <wim@fluendo.com>
5430
5431         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5432         (gst_ghost_pad_do_activate_push):
5433         Activating a ghostpad with no internal pad in push mode
5434         is ok.
5435
5436 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5437
5438         * gst/gstobject.h:
5439           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5440           Fixes compilation on Windows.
5441
5442 2005-10-07  Michael Smith <msmith@fluendo.com>
5443
5444         * tools/gst-inspect.c:
5445           Print out feature and plugin count at the end when printing out
5446           all features.
5447
5448 2005-10-04  Michael Smith <msmith@fluendo.com>
5449
5450         * gst/gsterror.c: (_gst_stream_errors_init):
5451           Add another error string used in a few existing plugins.
5452
5453         * gst/gstplugin.c:
5454         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5455         * tools/gst-inspect.c: (print_element_info):
5456           When a feature disappears from a plugin (and the feature exists in
5457           the cached registry file), things went horribly wrong. This isn't a
5458           complete fix, we should actually be removing the 'missing' features
5459           from the features list when we load the actual plugin. That's not
5460           yet implemented. 
5461
5462 2005-10-04  Johan Dahlin  <johan@gnome.org>
5463
5464         * check/gst/gstiterator.c: (GST_START_TEST):
5465         * gst/gstbin.c: (gst_bin_iterate_elements),
5466         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5467         * gst/gstelement.c: (gst_element_iterate_pads):
5468         * gst/gstformat.c: (gst_format_iterate_definitions):
5469         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5470         (gst_iterator_new_list), (gst_iterator_filter):
5471         * gst/gstiterator.h:
5472         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5473         Add a GType to GstIterator, update callsites and tests.
5474
5475 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5478           give events a chance to be handled by event probes when the pad
5479           is not linked
5480
5481 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5482
5483         * gst/gstevent.c: (gst_event_type_get_name),
5484         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5485         * gst/gstevent.h:
5486           add string representations for event types
5487
5488 2005-10-06  Wim Taymans  <wim@fluendo.com>
5489
5490         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5491         Don't use NULL pointers.
5492
5493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5494
5495         * gst/gst_private.h:
5496         * gst/gstbus.c:
5497         * gst/gstelement.c:
5498         * gst/gstinfo.c:
5499         * gst/gstpluginfeature.c:
5500           widen the debug category in output to fit the biggest one we have
5501           add a bus category and use it
5502           play with the colors
5503           fix up some categories
5504
5505 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5506
5507         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5508           add push activation of sink ghost pads.
5509           Andye, please verify
5510
5511 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5512
5513         * gst/gstutils.c: (gst_element_link_pads):
5514           fix a bug in the case where neither element has a pad
5515         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5516           add a test for that case
5517
5518 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5519
5520         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5521           emit have-data before checking for peers.  This allows
5522           for probe handlers to connect elements.  This helps autopluggers.
5523         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5524         (gst_pad_suite):
5525           add six checks, linked/unlinked with no/true/false probe
5526
5527 2005-10-04  Wim Taymans  <wim@fluendo.com>
5528
5529         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5530         (gst_fake_sink_event), (gst_fake_sink_preroll),
5531         (gst_fake_sink_render), (gst_fake_sink_change_state):
5532         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5533         (gst_fake_src_get_property), (gst_fake_src_create),
5534         (gst_fake_src_stop):
5535         * gst/elements/gstidentity.c: (gst_identity_stop):
5536         Protect last_message with lock.
5537
5538 2005-10-04  Edward Hervey  <edward@fluendo.com>
5539
5540         * gst/gstformat.h: 
5541         Added precision in the comments for GST_FORMAT_DEFAULT
5542
5543 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5544
5545         * tools/gst-launch.c: (main):
5546           Don't try to run erroneous pipelines.
5547
5548 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5549
5550         * gst/gstbus.c: We don't need this header.
5551
5552 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5553
5554         * configure.ac:
5555           back to development
5556
5557 === release 0.9.3 ===
5558
5559 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5560
5561         * README:
5562         * configure.ac:
5563           Releasing 0.9.3, "Unregistered"
5564
5565 2005-10-03  Andy Wingo  <wingo@pobox.com>
5566
5567         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5568         whereby calling a pad's activatepush() function can start a thread
5569         that starts to push or pull before the pad gets the FLUSHING flag
5570         unset. Hack around it by holding the stream lock until the flag is
5571         set. Need to replace this with a proper solution. Together with
5572         the ghost pad fixes, this fixes mp3 playing/tagreading.
5573
5574         * docs/design/part-gstghostpad.txt: Add a note about activation of
5575         proxy pads outside of ghost pads.
5576
5577         * gst/gstghostpad.c: Implement the ghost pad activation design.
5578
5579 2005-10-02  Andy Wingo  <wingo@pobox.com>
5580
5581         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5582         It is volatile, after all.
5583
5584         * docs/design/part-gstghostpad.txt: Flesh out activation with
5585         ghost pads.
5586
5587         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5588         GST_DEBUG_FUNCPTR.
5589
5590 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5591
5592         * configure.ac:
5593           Fix (unused) AM_CONDITIONAL tests.
5594
5595 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5596
5597         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * gst/gstutils.c: (gst_pad_query_convert):
5600           Add assertion that makes sure src_val is >=0, just like
5601           gst_query_new_convert() has. (#315895)
5602
5603 2005-09-30  Edward Hervey  <edward@fluendo.com>
5604
5605         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5606         Let's not iterate pads we're not interested in, it avoids getting 
5607         sky-high refcounts on sinkpad.
5608
5609 2005-09-30  Wim Taymans  <wim@fluendo.com>
5610
5611         * gst/gstelement.c: (gst_element_set_state),
5612         (gst_element_change_state):
5613         Small tweak, element in ASYNC remains ASYNC.
5614
5615 2005-09-30  Wim Taymans  <wim@fluendo.com>
5616
5617         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5618         Only error is an error.
5619
5620         * gst/gstbin.c: (gst_bin_change_state):
5621         Better debugging.
5622
5623         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5624         Also call pad_block in pad alloc.
5625
5626         * gst/gstutils.c: (gst_flow_get_name):
5627         Better debugging.
5628
5629 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5630
5631         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5632         (gst_base_src_get_range):
5633           Fix documentation typos. Add some more debug info.
5634
5635 2005-09-29  David Schleef  <ds@schleef.org>
5636
5637         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5638           more end-user friendly.
5639         * tools/gst-inspect.c: (main): Check if command-line argument is
5640           a file and attempt to load that file as a plugin.
5641
5642 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5643
5644         * check/gst/gstbin.c:
5645         * check/states/sinks.c:
5646           fix tests for the new warning
5647         * check/gst/gstpipeline.c:
5648           add a test for pipeline and bus interaction
5649         * gst/gstelement.c:
5650           elements should be NULL if they get disposed; add a warning if not
5651
5652 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * gst/gstobject.c:
5655           for 2.6 refcounting, make debug log more correct by printing
5656           the actual refcounts at the time of swap (Wim)
5657
5658 2005-09-29  Andy Wingo  <wingo@pobox.com>
5659
5660         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5661         removes signal watches previously added via
5662         gst_bus_add_signal_watch.
5663         (gst_bus_add_signal_watch): Don't return the source id, just store
5664         it on the bus if there wasn't an id already.
5665
5666         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5667         add_signal_watch and remove_signal_watch.
5668
5669 2005-09-29  Edward Hervey  <edward@fluendo.com>
5670
5671         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5672         Better if we actually iterate the list :)
5673
5674 2005-09-29  Wim Taymans  <wim@fluendo.com>
5675
5676         * check/gst/gstbin.c: (GST_START_TEST):
5677         Change for new bus API.
5678
5679         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5680         (send_messages), (GST_START_TEST), (gstbus_suite):
5681         Change for new bus signal API.
5682
5683         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5684         (gst_bus_source_prepare), (gst_bus_source_check),
5685         (gst_bus_create_watch), (gst_bus_add_watch_full),
5686         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5687         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5688         * gst/gstbus.h:
5689         Remove support for multiple GSources operating on different
5690         message types as it is too complex and unneeded when using
5691         signals.
5692         Added support for receiving signals from the bus.
5693
5694 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5695
5696         * docs/libs/tmpl/gstdataprotocol.sgml:
5697         * docs/manual/advanced-dataaccess.xml:
5698         * gst/elements/gstcapsfilter.c:
5699         * gst/gstutils.c:
5700           rename filter-caps to caps property
5701
5702 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5703
5704         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5705           More robust fraction string parsing.
5706
5707         * docs/pwg/appendix-porting.xml:
5708           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5709
5710 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5711
5712         * gst/gstcaps.c: (gst_caps_do_simplify):
5713           Thou shalt not free a structure and then continue using it
5714           in the next loop iteration.
5715
5716         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5717         (gst_caps_suite):
5718           Add test case for caps simplification.
5719
5720 2005-09-29  Wim Taymans  <wim@fluendo.com>
5721
5722         * check/gst/gstbin.c: (GST_START_TEST):
5723         Oops.
5724
5725 2005-09-29  Wim Taymans  <wim@fluendo.com>
5726
5727         * check/gst/gstbin.c: (GST_START_TEST):
5728         Add bus to bin.
5729
5730         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5731         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5732         (find_element), (gst_bin_sort_iterator_next),
5733         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5734         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5735         (gst_bin_change_state), (gst_bin_dispose):
5736         A bin does not have a bus, it gets the bus from the parent.
5737
5738         * gst/gstelement.c: (gst_element_requires_clock),
5739         (gst_element_provides_clock), (gst_element_is_indexable),
5740         (gst_element_is_locked_state), (gst_element_change_state),
5741         (gst_element_set_bus_func):
5742         Small cleanups.
5743
5744         * gst/gstpipeline.c: (gst_pipeline_class_init),
5745         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5746         The pipeline provides a bus.
5747
5748 2005-09-28  Johan Dahlin  <johan@gnome.org>
5749
5750         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5751         gst_structure_get_enum instead of gst_structure_get_int
5752
5753         * gst/gststructure.c (gst_structure_get_enum): Impl.
5754
5755         * gst/gststructure.h (gst_structure_get_enum): Add
5756
5757         * docs/gst/gstreamer-sections.txt: Ditto
5758
5759         * gst/gstmessage.c (gst_message_new_state_changed): Use
5760         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5761         which does introspection.
5762         Reviewed by Christian Schaller
5763
5764 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5765
5766         * gst/gstinfo.c: (gst_debug_log_default):
5767           don't do dummy g_strdup()s
5768         * libs/gst/controller/gstcontroller.c:
5769         (on_object_controlled_property_changed),
5770         (gst_controlled_property_new), (gst_controller_new_valist),
5771         (gst_controller_new_list),
5772         (gst_controller_remove_properties_valist), (gst_controller_set),
5773         (gst_controller_get), (gst_controller_sync_values),
5774         (gst_controller_get_value_array), (_gst_controller_class_init),
5775         (gst_controller_get_type):
5776         * libs/gst/controller/gstcontroller.h:
5777         * libs/gst/controller/gstinterpolation.c:
5778         (gst_controlled_property_find_timed_value_node):
5779           convert // to /**/ comments
5780
5781 2005-09-28  Wim Taymans  <wim@fluendo.com>
5782
5783         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5784         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5785         (gst_bus_sync_signal_handler):
5786         * gst/gstbus.h:
5787         Added async-message and sync-message signals to the bus.
5788         Added helper BusFunc to emit signals for all posted messages.
5789
5790         * gst/gstmessage.c: (gst_message_type_get_name),
5791         (gst_message_type_to_quark), (gst_message_get_type):
5792         * gst/gstmessage.h:
5793         Register quarks for message names.
5794
5795 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * docs/libs/gstreamer-libs-sections.txt:
5798         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5799         (gst_controller_new_list):
5800         * libs/gst/controller/gstcontroller.h:
5801           added another constructor for language bindings
5802
5803 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5804
5805         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5806           add another check
5807         * gst/gstbus.c:
5808           add some doc
5809         * gst/gstinfo.c: (_gst_debug_init):
5810           slightly more readable color for refcount debugging
5811
5812 2005-09-28  Wim Taymans  <wim@fluendo.com>
5813
5814         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5815         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5816         (find_element), (gst_bin_sort_iterator_next),
5817         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5818         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5819         (gst_bin_change_state), (gst_bin_dispose):
5820         Small doc fixes. get_clock -> provide_clock.
5821
5822         * gst/gstelement.c: (gst_element_class_init),
5823         (gst_element_provides_clock), (gst_element_provide_clock),
5824         (gst_element_get_clock), (gst_element_commit_state),
5825         (gst_element_lost_state):
5826         * gst/gstelement.h:
5827         Make get/set_clock() symetric. Add provide_clock vmethod since
5828         that is actually what this function does.
5829
5830         * gst/gstpipeline.c: (gst_pipeline_class_init),
5831         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5832         (gst_pipeline_get_clock):
5833         get_clock -> provide_clock.
5834
5835 2005-09-28  Andy Wingo  <wingo@pobox.com>
5836
5837         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5838         lieu of real docs...
5839
5840         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5841
5842 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5843
5844         * gst/elements/gstcapsfilter.c:
5845         * gst/elements/gstfakesink.c:
5846         * gst/elements/gstfakesrc.c:
5847         * gst/elements/gstfdsink.c:
5848         * gst/elements/gstfdsrc.c:
5849         * gst/elements/gstfilesink.c:
5850         * gst/elements/gstfilesrc.c:
5851         * gst/elements/gstidentity.c:
5852         * gst/elements/gsttee.c:
5853         * gst/elements/gsttypefindelement.c:
5854           Make element details static.
5855
5856 2005-09-28  Wim Taymans  <wim@fluendo.com>
5857
5858         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5859         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5860         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5861         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5862         (gst_bin_change_state), (gst_bin_dispose):
5863         Some documentation updates.
5864         Clean up dispose handlers.
5865
5866         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5867         * gst/gstpad.c: (gst_pad_dispose):
5868         Clean up dispose handler.
5869
5870         * gst/gstpipeline.c: (gst_pipeline_change_state):
5871         Removed spurious UNLOCK.
5872
5873 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * docs/gst/gstreamer-sections.txt:
5876         * gst/base/gstbasesrc.h:
5877         * gst/gstelement.h:
5878         * gst/gstevent.h:
5879         * gst/gstobject.h:
5880         * gst/gstpad.h:
5881         * gst/gstpipeline.c:
5882         * gst/gstpipeline.h:
5883         * gst/gstutils.h:
5884         * gst/gstxml.h:
5885           added two new functions to the docs
5886                 documents all undocumented GstXXXFlags
5887                 completed some incomplete docs 
5888
5889 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5890
5891         * gst/gstbin.c: (gst_bin_dispose):
5892         * gst/gstelement.c: (gst_element_dispose):
5893           remove now useless and leaky resurrection code in dispose
5894         * gst/base/gstbasesrc.c: (gst_base_src_init):
5895         * gst/gstelementfactory.c: (gst_element_factory_create):
5896         * gst/gstobject.c: (gst_object_set_parent):
5897           add some debugging
5898
5899 2005-09-27  Wim Taymans  <wim@fluendo.com>
5900
5901         * docs/design/part-TODO.txt:
5902         Update TODO.
5903
5904         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5905         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5906         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5907         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5908         (gst_bin_change_state):
5909         * gst/gstelement.h:
5910         Remove element variable, we keep element info in the iterator now.
5911
5912 2005-09-27  Andy Wingo  <wingo@pobox.com>
5913
5914         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5915         values.
5916
5917 2005-09-27  Wim Taymans  <wim@fluendo.com>
5918
5919         * check/gst/gstbin.c: (GST_START_TEST):
5920         Enable check that works now.
5921
5922         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5923         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5924         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5925         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5926         (gst_bin_change_state):
5927         * gst/gstbin.h:
5928         Redid the state change algorithm using a topological sort algo.
5929         Handles all cases correctly.
5930         Exposed iterator for state change order.
5931
5932         * gst/gstelement.h:
5933         Temp storage for state changes. Need to get rid of this soon.
5934
5935 2005-09-27  Wim Taymans  <wim@fluendo.com>
5936
5937         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5938         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5939         (link_fold_func), (gst_pad_proxy_setcaps):
5940         Leak fixes, the fold functions need to unref the passed object and
5941         _get_parent_*() returns ref to parent.
5942
5943 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5944
5945         * check/gst/gstbuffer.c: (test_make_writable):
5946           Plug leak in test case and fix 'make check-valgrind'
5947
5948 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5949
5950         * gst/gstbuffer.c: (gst_subbuffer_init):
5951           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5952           works correctly in all circumstances (we could have just copied
5953           the parent buffer's readonly flag, but conceptually it seems
5954           cleaner to mark all subbuffers as read-only). (based on patch
5955           by Alessandro Decina, #314710).
5956         
5957         * check/gst/gstbuffer.c: (create_read_only_buffer),
5958         (test_make_writable), (test_subbuffer_make_writable),
5959         (gst_test_suite):
5960           Add some tests for gst_buffer_make_writable().
5961
5962 2005-09-27  Wim Taymans  <wim@fluendo.com>
5963
5964         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5965         use gst_object_has_ancestor().
5966
5967         * gst/gstobject.c: (gst_object_has_ancestor):
5968         * gst/gstobject.h:
5969         gst_object_has_ancestor() copied from gstbin.c as it is a
5970         usefull function.
5971
5972         * tests/instantiate/create.c: (create_all_elements):
5973         * tests/lat.c: (handoff_src), (handoff_sink):
5974         * tests/sched/runxml.c: (main):
5975         * tests/seeking/seeking1.c: (main):
5976         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5977         (main):
5978         Fix compilation of some tests.
5979
5980 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5981
5982         * gst/gsterror.h:
5983           Remove comment. GST_TYPE_G_ERROR is here to stay,
5984           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5985           (#316961, #300610).
5986
5987 2005-09-26  Wim Taymans  <wim@fluendo.com>
5988
5989         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5990         Added check that shows error in state change order.
5991
5992 2005-09-26  Wim Taymans  <wim@fluendo.com>
5993
5994         * gst/gstbin.c: (gst_bin_change_state):
5995         Make state change function use 3 queues again, we were
5996         adding elements in the wrong order.
5997
5998         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5999         Some debug info,
6000
6001         * gst/gstpad.c: (gst_pad_dispose):
6002         Added some debug info first.
6003
6004 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6005
6006         * docs/design/draft-push-pull.txt:
6007         * docs/design/part-events.txt:
6008         * docs/design/part-overview.txt:
6009         * docs/design/part-scheduling.txt:
6010           Replace all _pull_region() with _pull_range()
6011           
6012 2005-09-26  Andy Wingo  <wingo@pobox.com>
6013
6014         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6015
6016         * check/gst-libs/controller.c: Update for controller api change.
6017
6018         * configure.ac: 
6019         * tests/Makefile.am:
6020         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6021         over by GLib bug 118439.
6022         
6023         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6024         routines to a function.
6025
6026         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6027
6028         * libs/gst/controller/gsthelper.c:
6029         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6030         (gst_object_sync_values): Renamed from sink_values. Ugh.
6031
6032         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6033
6034         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6035         Renamed from controller_key, as it is exported.
6036
6037         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6038
6039 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6040
6041         * gst/Makefile.am:
6042         * gst/gst.h:
6043         * gst/gstpad.h:
6044         * gst/gstpadtemplate.h:
6045         * gst/gstquery.c:
6046         * gst/gstquery.h:
6047         * gst/gstqueryutils.c:
6048         * gst/gstqueryutils.h:
6049           remove queryutils headers after moving the two used functions
6050           to gstquery.  also fixes build problem for gstsiddec
6051
6052 2005-09-26  Michael Smith <msmith@fluendo.com>
6053
6054         * tools/gst-launch.1.in:
6055         Correct documentation in manpage of debug syntax
6056
6057 2005-09-26  Wim Taymans  <wim@fluendo.com>
6058
6059         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6060         (gst_base_src_is_seekable), (gst_base_src_change_state):
6061         Some more debugging info.
6062
6063 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6064
6065         * docs/gst/gstreamer-sections.txt:
6066         * gst/base/gstbasetransform.h:
6067         * gst/gstindex.h:
6068           added more docs
6069
6070 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6071
6072         * docs/gst/.cvsignore:
6073         * docs/gst/tmpl/.cvsignore:
6074         * docs/gst/tmpl/gstpipeline.sgml:
6075         * docs/gst/tmpl/gstplugin.sgml:
6076         * gst/gstpipeline.c:
6077         * gst/gstplugin.c:
6078         * gst/gstplugin.h:
6079           inlined the last two docs files
6080           removed the tmpl directory from cvs (no more conflicts here!)
6081
6082 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6083
6084         * docs/gst/gstreamer-sections.txt:
6085         * docs/gst/tmpl/.cvsignore:
6086         * docs/gst/tmpl/gstpad.sgml:
6087         * docs/gst/tmpl/gstpadtemplate.sgml:
6088         * gst/Makefile.am:
6089         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6090         (gst_pad_finalize), (gst_pad_set_pad_template):
6091         * gst/gstpad.h:
6092         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6093         (gst_pad_template_class_init), (gst_pad_template_init),
6094         (gst_pad_template_dispose), (name_is_valid),
6095         (gst_static_pad_template_get), (gst_pad_template_new),
6096         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6097         (gst_pad_template_pad_created):
6098         * gst/gstpadtemplate.h:
6099           inlined two more docs
6100           factored gstpadtemplate out of gstpad
6101
6102 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6105         (test_children_state_change_order_semi_sink):
6106           Fix test case: we can't rely on a fixed state change order when
6107           going from READY => PAUSED because the sink might commit its 
6108           new state first when the first buffer created by the source 
6109           reaches the sink before the source has finished its change state.
6110           (Test case still fails at times, see #316856, comment 5 onwards)
6111
6112 2005-09-24  Wim Taymans  <wim@fluendo.com>
6113
6114         * docs/design/part-events.txt:
6115         * docs/design/part-gstbus.txt:
6116         * docs/design/part-gstpipeline.txt:
6117         * docs/design/part-messages.txt:
6118         * docs/design/part-overview.txt:
6119         * docs/design/part-segments.txt:
6120         * gst/gstbin.c:
6121         * gst/gstbuffer.c:
6122         * gst/gstclock.c:
6123         * gst/gstelement.c:
6124         * gst/gstevent.c:
6125         * gst/gstfilter.c:
6126         * gst/gstiterator.c:
6127         Various documentation updates.
6128
6129 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6130
6131         * gst/gstclock.h:
6132           Well, that's embarassing.  Luckily we weren't using
6133           GST_CLOCK_DIFF anywhere.
6134
6135 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6136
6137         * common/gtk-doc.mak:
6138           don't fail on building XML, FC4 slave shows a bunch of doc
6139           missing bits that I don't get
6140         * gst/gstpad.c:
6141         * gst/gstpipeline.c:
6142         * gst/gststructure.c:
6143           some doc updates
6144
6145 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6146
6147         * docs/design/part-gstbin.txt:
6148         * docs/design/part-gstbus.txt:
6149         * gst/gstbus.c:
6150           Add blurb about how the bus goes into flushing mode and
6151           drops all messages when its bin goes from READY into NULL 
6152           state.
6153
6154 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6155
6156         * docs/gst/gstreamer-sections.txt:
6157         * gst/gststructure.c: (gst_structure_get_clock_time):
6158         * gst/gststructure.h:
6159           add a method to get a GstClockTime out of a structure
6160
6161 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6164         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6165           Added test to check state change order in bins (can still be made
6166           to fail here under heavy disk load; bails out with 'Push on pad
6167           fakesink:sink0, but it was not activated in push mode').
6168
6169         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6170           Fix state change order when there is only a semi sink (#316856)
6171
6172         * gst/gstbus.c: (gst_bus_class_init):
6173           Use _class_peek_parent(), not _class_ref(); fix docs to say
6174           'default main context' instead of 'mainloop' where that is
6175           what's meant.
6176
6177         * gst/gstelement.c: (gst_element_commit_state),
6178         (gst_element_set_state):
6179           Fix typos in debug messages
6180
6181 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6182
6183         * docs/README:
6184         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6185         * gst/gstpluginfeature.c:
6186         * gst/gstutils.c:
6187           various doc updates
6188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6189           change an assert into an error until it gets fixed properly
6190
6191 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6192
6193         * docs/gst/gstreamer-sections.txt:
6194         * docs/gst/tmpl/.cvsignore:
6195         * docs/gst/tmpl/gstelement.sgml:
6196         * docs/gst/tmpl/gstinfo.sgml:
6197         * docs/gst/tmpl/gstobject.sgml:
6198         * gst/gstelement.c:
6199         * gst/gstelement.h:
6200         * gst/gstinfo.c:
6201         * gst/gstinfo.h:
6202         * gst/gstobject.c: (gst_object_class_init):
6203         * gst/gstobject.h:
6204           inlined 3 more biiiig doc files and added some missing docs on the fly
6205
6206 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6207
6208         * check/gst/.cvsignore:
6209         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6210         * gst/gstregistryxml.c: (load_plugin),
6211         (gst_registry_xml_save_plugin):
6212           put back source in registry.  add checks for find_plugin.
6213         * testsuite/states/bin.c: (assert_state), (empty_bin),
6214         (test_adding_one_element), (main):
6215         * testsuite/states/locked.c: (main):
6216           some compile/run fixes
6217
6218 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6219
6220         * check/gst/gstvalue.c: (GST_START_TEST):
6221           fix leaks in the test itself
6222
6223 2005-09-22  Wim Taymans  <wim@fluendo.com>
6224
6225         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6226         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6227         (gst_base_sink_query):
6228         Prepare for more accurate position reporting and query
6229         handling.
6230
6231         * gst/gstelement.c: (gst_element_send_event),
6232         (gst_element_set_state):
6233         Add some comment.
6234
6235 2005-09-22  Wim Taymans  <wim@fluendo.com>
6236
6237         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6238         (gst_query_parse_segment):
6239         * gst/gstquery.h:
6240         More documentation.
6241         Add segment query for future use.
6242
6243 2005-09-22  Wim Taymans  <wim@fluendo.com>
6244
6245         * gst/gstbin.c: (gst_bin_add_func):
6246         Some more debug info.
6247
6248         * gst/gstelement.c: (gst_element_send_event):
6249         Simplify send_event
6250
6251         * gst/gstelement.h:
6252         Don't know how flags got broken.
6253
6254         * gst/gstquery.h:
6255         Added new query.
6256
6257 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6260           Add simplistic test suite for GST_TYPE_DATE serialisation and
6261           deserialisation.
6262
6263 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6264
6265         * docs/gst/gstreamer-sections.txt:
6266         * gst/gststructure.c: (gst_structure_set_valist),
6267         (gst_structure_get_date):
6268         * gst/gststructure.h:
6269         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6270         (gst_date_copy), (gst_value_compare_date),
6271         (gst_value_serialize_date), (gst_value_deserialize_date),
6272         (gst_value_transform_date_string),
6273         (gst_value_transform_string_date), (_gst_value_initialize):
6274         * gst/gstvalue.h:
6275           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6276           bunch of utility functions along with a hack that checks that
6277           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6278           is required. Part of the grand scheme in #170777.
6279
6280 2005-09-22  Andy Wingo  <wingo@pobox.com>
6281
6282         * gst/gstconfig.h.in: Psych out gtk-doc.
6283
6284         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6285
6286         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6287
6288         * tools/gst-inspect.c (print_element_list): Plug some
6289         inconsequential leaks.
6290
6291         * gst/gstregistry.c (gst_registry_get_default): Doc.
6292
6293         * check/gst/gstplugin.c: 
6294         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6295         * gst/gstelementfactory.c (gst_element_factory_create): 
6296         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6297         refcount changes.
6298
6299         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6300         (gst_plugin_feature_load): Doc, don't eat refs.
6301
6302         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6303         (gst_plugin_list_free): Doc.
6304         (gst_plugin_load_file): Doc updates.
6305
6306         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6307         accessors returning refcounted objects, return a ref.
6308
6309         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6310         accessor for caps. IDEMPOTENCE. Oh yes.
6311
6312 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6313
6314         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6315
6316         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6317         (_gst_debug_register_funcptr):
6318           Add mutex to serialise access to the hash table with
6319           the function pointer => function name string mapping;
6320           make that hash table static scope (#316809).
6321
6322         * gst/registries/.cvsignore:
6323           Remove left-over file.
6324
6325 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * docs/pwg/appendix-porting.xml:
6328           And something about newsegment events and caps-on-buffers to
6329           the porting guide (feel free to improve).
6330
6331 2005-09-21  Andy Wingo  <wingo@pobox.com>
6332
6333         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6334         data and event probes on the same pad.
6335         (test_buffer_probe_once): Test that removing probes from within
6336         the probe functions works.
6337
6338 2005-09-21  Andy Wingo  <wingo@pobox.com>
6339
6340         * check/gst/gstutils.c: New file.
6341         (test_buffer_probe_n_times): A simple buffer probe test. More to
6342         come, foolios.
6343
6344         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6345         have-data::buffer, not have-data.
6346         (gst_pad_add_event_probe): Likewise for have-data::event.
6347         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6348         peer' isn't quite right yet though.
6349         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6350         (gst_pad_remove_data_probe): Change to take the guint handler_id
6351         as their arg, not the function+data, which is more glib-like.
6352
6353         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6354         the signal emission to indicate if the data is a buffer or an
6355         event.
6356         (gst_pad_get_type): Initialize buffer and event quarks.
6357         (gst_pad_class_init): have-data is now a detailed signal, yes it
6358         is.
6359
6360 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6361
6362         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6363         * gst/gstutils.c: (gst_util_set_value_from_string),
6364         (gst_util_set_object_arg):
6365           Don't put functional code in g_return_if_fail() or
6366           g_return_val_if_fail() statements, otherwise things will 
6367           break when G_DISABLE_CHECKS is defined during compilation.
6368
6369 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6370
6371         * docs/gst/tmpl/.cvsignore:
6372         * docs/gst/tmpl/gstvalue.sgml:
6373         * gst/gstvalue.c:
6374         * gst/gstvalue.h:
6375           inlied another one and added  some obvious docs
6376
6377 2005-09-21  Wim Taymans  <wim@fluendo.com>
6378
6379         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6380         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6381         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6382         (gst_fdsrc_get_property), (gst_fdsrc_create):
6383         * gst/elements/gstfdsrc.h:
6384         Properly implement fdsrc. Removed signal and timeout,
6385         better implemented somewhere else.
6386
6387 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6388
6389         * docs/gst/tmpl/.cvsignore:
6390         * docs/gst/tmpl/gstimplementsinterface.sgml:
6391         * gst/gstinterface.c:
6392           inlined more docs
6393
6394 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6395
6396         * docs/gst/gstreamer-sections.txt:
6397         * docs/gst/tmpl/.cvsignore:
6398         * docs/gst/tmpl/gstenumtypes.sgml:
6399           remove obsolete doc file
6400
6401 2005-09-21  David Schleef  <ds@schleef.org>
6402
6403         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6404         little beer, fix a little leak.
6405
6406 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6407
6408         * docs/gst/gstreamer-docs.sgml:
6409         * docs/gst/gstreamer-sections.txt:
6410         * docs/gst/tmpl/.cvsignore:
6411         * gst/Makefile.am:
6412         * gst/gst.h:
6413         * gst/gstbin.c:
6414         * gst/gstelement.h:
6415         * gst/gstindex.c: (gst_index_class_init):
6416         * gst/gstindex.h:
6417         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6418         (gst_index_factory_class_init), (gst_index_factory_init),
6419         (gst_index_factory_finalize), (gst_index_factory_new),
6420         (gst_index_factory_destroy), (gst_index_factory_find),
6421         (gst_index_factory_create), (gst_index_factory_make):
6422         * gst/gstindexfactory.h:
6423         * gst/gstpluginfeature.c:
6424         * gst/gstpluginfeature.h:
6425         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6426           more docs inlined, splitted gstindex.{c,h}
6427
6428 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6429
6430         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6431           fix a leak
6432
6433 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6434
6435         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6436           Set sync to FALSE by default.
6437
6438 2005-09-20  Wim Taymans  <wim@fluendo.com>
6439
6440         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6441         (gst_base_sink_init):
6442         Make sync property settable from subclass.
6443
6444         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6445         (gst_fake_sink_change_state):
6446         Set sync to FALSE by default.
6447
6448 2005-09-20  Wim Taymans  <wim@fluendo.com>
6449
6450         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6451         * tools/gst-launch.c: (main):
6452         The timeout handler should have lower priority than the source
6453         so we don't timeout before popping a message with 0 timeout.
6454         Dump error messages after failed state change.
6455
6456 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6457
6458         * tools/gst-inspect.c: (print_element_properties_info):
6459           Fix two typos.
6460
6461 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6462
6463         * check/gst/gstevent.c:
6464         * gst/elements/gstfakesink.c:
6465         * gst/elements/gstfakesink.h:
6466           remove the sync property from fakesink.
6467           has the side effect of setting sync TRUE
6468           for fakesink, which is a change.  Anyone who knows how
6469           to fix this nicely in a GObject-y way, feel free.
6470
6471 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6472
6473         * docs/gst/gstreamer-docs.sgml:
6474           remove probe refsection
6475
6476 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6477
6478         * check/Makefile.am:
6479           disable valgrinding the controller test again
6480         * docs/gst/gstreamer-sections.txt:
6481           update for api-changes
6482
6483 2005-09-20  Wim Taymans  <wim@fluendo.com>
6484
6485         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6486         (gst_base_sink_set_property), (gst_base_sink_get_property),
6487         (gst_base_sink_do_sync):
6488         * gst/base/gstbasesink.h:
6489         Added sync property to basesink to disable clock sync.
6490
6491 2005-09-20  Andy Wingo  <wingo@pobox.com>
6492
6493         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6494         eating the caller's refcount.
6495
6496         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6497         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6498         refcount.
6499
6500         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6501         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6502         of GLib 2.8 public, so we can know which refcount to check in
6503         tests.
6504
6505         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6506         (gst_object_init): Only set the gst refcount if we're going ahead
6507         with the refcount hack.
6508
6509 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6510
6511         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6512         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6513           more leaks plumbed, added more debug-logging
6514         * gst/gstmacros.h:
6515           whitespace fix
6516
6517 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6518
6519         * gst/gstmessage.c:
6520           remove include of gstmemchunk.h
6521
6522 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6523
6524         * gst/gstclock.c: (_gst_clock_id_free):
6525           Commit from the Political Party For More Atomic CVS Commits,
6526           so that people don't waste too much of their day fishing
6527           out obvious leaks out of massive commits.
6528           Oh, and fix a pretty damn obvious leak in the memchunk
6529           removal code.
6530
6531 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6532
6533         * check/Makefile.am:
6534         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6535           plug mem-leak, re-add to valgrindable tests
6536
6537 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6538
6539         * gst/gstplugin.h:
6540           unbreak the build for those who have chronic arthritis
6541           and typing "make check" is just too taxing on the hands
6542
6543 2005-09-20  Andy Wingo  <wingo@pobox.com>
6544
6545         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6546         really want it out, you should fix plugins at the same time.
6547
6548 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6549
6550         * configure.ac:
6551         * docs/gst/gstreamer-sections.txt:
6552         * gst/gstobject.c:
6553           added missing symbols to api docs
6554           disable ref-count hack if we have glib >= 2.8
6555
6556 2005-09-19  David Schleef  <ds@schleef.org>
6557
6558         * docs/gst/Makefile.am: Ignore a few more internal headers
6559         * docs/gst/gstreamer-docs.sgml: Remove old sections
6560         * docs/gst/gstreamer-sections.txt: Remove old sections
6561         * docs/gst/tmpl/gstobject.sgml: update
6562         * docs/gst/tmpl/gstplugin.sgml: update
6563         * docs/gst/tmpl/gstpluginfeature.sgml: update
6564         * docs/random/ds/0.9-suggested-changes: update.
6565         * gst/Makefile.am: remove memchunk and trashstack, since they're
6566           not used.
6567         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6568         * gst/gst.h: don't include some headers
6569         * gst/gstchildproxy.c: add gstmarshal.h
6570         * gst/gstclock.c: Don't use memchunks
6571         * gst/gstminiobject.c: Add some docs
6572         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6573         * gst/gstobject.h: same
6574         * gst/gstplugin.c: include gstmacros.h
6575         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6576         * gst/gstquery.c: don't use memchunks
6577         * gst/gstregistry.c: rename gst_registry_deinit()
6578         * gst/gstregistry.h: same
6579
6580 2005-09-19  David Schleef  <ds@schleef.org>
6581
6582         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6583         * docs/libs/gstreamer-libs-sections.txt:
6584         * docs/libs/tmpl/gstgetbits.sgml:
6585         * docs/libs/tmpl/gstputbits.sgml:
6586
6587 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6588
6589         * win32/gstenumtypes.c:
6590         * win32/gstenumtypes.h:
6591           Update.
6592
6593 2005-09-19  Wim Taymans  <wim@fluendo.com>
6594
6595         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6596         Automatically PAUSE and RESUME a pipeline when a flushing seek
6597         is performed.
6598
6599 2005-09-19  Andy Wingo  <wingo@pobox.com>
6600
6601         * gst/gstregistry.h: Spacing fixen.
6602
6603 2005-09-19  Wim Taymans  <wim@fluendo.com>
6604
6605         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6606         Handle state change failure more correctly.
6607
6608 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6609
6610         * check/Makefile.am:
6611         * check/pipelines/cleanup.c: (run_pipeline):
6612         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6613         (GST_START_TEST):
6614           enable cleanup again after fixing the leak
6615         * docs/README:
6616           some more info on docs
6617
6618 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * check/Makefile.am:
6621           re-enable tests now that leaks are plugged
6622         * check/gst/gst.c:
6623         * check/gst/gstbin.c:
6624         * check/gst/gstpipeline.c:
6625           add some more tests while fixing leaks
6626         * common/check.mak:
6627           make sure binaries are uptodate when valgrinding/gdbing
6628         * gst/gst.c:
6629         * gst/gstelementfactory.c:
6630           remove a ref too many, and add a FIXME for when we get
6631           round to disposing of classes
6632         * gst/gstplugin.c:
6633           fix the refcounting when loading a plugin from a file and
6634           the code pretends that the pointer is the same even though
6635           of course it can change
6636         * gst/gstpluginfeature.c:
6637           unref plugins marked cached (a bit confusing as a name)
6638           as the docs state should be done
6639           various doc additions to explain refcounting
6640         * gst/gstregistry.c:
6641         * gst/gstregistryxml.c:
6642           debugging
6643
6644 2005-09-19  Wim Taymans  <wim@fluendo.com>
6645
6646         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6647         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6648         (send_messages), (GST_START_TEST), (gstbus_suite):
6649         * check/gst/gstpipeline.c: (GST_START_TEST):
6650         * check/pipelines/cleanup.c: (run_pipeline):
6651         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6652         (GST_START_TEST):
6653         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6654         (gst_bus_source_check), (gst_bus_source_dispatch),
6655         (gst_bus_create_watch), (gst_bus_add_watch_full),
6656         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6657         * gst/gstbus.h:
6658         * tools/gst-launch.c: (event_loop):
6659         * tools/gst-md5sum.c: (event_loop):
6660         GstBusHandler -> GstBusFunc, return value has the same meaning as
6661         any other GSource (FALSE == remove source).
6662         _add_watch() and _add_watch_full() now take a MessageType mask to
6663         only handle specific types of messages.
6664         _poll() returns the GstMessage instead of the message type to avoid
6665         race conditions.
6666         _have_pending() takes a MessageType mask now too.
6667         Added testsuite for multiple bus watches.
6668         Fix testsuites and applications for new bus API.
6669
6670 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6671
6672         * check/Makefile.am:
6673           mark a bunch of the tests as to fix until we fix them
6674
6675 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6676
6677         * common/check.mak:
6678           use GST_PLUGIN settings for valgrind tests as well, so we're
6679           valgrinding the correct thing
6680         * gst/gst.c: (init_post):
6681           plug another leak
6682
6683 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6684
6685         * gst/gst.c: (init_post), (gst_deinit):
6686         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6687         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6688         * gst/gstindex.c: (gst_index_factory_class_init),
6689         (gst_index_factory_finalize):
6690         * gst/gstobject.c: (gst_object_dispose):
6691         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6692         (gst_plugin_load_file), (gst_plugin_desc_free):
6693         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6694         (gst_plugin_feature_finalize):
6695         * gst/gstregistry.c: (gst_registry_class_init),
6696         (gst_registry_init), (gst_registry_finalize),
6697         (gst_registry_get_default), (gst_registry_deinit):
6698         * gst/gstregistry.h:
6699         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6700           various cleanups and memleak plugging.  make valgrind is happy now.
6701
6702 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6703
6704         * common/check.mak:
6705           add a check-valgrind target
6706
6707 2005-09-18  David Schleef  <ds@schleef.org>
6708
6709         * tools/gst-inspect.c: Revert the GOption code.
6710
6711 2005-09-17  David Schleef  <ds@schleef.org>
6712
6713         * check/Makefile.am: Fix environment variables.
6714         * check/gst/gstplugin.c: Fix for API changes.
6715         * tools/gst-inspect.c: Fix for API changes.
6716         * tools/gst-xmlinspect.c: Fix for API changes.
6717         * gst/gstelementfactory.c:
6718         * gst/gstplugin.c:
6719         * gst/gstplugin.h:
6720         * gst/gstpluginfeature.c:
6721         * gst/gstpluginfeature.h:
6722         * gst/gstregistry.c:
6723         * gst/gstregistry.h:
6724         * gst/gstregistryxml.c:
6725         * gst/gsttypefind.c:
6726         * gst/gsttypefindfactory.c:
6727         * gst/indexers/gstfileindex.c:
6728         * gst/indexers/gstmemindex.c:
6729         * gst/schedulers/Makefile.am:
6730           Change registry to keep track of both plugins and features,
6731           removing the feature tracking from plugins themselves.
6732
6733 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6734
6735         * check/Makefile.am:
6736         * tools/gst-register.1.in:
6737           remove gst-register
6738
6739 2005-09-15  David Schleef  <ds@schleef.org>
6740
6741         * check/gst/gstplugin.c:
6742         * gst/gstelementfactory.c:
6743         * gst/gstplugin.c:
6744         * gst/gstpluginfeature.c:
6745         * gst/gstregistry.c:
6746           Getting tired of debugging.  Disabled all the unreffing of
6747           plugins and features, which fixes the segfaults, but of
6748           course leaks like crazy.  At least playbin works.
6749
6750 2005-09-15  David Schleef  <ds@schleef.org>
6751
6752         * check/gst/gstplugin.c: (register_check_elements),
6753         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6754         More testing
6755         * gst/elements/gsttypefindelement.c: Fix refcounting.
6756         * gst/gsttypefind.c:
6757         * gst/gsttypefindfactory.c:
6758         * gst/gsttypefindfactory.h:
6759
6760 2005-09-15  David Schleef  <ds@schleef.org>
6761
6762         * gst/gstindex.c: get refcounting correct.
6763         * gst/gstregistry.c: Handle the case where a feature/plugin is
6764           not found.
6765
6766 2005-09-15  David Schleef  <ds@schleef.org>
6767
6768         * check/Makefile.am:
6769         * check/gst/gstplugin.c: Add test
6770         * gst/gstplugin.c: Fix problems noticed by testsuite
6771         * gst/gstplugin.h:
6772         * gst/gstregistry.c: 
6773         * gst/gstregistry.h:
6774
6775 2005-09-15  David Schleef  <ds@schleef.org>
6776
6777         * gst/gstplugin.c: Implement semi-decent recounting and locking
6778           in plugins and plugin features.
6779         * gst/gstplugin.h:
6780         * gst/gstpluginfeature.c:
6781         * gst/gstpluginfeature.h:
6782         * gst/gstregistry.c:
6783
6784 2005-09-15  Michael Smith <msmith@fluendo.com>
6785
6786         * gst/gstregistry.c: (gst_registry_get_feature_list):
6787           Implement this. Makes oggdemux work; decodebin still broken.
6788
6789 2005-09-14  David Schleef  <ds@schleef.org>
6790
6791         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6792           #316076)
6793         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6794         * gst/check/Makefile.am:
6795         * libs/gst/controller/Makefile.am:
6796         * libs/gst/dataprotocol/Makefile.am:
6797
6798 2005-09-14  David Schleef  <ds@schleef.org>
6799
6800         * configure.ac: Remove getbits library.  Nothing uses it, and
6801           it should be in something like liboil if someone did want
6802           to use it.
6803         * libs/gst/Makefile.am:
6804         * libs/gst/getbits/Makefile.am:
6805         * libs/gst/getbits/gbtest.c:
6806         * libs/gst/getbits/getbits.c:
6807         * libs/gst/getbits/getbits.h:
6808         * libs/gst/getbits/gstgetbits_generic.c:
6809         * libs/gst/getbits/gstgetbits_i386.s:
6810         * libs/gst/getbits/gstgetbits_inl.h:
6811
6812 2005-09-14  David Schleef  <ds@schleef.org>
6813
6814         * gst/Makefile.am: Dist glib-compat.h
6815
6816 2005-09-14  David Schleef  <ds@schleef.org>
6817
6818         * configure.ac: Remove gst/registries, since it's no longer used.
6819         * gst/registries/Makefile.am:
6820         * gst/registries/gstlibxmlregistry.c:
6821         * gst/registries/gstlibxmlregistry.h:
6822         * gst/registries/gstxmlregistry.c:
6823         * gst/registries/gstxmlregistry.h:
6824         * gst/registries/registrytest.c:
6825
6826 2005-09-14  David Schleef  <ds@schleef.org>
6827
6828         * gst/glib-compat.h:
6829         * gst/gstregistryxml.c:
6830           Convergence is near.  Seriously.
6831
6832 2005-09-14  David Schleef  <ds@schleef.org>
6833
6834         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6835         * gst/glib-compat.h:
6836           Attempt #4 to appease the buildbots.
6837
6838 2005-09-14  David Schleef  <ds@schleef.org>
6839
6840         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6841           Attempt #3.
6842
6843 2005-09-14  David Schleef  <ds@schleef.org>
6844
6845         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6846         Attempt #2.
6847
6848 2005-09-14  David Schleef  <ds@schleef.org>
6849
6850         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6851           the new functions.
6852
6853 2005-09-14  David Schleef  <ds@schleef.org>
6854
6855         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6856         * gst/glib-compat.h: Add some functions that are in newer versions
6857           of glib than we care to require.
6858         * gst/gstregistryxml.c: Use them.
6859
6860 2005-09-14  David Schleef  <ds@schleef.org>
6861
6862         * po/POTFILES.in: remove gst-register.c
6863
6864 2005-09-14  David Schleef  <ds@schleef.org>
6865
6866         * docs/gst/gstreamer-docs.sgml:
6867         * docs/gst/gstreamer-sections.txt:
6868         * docs/gst/gstreamer.types:
6869         * docs/gst/tmpl/gstelement.sgml:
6870         * docs/gst/tmpl/gstplugin.sgml:
6871         * docs/gst/tmpl/gstpluginfeature.sgml:
6872           Documentation updates for registry changes.
6873
6874 2005-09-14  David Schleef  <ds@schleef.org>
6875
6876         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6877           because we don't require glib-2.8.
6878
6879 2005-09-14  David Schleef  <ds@schleef.org>
6880
6881         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6882           registries directory.
6883
6884 2005-09-14  David Schleef  <ds@schleef.org>
6885
6886         * check/Makefile.am:
6887         * check/generic/states.c:
6888         * gst/Makefile.am:
6889         * gst/gst.c:
6890         * gst/gst.h:
6891         * gst/gst_private.h:
6892         * gst/gstelementfactory.c:
6893         * gst/gstindex.c:
6894         * gst/gstinfo.c:
6895         * gst/gstplugin.c:
6896         * gst/gstplugin.h:
6897         * gst/gstpluginfeature.c:
6898         * gst/gstpluginfeature.h:
6899         * gst/gstregistry.c:
6900         * gst/gstregistry.h:
6901         * gst/gstregistrypool.c: remove
6902         * gst/gstregistrypool.h: remove
6903         * gst/gsttypefind.c:
6904         * gst/gsttypefindfactory.c:
6905         * gst/gsturi.c:
6906         * tools/Makefile.am:
6907         * tools/gst-compprep.c:
6908         * tools/gst-inspect.c:
6909         * tools/gst-register.c: remove
6910         * tools/gst-xmlinspect.c:
6911           Registry rewrite.  Changes registry from being a file created
6912           by a tool into a simple cache file created automatically by 
6913           libgstreamer.  Removed gst-register (because it's no longer
6914           needed).  Remove registry pools, because we only have one
6915           registry implementation (XML).  Fix up other subsystems as
6916           necessary.
6917
6918 2005-09-13  Michael Smith <msmith@fluendo.com>
6919
6920         * gst/gstconfig.h.in:
6921           Don't Use windows linking attributes for MinGW. Fixes #316157
6922
6923 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6924
6925         * gst/gstutils.c: (set_state_async_thread_func),
6926         (gst_element_set_state_async):
6927           Apparently people think it's better if this function doesn't
6928           try to set the state to whatever state was asked for on the first
6929           call to this function for any object.  Seriously.
6930
6931 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6932
6933         * check/gst/gstpipeline.c: (GST_START_TEST):
6934         * docs/gst/gstreamer-sections.txt:
6935         * gst/gstutils.c: (set_state_async_thread_func),
6936         (gst_element_set_state_async):
6937         * gst/gstutils.h:
6938           add a "gst_element_set_state_async" method that
6939           sets the state and starts a thread to make sure the state
6940           change completes as best as it can
6941
6942 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6943
6944         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6945           codify design+behaviour in testsuite after discussion
6946
6947 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6948
6949         * docs/gst/tmpl/gstelement.sgml:
6950         * docs/manual/appendix-quotes.xml:
6951           add a quote
6952         * gst/gstelement.c: (gst_element_set_state):
6953           add some debug
6954
6955 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6956
6957         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6958         (gst_base_transform_prepare_output_buf),
6959         (gst_base_transform_handle_buffer):
6960         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6961         (gst_capsfilter_prepare_buf):
6962           Remove the requirement for sub-classes to call the parent
6963           implementation of prepare_output_buffer with a wrapper function.
6964           
6965         * gst/gsttaglist.h:
6966         * gst/gsttagsetter.h:
6967           Fix #define wrapper
6968
6969 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6970
6971         * docs/gst/gstreamer-sections.txt:
6972           more doc cleanups
6973
6974 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6975
6976         * docs/gst/gstreamer-sections.txt:
6977         * docs/gst/tmpl/gstelement.sgml:
6978         * docs/gst/tmpl/gstplugin.sgml:
6979         * gst/gstminiobject.c:
6980         * gst/gstvalue.h:
6981           docs now stop throwing warnings
6982
6983 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6984
6985         * docs/gst/gstreamer-sections.txt:
6986         * docs/gst/gstreamer.types:
6987         * docs/gst/tmpl/gstpad.sgml:
6988         * docs/gst/tmpl/gsttypes.sgml:
6989         * gst/base/gstadapter.h:
6990         * gst/base/gstbasesink.h:
6991         * gst/base/gstbasesrc.h:
6992         * gst/gstbin.h:
6993         * gst/gstbuffer.h:
6994         * gst/gstbus.h:
6995         * gst/gstcaps.h:
6996         * gst/gstclock.h:
6997         * gst/gstelement.h:
6998         * gst/gstevent.h:
6999         * gst/gstmessage.h:
7000         * gst/gstpad.h:
7001         * gst/gststructure.c:
7002         * gst/registries/gstlibxmlregistry.h:
7003           various documentation fixes
7004
7005 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7006
7007         * docs/gst/gstreamer-sections.txt:
7008         * docs/gst/tmpl/gstvalue.sgml:
7009           rearrange gstvalue section
7010         * gst/gstutils.c: (gst_element_state_get_name):
7011           NONE -> VOID
7012         * gst/gstvalue.c: (_gst_value_initialize):
7013         * gst/gstvalue.h:
7014           doc updates
7015
7016 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
7017
7018         * check/gst-libs/controller.c:
7019           Header include fix.
7020         * gst/base/gstbasetransform.c:
7021         (gst_base_transform_default_prepare_buf),
7022         (gst_base_transform_handle_buffer):
7023         * gst/base/gstbasetransform.h:
7024           Some more basetransform changes and fixes to enable sub-classes
7025           that modify buffer metadata only.
7026         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7027         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7028         (gst_capsfilter_prepare_buf):
7029           If the output pad has fixed allowed caps and input buffers 
7030           don't have any, set the fixed caps on outgoing buffers.
7031
7032 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7033         * check/elements/identity.c: (GST_START_TEST):
7034           Make the error a little clearer when the test fails because
7035           identity made a copy of the buffer.
7036         * docs/gst/gstreamer-sections.txt:
7037           New symbols in gstbasetransform.h
7038         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7039         (gst_base_transform_init), (gst_base_transform_transform_size),
7040         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7041         (gst_base_transform_default_prepare_buf),
7042         (gst_base_transform_get_unit_size),
7043         (gst_base_transform_buffer_alloc),
7044         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7045         (gst_base_transform_change_state),
7046         (gst_base_transform_set_passthrough),
7047         (gst_base_transform_set_in_place),
7048         (gst_base_transform_is_in_place):
7049         * gst/base/gstbasetransform.h:
7050           Change BaseTransform to separate in_place operate from same_caps
7051           output. in_place implies that the element can perform the transform
7052           on incoming buffers in-place, even if the caps on the output are
7053           different.
7054           Sub-class elements can now implement special buffer allocation
7055           methods for outgoing buffers if they wish to.
7056           Big documentation addition.
7057         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7058         * gst/elements/gstelements.c:
7059           Changes for basetransform modifications.
7060         * gst/elements/Makefile.am:
7061         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7062           Compile fix. Extra debug output.
7063
7064 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7067         (gst_pad_suite):
7068           add tests for valid pad naming
7069         * gst/check/gstcheck.c: (gst_check_log_message_func),
7070         (gst_check_log_critical_func):
7071           add ASSERT_WARNING
7072           remove printing of code, it is fragile when the code contains
7073           % and the line number is enough info
7074         * gst/check/gstcheck.h:
7075         * gst/gstpad.c: (gst_pad_template_new):
7076           fix memleaks
7077
7078 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7079
7080         * configure.ac:
7081           say what CHECK flags we use
7082         * docs/libs/gstreamer-libs.types:
7083         * libs/gst/controller/Makefile.am:
7084         * libs/gst/controller/gst-controller.c:
7085         * libs/gst/controller/gst-controller.h:
7086         * libs/gst/controller/gst-helper.c:
7087         * libs/gst/controller/gst-interpolation.c:
7088         * libs/gst/controller/gstcontroller.c:
7089         * libs/gst/controller/gsthelper.c:
7090         * libs/gst/controller/gstinterpolation.c:
7091         * tools/gst-inspect.c: (print_plugin_info):
7092           we don't use dashes in header names
7093
7094 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7095
7096         * check/Makefile.am:
7097         * check/gst/.cvsignore:
7098         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7099         (gst_pipeline_suite), (main):
7100           adding a test for pipelines and state changes
7101         * gst/gstutils.c: (get_state_func):
7102           add some debugging
7103         * gstreamer.spec.in:
7104           fix up spec file
7105
7106 2005-09-08  Michael Smith <msmith@fluendo.com>
7107
7108         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7109         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7110         (gst_file_src_is_seekable), (gst_file_src_get_size),
7111         (gst_file_src_start):
7112         * gst/elements/gstfilesrc.h:
7113           Various fixes for unseekable, unmmapable, and non-normal files, so
7114           that fallback to read() rather than mmap() works.
7115         * gst/gstevent.c: (gst_event_new_newsegment):
7116           Allow newsegment events with segment_start == segment_end, as will
7117           correctly happen if you use filesrc on a zero-size file, for
7118           example.
7119
7120 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7121
7122         * gst/gstplugin.c: (gst_plugin_load_file):
7123           Call g_module_close when we don't load the module
7124
7125         * gst/registries/gstlibxmlregistry.c:
7126         (gst_xml_registry_get_property):
7127           Port leak fix from 0.8
7128
7129 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7130
7131         * docs/gst/gstreamer-docs.sgml:
7132         * docs/gst/tmpl/.cvsignore:
7133         * docs/gst/tmpl/gsttrace.sgml:
7134         * docs/gst/tmpl/gsttrashstack.sgml:
7135         * gst/Makefile.am:
7136         * gst/gst.h:
7137         * gst/gstelement.h:
7138         * gst/gstevent.h:
7139         * gst/gstmessage.c:
7140         * gst/gstmessage.h:
7141         * gst/gsttag.c:
7142         * gst/gsttag.h:
7143         * gst/gsttaginterface.c:
7144         * gst/gsttaginterface.h:
7145         * gst/gsttaglist.c:
7146         * gst/gsttaglist.h:
7147         * gst/gsttagsetter.c:
7148         * gst/gsttagsetter.h:
7149         * gst/gsttrace.c:
7150         * gst/gsttrace.h:
7151         * gst/gsttrashstack.c:
7152           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7153           inlined docs for gsttrace, gsttrashstack
7154
7155 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * gst/Makefile.am:
7158         * gst/elements/gstbufferstore.h:
7159         * gst/elements/gsttypefindelement.c:
7160         * gst/elements/gsttypefindelement.h:
7161         * gst/gst.h:
7162         * gst/gsttypefind.c:
7163         * gst/gsttypefind.h:
7164         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7165         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7166         (gst_type_find_factory_dispose),
7167         (gst_type_find_factory_unload_thyself),
7168         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7169         (gst_type_find_factory_get_caps),
7170         (gst_type_find_factory_get_extensions),
7171         (gst_type_find_factory_call_function):
7172         * gst/gsttypefindfactory.h:
7173         * gst/registries/gstlibxmlregistry.c:
7174         * gst/registries/gstxmlregistry.c:
7175           splitted gsttypefind into gsttypefind, gsttypefindfactory
7176
7177 2005-09-07  Andy Wingo  <wingo@pobox.com>
7178
7179         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7180         condition whereby the pad's task function is entered before the
7181         pad_mode variable was set.
7182
7183 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7184
7185         * gst/gstpad.c: (gst_pad_alloc_buffer):
7186           Catch misbehaving pad_alloc functions that don't
7187           set up caps and do it for them.
7188
7189 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7190
7191         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7192           test for pipe!=NULL
7193         * docs/gst/tmpl/.cvsignore:
7194         * docs/gst/tmpl/gstmemchunk.sgml:
7195         * docs/gst/tmpl/gstparse.sgml:
7196         * docs/gst/tmpl/gsttaglist.sgml:
7197         * docs/gst/tmpl/gsttagsetter.sgml:
7198         * docs/gst/tmpl/gsttypefind.sgml:
7199         * docs/gst/tmpl/gsttypefindfactory.sgml:
7200         * gst/gstmemchunk.c:
7201         * gst/gstparse.c:
7202         * gst/gsttag.c:
7203         * gst/gsttaginterface.c:
7204         * gst/gsttypefind.c:
7205         * gst/gsttypefind.h:
7206           inlined more docs
7207
7208 === release 0.9.2 ===
7209
7210 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7211
7212         * NEWS:
7213         * RELEASE:
7214         * configure.ac:
7215           releasing 0.9.2, "South"
7216
7217 2005-09-05  Andy Wingo  <wingo@pobox.com>
7218
7219         * gst/registries/gstxmlregistry.h:
7220         * gst/registries/gstxmlregistry.c: Um... resurrect...
7221         
7222         * gst/registries/gstxmlregistry.h:
7223         * gst/registries/gstxmlregistry.c: and update to newer API.
7224         Incidentally they should be a bit faster now that they don't have
7225         to parse the caps.
7226         
7227 2005-09-05  Andy Wingo  <wingo@pobox.com>
7228
7229         * gst/registries/gstxmlregistry.h:
7230         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7231         replaced by the libxml registry a while back
7232
7233 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7234
7235         * docs/gst/tmpl/gstplugin.sgml:
7236         * gst/elements/gstelements.c:
7237         * gst/gst.c:
7238         * gst/gstplugin.c: (gst_plugin_register_func),
7239         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7240         (gst_plugin_get_source):
7241         * gst/gstplugin.h:
7242         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7243         (gst_xml_registry_save_plugin):
7244         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7245         (gst_xml_registry_save_plugin):
7246         * tools/gst-inspect.c: (print_plugin_info):
7247           add a "source" plugin description field, to represent the source
7248           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7249           will set it to PACKAGE, which is automake's idea of the name of
7250           the source project.
7251
7252 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7253
7254         * Makefile.am:
7255         * autogen.sh:
7256         * configure.ac:
7257         * docs/Makefile.am:
7258         * docs/faq/Makefile.am:
7259         * docs/gst/tmpl/gstelement.sgml:
7260         * docs/gst/tmpl/gsttypes.sgml:
7261         * docs/htmlinstall.mak:
7262         * docs/manual/Makefile.am:
7263         * docs/pwg/Makefile.am:
7264           reorganize doc build a little
7265           split out docbook and gtk-doc stuff
7266           have two separate --enable's and enable them through autogen
7267           but disable by default in configure (to be similar to other
7268           projects)
7269         * gstreamer.spec.in:
7270           clean up docs install
7271         * po/af.po:
7272         * po/az.po:
7273         * po/ca.po:
7274         * po/cs.po:
7275         * po/de.po:
7276         * po/en_GB.po:
7277         * po/fr.po:
7278         * po/it.po:
7279         * po/nb.po:
7280         * po/nl.po:
7281         * po/ru.po:
7282         * po/sq.po:
7283         * po/sr.po:
7284         * po/sv.po:
7285         * po/tr.po:
7286         * po/uk.po:
7287         * po/vi.po:
7288           translation updates
7289
7290 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7293           Add comment.
7294           
7295         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7296         (gst_fake_sink_change_state):
7297           Make state change function thread-safe.
7298           
7299         * gst/gstpad.c: (gst_pad_alloc_buffer):
7300           Set offset on generic buffer allocated by fallback.
7301
7302 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7303
7304         * docs/gst/gstreamer-sections.txt:
7305         * docs/gst/tmpl/gstelement.sgml:
7306         * gst/gstpad.c:
7307         * libs/gst/controller/gst-controller.c:
7308         (gst_controlled_property_set_interpolation_mode),
7309         (gst_controlled_property_new),
7310         (gst_controller_find_controlled_property):
7311          run the wingo-magic script against the docs
7312
7313 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7314
7315         * docs/gst/gstreamer-docs.sgml:
7316         * docs/gst/gstreamer-sections.txt:
7317         * docs/gst/tmpl/.cvsignore:
7318         * docs/gst/tmpl/gstelementdetails.sgml:
7319         * docs/gst/tmpl/gstelementfactory.sgml:
7320         * gst/gst.c:
7321         * gst/gstbus.c:
7322         * gst/gstelementfactory.c:
7323         * gst/gstelementfactory.h:
7324           merged elementdetails docs into elementfactory docs
7325           inlined both
7326
7327 2005-09-02  Andy Wingo  <wingo@pobox.com>
7328
7329         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7330         consider this enum an enum and not a flags.
7331
7332 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * docs/gst/gstreamer-docs.sgml:
7335         * docs/gst/tmpl/.cvsignore:
7336         * docs/gst/tmpl/gstghostpad.sgml:
7337         * docs/gst/tmpl/gstiterator.sgml:
7338         * docs/gst/tmpl/gstmacros.sgml:
7339         * docs/gst/tmpl/gstrealpad.sgml:
7340         * docs/gst/tmpl/gstregistry.sgml:
7341         * docs/gst/tmpl/gstregistrypool.sgml:
7342         * docs/gst/tmpl/gststructure.sgml:
7343         * docs/gst/tmpl/gstsystemclock.sgml:
7344         * docs/gst/tmpl/gsttrace.sgml:
7345         * gst/gstghostpad.c:
7346         * gst/gstmacros.h:
7347         * gst/gstmemchunk.c:
7348         * gst/gstmemchunk.h:
7349         * gst/gstqueue.c:
7350         * gst/gstregistry.c:
7351         * gst/gstregistrypool.c:
7352         * gst/gststructure.c:
7353         * gst/gstsystemclock.c:
7354           more docs inlined
7355
7356 2005-09-02  Andy Wingo  <wingo@pobox.com>
7357
7358         * gst/gstelement.h (GstState): Renamed from GstElementState,
7359         changed to be a normal enum instead of flags.
7360         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7361         munged to be GST_STATE_CHANGE_*.
7362         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7363         work with the new state representation.
7364         (GstStateChange): New enumeration of possible state transitions.
7365         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7366         (GstElementClass::change_state): Pass the GstStateChange along as
7367         an argument. Helps language bindings, so they don't have to use
7368         tricky lock-needing macros like GST_STATE_CHANGE ().
7369
7370         * scripts/update-states (file): New script. Run it on a file to
7371         update it for state naming and API changes. Updates files in
7372         place.
7373
7374         * All files updated for the new API.
7375
7376 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7377
7378         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7379         * gst/gstutils.c: (gst_util_set_value_from_string),
7380         (gst_util_set_object_arg):
7381           fix a bunch of unchecked return values
7382         * tools/gst-complete.c: (main):
7383         * gstreamer.spec.in:
7384           clean up a little
7385
7386 2005-09-01  Wim Taymans  <wim@fluendo.com>
7387
7388         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7389         (gst_base_sink_event), (gst_base_sink_do_sync),
7390         (gst_base_sink_handle_event):
7391         * gst/base/gstbasesink.h:
7392         Handle newsegments more correctly.
7393
7394         * gst/gstbus.c:
7395         Fix docs.
7396
7397         * gst/gstevent.c: (gst_event_new_newsegment):
7398         A newsegment cannot have a start_time of -1
7399
7400 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7401
7402         * win32/gstenumtypes.c:
7403         * win32/gstenumtypes.h:
7404           Update
7405
7406 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7407
7408         * libs/gst/controller/gst-controller.c:
7409         (gst_controlled_property_set_interpolation_mode),
7410         (gst_controlled_property_new):
7411          fixed boolean again
7412
7413 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7414
7415         * docs/faq/gst-uninstalled:
7416           add -good
7417         * gst/gstevent.c:
7418         * gst/gstevent.h:
7419           remove wrong docs
7420         * gst/gstutils.c: (gst_element_link_filtered):
7421         * gst/gstutils.h:
7422           add gst_element_link_filtered
7423
7424 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7425
7426         * docs/gst/gstreamer-docs.sgml:
7427         * docs/gst/gstreamer-sections.txt:
7428         * docs/gst/tmpl/.cvsignore:
7429         * docs/gst/tmpl/gsterror.sgml:
7430         * docs/gst/tmpl/gstfilter.sgml:
7431         * docs/gst/tmpl/gsturihandler.sgml:
7432         * docs/gst/tmpl/gsturitype.sgml:
7433         * docs/gst/tmpl/gstutils.sgml:
7434         * docs/gst/tmpl/gstxml.sgml:
7435         * gst/gsterror.c:
7436         * gst/gsterror.h:
7437         * gst/gstfilter.c:
7438         * gst/gsturi.c:
7439         * gst/gsturitype.c:
7440         * gst/gstutils.c:
7441         * gst/gstxml.c:
7442           inlined more docs, fixed double id-ref
7443
7444 2005-08-31  Wim Taymans  <wim@fluendo.com>
7445
7446         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7447         (gst_base_transform_handle_buffer):
7448         Passthrough elements don't need the caps as they don't care.
7449
7450 2005-08-31  Wim Taymans  <wim@fluendo.com>
7451
7452         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7453         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7454         Don't leak refcounts on buffers.
7455
7456 2005-08-31  Wim Taymans  <wim@fluendo.com>
7457
7458         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7459         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7460         (gst_base_transform_chain), (gst_base_transform_change_state):
7461         * gst/base/gstbasetransform.h:
7462         Handle the case where we are not negotiated more gracefully.
7463
7464 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7465
7466         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7467         (gst_file_src_map_region):
7468           Set READONLY flag on mmap'ed buffers, otherwise
7469           gst_buffer_make_writable() won't work properly (#314708).
7470
7471 2005-08-31  Wim Taymans  <wim@fluendo.com>
7472
7473         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7474         passthrough elements can even do inplace on non writable
7475         buffers (as they don't touch them).
7476
7477 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7478
7479         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7480         (gst_test_mono_source_set_property),
7481         (gst_test_mono_source_class_init), (GST_START_TEST),
7482         (gst_controller_suite):
7483           more tests (hehe I have the most)
7484         * gst/gstbus.c:
7485           describe popping messages whenusing mulltiple sources
7486         * libs/gst/controller/gst-controller.c:
7487         (gst_controlled_property_set_interpolation_mode),
7488         (gst_controlled_property_new):
7489         * libs/gst/controller/gst-controller.h:
7490         * libs/gst/controller/gst-interpolation.c:
7491           implement boolean properties
7492
7493 2005-08-31  Wim Taymans  <wim@fluendo.com>
7494
7495         * gst/gstminiobject.c: (gst_mini_object_ref):
7496         Cannot assert that the refcount has to be positive
7497         since a disposed object can be resurrected.
7498
7499 2005-08-31  Wim Taymans  <wim@fluendo.com>
7500
7501         * gst/gstpad.c: (gst_pad_init):
7502         Revert change, need to first fix badly behaving 
7503         apps.
7504
7505 2005-08-30  Wim Taymans  <wim@fluendo.com>
7506
7507         * check/elements/fakesrc.c: (setup_fakesrc):
7508         * check/elements/identity.c: (setup_identity):
7509         Activate pads before using them.
7510
7511 2005-08-30  Wim Taymans  <wim@fluendo.com>
7512
7513         * gst/base/gstadapter.c: (gst_adapter_flush):
7514         Flushing out 0 bytes is ok for this function.
7515
7516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7517         no newsegment gives a warning and sets the start/stop to 
7518         invalid.
7519
7520         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7521         (gst_base_transform_set_passthrough):
7522         Some debug info.
7523
7524         * gst/gstminiobject.c: (gst_mini_object_ref):
7525         Check refcount here too.
7526
7527         * gst/gstpad.c: (gst_pad_init):
7528         Pads are initially flushing and refusing data.
7529
7530         * gst/gstutils.c: (gst_element_link_pads_filtered):
7531         When adding a capsfilter element make sure it has the
7532         same state as the parent bin.
7533
7534 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7535
7536         * docs/gst/tmpl/.cvsignore:
7537         * docs/gst/tmpl/gstformat.sgml:
7538         * docs/gst/tmpl/gstversion.sgml:
7539         * gst/gstbus.h:
7540         * gst/gstformat.c:
7541         * gst/gstformat.h:
7542         * gst/gstversion.h.in:
7543           more docs and two more inlined
7544
7545 2005-08-30  Wim Taymans  <wim@fluendo.com>
7546
7547         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7548         Don't sync to clock.
7549
7550 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7551
7552         * docs/gst/gstreamer-sections.txt:
7553           ultral33t func10ns deserve to appear in the docs actually
7554         * docs/gst/tmpl/.cvsignore:
7555         * docs/gst/tmpl/gstcompat.sgml:
7556         * docs/gst/tmpl/gstconfig.sgml:
7557         * gst/check/gstcheck.c:
7558         * gst/gstcompat.h:
7559         * gst/gstconfig.h.in:
7560           inlined more docs
7561
7562 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7563
7564         * docs/gst/tmpl/.cvsignore:
7565         * docs/gst/tmpl/gstquery.sgml:
7566         * docs/gst/tmpl/gstutils.sgml:
7567         * gst/gstquery.c:
7568         * gst/gstquery.h:
7569           inlined and extended docs
7570
7571 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7572
7573         * check/gst-libs/controller.c: (GST_START_TEST),
7574         (gst_controller_suite):
7575           more tests
7576         * docs/gst/tmpl/gstutils.sgml:
7577         * docs/libs/gstreamer-libs-sections.txt:
7578         * docs/libs/tmpl/gstdataprotocol.sgml:
7579           include path fixes
7580         * examples/controller/audio-example.c: (main):
7581           controller example works now
7582         * gst/gstclock.h:
7583           doc fixes
7584         * tools/gst-inspect.c: (print_element_properties_info):
7585           show param spec flags
7586
7587 2005-08-29  Andy Wingo  <wingo@pobox.com>
7588
7589         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7590
7591 2005-08-28  Andy Wingo  <wingo@pobox.com>
7592
7593         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7594         as having two arguments instead of just one. Allows superclasses
7595         to access information on subclasses -- see the terrible for() loop
7596         in gtype.c:g_type_create_instance for the reason why. All callers
7597         changed.
7598
7599 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7600
7601         * docs/design/part-messages.txt:
7602           update info
7603         * docs/gst/tmpl/.cvsignore:
7604         * docs/gst/tmpl/gstcaps.sgml:
7605         * docs/gst/tmpl/gstclock.sgml:
7606         * gst/gstbus.c:
7607         * gst/gstcaps.c:
7608         * gst/gstcaps.h:
7609         * gst/gstclock.c:
7610         * gst/gstclock.h:
7611         * gst/gstmessage.c:
7612           added descriptions for bus and message
7613           inline caps and clock docs
7614
7615 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7616
7617         * gst/gstmessage.c:
7618         * gst/gstmessage.h:
7619           doc fixes
7620
7621 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7622
7623         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7624           fix div-by-zero
7625
7626 2005-08-26  Andy Wingo  <wingo@pobox.com>
7627
7628         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7629         element_set_state's return val.
7630         (test_2_elements): Add test that's been disabled for months.
7631
7632         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7633         can-activate-pull properties.
7634
7635         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7636         can-activate-pull properties. Implement is_seekable so fakesrc can
7637         operate in pull mode.
7638
7639         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7640         properties.
7641         (gst_base_sink_activate, gst_base_sink_activate_pull)
7642         (gst_base_sink_activate_push): Make activation mode choosing work.
7643         Cleanups.
7644         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7645         is right. Make pull mode work. Post an eos before pausing in pull
7646         mode.
7647         (gst_base_sink_change_state): Pay attention to the core's
7648         change_state() return val.
7649         
7650         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7651         has-getrange properties. Cleanups.
7652         
7653         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7654         has_getrange and replace with can_activate_pull and
7655         can_activate_push.
7656
7657         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7658         locking comments. Remove has_loop, has_chain and replace with
7659         can_activate_pull and can_activate_push.
7660
7661 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7662
7663         * configure.ac:
7664         * examples/Makefile.am:
7665         * examples/metadata/Makefile.am:
7666         * examples/metadata/read-metadata.c: (message_loop),
7667         (have_pad_handler), (make_pipeline), (print_tag), (main):
7668           Add metadata reading example that loops over a list of filenames,
7669           dumping any tags found.
7670
7671         * gst/gstbus.c: (gst_bus_dispose):
7672         * gst/gstelement.c: (gst_element_dispose):
7673           Release a few potentially-held references in dispose.
7674
7675 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7676
7677         * docs/gst/tmpl/gstminiobject.sgml:
7678           do *not* add tmpl/*.sgml files to CVS!
7679
7680 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7681
7682         * libs/gst/bytestream/.cvsignore:
7683         * libs/gst/bytestream/Makefile.am:
7684         * libs/gst/bytestream/adapter.c:
7685         * libs/gst/bytestream/adapter.h:
7686         * libs/gst/bytestream/bytestream.c:
7687         * libs/gst/bytestream/bytestream.h:
7688         * libs/gst/bytestream/filepad.c:
7689         * libs/gst/bytestream/filepad.h:
7690           removing obsolete files
7691
7692 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7693
7694         * docs/gst/gstreamer-docs.sgml:
7695         * docs/libs/gstreamer-libs-docs.sgml:
7696           disabed additional index entries again, as this makes docs-gen just
7697           slow and they aren't useful yet
7698         * docs/libs/gstreamer-libs-sections.txt:
7699           little -section.txt cleanup for libs
7700
7701 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7702
7703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7704         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7705           fix up some debugging
7706         (gst_base_transform_get_unit_size),
7707         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7708         (gst_base_transform_handle_buffer):
7709         * gst/base/gstbasetransform.h:
7710           handle and store timed NEWSEGMENT events so that subclasses that
7711           calculate time by counting samples have a segment_start time they
7712           need to add to their timestamps - see audioresample
7713
7714 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7715
7716         * gst/gstbin.h:
7717           removed ';' from the end of macro defs
7718         * docs/gst/gstreamer-docs.sgml:
7719         * docs/gst/gstreamer-sections.txt:
7720         * docs/gst/tmpl/.cvsignore:
7721         * gst/gstbus.h:
7722         * gst/gstelement.c: (gst_element_class_init),
7723         (gst_element_set_state), (activate_pads),
7724         (gst_element_save_thyself):
7725         * gst/gstevent.c: (gst_event_new_newsegment):
7726         * gst/gstevent.h:
7727         * gst/gstiterator.c:
7728         * gst/gstiterator.h:
7729         * gst/gstpad.c:
7730         * gst/gstprobe.h:
7731         * gst/gstutils.c: (gst_pad_query_convert):
7732         * gst/gstutils.h:
7733           fixed parameter name mismatches between source, header and docs
7734           added some more docs, resolved the last batch of unused elements in
7735           docs (now someone needs to doc them)
7736
7737 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7738
7739         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7740         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7741           don't walk through the plugins backwards.  Where is all this
7742           reversed logic coming from ?
7743
7744 2005-08-25  Wim Taymans  <wim@fluendo.com>
7745
7746         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7747         (gst_base_transform_transform_size),
7748         (gst_base_transform_configure_caps),
7749         (gst_base_transform_get_unit_size),
7750         (gst_base_transform_buffer_alloc),
7751         (gst_base_transform_change_state):
7752         * gst/base/gstbasetransform.h:
7753         Cache caps unit_size.
7754         Make sure we cannot negotiate up and downstream at the
7755         same time.
7756
7757 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * gst/gst.c: (init_pre), (init_post):
7760           register the installed plugin path after the env var
7761         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7762         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7763           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7764           directories, so the tests can prefer uninstalled over installed
7765
7766 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7767
7768         * gst/base/gstbasetransform.h:
7769           comment
7770         * gst/gstpad.c:
7771           add to docs
7772
7773 2005-08-25  Wim Taymans  <wim@fluendo.com>
7774
7775         * gst/gstbin.c: (bin_bus_handler):
7776         Be a bit more conservative about the posted message.
7777         
7778         * gst/gstbus.c: (gst_bus_post):
7779         Some cleanups, warn wrong return values.
7780
7781 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7782
7783         * check/gst/gstbin.c: (GST_START_TEST):
7784         * gst/gstbin.c: (bin_bus_handler):
7785         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7786         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7787         (gst_message_new_warning), (gst_message_new_tag),
7788         (gst_message_new_state_changed), (gst_message_new_segment_start),
7789         (gst_message_new_segment_done), (gst_message_new_custom):
7790         * gst/gstmessage.h:
7791         * tools/gst-launch.c: (event_loop):
7792         * tools/gst-md5sum.c: (event_loop):
7793           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7794
7795 2005-08-25  Wim Taymans  <wim@fluendo.com>
7796
7797         * check/generic/states.c: (GST_START_TEST):
7798         Cleanup can be done at the end.
7799
7800         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7801         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7802         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7803         Oh boy.. Thanks for finding this, Thomas. 
7804
7805 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7806
7807         * docs/gst/gstreamer.types:
7808           added missing types
7809
7810 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7811
7812         * docs/gst/gstreamer-docs.sgml:
7813         * docs/gst/gstreamer-sections.txt:
7814         * docs/gst/tmpl/.cvsignore:
7815         * gst/gstbin.c:
7816         * gst/gstiterator.c:
7817         * gst/gstutils.c:
7818         * gst/registries/gstxmlregistry.h:
7819           added missing classes and symbols (123 more to go)
7820           removed removed symbols from section file
7821           fixed many doc-comments
7822
7823 2005-08-24  Wim Taymans  <wim@fluendo.com>
7824
7825         * check/generic/states.c: (GST_START_TEST):
7826         Make sure all tasks are stopped.
7827
7828         * check/gst/gstbin.c: (GST_START_TEST):
7829         Unref after usage for proper valgrinding.
7830
7831         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7832         Really wait for the task to stop before destroying the
7833         mutex.
7834
7835         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7836         (gst_queue_src_activate_push):
7837         Small cleanups. Don't stop the task when we did not start
7838         it.
7839
7840         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7841         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7842         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7843         (gst_task_join):
7844         * gst/gsttask.h:
7845         Protect the stream lock with the object lock.
7846         Disallow setting the stream lock when running.
7847         Add cleanup_all to wait for the threadpool to finish.
7848         Remove code to autoallocate a mutex if none was provided.
7849         Add _join() to wait for a task to stop.
7850         Protect the thread pool with a global lock.
7851
7852 2005-08-24  Wim Taymans  <wim@fluendo.com>
7853
7854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7855         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7856         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7857         * gst/base/gstbasesink.h:
7858         Handle newsegment events correctly.
7859         Drop buffers out of the segment range.
7860
7861 2005-08-22  Andy Wingo  <wingo@pobox.com>
7862
7863         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7864         macro, implements an interface and gstimplementsinterface for a
7865         new type.
7866
7867 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7868
7869         * check/Makefile.am:
7870         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7871           add a test that does a bunch of state changes on elements
7872           needs some fixing for valgrind
7873         * check/states/sinks.c: (gst_object_suite):
7874           whitespace
7875         * gst/gstcaps.h:
7876           add prototype for gst_caps_is_equal_fixed
7877         * gst/gstplugin.c:
7878         * gst/gstregistrypool.c:
7879           doc fixes
7880
7881 2005-08-24  Andy Wingo  <wingo@pobox.com>
7882
7883         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7884         convert a negative value. Doesn't make much sense. Mostly this is
7885         here to force callers to ensure -1 maps to -1.
7886
7887 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7888
7889         * docs/pwg/advanced-types.xml:
7890           Well done to Michael for catching my deliberate introduction
7891           of this spelling mistake. 
7892         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7893         * gst/gstelement.h:
7894           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7895           unlink pads before removing the element from the bin.
7896
7897 2005-08-24  Andy Wingo  <wingo@pobox.com>
7898
7899         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7900         the same thing as GST_DEBUG=*:4.
7901         (parse_debug_level, parse_debug_category): New helper parsers.
7902
7903 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7904
7905         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7906         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7907         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7908         (gst_base_transform_buffer_alloc),
7909         (gst_base_transform_handle_buffer):
7910           use gboolean return values and pointers to size so we can use the
7911           full GST_BUFFER_SIZE range (guint) for buffer sizes
7912           use GstPadDirection for transform_caps
7913         * gst/base/gstbasetransform.h:
7914           rename get_size to get_unit_size since that's what it is
7915         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7916           use GstPadDirection for transform_caps
7917         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7918         * gst/gstutils.h:
7919           cleanup and debugging
7920
7921 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7922
7923         * gst/gstelement.c: (gst_element_class_init),
7924         (gst_element_set_state), (activate_pads),
7925         (gst_element_save_thyself):
7926         * tools/gst-compprep.c: (main):
7927         * tools/gst-inspect.c: (print_element_properties_info):
7928         * tools/gst-xmlinspect.c: (print_element_properties):
7929           Fixed long standing mem-leak
7930
7931 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * check/gst/gstbin.c: (GST_START_TEST):
7934         * gst/gstbin.c: (bin_bus_handler):
7935         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7936         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7937         (gst_message_new_warning), (gst_message_new_tag),
7938         (gst_message_new_state_changed), (gst_message_new_segment_start),
7939         (gst_message_new_segment_done), (gst_message_new_custom):
7940         * gst/gstmessage.h:
7941         * tools/gst-launch.c: (event_loop):
7942         * tools/gst-md5sum.c: (event_loop):
7943           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7944           that applications can sensibly post custom messages with references
7945           to their own objects.
7946
7947 2005-08-24  Andy Wingo  <wingo@pobox.com>
7948
7949         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7950         already.
7951
7952 2005-08-24  Wim Taymans  <wim@fluendo.com>
7953
7954         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7955         (gst_base_transform_transform_caps),
7956         (gst_base_transform_transform_size),
7957         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7958         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7959         (gst_base_transform_handle_buffer):
7960         * gst/base/gstbasetransform.h:
7961         Many fixes and new features added by Thomas. Can now also do
7962         transforms with variable sizes and a custom fixate_caps function.
7963
7964 2005-08-24  Wim Taymans  <wim@fluendo.com>
7965
7966         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7967         Some debugging.
7968
7969         * gst/gstclock.h:
7970         Cast to ClockTime before formatting to time.
7971
7972         * gst/gstutils.h:
7973         Cleanups.
7974
7975 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7976
7977         * check/gst-libs/controller.c: (GST_START_TEST),
7978         (gst_controller_suite):
7979         * docs/gst/tmpl/gstcaps.sgml:
7980         * docs/gst/tmpl/gstghostpad.sgml:
7981         * docs/gst/tmpl/gstquery.sgml:
7982         * docs/gst/tmpl/gstutils.sgml:
7983         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7984         (gst_object_sink_values), (gst_object_get_value_arrays),
7985         (gst_object_get_value_array):
7986           gracefully handle helper method calls to objects that are not beeing
7987           controlled, added test case for that          
7988
7989 2005-08-23  Wim Taymans  <wim@fluendo.com>
7990
7991         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7992         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7993         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7994         (gst_event_parse_qos), (gst_event_new_seek),
7995         (gst_event_parse_seek):
7996         * gst/gstevent.h:
7997         Some more debugging output and doc cleanups.
7998
7999         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8000         Fix possible deadlock.
8001
8002 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8003
8004         * docs/gst/gstreamer-docs.sgml:
8005         * docs/gst/gstreamer-sections.txt:
8006         * docs/gst/gstreamer.types:
8007         * docs/gst/tmpl/.cvsignore:
8008         * gst/gstbin.h:
8009         * gst/gstbus.c:
8010         * gst/gstelement.c:
8011         * gst/gstevent.h:
8012           added 100 symbols from gstreamer-unused.txt to the right sections
8013           fixed more broken comments
8014           added GstBus to docs
8015
8016 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8017
8018         * docs/gst/gstreamer-sections.txt:
8019         * docs/gst/tmpl/.cvsignore:
8020         * docs/gst/tmpl/gstbin.sgml:
8021         * docs/gst/tmpl/gstbuffer.sgml:
8022         * gst/base/gstbasesrc.c:
8023         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8024         * gst/gstbuffer.c:
8025         * gst/gstbuffer.h:
8026         * tools/gst-launch.1.in:
8027           inlined more doc comments, added missing comments and fixed comments
8028           fixed typos
8029
8030 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8033           some debugging
8034         * gst/gstcaps.h:
8035           whitespace fixes
8036         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8037           more debugging
8038         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8039         * gst/gststructure.h:
8040           add a fixate function for booleans; add a FIXME that these func
8041           names should probably be gst_structure_fixate_*
8042
8043 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8044
8045         * docs/gst/gstreamer-docs.sgml:
8046         * docs/gst/gstreamer-sections.txt:
8047         * gst/Makefile.am:
8048         * gst/gstbin.c: (gst_bin_get_type),
8049         (gst_bin_child_proxy_get_child_by_index),
8050         (gst_bin_child_proxy_get_children_count),
8051         (gst_bin_child_proxy_init):
8052         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8053         (gst_child_proxy_get_child_by_index),
8054         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8055         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8056         (gst_child_proxy_get), (gst_child_proxy_set_property),
8057         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8058         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8059         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8060         * gst/gstchildproxy.h:
8061         * gst/parse/grammar.y:
8062         * tools/gst-inspect.c: (print_interfaces),
8063         (print_element_properties_info), (print_element_info):
8064           ported gstchildproxy over from 0.8
8065           ported gst-inspect fixes and enhancements over from 0.8
8066
8067 2005-08-22  Wim Taymans  <wim@fluendo.com>
8068
8069         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8070         (gst_base_transform_handle_buffer):
8071         Also call the transform function if we have ANY caps.
8072
8073         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8074         Fix debug info.
8075
8076 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8077
8078         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8079           Don't pretend to handle seek events if the source is not seekable
8080
8081 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8082
8083         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8084           Remove extra parameter to debug output
8085
8086         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8087         (gst_base_src_do_seek), (gst_base_src_activate_push):
8088           Fix seek event handling.
8089
8090         * gst/gstpipeline.c: (gst_pipeline_change_state):
8091         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8092         (gst_queue_src_activate_push):
8093           Don't start the src pad task on FLUSH_STOP if the pad
8094           isn't linked.
8095           Debug changes.
8096
8097 2005-08-22  Wim Taymans  <wim@fluendo.com>
8098
8099         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8100         Added check for gst_static_caps_get() refcounting.
8101
8102 2005-08-22  Wim Taymans  <wim@fluendo.com>
8103
8104         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8105         Make _static_caps_get() refcounting sane.
8106         
8107         * gst/gstelement.c: (gst_element_set_state):
8108         Add g_return_val_if_fail() to protect against segfaults.
8109
8110 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8111
8112         * docs/gst/tmpl/gstevent.sgml:
8113         * gst/gstevent.c:
8114         * gst/gstevent.h:
8115           inlined remaining docs, added missing doc comments
8116
8117 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8118
8119         * check/gst/gstbin.c: (GST_START_TEST):
8120           since we don't know when preroll is done, use refcount range
8121           check for the sink
8122         * gst/check/gstcheck.h:
8123           add macro for checking refcount range
8124
8125 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8126
8127         * check/Makefile.am:
8128           clean up environment for when registry gets built versus
8129           when actual tests are run; valgrind seems to not report
8130           leaks if GST_PLUGIN_PATH is set to some specific values
8131         * check/gst/gstbin.c: (GST_START_TEST):
8132           add more refcounting checks; maybe this exposes a
8133           preroll lock bug ?
8134         * common/check.mak:
8135         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8136         * gst/check/gstcheck.h:
8137         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8138         (gst_bin_change_state):
8139         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8140           add/fix debugging/whitespace
8141
8142 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8143
8144         * check/gst/gstevent.c: (event_probe), (test_event),
8145         (GST_START_TEST):
8146          Er, don't call gst_bin_watch_for_state_change you idiot.
8147
8148 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8149
8150         * check/Makefile.am:
8151           Use CHECK_CFLAGS and CHECK_LIBS
8152         * check/gst/gstevent.c: (event_probe), (test_event),
8153         (GST_START_TEST):
8154           Don't leak events.
8155         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8156         (gst_base_src_start), (gst_base_src_stop),
8157         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8158         (gst_base_src_change_state):
8159           Sprinkle gst_base_src_stop liberally around error paths to fix
8160           problems reusing a source after failed state changes.
8161         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8162         (helper_find_suggest), (gst_type_find_helper):
8163           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8164         * gst/gstevent.h:
8165         * docs/gst/tmpl/gstevent.sgml:
8166           Migrate part of the docs from the SGML file. Wait for ensonic to
8167           tell me how I did it wrong ;)
8168         * tools/gst-typefind.c: (main):
8169           Extra robustness to state changes between files.
8170
8171 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8172
8173         * check/Makefile.am:
8174           don't valgrind the controller test - it's leaking - Stefan, HELP
8175         * gst/check/gstcheck.c: (gst_check_message_error),
8176         (gst_check_chain_func), (gst_check_setup_element),
8177         (gst_check_teardown_element), (gst_check_setup_src_pad),
8178         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8179         (gst_check_teardown_sink_pad):
8180         * gst/check/gstcheck.h:
8181           add a bunch of methods to set up elements, and src and sink pads
8182         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8183         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8184         (GST_START_TEST):
8185           use them
8186         * gst/gstmessage.c:
8187         * gst/gsttag.h:
8188           whitespace/doc fixes
8189
8190 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8191
8192         * gst/gstelement.h:
8193           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8194           be handled by the application and not always printed as well
8195
8196 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8197
8198         * check/Makefile.am:
8199           set GST_TOOLS_DIR
8200         * gst/check/gstcheck.c: (gst_check_message_error):
8201         * gst/check/gstcheck.h:
8202           add a fail_unless_equals_int
8203           add fail_unless for error messages
8204
8205 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * check/Makefile.am:
8208         * check/gst.supp:
8209         * common/Makefile.am:
8210         * common/check.mak:
8211         * common/gst.supp:
8212           factor out some of the common stuff so we can use it
8213
8214 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8215
8216         * check/Makefile.am:
8217         * check/gst/gstiterator.c: (GST_START_TEST):
8218         * check/gst/gstsystemclock.c: (GST_START_TEST),
8219         (gst_systemclock_suite):
8220         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8221         * gst/gstclock.c:
8222           valgrind more tests
8223
8224 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8225
8226         * check/elements/.cvsignore:
8227         * check/elements/gstfakesrc.c:
8228           rename to name of element
8229         * check/elements/identity.c: (chain_func), (event_func),
8230         (setup_identity), (cleanup_identity), (GST_START_TEST),
8231         (identity_suite), (main):
8232           add a test for identity
8233         * check/Makefile.am:
8234         * pkgconfig/Makefile.am:
8235         * pkgconfig/gstreamer-check.pc.in:
8236         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8237         * gst/check:
8238         * gst/Makefile.am:
8239         * configure.ac:
8240           move the check stuff to a library that gets installed
8241         * check/gst-libs/controller.c: (GST_START_TEST):
8242         * check/gst-libs/gdp.c:
8243         * check/gst/gst.c: (GST_START_TEST):
8244         * check/gst/gstbin.c:
8245         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8246         * check/gst/gstbus.c:
8247         * check/gst/gstcaps.c: (GST_START_TEST):
8248         * check/gst/gstelement.c:
8249         * check/gst/gstghostpad.c:
8250         * check/gst/gstiterator.c:
8251         * check/gst/gstmessage.c:
8252         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8253         * check/gst/gstobject.c:
8254         * check/gst/gstpad.c: (GST_START_TEST):
8255         * check/gst/gststructure.c: (GST_START_TEST):
8256         * check/gst/gstsystemclock.c: (GST_START_TEST),
8257         (gst_systemclock_suite):
8258         * check/gst/gsttag.c: (gst_tag_suite):
8259         * check/gst/gstvalue.c:
8260         * check/pipelines/cleanup.c:
8261         * check/pipelines/simple_launch_lines.c:
8262         * check/states/sinks.c:
8263           change include statement
8264
8265         * docs/gst/gstreamer-sections.txt:
8266         * docs/gst/tmpl/gstpad.sgml:
8267           document more pad stuff
8268         * gst/gstminiobject.c: (gst_mini_object_ref),
8269         (gst_mini_object_unref):
8270           debug refcounting
8271
8272 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8273
8274         * docs/gst/tmpl/gst.sgml:
8275         * gst/gst.c:
8276           eliminate another tmpl file, fix spelling in the long-description
8277
8278 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8279
8280         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8281         (test_event), (timediff), (gstevents_suite):
8282           Should fix build on 64-bit arch's
8283
8284 2005-08-18  Andy Wingo  <wingo@pobox.com>
8285
8286         Make sure that when a pipeline goes to PLAYING, that data has
8287         actually hit the sink.
8288
8289         * check/states/sinks.c (test_sink): A sink that doesn't get any
8290         data shouldn't return SUCCESS for going to either PLAYING or
8291         PAUSED. Test also the return values on the way back down.
8292
8293         * gst/gstelement.c (gst_element_set_state): When changing the
8294         state of an element currently changing state asynchronously, go to
8295         lost-state after commiting the pending state. Makes future calls
8296         to get_state continue to return ASYNC.
8297
8298         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8299         ASYNC when going to PLAYING if we still don't have preroll, as can
8300         happen with live sources.
8301
8302 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8303
8304         * docs/pwg/advanced-types.xml:
8305           Hack long paragraph into 2 chunks as a workaround for buggy
8306           jadetex version in sid and breezy that loops infinitely and
8307           eats all RAM.
8308
8309 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8310
8311         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8312         (test_event), (timediff), (gstevents_suite):
8313           Provide more error margin in clock measurements to allow for 
8314           g_get_current_time inaccuracies.
8315
8316 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8317
8318         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8319         (test_event), (timediff), (gstevents_suite):
8320            Fix error message output so I might be able to tell why the
8321            test works here but fails on the build farm.
8322
8323 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8324
8325         * check/Makefile.am:
8326         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8327         (test_event), (timediff), (gstevents_suite), (main):
8328           I wrote a test!
8329
8330         * docs/design/part-seeking.txt:
8331           Spelling correction
8332
8333         * docs/gst/tmpl/gstevent.sgml:
8334         * docs/gst/tmpl/gstfakesrc.sgml:
8335           Docs updates.
8336
8337         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8338           Treat a buffer-without-newsegment the same as a receiving 
8339           a newsegment not in time format, and disable syncing to the clock
8340           with a warning.
8341
8342         * gst/gstbus.c: (gst_bus_set_sync_handler):
8343           Assert if anyone tries to replace the existing sync_handler for bus, 
8344           as only the owner should be setting it.
8345
8346         * gst/gstevent.h:
8347           Have a fixed set of custom event enums with events identified by
8348           their structure name (as in 0.8), rather than a free-for-all
8349           allowing collisions between enum values from different plugins.
8350
8351         * gst/gstpad.c: (gst_pad_class_init):
8352           Docs change.
8353           
8354         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8355           Handle out-of-band downstream events from the sending thread.
8356
8357 2005-08-17  Andy Wingo  <wingo@pobox.com>
8358
8359         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8360         play-timeout==0 to mean no timeout at all. In that case, don't
8361         bother with a get_state or a warning, just return directly, even
8362         if it's ASYNC.
8363
8364         * gst/base/gstbasetransform.c: Debug changes.
8365
8366         * gst/gstutils.h:
8367         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8368         ensure bins post state change messages. A bit of a hack but I can't
8369         think of a way to avoid it.
8370
8371         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8372
8373 2005-08-16  Andy Wingo  <wingo@pobox.com>
8374
8375         * gst/base/gstadapter.h:
8376         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8377         peek() but you own the data. Not terribly efficient atm.
8378
8379 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8380
8381         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8382         (gst_element_found_tags):
8383         * gst/gstutils.h:
8384           Add two utility functions for tag handling.
8385
8386 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8387
8388         * docs/manual/advanced-dataaccess.xml:
8389         * docs/manual/basics-helloworld.xml:
8390           Fix docs to use _bin_add() before _link(), which fixes the examples
8391           with recent core versions (reported by Madhan Raj M
8392           <raj_madan@rediffmail.com>, #313199).
8393
8394 2005-08-16  Wim Taymans  <wim@fluendo.com>
8395
8396         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8397         Added subtract checks.
8398
8399         * docs/design/part-events.txt:
8400         Some more docs about newsegment
8401
8402         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8403         Fix FIXME
8404
8405         * gst/gstcaps.c: (gst_caps_to_string):
8406         Add comments, cleanups.
8407         
8408         * gst/gstelement.c: (gst_element_save_thyself):
8409         cleanups
8410         
8411         * gst/gstvalue.c: (gst_value_collect_int_range),
8412         (gst_string_unwrap), (gst_value_union_int_int_range),
8413         (gst_value_union_int_range_int_range),
8414         (gst_value_intersect_int_int_range),
8415         (gst_value_intersect_int_range_int_range),
8416         (gst_value_intersect_double_double_range),
8417         (gst_value_intersect_double_range_double_range),
8418         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8419         (gst_value_subtract_int_range_int),
8420         (gst_value_subtract_double_range_double),
8421         (gst_value_subtract_double_range_double_range),
8422         (gst_value_subtract_from_list), (gst_value_subtract_list),
8423         (gst_value_can_compare), (gst_value_compare_fraction):
8424         Cleanups, add comments, remove unneeded asserts.
8425
8426 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8427
8428         * tools/gst-launch.c: (event_loop):
8429           don't convert NULL structures to strings
8430
8431 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8432
8433         * docs/gst/gstreamer-sections.txt:
8434           made some defines private
8435         * docs/gst/tmpl/gstconfig.sgml:
8436         * docs/gst/tmpl/gstqueue.sgml:
8437         * docs/gst/tmpl/gsttaglist.sgml:
8438         * docs/gst/tmpl/gsttypes.sgml:
8439         * docs/gst/tmpl/gstutils.sgml:
8440         * docs/pwg/appendix-porting.xml:
8441         * gst/base/gstbasesink.h:
8442         * gst/base/gstbasesrc.c:
8443         * gst/base/gstbasesrc.h:
8444         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8445         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8446         * gst/gstelement.c: (gst_element_class_init):
8447         * gst/gstpad.c: (gst_pad_class_init):
8448         * gst/gstqueue.c: (gst_queue_class_init):
8449         * gst/gstxml.c: (gst_xml_class_init):
8450           documented all undocumented signal inline
8451         * libs/gst/controller/gst-controller.h:
8452           added padding
8453
8454 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8455
8456         * docs/pwg/appendix-porting.xml:
8457           Document _set_link_function -> _set_setcaps_function.
8458
8459 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * check/Makefile.am:
8462           add a .check target for running the check
8463         * check/gst-libs/controller.c: (GST_START_TEST):
8464           cosmetic fixups
8465         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8466           complete checks for gstbuffer; would be nice if I could get the
8467           gcov stuff to work so I can see if I actually completed gstbuffer.c
8468         * check/gstcheck.h:
8469           add ASSERT_BUFFER_REFCOUNT
8470
8471 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8472
8473         * docs/gst/gstreamer-sections.txt:
8474         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8475         * gst/gsttag.h:
8476           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8477           spew out a warning if a tag that is already registered
8478           is re-registered, unless it is re-registered with a 
8479           different type (#308438).
8480
8481 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * docs/pwg/appendix-porting.xml:
8484         * docs/pwg/building-state.xml:
8485           Add some paragraphs about state changes in 0.9 to the PWG
8486           and the porting guide, in particular about the new meaning
8487           of GST_STATE_PAUSED and how to write state change functions
8488           with concurrent access by multiple threads in mind.
8489
8490 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8491
8492         * docs/gst/gstreamer-docs.sgml:
8493         * docs/libs/gstreamer-libs-docs.sgml:
8494           added deprecation and since indexes
8495         * libs/gst/controller/gst-controller.c:
8496         * libs/gst/controller/gst-helper.c:
8497           added since tags
8498
8499
8500 2005-08-11  Wim Taymans  <wim@fluendo.com>
8501
8502         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8503         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8504         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8505         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8506         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8507         (gst_ghost_pad_set_target):
8508         Actually implement (re)setting the target on a ghostpad
8509         as described in the docs.
8510
8511 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8512
8513         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8514           Check whether GST_DEBUG_NO_COLOR environment variable is
8515           set and disable coloured debug output if that is the case.
8516
8517 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8518
8519         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8520         (gst_type_find_helper):
8521           The memory returned by gst_type_find_peek() needs to
8522           stay valid until the end of a typefind function, and
8523           typefind functions may keep results from different 
8524           offsets around, so we can't just unref the buffer from
8525           the previous _peek(), but have to save all buffers 
8526           returned by _peek() until typefinding is done and only
8527           free them then.
8528
8529 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8530
8531         * docs/gst/gstreamer-sections.txt:
8532         * gst/gstutils.h:
8533           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8534
8535 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8536
8537         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8538           Fix a pretty good memleak.
8539
8540 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8541
8542         * gst/gstiterator.h:
8543           Fix wrong include and 'make distcheck'.
8544
8545 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8546
8547         * gst/gstbin.c: (bin_bus_handler):
8548           Use gst_element_post_message() instead.
8549
8550 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8551
8552         * gst/base/gstadapter.h:
8553         * gst/base/gstbasesink.h:
8554         * gst/base/gstbasesrc.h:
8555         * gst/base/gstbasetransform.h:
8556         * gst/base/gstcollectpads.h:
8557         * gst/base/gstpushsrc.h:
8558         * gst/gstiterator.h:
8559           Add padding to our base elements' class and instance structs and
8560           to GstIterator (you will need to rebuild all plugins and apps!)
8561
8562 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8563
8564         * gst/gstbin.c: (bin_bus_handler):
8565           Make default message forwarding from child->bus to bin->bus
8566           threadsafe and make it not emit warnings if the parent has no bus.
8567
8568 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8569
8570         * gst/gstelement.c: (activate_pads):
8571           On paused->ready, set pad->caps to NULL, as is the documented
8572           behaviour in this state change. Fixes playback of series of
8573           media files when visualization is enabled in Totem.
8574
8575 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8576
8577         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8578           Allow NULL as filter-caps (which means "any").
8579
8580 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8581
8582         * docs/libs/gstreamer-libs-sections.txt:
8583         * libs/gst/controller/gst-controller.c:
8584         * libs/gst/controller/gst-controller.h:
8585         * libs/gst/controller/gst-helper.c:
8586           adding more entries to the docs and fix small doc-bugs
8587
8588 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8589
8590         * docs/gst/gstreamer-docs.sgml:
8591         * docs/gst/gstreamer-sections.txt:
8592         * docs/gst/gstreamer.types:
8593         * docs/gst/tmpl/gstbasesink.sgml:
8594         * docs/gst/tmpl/gstbasesrc.sgml:
8595         * docs/gst/tmpl/gstbasetransform.sgml:
8596         * docs/gst/tmpl/gstfakesrc.sgml:
8597         * gst/base/gstcollectpads.c:
8598         * gst/base/gstcollectpads.h:
8599         * libs/gst/controller/gst-controller.c:
8600         * libs/gst/controller/gst-controller.h:
8601         * libs/gst/controller/gst-helper.c:
8602         * libs/gst/controller/gst-interpolation.c:
8603         * libs/gst/controller/lib.c:
8604           added long/short desc for controller docs
8605           added collectpads base class docs
8606           added correct includes to base-class docs
8607
8608 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8609
8610         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8611         (gst_test_mono_source_set_property),
8612         (gst_test_mono_source_class_init), (GST_START_TEST),
8613         (gst_controller_suite):
8614         * docs/gst/gstreamer-docs.sgml:
8615         * docs/gst/gstreamer-sections.txt:
8616         * docs/gst/gstreamer.types:
8617         * docs/libs/gstreamer-libs-docs.sgml:
8618         * docs/libs/gstreamer-libs-sections.txt:
8619         * gst/base/gstadapter.c:
8620         * libs/gst/controller/gst-controller.c:
8621         (gst_controlled_property_new), (gst_controlled_property_free),
8622         (gst_controller_new_valist),
8623         (gst_controller_remove_properties_valist),
8624         (gst_controller_sink_values), (_gst_controller_finalize):
8625         * libs/gst/controller/gst-controller.h:
8626         * libs/gst/controller/gst-helper.c:
8627         (gst_object_control_properties), (gst_object_uncontrol_properties),
8628         (gst_object_get_controller), (gst_object_set_controller),
8629         (gst_object_sink_values), (gst_object_get_value_arrays),
8630         (gst_object_get_value_array):
8631           more tests (and fixes) for the controller
8632           more docs for the controller
8633           integrated companies docs for the adapter 
8634
8635 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8636
8637         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8638         (GST_START_TEST), (fakesrc_suite):
8639           add tests for sizetype
8640
8641 2005-08-04  Andy Wingo  <wingo@pobox.com>
8642
8643         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8644         fixes buffer_alloc proxying among other things.
8645
8646         * gst/base/gstbasetransform.c:
8647         * gst/base/gstbasetransform.h:
8648         Revert patch to gstbasetransform from 7-28 removing
8649         delay_configure.
8650
8651         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8652         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8653         Semantics changed, should return not the size of the output buffer
8654         but the byte size of a buffer with a given caps.
8655
8656         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8657         debug object.
8658         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8659         out) are not the pad caps until setcaps finishes.
8660         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8661         not-in-place case as well. Deal with changing from in-place to
8662         not-in-place within calling pad_alloc_buffer. Still a bit
8663         concerned about the overhead here...
8664
8665 2005-08-03  Andy Wingo  <wingo@pobox.com>
8666
8667         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8668         fixating is an error.
8669
8670 2005-08-04  Edward Hervey  <edward@fluendo.com>
8671
8672         * gst/base/gstadapter.h: 
8673         Added gst_adapter_get_type() to the header
8674
8675 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8676
8677         * check/Makefile.am:
8678         * check/gst-libs/controller.c:
8679         * libs/gst/controller/gst-controller.c:
8680         (gst_controller_new_valist):
8681           added check test suite for the controller
8682         * gst/base/gstpushsrc.c:
8683           fixed a doc typo
8684
8685 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8686
8687         * docs/gst/Makefile.am:
8688         * docs/gst/gstreamer-docs.sgml:
8689         * docs/gst/gstreamer-sections.txt:
8690         * docs/gst/gstreamer.types:
8691         * docs/gst/tmpl/gstfakesrc.sgml:
8692         * gst/base/README:
8693         * gst/base/gstbasesink.c:
8694         * gst/base/gstbasesink.h:
8695         * gst/base/gstbasesrc.c:
8696         * gst/base/gstbasesrc.h:
8697         * gst/base/gstbasetransform.c:
8698         * gst/base/gstpushsrc.c:
8699         * gst/base/gstpushsrc.h:
8700           add short/long description docs to base classes
8701           add pushsrc to the docs
8702           remove consolidated doc fragments
8703
8704 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8705
8706         * configure.ac:
8707         * docs/libs/Makefile.am:
8708         * docs/libs/gstreamer-libs-docs.sgml:
8709         * docs/libs/gstreamer-libs-sections.txt:
8710         * docs/libs/gstreamer-libs.types:
8711         * examples/Makefile.am:
8712         * examples/controller/.cvsignore:
8713         * examples/controller/Makefile.am:
8714         * examples/controller/audio-example.c: (main):
8715         * libs/gst/Makefile.am:
8716         * libs/gst/controller/.cvsignore:
8717         * libs/gst/controller/Makefile.am:
8718         * libs/gst/controller/gst-controller.c:
8719         (on_object_controlled_property_changed), (gst_timed_value_compare),
8720         (gst_timed_value_find),
8721         (gst_controlled_property_set_interpolation_mode),
8722         (gst_controlled_property_new), (gst_controlled_property_free),
8723         (gst_controller_find_controlled_property),
8724         (gst_controller_new_valist), (gst_controller_new),
8725         (gst_controller_remove_properties_valist),
8726         (gst_controller_remove_properties), (gst_controller_set),
8727         (gst_controller_set_from_list), (gst_controller_unset),
8728         (gst_controller_get), (gst_controller_get_all),
8729         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8730         (gst_controller_get_value_array),
8731         (gst_controller_set_interpolation_mode),
8732         (_gst_controller_finalize), (_gst_controller_init),
8733         (_gst_controller_class_init), (gst_controller_get_type):
8734         * libs/gst/controller/gst-controller.h:
8735         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8736         (g_object_uncontrol_properties), (g_object_get_controller),
8737         (g_object_set_controller), (g_object_sink_values),
8738         (g_object_get_value_arrays), (g_object_get_value_array):
8739         * libs/gst/controller/gst-interpolation.c:
8740         (gst_controlled_property_find_timed_value_node),
8741         (interpolate_none_get), (interpolate_trigger_get),
8742         (interpolate_trigger_get_value_array):
8743         * libs/gst/controller/lib.c: (gst_controller_init):
8744         * pkgconfig/Makefile.am:
8745         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8746         * pkgconfig/gstreamer-control.pc.in:
8747         * testsuite/Makefile.am:
8748         * testsuite/controller/.cvsignore:
8749         * testsuite/controller/Makefile.am:
8750         * testsuite/controller/interpolator.c: (main):
8751           added controller code
8752           removed dparam pc files
8753
8754 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8755         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8756         (gst_collectpads_stop):
8757           Broadcast the condition when shutting down, to make sure we wake all
8758           threads up. Shut down pads on finalize, for safety.
8759
8760 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8761         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8762         (gst_base_transform_handle_buffer),
8763         (gst_base_transform_change_state):
8764           Handle PAUSED->READY->PAUSED transition after negotiation
8765           occurred already.
8766         * gst/gstmessage.c: (gst_message_init):
8767           Extra piece of debug for new messages.
8768
8769 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8770
8771         * configure.ac:
8772         * docs/gst/tmpl/gstbasesrc.sgml:
8773         * docs/gst/tmpl/gstelement.sgml:
8774         * docs/gst/tmpl/gstevent.sgml:
8775         * docs/gst/tmpl/gstfakesrc.sgml:
8776         * docs/gst/tmpl/gstformat.sgml:
8777         * docs/gst/tmpl/gstghostpad.sgml:
8778         * docs/gst/tmpl/gstpad.sgml:
8779         * docs/gst/tmpl/gstquery.sgml:
8780         * docs/gst/tmpl/gststructure.sgml:
8781         * docs/gst/tmpl/gsttaglist.sgml:
8782         * docs/gst/tmpl/gstvalue.sgml:
8783         * docs/libs/gstreamer-libs-docs.sgml:
8784         * docs/libs/gstreamer-libs-sections.txt:
8785         * docs/libs/gstreamer-libs.types:
8786         * libs/gst/Makefile.am:
8787         * libs/gst/control/.cvsignore:
8788         * libs/gst/control/Makefile.am:
8789         * libs/gst/control/control.c:
8790         * libs/gst/control/control.h:
8791         * libs/gst/control/dparam.c:
8792         * libs/gst/control/dparam.h:
8793         * libs/gst/control/dparam_smooth.c:
8794         * libs/gst/control/dparam_smooth.h:
8795         * libs/gst/control/dparamcommon.h:
8796         * libs/gst/control/dparammanager.c:
8797         * libs/gst/control/dparammanager.h:
8798         * libs/gst/control/dplinearinterp.c:
8799         * libs/gst/control/dplinearinterp.h:
8800         * libs/gst/control/unitconvert.c:
8801         * libs/gst/control/unitconvert.h:
8802         * testsuite/Makefile.am:
8803         * testsuite/dynparams/.cvsignore:
8804         * testsuite/dynparams/Makefile.am:
8805         * testsuite/dynparams/dparamstest.c:
8806         * tools/Makefile.am:
8807         * tools/gst-inspect.c: (print_element_info), (main):
8808         * tools/gst-xmlinspect.c: (print_element_info), (main):
8809           deactivate and remove dparams (libgstcontrol)
8810
8811 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * gst/elements/gsttypefindelement.c:
8814         (gst_type_find_element_have_type), (gst_type_find_element_init),
8815         (stop_typefinding), (gst_type_find_element_handle_event),
8816         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8817         * gst/elements/gsttypefindelement.h:
8818           Set caps on all outgoing buffers, not just the first one.
8819
8820 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8821
8822         * gst/elements/gsttypefindelement.c:
8823         (gst_type_find_element_have_type),
8824         (gst_type_find_element_check_set_buffer_caps),
8825         (gst_type_find_element_init), (stop_typefinding),
8826         (gst_type_find_element_handle_event),
8827         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8828         * gst/elements/gsttypefindelement.h:
8829           Set caps on first outgoing buffer when we've found the type.
8830
8831 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8832
8833         * docs/gst/gstreamer-docs.sgml:
8834         * docs/gst/gstreamer-sections.txt:
8835         * docs/gst/tmpl/gstscheduler.sgml:
8836         * docs/gst/tmpl/gstschedulerfactory.sgml:
8837           Remove some old cruft from docs.
8838
8839 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8840
8841         * gst/gstpad.h:
8842           Fix inline docs for GstPadLinkReturn.
8843           
8844         * gst/gststructure.c: (gst_structure_has_name):
8845         * gst/gststructure.h:
8846         * docs/gst/gstreamer-sections.txt:
8847           New API: gst_structure_has_name().
8848
8849 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8850
8851         * configure.ac:
8852           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8853           and _LARGEFILE_SOURCE in config.h as required. Do not 
8854           export those flags in our .pc files any longer (#142209).
8855
8856           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8857
8858         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8859         (gst_file_sink_do_seek), (gst_file_sink_event),
8860         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8861           Redo seek/tell calls with large file support in mind; add some
8862           debugging messages; add log message that tells us when large
8863           file support is unavailable or not enabled for some reason.
8864
8865         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8866           Add log message that tells us when large file support 
8867           is unavailable or not enabled for some reason.
8868
8869 2005-07-29  Wim Taymans  <wim@fluendo.com>
8870
8871         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8872         Added test for removing an element with ghostpad from a bin.
8873         Fixed test as current implementation does the right thing.
8874
8875         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8876         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8877         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8878         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8879         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8880         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8881         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8882         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8883         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8884         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8885         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8886         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8887         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8888         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8889         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8890         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8891         * gst/gstghostpad.h:
8892         Clean up ghostpads, remove properties for internal stuff.
8893         Make threadsafe.
8894         Fix refcounting.
8895         Prepare for switching targets, not all use cases work yet.
8896
8897 2005-07-29  Wim Taymans  <wim@fluendo.com>
8898
8899         * docs/design/part-gstghostpad.txt:
8900         Small update.
8901
8902         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8903         (gst_bin_remove_func):
8904         Unlinking pads while holding the bin LOCK is not a good
8905         idea.
8906
8907         * gst/gstpad.c: (gst_pad_class_init),
8908         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8909         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8910         No prob setting template after creating the pad.
8911
8912 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8913
8914         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8915         (gst_bus_peek), (gst_bus_source_dispatch),
8916         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8917         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8918           gst_bus_poll may be called from other threads. Handle
8919           this nicely by not making poll_data disappear off the
8920           stack once gst_bus_poll returns.
8921           gst_bus_peek now increments the refcount on the returned
8922           message.
8923
8924 2005-07-29  Wim Taymans  <wim@fluendo.com>
8925
8926         * docs/design/part-gstghostpad.txt:
8927         Overview of current GhostPad datastructures and use
8928         cases for changing the target.
8929
8930 2005-07-28  Wim Taymans  <wim@fluendo.com>
8931
8932         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8933         Added checks for hierarchy consistency whan adding linked
8934         elements to bins.
8935
8936         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8937         Added check to test element scheduling without bin/pipeline.
8938
8939         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8940         First add elements to bin, then link.
8941         
8942         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8943         (gst_bin_remove_func):
8944         Unlink pads from elements added/removed from bin to maintain
8945         hierarchy consistency.
8946
8947 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8948
8949         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8950         (gst_base_transform_handle_buffer):
8951         * gst/base/gstbasetransform.h:
8952           Remove broken delay_configure (fixes renegotiation of software
8953           scaling pipelines); remove some leftover printf()s.
8954
8955 2005-07-28  Wim Taymans  <wim@fluendo.com>
8956
8957         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8958         Added some more tests for wrong hierarchy
8959
8960         * docs/design/part-overview.txt:
8961         Some updates.
8962
8963         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8964         Cleanups.
8965
8966         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8967         (gst_element_dispose):
8968         Some more cleanups.
8969
8970         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8971         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8972         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8973         (gst_pad_set_caps), (gst_pad_send_event):
8974         Check for correct hierarchy when linking pads. Moving to
8975         strict requirement for ghostpads when linking elements in
8976         different bins.
8977
8978         * gst/gstpad.h:
8979         Clean ups. Added WRONG_HIERARCHY return value.
8980
8981 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8982
8983         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8984           Better debug if no transform is possible.
8985
8986 2005-07-27  Wim Taymans  <wim@fluendo.com>
8987
8988         * docs/random/wtay/network-transp:
8989         Some old doc I had.
8990
8991 2005-07-27  Wim Taymans  <wim@fluendo.com>
8992
8993         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8994         (gst_dp_event_from_packet):
8995         Fix serialization of seek events.
8996
8997 2005-07-27  Wim Taymans  <wim@fluendo.com>
8998
8999         * check/gst-libs/gdp.c: (GST_START_TEST):
9000         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9001         Fix compilation and fix event serialization.
9002
9003 2005-07-27  Wim Taymans  <wim@fluendo.com>
9004
9005         * CHANGES-0.9:
9006         * docs/design/part-TODO.txt:
9007         * docs/design/part-events.txt:
9008         Some docs updates
9009
9010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9011         (gst_base_sink_event), (gst_base_sink_do_sync),
9012         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9013         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9014         (gst_base_src_do_seek), (gst_base_src_event_handler),
9015         (gst_base_src_loop):
9016         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9017         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9018         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9019         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9020         (gst_base_transform_set_passthrough),
9021         (gst_base_transform_is_passthrough):
9022         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9023         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9024         Event updates.
9025
9026         * gst/gstbuffer.h:
9027         Use faster casts.
9028
9029         * gst/gstelement.c: (gst_element_seek):
9030         * gst/gstelement.h:
9031         Update gst_element_seek.
9032
9033         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9034         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9035         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9036         (gst_event_new_eos), (gst_event_new_newsegment),
9037         (gst_event_parse_newsegment), (gst_event_new_tag),
9038         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9039         (gst_event_parse_qos), (gst_event_new_seek),
9040         (gst_event_parse_seek), (gst_event_new_navigation):
9041         * gst/gstevent.h:
9042         Make GstEvent use GstStructure. Add parsing code, make sure the
9043         API is sufficiently generic.
9044         Mark possible directions of events and serialization.
9045
9046         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9047         (_gst_message_copy), (gst_message_new_segment_start),
9048         (gst_message_new_segment_done), (gst_message_new_custom),
9049         (gst_message_parse_segment_start),
9050         (gst_message_parse_segment_done):
9051         Small cleanups.
9052
9053         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9054         (gst_pad_set_caps), (gst_pad_send_event):
9055         Update for new events. 
9056         Catch events sent in wrong directions.
9057
9058         * gst/gstqueue.c: (gst_queue_link_src),
9059         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9060         (gst_queue_handle_src_query):
9061         Event updates.
9062
9063         * gst/gsttag.c:
9064         * gst/gsttag.h:
9065         Remove event code from this file.
9066
9067         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9068         (gst_dp_event_from_packet):
9069         Event updates.
9070
9071 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9072
9073         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9074         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9075         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9076           Make debugging actually useful.
9077
9078 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9079
9080         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9081         (gst_pad_fixate_caps):
9082           Implement default fixation once again, so that gst_pad_fixate()
9083           actually does anything at all. This probably needs to be some
9084           sort of a last resort, and use profile-based fixation first, but
9085           since that doesn't exist yet, this is the best we have. Fixes
9086           visualization in Totem.
9087
9088 2005-07-22  Wim Taymans  <wim@fluendo.com>
9089
9090         * docs/design/part-events.txt:
9091         Small update.
9092
9093         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9094         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9095         (gst_base_sink_activate_pull):
9096         Some more comments.
9097
9098         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9099         (gst_fake_src_create):
9100         Fix handoff marshall.
9101
9102         * gst/elements/gstidentity.c: (gst_identity_class_init),
9103         (gst_identity_transform_ip):
9104         We're a real inplace element.
9105
9106         * gst/gstbus.c: (gst_bus_post):
9107         Added some comments.
9108
9109         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9110         * tests/muxing/case1.c: (main):
9111         * tests/sched/dynamic-pipeline.c: (main):
9112         * tests/sched/interrupt1.c: (main):
9113         * tests/sched/interrupt2.c: (main):
9114         * tests/sched/interrupt3.c: (main):
9115         * tests/sched/runxml.c: (main):
9116         * tests/sched/sched-stress.c: (main):
9117         * tests/seeking/seeking1.c: (event_received), (main):
9118         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9119         (main):
9120         * tests/threadstate/threadstate3.c: (main):
9121         * tests/threadstate/threadstate4.c: (main):
9122         * tests/threadstate/threadstate5.c: (main):
9123         Fix the tests.
9124
9125 2005-07-21  Wim Taymans  <wim@fluendo.com>
9126
9127         * docs/design/part-seeking.txt:
9128         Some small additions.
9129
9130         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9131         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9132         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9133         * gst/base/gstbasesink.h:
9134         discont values are gint64, handle the math correctly.
9135
9136         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9137         Make the basesrc report error if the source pad is not linked.
9138
9139         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9140         (gst_queue_loop), (gst_queue_handle_src_query),
9141         (gst_queue_src_activate_push):
9142         Make queue collect data even if the srcpad is not linked.
9143         Start pushing out data as soon as it is linked.
9144
9145         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9146         * gst/gstutils.h:
9147         Added gst_flow_get_name() to ease error reporting.
9148
9149 2005-07-20  Wim Taymans  <wim@fluendo.com>
9150
9151         * gst/gstmessage.c: (gst_message_new_segment_start),
9152         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9153         (gst_message_parse_segment_done):
9154         * gst/gstmessage.h:
9155         Added a bunch of messages for advanced seeking.
9156
9157         * gst/parse/grammar.y:
9158         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9159         (gst_dpman_state_changed):
9160         Fix some new-pad -> pad-added signals
9161
9162 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9163
9164         * docs/manual/appendix-porting.xml:
9165         * docs/pwg/appendix-porting.xml:
9166           Document new-pad/state-change signal renames and the FixedList
9167           type rename.
9168
9169 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9170
9171         * docs/manual/advanced-autoplugging.xml:
9172         * docs/manual/basics-helloworld.xml:
9173         * docs/manual/basics-pads.xml:
9174         * docs/random/ds/0.9-suggested-changes:
9175         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9176         * gst/gstelement.h:
9177         * gst/gstevent.h:
9178         * gst/gstformat.h:
9179         * gst/gstquery.h:
9180         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9181         (gst_structure_parse_array), (gst_structure_parse_value):
9182         * gst/gstvalue.c: (gst_type_is_fixed),
9183         (gst_value_list_prepend_value), (gst_value_list_append_value),
9184         (gst_value_list_get_size), (gst_value_list_get_value),
9185         (gst_value_transform_array_string), (gst_value_serialize_array),
9186         (gst_value_deserialize_array), (gst_value_intersect_array),
9187         (gst_value_is_fixed), (_gst_value_initialize):
9188         * gst/gstvalue.h:
9189           GstElement::new-pad -> pad-added, GstElement::state-change ->
9190           state-changed, GstValueFixedList -> GstValueArray, add format and
9191           flags as their own arguments in gst_element_seek() (should improve
9192           "bindeability"), remove function generators since they don't work
9193           under a whole bunch of compilers (they were deprecated already
9194           anyway).
9195
9196 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9197
9198         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9199         (_gst_debug_register_funcptr):
9200         * gst/gstinfo.h:
9201           Fix illegal cast on some platforms (#309253).
9202
9203 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9204
9205         * gst/gstmessage.c: (gst_message_new_custom):
9206         * gst/gstmessage.h:
9207           Add _new_custom, make _new_application a macro to _new_custom.
9208
9209 2005-07-20  Wim Taymans  <wim@fluendo.com>
9210
9211         * gst/base/gstbasesrc.c: (gst_base_src_init),
9212         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9213         * gst/base/gstbasesrc.h:
9214         Add a gboolean to decide when to push out a discont.
9215
9216         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9217         (gst_queue_loop), (gst_queue_handle_src_query),
9218         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9219         (gst_queue_set_property), (gst_queue_get_property):
9220         Some cleanups.
9221
9222         * tests/threadstate/threadstate1.c: (main):
9223         Make a thread test compile and run... very silly..
9224
9225
9226 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9227
9228         * docs/manual/appendix-porting.xml:
9229           Mention removal of libgstgconf-0.9.la and existence of gconf
9230           elements.
9231
9232 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9233
9234         * docs/pwg/advanced-clock.xml:
9235         * docs/pwg/appendix-porting.xml:
9236         * docs/pwg/intro-preface.xml:
9237         * docs/pwg/other-base.xml:
9238         * docs/pwg/other-manager.xml:
9239         * docs/pwg/other-nton.xml:
9240         * docs/pwg/other-ntoone.xml:
9241         * docs/pwg/other-oneton.xml:
9242         * docs/pwg/pwg.xml:
9243           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9244           demuxer), remove n-to-n (was never written), fix some code examples
9245           and links and update the porting section to include all this.
9246
9247 2005-07-19  Wim Taymans  <wim@fluendo.com>
9248
9249         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9250         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9251         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9252         (gst_queue_src_activate_push), (gst_queue_change_state),
9253         (gst_queue_get_property):
9254         * gst/gstqueue.h:
9255         Propagate GstFlowReturn more intelligently upstream and output
9256         an ERROR/EOS when streaming stopped due to fatal error.
9257
9258 2005-07-19  Wim Taymans  <wim@fluendo.com>
9259
9260         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9261         Don't block forever for the state change to complete, the
9262         pipeline already did with a sensible timeout.
9263
9264 2005-07-19  Wim Taymans  <wim@fluendo.com>
9265
9266         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9267         Make sure we never call the create function is we
9268         got deactivated.
9269
9270 2005-07-19  Andy Wingo  <wingo@pobox.com>
9271
9272         * gst/parse/parse.l: Attempt to solve bug #172815.
9273
9274 2005-07-19  Wim Taymans  <wim@fluendo.com>
9275
9276         * docs/design/part-clocks.txt:
9277         * docs/design/part-events.txt:
9278         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9279         Small docs updates.
9280         Only update the seeking values when we are not
9281         busy streaming.
9282
9283 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9284
9285         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9286           Oops, ignore the result of gst_pad_push_event here.
9287
9288 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9289
9290         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9291         (gst_base_src_activate_push):
9292           Send discont event from the loop function, as pads
9293           aren't activated yet in the activate_push handler.
9294
9295         * gst/gstbin.c: (bin_bus_handler):
9296           Don't leak element name.
9297
9298 2005-07-18  Andy Wingo  <wingo@pobox.com>
9299
9300         * configure.ac: Use AS_LIBTOOL_TAGS.
9301
9302 2005-07-18  Wim Taymans  <wim@fluendo.com>
9303
9304         * docs/gst/gstreamer.types:
9305         Remove deleted types.
9306
9307 2005-07-18  Wim Taymans  <wim@fluendo.com>
9308
9309         * check/elements/gstfakesrc.c: (GST_START_TEST):
9310         * configure.ac:
9311         * gst/Makefile.am:
9312         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9313         (init_popt_callback):
9314         * gst/gst.h:
9315         * gst/gst_private.h:
9316         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9317         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9318         * gst/gstbin.h:
9319         * gst/gstbus.h:
9320         * gst/gstconfig.h.in:
9321         * gst/gstelement.c: (gst_element_class_init),
9322         (gst_element_set_base_time), (gst_element_get_base_time),
9323         (iterator_fold_with_resync), (gst_element_change_state),
9324         (gst_element_dispose), (gst_element_get_bus):
9325         * gst/gstelement.h:
9326         * gst/gstelementfactory.h:
9327         * gst/gsterror.c: (_gst_core_errors_init):
9328         * gst/gsterror.h:
9329         * gst/gstevent.h:
9330         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9331         * gst/gstindex.c:
9332         * gst/gstinfo.c: (_gst_debug_init):
9333         * gst/gstmessage.c: (_gst_message_copy):
9334         * gst/gstmessage.h:
9335         * gst/gstminiobject.h:
9336         * gst/gstobject.c:
9337         * gst/gstobject.h:
9338         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9339         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9340         * gst/gstpad.h:
9341         * gst/gstparse.h:
9342         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9343         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9344         (gst_pipeline_get_last_stream_time):
9345         * gst/gstpipeline.h:
9346         * gst/gstpluginfeature.h:
9347         * gst/gstquery.h:
9348         * gst/gstscheduler.c:
9349         * gst/gstscheduler.h:
9350         * gst/gststructure.h:
9351         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9352         (gst_task_finalize), (gst_task_func), (gst_task_create),
9353         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9354         (gst_task_stop), (gst_task_pause):
9355         * gst/gsttask.h:
9356         * gst/gsttypefind.h:
9357         * gst/gsttypes.h:
9358         * gst/registries/gstlibxmlregistry.c: (load_feature),
9359         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9360         * gst/registries/gstxmlregistry.c:
9361         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9362         * gst/schedulers/threadscheduler.c:
9363         * libs/gst/control/dparammanager.h:
9364         * tools/gst-inspect.c: (print_element_list),
9365         (print_plugin_features), (print_element_features):
9366         * tools/gst-xmlinspect.c: (print_element_list),
9367         (print_plugin_info), (main):
9368         Removed plugable schedulers.
9369         Removed Scheduler/Manager from elements.
9370         Removed gsttypes.h, rearranged includes.
9371         Removed dependency pad<->element, element<>pipeline, and
9372         various others,  fix includes.
9373         implement gst_pad_get_parent() with gst_object_get_parent()
9374         Make GstTask sefcontained.
9375         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9376         timeout.
9377         Fix endless loop in iterator_fold_with_resync.
9378
9379
9380 2005-07-18  Wim Taymans  <wim@fluendo.com>
9381
9382         * gst/Makefile.am:
9383         * gst/gstarch.h:
9384         Remove old file.
9385
9386 2005-07-18  Wim Taymans  <wim@fluendo.com>
9387
9388         * gst/Makefile.am:
9389         No more cothreads.h
9390
9391 2005-07-18  Wim Taymans  <wim@fluendo.com>
9392
9393         * gst/cothreads.c:
9394         * gst/cothreads.h:
9395         Let's remove these.
9396
9397 2005-07-18  Wim Taymans  <wim@fluendo.com>
9398
9399         * docs/design/part-dynamic.txt:
9400         * docs/design/part-events.txt:
9401         * docs/design/part-seeking.txt:
9402         Some more docs in the works.
9403
9404         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9405         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9406         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9407         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9408         (gst_base_transform_handle_buffer),
9409         (gst_base_transform_sink_activate_push),
9410         (gst_base_transform_src_activate_pull),
9411         (gst_base_transform_set_passthrough),
9412         (gst_base_transform_is_passthrough):
9413         Refcounting fixes.
9414
9415         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9416         Cleanups.
9417
9418         * gst/gstevent.c: (gst_event_finalize):
9419         Set SRC to NULL.
9420
9421         * gst/gstutils.c: (gst_element_unlink),
9422         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9423         (gst_pad_proxy_setcaps):
9424         * gst/gstutils.h:
9425         Add _get_parent_element() to get a pads parent as an element.
9426
9427 2005-07-18  Wim Taymans  <wim@fluendo.com>
9428
9429         * check/gst/gstbin.c: (GST_START_TEST):
9430         Remove bogus test.
9431
9432 2005-07-18  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9435         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9436         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9437         (gst_base_sink_event), (gst_base_sink_do_sync),
9438         (gst_base_sink_chain), (gst_base_sink_loop),
9439         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9440         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9441         Refcounting fixes.
9442         Fix logic for returning ASYNC when not prerolled.
9443
9444 2005-07-18  Wim Taymans  <wim@fluendo.com>
9445
9446         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9447         Fix nasty refcount bug.
9448
9449 2005-07-16 Philippe Khalaf <burger@speedy.org>
9450
9451         * gst/elements/gstfdsrc.c:
9452         * gst/elements/gstfdsrc.h:
9453         * gst/elements/gstelements.c:
9454         * gst/elements/Makefile.am:
9455         Ported fdsrc to 0.9.
9456
9457 2005-07-16  Wim Taymans  <wim@fluendo.com>
9458
9459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9460         (gst_base_sink_do_sync):
9461         Fix compile error.
9462
9463 2005-07-16  Wim Taymans  <wim@fluendo.com>
9464
9465         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9466         (gst_base_sink_event), (gst_base_sink_get_times),
9467         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9468         * gst/base/gstbasesink.h:
9469         Store and use discont values when syncing buffers as described
9470         in design docs.
9471         
9472         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9473         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9474         (gst_base_src_activate_push):
9475         Push discont event when starting.
9476
9477         * gst/elements/gstidentity.c: (gst_identity_transform):
9478         Small cleanups.
9479
9480         * gst/gstbin.c: (gst_bin_change_state):
9481         Small cleanups in base_time  distribution.
9482
9483         * gst/gstelement.c: (gst_element_set_base_time),
9484         (gst_element_get_base_time), (gst_element_change_state):
9485         * gst/gstelement.h:
9486         Added methods for the base_time of the element.
9487         Some MT fixes.
9488
9489         * gst/gstpipeline.c: (gst_pipeline_send_event),
9490         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9491         (gst_pipeline_get_last_stream_time):
9492         * gst/gstpipeline.h:
9493         MT fixes.
9494         Handle seeking as described in design doc, remove stream_time
9495         hack.
9496         Cleanups clock and stream_time selection code. Added accessors
9497         for the stream_time.
9498         
9499
9500 2005-07-16  Andy Wingo  <wingo@pobox.com>
9501
9502         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9503         (#305291).
9504
9505 2005-07-16  Wim Taymans  <wim@fluendo.com>
9506
9507         * check/gst/gstbin.c: (GST_START_TEST):
9508         Make elements silent as the deep_notify refs the
9509         parent, which might make the test fail.
9510
9511         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9512         Don't hold the lock for too long.
9513
9514 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9515
9516         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9517           Don't unref the caps we passed to gst_caps_make_writable() after
9518           passing them. gst_caps_make_writable() will do that for us.
9519
9520 2005-07-15  Andy Wingo  <wingo@pobox.com>
9521
9522         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9523         (#157311).
9524
9525         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9526         own marshalling function for the handoff signal. Properly type the
9527         buffer as a buffer. Fixes some warnings. Should do a more general
9528         solution.
9529         (gst_identity_class_init): Plug into the right marshaller.
9530
9531 2005-07-15  Wim Taymans  <wim@fluendo.com>
9532
9533         * docs/design/part-TODO.txt:
9534         * docs/design/part-clocks.txt:
9535         * docs/design/part-element-sink.txt:
9536         * docs/design/part-events.txt:
9537         * docs/design/part-gstpipeline.txt:
9538         Updated docs, mostly DISCONT related.
9539
9540 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9541
9542         * docs/pwg/building-pads.xml:
9543           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9544
9545 2005-07-15  Andy Wingo  <wingo@pobox.com>
9546
9547         * tools/gst-typefind.c: Update, add copyright block.
9548
9549         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9550         Normalize and truncate caps before fixation.
9551
9552         * gst/gstcaps.h:
9553         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9554         discards all but the first structure from its argument.
9555
9556 2005-07-15  Wim Taymans  <wim@fluendo.com>
9557
9558         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9559         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9560         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9561         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9562         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9563         (gst_base_transform_chain), (gst_base_transform_change_state),
9564         (gst_base_transform_set_passthrough),
9565         (gst_base_transform_is_passthrough):
9566         * gst/base/gstbasetransform.h:
9567         Make passthrough work using the bufferpools.
9568         Changed API a bit, subclasses have to write into a buffer
9569         provided by the base class.
9570         More debug info in nego functions.
9571         
9572         * gst/elements/gstidentity.c: (gst_identity_init),
9573         (gst_identity_transform):
9574         Port to new base class.
9575
9576 2005-07-15  Wim Taymans  <wim@fluendo.com>
9577
9578         * gst/gstmessage.c: (gst_message_new_state_changed):
9579         * tools/gst-launch.c: (event_loop), (main):
9580         Totally dump messages in -launch with the -m option.
9581         Fix message name for State messages,
9582
9583 2005-07-14  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9586         Post error messages on errors.
9587
9588 2005-07-14  Wim Taymans  <wim@fluendo.com>
9589
9590         * gst/gstcaps.c: (gst_caps_do_simplify):
9591         Remove debug info.
9592
9593         * gst/gsterror.h:
9594         Define error for stream stopped.
9595
9596         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9597         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9598         Do proper return values.
9599
9600         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9601         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9602         (gst_pad_get_range):
9603         Better return values.
9604
9605         * gst/gstpad.h:
9606         Reorganise return values, add macro to check for fatal errors.
9607
9608         * gst/gstqueue.c: (gst_queue_chain):
9609         Return proper GstFlowReturn values,
9610
9611 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * docs/gst/gstreamer-sections.txt:
9614         * docs/gst/gstreamer.types:
9615         * docs/gst/tmpl/gst.sgml:
9616         * docs/gst/tmpl/gstbasesink.sgml:
9617         * docs/gst/tmpl/gstbasesrc.sgml:
9618         * docs/gst/tmpl/gstbasetransform.sgml:
9619         * docs/gst/tmpl/gstbin.sgml:
9620         * docs/gst/tmpl/gstbuffer.sgml:
9621         * docs/gst/tmpl/gstcaps.sgml:
9622         * docs/gst/tmpl/gstclock.sgml:
9623         * docs/gst/tmpl/gstcompat.sgml:
9624         * docs/gst/tmpl/gstconfig.sgml:
9625         * docs/gst/tmpl/gstelement.sgml:
9626         * docs/gst/tmpl/gstelementdetails.sgml:
9627         * docs/gst/tmpl/gstelementfactory.sgml:
9628         * docs/gst/tmpl/gstenumtypes.sgml:
9629         * docs/gst/tmpl/gsterror.sgml:
9630         * docs/gst/tmpl/gstevent.sgml:
9631         * docs/gst/tmpl/gstfakesink.sgml:
9632         * docs/gst/tmpl/gstfakesrc.sgml:
9633         * docs/gst/tmpl/gstfilesink.sgml:
9634         * docs/gst/tmpl/gstfilesrc.sgml:
9635         * docs/gst/tmpl/gstfilter.sgml:
9636         * docs/gst/tmpl/gstformat.sgml:
9637         * docs/gst/tmpl/gstghostpad.sgml:
9638         * docs/gst/tmpl/gstimplementsinterface.sgml:
9639         * docs/gst/tmpl/gstindex.sgml:
9640         * docs/gst/tmpl/gstindexfactory.sgml:
9641         * docs/gst/tmpl/gstinfo.sgml:
9642         * docs/gst/tmpl/gstiterator.sgml:
9643         * docs/gst/tmpl/gstmacros.sgml:
9644         * docs/gst/tmpl/gstmemchunk.sgml:
9645         * docs/gst/tmpl/gstminiobject.sgml:
9646         * docs/gst/tmpl/gstobject.sgml:
9647         * docs/gst/tmpl/gstpad.sgml:
9648         * docs/gst/tmpl/gstpadtemplate.sgml:
9649         * docs/gst/tmpl/gstparse.sgml:
9650         * docs/gst/tmpl/gstpipeline.sgml:
9651         * docs/gst/tmpl/gstplugin.sgml:
9652         * docs/gst/tmpl/gstpluginfeature.sgml:
9653         * docs/gst/tmpl/gstquery.sgml:
9654         * docs/gst/tmpl/gstqueue.sgml:
9655         * docs/gst/tmpl/gstregistry.sgml:
9656         * docs/gst/tmpl/gstregistrypool.sgml:
9657         * docs/gst/tmpl/gstscheduler.sgml:
9658         * docs/gst/tmpl/gstschedulerfactory.sgml:
9659         * docs/gst/tmpl/gststructure.sgml:
9660         * docs/gst/tmpl/gstsystemclock.sgml:
9661         * docs/gst/tmpl/gsttaglist.sgml:
9662         * docs/gst/tmpl/gsttagsetter.sgml:
9663         * docs/gst/tmpl/gsttrace.sgml:
9664         * docs/gst/tmpl/gsttrashstack.sgml:
9665         * docs/gst/tmpl/gsttypefind.sgml:
9666         * docs/gst/tmpl/gsttypefindfactory.sgml:
9667         * docs/gst/tmpl/gsttypes.sgml:
9668         * docs/gst/tmpl/gsturihandler.sgml:
9669         * docs/gst/tmpl/gsturitype.sgml:
9670         * docs/gst/tmpl/gstutils.sgml:
9671         * docs/gst/tmpl/gstvalue.sgml:
9672         * docs/gst/tmpl/gstversion.sgml:
9673         * docs/gst/tmpl/gstxml.sgml:
9674         * docs/libs/tmpl/gstcontrol.sgml:
9675         * docs/libs/tmpl/gstdataprotocol.sgml:
9676         * docs/libs/tmpl/gstdparam.sgml:
9677         * docs/libs/tmpl/gstdplinint.sgml:
9678         * docs/libs/tmpl/gstdpman.sgml:
9679         * docs/libs/tmpl/gstdpsmooth.sgml:
9680         * docs/libs/tmpl/gstgetbits.sgml:
9681         * docs/libs/tmpl/gstunitconvert.sgml:
9682         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9683         (gst_push_src_base_init), (gst_push_src_class_init),
9684         (gst_push_src_init), (gst_push_src_create):
9685         * gst/base/gstpushsrc.h:
9686         * gst/elements/gstelements.c:
9687         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9688         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9689         (gst_fake_sink_init), (gst_fake_sink_set_property),
9690         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9691         (gst_fake_sink_event), (gst_fake_sink_preroll),
9692         (gst_fake_sink_render), (gst_fake_sink_change_state):
9693         * gst/elements/gstfakesink.h:
9694         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9695         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9696         (gst_fake_src_base_init), (gst_fake_src_class_init),
9697         (gst_fake_src_init), (gst_fake_src_event_handler),
9698         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9699         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9700         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9701         (gst_fake_src_create_buffer), (gst_fake_src_create),
9702         (gst_fake_src_start), (gst_fake_src_stop):
9703         * gst/elements/gstfakesrc.h:
9704         * gst/elements/gstfilesink.c: (_do_init),
9705         (gst_file_sink_base_init), (gst_file_sink_class_init),
9706         (gst_file_sink_init), (gst_file_sink_dispose),
9707         (gst_file_sink_set_location), (gst_file_sink_set_property),
9708         (gst_file_sink_get_property), (gst_file_sink_open_file),
9709         (gst_file_sink_close_file), (gst_file_sink_query),
9710         (gst_file_sink_event), (gst_file_sink_render),
9711         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9712         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9713         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9714         * gst/elements/gstfilesink.h:
9715         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9716         (gst_file_src_class_init), (gst_file_src_init),
9717         (gst_file_src_finalize), (gst_file_src_set_location),
9718         (gst_file_src_set_property), (gst_file_src_get_property),
9719         (gst_file_src_map_region), (gst_file_src_map_small_region),
9720         (gst_file_src_create_mmap), (gst_file_src_create_read),
9721         (gst_file_src_create), (gst_file_src_is_seekable),
9722         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9723         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9724         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9725         (gst_file_src_uri_handler_init):
9726         * gst/elements/gstfilesrc.h:
9727           more autistic cleanliness in functions/names/defines
9728
9729 2005-07-13  Andy Wingo  <wingo@pobox.com>
9730
9731         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9732         source couldn't negotiate.
9733
9734         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9735         connections again.
9736
9737         * gst/gstutils.h:
9738         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9739         function. I am channeling Hades. Put your boots on suckers!!!
9740
9741 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9742
9743         * testsuite/caps/Makefile.am:
9744         * testsuite/caps/value_compare.c:
9745         * testsuite/caps/value_intersect.c:
9746         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9747           move two testsuite apps over to the check dir
9748
9749 2005-07-12  Wim Taymans  <wim@fluendo.com>
9750
9751         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9752         Added more debug info in the negotiate process.
9753
9754         * gst/gstmessage.h:
9755         Prepare for segment playback.
9756
9757         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9758         Better debugging.
9759
9760         * gst/gstutils.c:
9761         Some more docs.
9762
9763         * tools/gst-launch.c: (main):
9764         NULL pipeline on errors.
9765
9766 2005-07-12  Andy Wingo  <wingo@pobox.com>
9767
9768         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9769         not it comes from a malloc region. Make sure our copy gets freed.
9770
9771 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9772
9773         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9774         * check/gst/gstmessage.c: (GST_START_TEST):
9775         * check/gst/gststructure.c: (GST_START_TEST),
9776         (gst_structure_suite), (main):
9777           more testing
9778         * gst/gstelement.c: (gst_element_message_full):
9779           clean up GError and debug string now that they get copied
9780         * gst/gstmessage.c: (gst_message_new_error),
9781         (gst_message_new_warning), (gst_message_parse_error),
9782         (gst_message_parse_warning):
9783           use GST_TYPE_G_ERROR for structure_new, and take copies of
9784           arguments, so that we don't mess up refcounting
9785
9786 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * check/Makefile.am:
9789           add per-test valgrind targets
9790         * check/gst-libs/gdp.c: (GST_START_TEST),
9791         (gst_data_protocol_suite), (main):
9792           clean up
9793
9794 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9795
9796         * check/Makefile.am:
9797           instate more valgrindable tests
9798         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9799         (GST_START_TEST), (fakesrc_suite):
9800         * check/gst/gstpad.c: (GST_START_TEST):
9801         * check/gst/gststructure.c: (GST_START_TEST):
9802           fix test leaks
9803         * docs/gst/tmpl/gstminiobject.sgml:
9804         * gst/gstpad.c: (gst_pad_finalize):
9805           fix the static mutex leak
9806
9807 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9808
9809         * check/Makefile.am:
9810           add two more tests for valgrinding
9811         * check/gst/gstvalue.c: (GST_START_TEST):
9812           test refcount of deserialized buffer, found a leak
9813         * docs/gst/gstreamer-docs.sgml:
9814         * docs/gst/gstreamer-sections.txt:
9815         * docs/gst/gstreamer.types:
9816         * docs/gst/tmpl/gstminiobject.sgml:
9817           add miniobject to docs
9818         * gst/gstminiobject.c:
9819           add some docs
9820         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9821         (gst_string_unwrap):
9822           fix a hard-to-find invalid write for one of the tests
9823           fix a leak for deserialized buffers
9824
9825 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9826
9827         * docs/pwg/advanced-events.xml:
9828         * docs/pwg/advanced-request.xml:
9829         * docs/pwg/advanced-scheduling.xml:
9830         * docs/pwg/appendix-porting.xml:
9831         * docs/pwg/building-boiler.xml:
9832         * docs/pwg/intro-preface.xml:
9833         * docs/pwg/other-ntoone.xml:
9834           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9835           of example code and explanation for pad activation, loop() and
9836           getrange() functions and a bit more. Remove old comments pointing
9837           to loop-functions.
9838         * examples/pwg/Makefile.am:
9839           Add loop/getrange examples.
9840
9841 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9842
9843         * configure.ac:
9844           check for valgrind binary + some fixes
9845         * check/gst.supp:
9846           valgrind suppressions for the tests
9847         * check/Makefile.am:
9848           add a valgrind: target that valgrinds the unit tests
9849         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9850         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9851         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9852         * check/gst/gstghostpad.c:
9853           added some cleanup
9854         * check/gst/gstdata.c:
9855           removed
9856         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9857         (thread_unref), (gst_mini_object_suite), (main):
9858           added
9859         * gst/gst.c: (gst_deinit):
9860         * gst/gst.h:
9861           add a method to clean up.
9862         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9863         (gst_system_clock_obtain):
9864           allow for disposing the system clock.
9865         * tools/gst-launch.c: (main):
9866           deinit
9867
9868 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9869
9870         * docs/gst/tmpl/gstbasesrc.sgml:
9871         * docs/gst/tmpl/gstfakesrc.sgml:
9872         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9873         (gst_base_src_init), (gst_base_src_set_property),
9874         (gst_base_src_get_property), (gst_base_src_get_range),
9875         (gst_base_src_start):
9876         * gst/base/gstbasesrc.h:
9877           add num-buffers property
9878         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9879         (gst_fakesrc_init), (gst_fakesrc_set_property),
9880         (gst_fakesrc_get_property), (gst_fakesrc_create),
9881         (gst_fakesrc_start):
9882           remove num-buffers property
9883
9884 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9885
9886         * docs/gst/gstreamer-sections.txt:
9887         * docs/gst/tmpl/gstbasesink.sgml:
9888         * docs/gst/tmpl/gstbasesrc.sgml:
9889         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9890         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9891         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9892         (gst_base_sink_set_property), (gst_base_sink_get_property),
9893         (gst_base_sink_handle_object), (gst_base_sink_event),
9894         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9895         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9896         (gst_base_sink_loop), (gst_base_sink_deactivate),
9897         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9898         (gst_base_sink_change_state):
9899         * gst/base/gstbasesink.h:
9900         * gst/base/gstbasesrc.h:
9901         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9902         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9903         (gst_filesink_init):
9904           more macro splitting
9905
9906 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9907
9908         * gst/gstelement.c: (gst_element_get_bus):
9909           add debug
9910         * tools/gst-launch.c: (check_intr), (event_loop):
9911           fix bus leaks
9912
9913 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9914
9915         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9916           fix a caps leak
9917
9918 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9919
9920         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9921         (gst_base_src_finalize):
9922           add finalize method and clean up properly
9923         * gst/gstpipeline.c: (gst_pipeline_dispose):
9924           add debug
9925
9926 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9927
9928         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9929         (gst_bin_suite):
9930           add more things to check
9931         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9932         * gst/gstelement.c:
9933           more debug
9934
9935 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9938         (GST_START_TEST), (fakesrc_suite):
9939         * check/gst-libs/gdp.c: (GST_START_TEST):
9940         * check/gst/gst.c: (GST_START_TEST):
9941         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9942         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9943         * check/gst/gstbus.c: (GST_START_TEST):
9944         * check/gst/gstcaps.c: (GST_START_TEST):
9945         * check/gst/gstdata.c: (GST_START_TEST):
9946         * check/gst/gstelement.c: (GST_START_TEST):
9947         * check/gst/gstghostpad.c: (GST_START_TEST):
9948         * check/gst/gstiterator.c: (GST_START_TEST):
9949         * check/gst/gstmessage.c: (GST_START_TEST):
9950         * check/gst/gstobject.c: (GST_START_TEST):
9951         * check/gst/gstpad.c: (GST_START_TEST):
9952         * check/gst/gststructure.c: (GST_START_TEST):
9953         * check/gst/gstsystemclock.c: (GST_START_TEST),
9954         (gst_systemclock_suite):
9955         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9956         * check/gst/gstvalue.c: (GST_START_TEST):
9957         * check/pipelines/cleanup.c: (GST_START_TEST):
9958         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9959         * check/states/sinks.c: (GST_START_TEST):
9960         * check/gstcheck.c: (gst_check_init):
9961         * check/gstcheck.h:
9962           add debugging category
9963           use GST_START_TEST now, so we add a debug line
9964
9965 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9966
9967         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9968           add test for state change message on a bin
9969         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9970           add another test
9971         * gst/gstbin.c: (gst_bin_init):
9972         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9973         * gst/gstelement.c: (gst_element_post_message),
9974         (gst_element_set_state):
9975         * gst/gstelementfactory.c: (gst_element_factory_create):
9976         * gst/gstmessage.c: (gst_message_new):
9977         * gst/gstscheduler.c:
9978           various debugging additions and cleanups
9979
9980 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9981
9982         * check/Makefile.am:
9983         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9984         (main):
9985           adding tests for elements
9986         * gst/gstelement.c: (gst_element_dispose):
9987
9988 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9989
9990         * gst/registries/gstlibxmlregistry.c: (load_feature):
9991           plug more leaks.  A simple gst_init() now is leakfree, yay.
9992
9993 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9994
9995         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9996         (gst_xml_registry_load):
9997           plug another memleak
9998
9999 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10000
10001         * configure.ac:
10002           use GST_SET_ERROR_CFLAGS
10003         * docs/faq/cvs.xml:
10004           change to ERROR_CFLAGS
10005
10006 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10007
10008         * configure.ac:
10009           make GST_ERROR_CFLAGS overridable and re-enable Werror
10010         * docs/faq/cvs.xml:
10011           add a note about error CFLAGS
10012         * docs/gst/tmpl/gstfakesrc.sgml:
10013         * gst/elements/gstfakesrc.c:
10014           comment out some unused code
10015         * gst/gst.c: (split_and_iterate):
10016         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10017         (load_feature):
10018           plug some memleaks
10019
10020 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10021
10022         * common/Makefile.am:
10023         * common/gtk-doc.mak:
10024         * docs/gst/Makefile.am:
10025           factor out gtk-doc.mak
10026
10027 2005-07-07  Wim Taymans  <wim@fluendo.com>
10028
10029         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10030         (gst_thread_scheduler_dispose):
10031         Unlock the STREAM_LOCK completely.
10032
10033 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10034
10035         * check/Makefile.am:
10036         * check/elements/.cvsignore:
10037         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10038         (START_TEST), (fakesrc_suite), (main):
10039         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10040         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10041         (gst_fakesrc_create), (gst_fakesrc_start):
10042         * gst/elements/gstfakesrc.h:
10043           adding a first element test
10044
10045 2005-07-07  Andy Wingo  <wingo@pobox.com>
10046
10047         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10048         debug message.
10049
10050 2005-07-07  Wim Taymans  <wim@fluendo.com>
10051
10052         * gst/gstquery.c:
10053         * gst/gstquery.h:
10054         Remove old types
10055
10056 2005-07-07  Wim Taymans  <wim@fluendo.com>
10057
10058         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10059         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10060         Allow subclasses to implement their own negotiation.
10061
10062 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10063
10064         * docs/design/part-gstbin.txt:
10065         * docs/design/part-gstpipeline.txt:
10066           Update design notes to reflect the movement of
10067           responsibility for bus handling from GstPipeline to
10068           GstBin
10069
10070 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10071
10072         * configure.ac:
10073           Remove unnecessary queue2/3/4 examples.
10074
10075 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10076
10077         * examples/Makefile.am:
10078         * examples/helloworld/helloworld.c: (event_loop), (main):
10079         * examples/queue/queue.c: (event_loop), (main):
10080         * examples/queue2/queue2.c: (main):
10081           Update a couple of the examples to work again.
10082
10083         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10084         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10085          Spelling corrections and extra debug.
10086         
10087         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10088         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10089         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10090         * gst/gstbin.h:
10091         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10092         (gst_pipeline_change_state):
10093         * gst/gstpipeline.h:
10094           Move the bus handler for children to the GstBin, and create a
10095           separate bus for receiving messages from children to the one the
10096           bus sends 'upwards' on.
10097
10098 2005-07-06  Wim Taymans  <wim@fluendo.com>
10099
10100         * gst/base/README:
10101         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10102         (gst_base_sink_handle_object), (gst_base_sink_loop),
10103         (gst_base_sink_change_state):
10104         * gst/base/gstbasesink.h:
10105         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10106         (gst_base_src_init), (gst_base_src_setcaps),
10107         (gst_base_src_getcaps), (gst_base_src_loop),
10108         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10109         (gst_base_src_start), (gst_base_src_change_state):
10110         * gst/base/gstbasesrc.h:
10111         Make basesrc negotiate.
10112         Handle the case where preroll fails in basesink.
10113         Update README.
10114
10115 2005-07-06  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10118         Implement the fixate function.
10119         Clean up acceptcaps.
10120
10121 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10122
10123         * docs/pwg/building-filterfactory.xml:
10124         * docs/pwg/pwg.xml:
10125           Remove never-written filter-factory chapter; I'll add the various
10126           base classes to part 4 ("other element types") later on.
10127
10128 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10129
10130         * docs/pwg/advanced-negotiation.xml:
10131         * docs/pwg/building-boiler.xml:
10132         * docs/pwg/building-pads.xml:
10133         * docs/pwg/pwg.xml:
10134         * examples/pwg/Makefile.am:
10135           Add a chapter on caps negotiation, simplify the original code
10136           samples a bit w.r.t. caps negotiation, add link to the advanced
10137           section. Add a bunch of examples showing different use cases of
10138           different types of caps negotiation. Upstream renegotiation isn't
10139           fully documented yet since nobody knows how that works.
10140
10141 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10142
10143         * check/gst/gstpad.c:
10144         * check/gstcheck.c:
10145         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10146           if pad has no parent, return NULL as list of internal links
10147
10148 2005-07-05  Andy Wingo  <wingo@pobox.com>
10149
10150         * gst/elements/gstfilesrc.c:
10151         * gst/elements/gstfakesrc.c: 
10152         * gst/base/gstpushsrc.c:
10153         * gst/base/gstbasesrc.h: 
10154         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10155         
10156 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10157
10158         * Makefile.am:
10159           better report generation target (lcov needs a patch)
10160
10161 2005-07-05  Andy Wingo  <wingo@pobox.com>
10162
10163         * gst/elements, testsuite: Null if we got it...
10164
10165 2005-07-05  Wim Taymans  <wim@fluendo.com>
10166
10167         * configure.ac:
10168         * libs/gst/dataprotocol/Makefile.am:
10169         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10170         * libs/gst/dataprotocol/dataprotocol.h:
10171         * pkgconfig/Makefile.am:
10172         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10173         * pkgconfig/gstreamer-dataprotocol.pc.in:
10174         Ported dataprotol to 0.9. 
10175         Added pkgconfig files.
10176
10177 2005-07-05  Andy Wingo  <wingo@pobox.com>
10178
10179         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10180         Default to returning TRUE for the case when tranform_caps returns
10181         a fixed caps, like for identity or volume.
10182
10183         * check/gst/gstbus.c (pound_bus_with_messages): 
10184         * check/gst/gstmessage.c (START_TEST): 
10185         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10186         message API change.
10187
10188         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10189         logic weaks here: always run transform_caps, trying passthrough
10190         operation only if the original caps intersects with the transform.
10191
10192         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10193         source and sink caps.
10194
10195         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10196         Intersect the peer caps with the pad template before going into
10197         transform_caps.
10198         (gst_base_transform_transform_caps): More debugging.
10199
10200         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10201         src argument.
10202
10203 2005-07-04  Edward Hervey  <edward@fluendo.com>
10204
10205         * gst/gstutils.c:
10206         * gst/gstutils.h:
10207         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10208         in bindings.
10209
10210 2005-07-04  Andy Wingo  <wingo@pobox.com>
10211
10212         * check/gst/gstpad.c: Only set explicit caps on pads.
10213
10214 2005-07-01  Andy Wingo  <wingo@pobox.com>
10215
10216         * tests/network-clock.scm: Commentary update.
10217
10218         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10219         Didn't really make sense, not implementable with basetransform,
10220         etc.
10221         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10222         attempt at implementing the sync property, needs an unlock method.
10223
10224         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10225         New func, by default returns the same caps (the identity
10226         transformation).
10227         (gst_base_transform_getcaps): Uses transform_caps to return
10228         something sensible.
10229         (gst_base_transform_setcaps): Complicated logic to get caps on
10230         both pads, even if they are different, and to call set_caps once
10231         for every time both pads get their caps set.
10232         (gst_base_transform_handle_buffer): Give the ref to the transform
10233         function. Allows in-place modification of the buffer.
10234
10235         * gst/base/gstbasetransform.h (transform_caps): New class method.
10236         Given caps on one side, what can I do on the other.
10237         (set_caps): Take two caps, one for each side of the element.
10238
10239         * gst/gstpad.h:
10240         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10241         caps in place. This is safe because we can check the mutability of
10242         the caps, and a good idea because fixate functions are just called
10243         as a matter of last resort. (Not actually implemented.)
10244         (gst_pad_set_caps): If the caps we're setting is actually the same
10245         as the existing pad caps, just update the pointer without calling
10246         setcaps. Assert that caps is either NULL or fixed, as per the
10247         docs.
10248
10249         * gst/gstghostpad.c: Update for fixate changes.
10250
10251 2005-07-02  Andy Wingo  <wingo@pobox.com>
10252
10253         * gst/gstcaps.c:
10254         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10255         two refcounts makes it immutable, which is enough. Doc more.
10256
10257 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10258
10259         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10260           Put the mini_object into GValue as a mini_object,
10261           not a gpointer, since that's how we declared
10262           the signal.
10263
10264 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10265
10266         * examples/pwg/Makefile.am:
10267           Fix buildbot again.
10268
10269 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10270
10271         * docs/pwg/building-testapp.xml:
10272           Add extra check.
10273         * examples/pwg/Makefile.am:
10274           Fix buildbot.
10275
10276 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10277
10278         * configure.ac:
10279         * examples/Makefile.am:
10280         * examples/pwg/Makefile.am:
10281         * examples/pwg/extract.pl:
10282           Enable building the PWG examples.
10283         * docs/pwg/advanced-interfaces.xml:
10284           Add URI interface stub.
10285         * docs/pwg/advanced-types.xml:
10286         * docs/pwg/other-autoplugger.xml:
10287         * docs/pwg/appendix-porting.xml:
10288         * docs/pwg/pwg.xml:
10289           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10290         * docs/pwg/building-boiler.xml:
10291         * docs/pwg/building-chainfn.xml:
10292         * docs/pwg/building-pads.xml:
10293         * docs/pwg/building-props.xml:
10294         * docs/pwg/building-state.xml:
10295         * docs/pwg/building-testapp.xml:
10296           Update the building-*.xml parts for 0.9 changes. All examples
10297           code blocks compile in examples/pwg/*.
10298
10299 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10300
10301         * docs/manual/advanced-autoplugging.xml:
10302         * docs/manual/appendix-checklist.xml:
10303         * docs/manual/appendix-integration.xml:
10304         * docs/manual/highlevel-components.xml:
10305           Fix playbin/decodebin examples, update docs a bit, mention bus
10306           instead of signals in various places, mention kmplayer and
10307           kaffeine since they have a working GStreamer backend in the KDE
10308           section.
10309
10310 2005-06-30  Wim Taymans  <wim@fluendo.com>
10311
10312         * CHANGES-0.9:
10313         * docs/design/draft-ghostpads.txt:
10314         * docs/design/draft-push-pull.txt:
10315         * docs/design/draft-query.txt:
10316         * docs/design/part-TODO.txt:
10317         * docs/design/part-query.txt:
10318         Added CHANGES-0.9 doc, updated status of other docs.
10319         
10320         * gst/gstquery.h:
10321         Remove "hmm" macro
10322
10323 2005-06-30  Wim Taymans  <wim@fluendo.com>
10324
10325         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10326         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10327         (gst_base_sink_change_state):
10328         * gst/base/gstbasesink.h:
10329         Some tweaks, only EOS and a buffer complete a preroll.
10330
10331 2005-06-30  Andy Wingo  <wingo@pobox.com>
10332
10333         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10334         activate_push down to the internal pad as well.
10335
10336 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10337
10338         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10339
10340         * gst/gsttaginterface.c:
10341           Some documentation fixes (#307394 and #307397).
10342
10343 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10344
10345         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10346
10347         * gst/gstvalue.c: (gst_value_intersect_list):
10348           Fix memleak (#309125).
10349
10350 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10351
10352         * docs/manual/advanced-dataaccess.xml:
10353           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10354         * docs/manual/basics-pads.xml:
10355           Add reference for filtered caps to above chapter.
10356
10357 2005-06-30  Wim Taymans  <wim@fluendo.com>
10358
10359         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10360         (gst_bin_change_state):
10361         Probes are gone.
10362         Lame attempt at making the state change function a bit
10363         more readable.
10364
10365 2005-06-30  Wim Taymans  <wim@fluendo.com>
10366
10367         * docs/design/part-clocks.txt:
10368         * docs/design/part-element-sink.txt:
10369         * docs/design/part-events.txt:
10370         * docs/design/part-preroll.txt:
10371         * docs/design/part-states.txt:
10372         Some more tweeks and additions to the docs.
10373
10374 2005-06-30  Wim Taymans  <wim@fluendo.com>
10375
10376         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10377         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10378         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10379         (gst_pad_check_pull_range), (gst_pad_get_range),
10380         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10381         * gst/gstpad.h:
10382         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10383         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10384         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10385         (gst_pad_remove_buffer_probe):
10386         Removed atomic operations, use existing LOCK.
10387         Move exception handling out of main code path.
10388
10389 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10390
10391         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10392         (silly_return_true_function), (gst_pad_class_init),
10393         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10394         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10395         (gst_pad_send_event):
10396           Fix accumulator, add default value by using _emitv() instead
10397           of _emit() for signal emission.
10398
10399 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10400
10401         * docs/manual/advanced-dataaccess.xml:
10402         * examples/manual/Makefile.am:
10403           Add probe example.
10404         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10405           Make work (??).
10406
10407 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10408
10409         * gst/elements/gstfilesink.c: (gst_filesink_render):
10410           Simplify code so that we don't have to handle short
10411           writes and return GST_FLOW_ERROR if an error occured.
10412
10413 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10414
10415         * docs/gst/gstreamer-docs.sgml:
10416           Remove probes more.
10417
10418 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10419
10420         * docs/gst/gstreamer-sections.txt:
10421         * docs/gst/tmpl/gstpad.sgml:
10422         * docs/gst/tmpl/gstprobe.sgml:
10423         * gst/Makefile.am:
10424         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10425         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10426         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10427         (gst_pad_push_event), (gst_pad_send_event):
10428         * gst/gstpad.h:
10429         * gst/gstutils.c: (gst_pad_add_data_probe),
10430         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10431         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10432         (gst_pad_remove_buffer_probe):
10433         * gst/gstutils.h:
10434           Remove old probes, add new g-signal-based probes and some utility
10435           functions.
10436
10437 2005-06-29  Edward Hervey  <edward@fluendo.com>
10438
10439         * gst/gstelementfactory.c:
10440         * gst/gstutils.h:
10441         * gst/gstutils.c:
10442         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10443         the definition to the header file.
10444
10445 2005-06-29  Andy Wingo  <wingo@pobox.com>
10446
10447         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10448         plugins from the source directory.
10449
10450 2005-06-29  Wim Taymans  <wim@fluendo.com>
10451
10452         * docs/gst/tmpl/gstbuffer.sgml:
10453         * docs/gst/tmpl/gstclock.sgml:
10454         Some fixings for blantently wrong text.
10455
10456 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10457
10458         * check/Makefile.am:
10459         * gst/gst.c: (add_path_func), (init_pre):
10460         * gst/gstregistry.c: (gst_registry_add_path):
10461           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10462           only scan the GST_PLUGIN_PATH locations, and not add
10463           system locations
10464
10465 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10466
10467         * docs/gst/gstreamer-sections.txt:
10468         * docs/gst/tmpl/gstbasesrc.sgml:
10469         * gst/gstelement.c:
10470         * gst/gstelement.h:
10471         * gst/gstevent.c:
10472         * gst/gstutils.c:
10473           doc fixes
10474
10475 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10476
10477         * docs/manual/advanced-autoplugging.xml:
10478           Fix autoplugging example.
10479
10480 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10481
10482         * docs/manual/advanced-autoplugging.xml:
10483         * docs/manual/mime-world.fig:
10484           Try to get autoplugging working, fix type detection. Fix text
10485           in hello-world image.
10486
10487 2005-06-29  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10490         (gst_base_sink_change_state):
10491         Small debug line.
10492
10493         * gst/gstclock.h:
10494         map SIGNAL and BROADCAST to the right function.
10495
10496         * gst/gstobject.h:
10497         Remove redundant braces.
10498
10499         * gst/gstpad.c: (gst_pad_set_caps):
10500         Don't call setcaps function when reseting caps to NULL.
10501
10502         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10503         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10504         (gst_system_clock_id_unschedule):
10505         Use BROADCAST as this is what we do.
10506
10507 2005-06-29  Wim Taymans  <wim@fluendo.com>
10508
10509         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10510         We are actually prerolling before commiting the state
10511         change. 
10512
10513 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10514
10515         * docs/manual/advanced-clocks.xml:
10516         * docs/manual/advanced-interfaces.xml:
10517         * docs/manual/advanced-metadata.xml:
10518         * docs/manual/advanced-position.xml:
10519         * docs/manual/advanced-schedulers.xml:
10520         * docs/manual/advanced-threads.xml:
10521         * docs/manual/appendix-porting.xml:
10522         * docs/manual/basics-bins.xml:
10523         * docs/manual/basics-bus.xml:
10524         * docs/manual/basics-elements.xml:
10525         * docs/manual/basics-helloworld.xml:
10526         * docs/manual/basics-pads.xml:
10527         * docs/manual/highlevel-components.xml:
10528         * docs/manual/manual.xml:
10529         * docs/manual/thread.fig:
10530           Update (until threads/scheduling) Application Development Manual;
10531           remove GstThread, add GstBus, add simple porting checklist, add
10532           documentation for tag writing, clocks, make all examples until this
10533           part compile and run.
10534         * examples/manual/Makefile.am:
10535           Update from changes to Application Development Manual; add bus
10536           example, remove thread example.
10537
10538 2005-06-28  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10541         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10542         (gst_bus_source_dispatch):
10543         Add debugging messages.
10544         Make internal methods static.
10545         Handle the case where the bus is flushed in the handler.
10546         
10547         * gst/gstelement.c: (gst_element_get_bus):
10548         Fix refcount in _get_bus();
10549
10550         * gst/gstpipeline.c: (gst_pipeline_change_state),
10551         (gst_pipeline_get_clock_func):
10552         Clock refcounting fixes.
10553         Handle the case where preroll timed out more gracefully.
10554         
10555         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10556         Clean up the internal thread in dispose. This is needed
10557         for subclasses that actually get disposed.
10558         
10559         * gst/schedulers/threadscheduler.c:
10560         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10561         (gst_thread_scheduler_dispose):
10562         Free thread pool in dispose.
10563
10564 2005-06-28  Andy Wingo  <wingo@pobox.com>
10565
10566         * tests/network-clock-utils.scm (debug, print-event): New utils.
10567
10568         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10569         (*packet-loss*): Unified loss probability.
10570         (network-time): Report out-of-band events.
10571
10572         * tests/plot-data: Add support for out-of-band events. Hack it
10573         into this script instead of passing it down the pipe; should fix
10574         this later.
10575
10576 2005-06-28  Wim Taymans  <wim@fluendo.com>
10577
10578         * docs/gst/gstreamer.types:
10579         * docs/gst/tmpl/gstbasesrc.sgml:
10580         * docs/gst/tmpl/gstpad.sgml:
10581         Docs fixes.
10582
10583 2005-06-28  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10586         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10587         (gst_proxy_pad_do_fixatecaps):
10588         Correctly proxy the check_pull_range function.
10589
10590 2005-06-28  Andy Wingo  <wingo@pobox.com>
10591
10592         * tests/network-clock.scm: Removed need for slib.
10593         
10594 2005-06-28  Wim Taymans  <wim@fluendo.com>
10595
10596         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10597         (gst_basesink_preroll_queue_flush):
10598         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10599         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10600         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10601         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10602         (gst_proxy_pad_set_property):
10603         * gst/gstpad.c:
10604         * gst/gstpad.h:
10605         * gst/gstqueue.c: (gst_queue_init):
10606         The deprecated pad loop function is removed now.
10607
10608 2005-06-28  Andy Wingo  <wingo@pobox.com>
10609
10610         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10611         New parameters, simulate network packet loss.
10612
10613         * tests/network-clock-utils.scm: Initialize the RNG.
10614
10615 2005-06-28  Wim Taymans  <wim@fluendo.com>
10616
10617         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10618         (gst_basesink_event), (gst_basesink_deactivate):
10619         Flushing the preroll queue always needs to unlock the waiters.
10620
10621 2005-06-28  Edward Hervey  <edward@fluendo.com>
10622
10623         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10624         Wheen a seek was successful on a pipeline, set the stream_time to the
10625         seek offset in order to have a synchronized stream_time.
10626
10627 2005-06-28  Wim Taymans  <wim@fluendo.com>
10628
10629         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10630         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10631         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10632         (gst_proxy_pad_do_fixatecaps):
10633         Call wrapper function instead of just calling the function
10634         pointers. This takes care of any locking and whatmore.
10635
10636 2005-06-28  Wim Taymans  <wim@fluendo.com>
10637
10638         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10639         (gst_pad_pull_range):
10640         * gst/gstpad.h:
10641         CONNECTED -> LINKED.
10642
10643 2005-06-28  Andy Wingo  <wingo@pobox.com>
10644
10645         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10646         source-munging commit!!!
10647
10648         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10649         (gst_object_sink): Take gpointer arguments, not GstObject --
10650         avoids casts. Like GLib.
10651
10652         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10653         activate.
10654
10655 2005-06-27  Andy Wingo  <wingo@pobox.com>
10656
10657         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10658         remaining buffer.
10659
10660         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10661         returns a sorted copy of the trace list.
10662         (gst_alloc_trace_print_live): New API, only prints traces with
10663         live objects. Sort the list.
10664         (gst_alloc_trace_print_all): Sort the list.
10665         (gst_alloc_trace_print): Align columns.
10666
10667         * gst/elements/gstttypefindelement.c:
10668         * gst/elements/gsttee.c:
10669         * gst/base/gstbasesrc.c:
10670         * gst/base/gstbasesink.c:
10671         * gst/base/gstbasetransform.c:
10672         * gst/gstqueue.c: Adapt for pad activation changes.
10673
10674         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10675         sched.
10676         (gst_pipeline_dispose): Drop ref on sched.
10677
10678         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10679         (gst_pad_activate_default): Push mode by default.
10680         (pre_activate_switch, post_activate_switch): New stubs, things to
10681         do before and after switching activation modes on pads.
10682         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10683         the pad's activate function to choose which mode to activate.
10684         Shortcut on deactivation and call the right function directly.
10685         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10686         mode.
10687         (gst_pad_activate_push): New API, same for push mode.
10688         (gst_pad_set_activate_function) 
10689         (gst_pad_set_activatepull_function) 
10690         (gst_pad_set_activatepush_function): Setters for new API.
10691
10692         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10693         Trace all miniobjects.
10694         (gst_mini_object_make_writable): Unref the arg if we copy, like
10695         gst_caps_make_writable.
10696
10697         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10698
10699         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10700         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10701         Adapt for new pad API.
10702
10703         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10704
10705         * gst/gstelement.h:
10706         * gst/gstelement.c (gst_element_iterate_src_pads) 
10707         (gst_element_iterate_sink_pads): New API functions.
10708         
10709         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10710         should fold into gstiterator.c in some form.
10711         (gst_element_pads_activate): Simplified via use of fold and
10712         delegation of decisions to gstpad->activate.
10713
10714         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10715         help in debugging.
10716
10717         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10718         class once in init, like gstmessage. Didn't run into this issue
10719         but it seems correct. Don't initialize a trace, gstminiobject does
10720         that.
10721
10722         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10723         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10724         to the bus.
10725         (assert_live_count): New util function, uses alloc traces to check
10726         cleanup.
10727
10728         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10729         To be modified when unlink drops the internal pad.
10730
10731 2005-06-27  Wim Taymans  <wim@fluendo.com>
10732
10733         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10734         (gst_bin_change_state):
10735         Cleanup the get_state() function a little, make sure it
10736         iterates the same set of elements.
10737         Added stub iterate_state_order().
10738
10739 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10740
10741         * docs/gst/gstreamer-docs.sgml:
10742         * docs/gst/gstreamer-sections.txt:
10743         * docs/gst/gstreamer.types:
10744         * docs/gst/tmpl/gstbasesink.sgml:
10745         * docs/gst/tmpl/gstbasesrc.sgml:
10746         * docs/gst/tmpl/gstbasetransform.sgml:
10747         * docs/gst/tmpl/gstelement.sgml:
10748         * docs/gst/tmpl/gstiterator.sgml:
10749         * gst/base/gstbasesrc.c:
10750         * gst/base/gstbasesrc.h:
10751         * gst/base/gstbasetransform.h:
10752         * gst/gstelement.c:
10753         * gst/gstiterator.h:
10754           adding basetransform and iterator docs
10755
10756 2005-06-27  Andy Wingo  <wingo@pobox.com>
10757
10758         * docs/design/part-activation.txt: Notes on how activation should
10759         work -- not quite implemented yet.
10760
10761 2005-06-25  Wim Taymans  <wim@fluendo.com>
10762
10763         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10764         At least get the chain function correct, needs more
10765         fixing.
10766
10767 2005-06-25  Wim Taymans  <wim@fluendo.com>
10768
10769         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10770         (gst_basesink_handle_object), (gst_basesink_event),
10771         (gst_basesink_do_sync), (gst_basesink_handle_event),
10772         (gst_basesink_change_state):
10773         * gst/gsttask.h:
10774         Right, two problems here: ghostpads don't take locks and
10775         glib _rec_mutex_lock_full() with depth==0 still locks.
10776         Catch illegal locking and g_warn them.
10777
10778 2005-06-25  Wim Taymans  <wim@fluendo.com>
10779
10780         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10781         Have to check for completion now...
10782
10783 2005-06-25  Wim Taymans  <wim@fluendo.com>
10784
10785         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10786         (gst_basesink_handle_object), (gst_basesink_event),
10787         (gst_basesink_do_sync), (gst_basesink_handle_event),
10788         (gst_basesink_change_state):
10789         * gst/gstpad.h:
10790         Unlock STREAM_LOCK whatever the recursion was.
10791
10792 2005-06-25  Wim Taymans  <wim@fluendo.com>
10793
10794         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10795         (gst_basesink_preroll_queue_empty),
10796         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10797         (gst_basesink_event), (gst_basesink_do_sync),
10798         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10799         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10800         (gst_basesink_change_state):
10801         Reworked the base sink, handle event and buffer serialisation
10802         correctly and removed possible deadlock.
10803         Handle EOS correctly.
10804
10805 2005-06-25  Wim Taymans  <wim@fluendo.com>
10806
10807         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10808         (gst_pipeline_change_state):
10809         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10810         Allow elements to post EOS in the state change function.
10811         Fix up -launch, make it exit the poll loop when the
10812         pipeline actually changed state.
10813         Fix up warning parsing in -launch.
10814
10815 2005-06-25  Wim Taymans  <wim@fluendo.com>
10816
10817         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10818         (gst_tee_sink_activate):
10819         Core takes STREAM_LOCK for us now.
10820
10821 2005-06-25  Wim Taymans  <wim@fluendo.com>
10822
10823         * gst/gstelement.c: (gst_element_get_state_func),
10824         (gst_element_set_state):
10825         * gst/gstelement.h:
10826         * gst/gstmessage.c: (gst_message_parse_error),
10827         (gst_message_parse_warning):
10828         Keep track of current target state while performing a state
10829         change so that subclasses can do something interesting.
10830         Fix parsing of warning/error messages when GError is NULL.
10831
10832 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10833
10834         * docs/gst/Makefile.am:
10835         * docs/gst/gstreamer-docs.sgml:
10836         * docs/gst/gstreamer-sections.txt:
10837         * docs/gst/gstreamer.types:
10838         * docs/gst/tmpl/gstbasesink.sgml:
10839         * docs/gst/tmpl/gstbasesrc.sgml:
10840         * docs/gst/tmpl/gstbin.sgml:
10841         * docs/gst/tmpl/gstcompat.sgml:
10842         * docs/gst/tmpl/gstfakesink.sgml:
10843         * docs/gst/tmpl/gstfakesrc.sgml:
10844         * docs/gst/tmpl/gstfilesink.sgml:
10845         * docs/gst/tmpl/gstfilesrc.sgml:
10846         * docs/gst/tmpl/gstindex.sgml:
10847         * docs/manual/appendix-quotes.xml:
10848         * gst/base/gstbasesrc.h:
10849         * gst/elements/gstfakesrc.h:
10850         * gst/gstmessage.h:
10851           start pulling in base classes and elements in our docs
10852
10853 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10854
10855         * docs/gst/Makefile.am:
10856         * docs/libs/Makefile.am:
10857           fixed make distcheck with gtk-doc 1.3
10858
10859 2005-06-23  Wim Taymans  <wim@fluendo.com>
10860
10861         * gst/gstelement.c: (gst_element_get_state_func),
10862         (gst_element_set_state), (gst_element_change_state):
10863         When the state did not change, also report NO_PREROLL
10864         when it matters.
10865
10866 2005-06-23  Wim Taymans  <wim@fluendo.com>
10867
10868         * gst/gstpad.c: (gst_pad_event_default):
10869         * gst/gstqueue.c: (gst_queue_loop):
10870         No unsafe task pausing please.
10871
10872 2005-06-23  Wim Taymans  <wim@fluendo.com>
10873
10874         * gst/schedulers/threadscheduler.c:
10875         (gst_thread_scheduler_task_start),
10876         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10877         Ref the task before pushing it on the threadpool. This
10878         makes sure that we have a ref when the threadfunction is
10879         actually called.
10880
10881 2005-06-23  Andy Wingo  <wingo@pobox.com>
10882
10883         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10884         offset is greater than the file's size.
10885
10886         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10887         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10888         * gst/gstobject.c (gst_object_class_init): Make the class lock
10889         recursive. Wim won't let me drop deep_notify. Decodebin works
10890         again, whoopdy doo.
10891
10892         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10893         internal pad, and hacks accordingly. Doesn't do it on the target
10894         pad because we change its caps. Probably catches all cases of
10895         interest tho.
10896         (gst_ghost_pad_set_property): Connect to notify::caps as
10897         appropritate.
10898
10899         * tests/network-clock.scm (plot-simulation): Pipe data to the
10900         elite python skript.
10901
10902         * tests/network-clock-utils.scm (define-parameter): New macro,
10903         defines a parameter that can be set via the command line.
10904         (set-parameter!, parse-parameter-arguments): Command line args
10905         parser.
10906
10907         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10908         stdin.
10909
10910 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10911
10912         * gst/elements/gsttypefindelement.c:
10913         (gst_type_find_element_handle_event):
10914           Don't restart typefinding on a discont.
10915         * gst/gstelement.c: (gst_element_set_state):
10916           Debug spelling fix.
10917         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10918           Allow changing mode of an active pad.
10919           Debug output fixes.
10920         * gst/registries/gstlibxmlregistry.c: (load_feature):
10921           Don't cast a static pad template to a normal pad template.
10922
10923 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10924
10925         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10926         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10927           remove gst_strtoll completely, since it didn't actually do
10928           anything more than what g_ascii_strtoull already does.
10929           check for range errors when deserializing
10930           do a cast for the unsigned cases; but further fixing needs
10931           a decision on what the interpretation of "(int)" and
10932           deserialization should be for values that fall outside the
10933           type's boundaries (ie, refuse, or interpret as casting)
10934
10935 2005-06-23  Wim Taymans  <wim@fluendo.com>
10936
10937         * check/Makefile.am:
10938         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10939         * docs/design/part-live-source.txt:
10940         * docs/design/part-states.txt:
10941         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10942         (gst_basesrc_set_live), (gst_basesrc_is_live),
10943         (gst_basesrc_get_range), (gst_basesrc_activate),
10944         (gst_basesrc_change_state):
10945         * gst/base/gstbasesrc.h:
10946         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10947         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10948         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10949         * gst/gstelement.c: (gst_element_get_state_func),
10950         (gst_element_set_state):
10951         * gst/gstelement.h:
10952         * gst/gsttypes.h:
10953         * tools/gst-launch.c: (event_loop), (main):
10954         Added support for live sources and other elements that
10955         cannot do preroll.
10956         Updated design docs, added live-source design doc.
10957         Implemented live source functionality in basesrc
10958         Fix error condition in _bin_get_state()
10959         Implement live source handling in -launch.
10960         Added check for live sources.
10961         Fixed case in GstBin where elements were changed state
10962         multiple times.
10963
10964
10965 2005-06-23  Andy Wingo  <wingo@pobox.com>
10966
10967         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10968         borken refcounting.
10969
10970         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10971         gst_caps_replace takes care of this for us.
10972
10973         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10974         gst_pad_set_caps on the target, not just its setcaps() function.
10975
10976         * tests/network-clock.scm: 
10977         * tests/network-clock-utils.scm: A network clock simulator.
10978         Something of an algorithmic testbed before doing something in C.
10979
10980 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10981
10982         * check/Makefile.am:
10983         * check/gst/capslist.h:
10984           copy over from 0.8, and add two with bitmasks specified with
10985           (int) 0xFF...
10986         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10987           add test to parse everything from capslist.h
10988         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10989         (main):
10990           add test for structure deserialization
10991         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10992           add tests for deserialization of strings to int types
10993         * gst/gststructure.c: (gst_structure_nth_field_name):
10994         * gst/gststructure.h:
10995           add a way to get the name of a field referenced by index
10996         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10997           instead of checking if the resulting long long lies between
10998           min and max, we check if the long long would fit into
10999           a number of bytes for the final type.
11000           This fixes cases where a string represents 2^32 - 1, which
11001           when cast to int would be the (valid) -1, but is bigger than
11002           G_MAXINT
11003
11004 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11005
11006         * gst/parse/grammar.y:
11007           add a log line for type deserialization
11008
11009 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11010
11011         * check/gst/gstvalue.c: (START_TEST):
11012         * gst/gstvalue.c: (gst_value_deserialize):
11013           return long long, not int, so gint64 deserialization actually
11014           works.  Is there any flag that makes the compiler check this ?
11015           Fixes #308559
11016
11017 2005-06-22  Wim Taymans  <wim@fluendo.com>
11018
11019         * gst/gstbuffer.h:
11020         Added convenience macros for setting buffers in GValue.
11021
11022 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11023
11024         * check/gst/.cvsignore:
11025         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11026           add a test deserializing int64, and comment part out because
11027           it fails, yay !
11028
11029 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11030
11031         * check/Makefile.am:
11032         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11033         * testsuite/Makefile.am:
11034         * testsuite/caps/Makefile.am:
11035         * testsuite/caps/value_serialize.c:
11036         * testsuite/test_gst_init.c:
11037           move a value_serialize test over
11038
11039 2005-06-20  Wim Taymans  <wim@fluendo.com>
11040
11041         * gst/gstpad.c:
11042         Small doc updates.
11043         
11044         * gst/gstvalue.c: (gst_value_compare_buffer),
11045         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11046         (gst_value_compare_flags), (gst_value_serialize_flags),
11047         (gst_value_deserialize_flags), (_gst_value_initialize):
11048         Fix serialisation of buffers, they are not boxed types anymore
11049
11050 2005-06-20  Wim Taymans  <wim@fluendo.com>
11051
11052         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11053         Testcase to show error in buffer-on-caps serialisation.
11054
11055 2005-06-20  Andy Wingo  <wingo@pobox.com>
11056
11057         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11058         will be adding to later.
11059
11060         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11061         if its socks fill with rocks.
11062         (gst_system_clock_obtain): Set the name on object construction.
11063         Avoid double-checked locking.
11064
11065 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * gst/gsturi.c: (gst_element_make_from_uri):
11068           Fix potential endless loop.
11069
11070 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11071
11072         * check/Makefile.am:
11073           add gsttag
11074         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11075         (main):
11076           move over from testsuite dir and clean up
11077         * configure.ac:
11078         * gst/gsttag.c:
11079         * testsuite/Makefile.am:
11080         * testsuite/tags/.cvsignore:
11081         * testsuite/tags/Makefile.am:
11082         * testsuite/tags/merge.c:
11083           remove testsuite/tags
11084
11085 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11086
11087         * docs/gst/gstreamer-sections.txt:
11088         * docs/gst/tmpl/gstenumtypes.sgml:
11089         * win32/gstenumtypes.c:
11090           clean up documentation build a little
11091
11092 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11093
11094         * check/gstcheck.h:
11095           add macros for checking refcounts on objects and caps
11096         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11097           add some more unit tests
11098         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11099         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11100           fix leaked refcounts (I hope :)) so unittest works
11101         * gst/gstpad.h:
11102           whitespace removal
11103
11104 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11105
11106         * configure.ac: back to HEAD
11107
11108 === release 0.9.1 ===
11109
11110 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11111
11112         * NEWS:
11113         * RELEASE:
11114           updated
11115
11116 2005-06-17  Andy Wingo  <wingo@pobox.com>
11117
11118         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11119         assert; it's always possible that the pad gets deactivated in
11120         between the checks in gstpad.c and the implementation. Rely on
11121         finish_preroll() to return a FLUSHING or similar instead of on the
11122         assert.
11123         
11124         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11125         clock and post an EOS message if we come out of finish_preroll in
11126         the playing state.
11127
11128 2005-06-16  David Schleef  <ds@schleef.org>
11129
11130         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11131         (gst_capsfilter_set_property): Allow NULL as possible value
11132         for filter_caps property, indicating GST_CAPS_ANY.
11133
11134 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11135
11136         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11137           fix debug output
11138         * gst/schedulers/Makefile.am:
11139           use libgst prefix
11140         * gstreamer.spec.in:
11141           fix spec for it
11142
11143 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11144
11145         * gstreamer.spec.in:
11146           clean up
11147
11148 2005-06-08  Andy Wingo  <wingo@pobox.com>
11149
11150         * gst/gstutils.c: RPAD fixes all around.
11151         (gst_element_link_pads): Refcounting fixes.
11152
11153         * tools/gst-inspect.c:
11154         * tools/gst-xmlinspect.c:
11155         * parse/grammar.y:
11156         * gst/base/gsttypefindhelper.c:
11157         * gst/base/gstbasesink.c:
11158         * gst/gstqueue.c: RPAD fixes.
11159
11160         * gst/gstghostpad.h:
11161         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11162         pads. The tricky thing is they provide both source and sink
11163         interfaces, since they proxy the internal pad for the external
11164         pad, and vice versa. Implement with lower-level ProxyPad objects,
11165         with the interior proxy pad as a child of the exterior ghost pad.
11166         Should write a doc on this.
11167         
11168         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11169         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11170         gst_object API.
11171         
11172         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11173         pads are real pads. No ghost pads in this file. Not documenting
11174         the myriad s/RPAD/PAD/ and REALIZE fixes.
11175         (gst_pad_class_init): Add properties for "direction" and
11176         "template". Both are construct-only, so they can't change during
11177         the life of the pad. Fixes properly deriving from GstPad.
11178         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11179         derived objects, just set properties when creating the objects via
11180         g_object_new.
11181         (gst_pad_get_parent): Implement as a function, return NULL if the
11182         parent is not an element.
11183         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11184         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11185         
11186         * gst/gstobject.c (gst_object_class_init): Make name a construct
11187         property. Don't set it in the object init.
11188
11189         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11190         with UNKNOWN direction.
11191         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11192         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11193         (gst_element_remove_pad): Remove ghost-pad special cases.
11194         (gst_element_pads_activate): Remove rpad cruft.
11195
11196         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11197         catch the pad's-parent-not-an-element case.
11198
11199         * gst/gst.h: Include gstghostpad.h.
11200
11201         * gst/gst.c (init_post): No more real, ghost pads.
11202
11203         * gst/Makefile.am: Add gstghostpad.[ch].
11204
11205         * check/Makefile.am:
11206         * check/gst/gstbin.c:
11207         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11208         into a bin creates ghost pads, and that the refcounts are right.
11209         Partly moved from gstbin.c.
11210
11211 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11212
11213         * check/gst-libs/.cvsignore:
11214         * check/gst/.cvsignore:
11215         * check/pipelines/.cvsignore:
11216           ignore more
11217         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11218         (START_TEST), (cleanup_suite), (main):
11219           add some tests related to cleanup after running pipelines
11220
11221 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11222
11223         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11224           add a testsuite for GstBuffer
11225
11226 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11227
11228         * gst/gstminiobject.h:
11229           add defines for accessing the refcount
11230
11231 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11232
11233         * Makefile.am: added support for html unit test coverage reports
11234
11235 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11236
11237         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11238           Free existing caps if the capsfilter changes. Add a FIXME about
11239           setting those caps on the pads.
11240
11241         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11242           Before adding a ghost pad to a parent bin, check that there isn't
11243           already one for the element on the bin. Prevents infinite recursion
11244           when using decodebin in parse pipelines. Andy says he'll rewrite the
11245           way this works anyway, so ignore the hack.
11246
11247 2005-06-02  Andy Wingo  <wingo@pobox.com>
11248
11249         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11250         file size, pass it on to the type find helper.
11251
11252         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11253         segment_start and segment_end properly according to the seek
11254         method. Segment_end is still a bit flaky because offset can be
11255         negative for CUR and END cases, but it takes -1 as an "unset"
11256         value.
11257
11258 2005-06-02  Wim Taymans  <wim@fluendo.com>
11259
11260         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11261         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11262         (gst_basesink_activate):
11263         * gst/base/gstbasesink.h:
11264         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11265         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11266         (gst_pad_query), (gst_pad_start_task):
11267         * gst/gstpad.h:
11268         * gst/gstqueue.c: (gst_queue_bufferalloc),
11269         (gst_queue_handle_sink_event), (gst_queue_chain):
11270         Bufferalloc: return GstFlowReturn to more accuratly report
11271         why allocation failed.
11272
11273 2005-06-02  Wim Taymans  <wim@fluendo.com>
11274
11275         * gst/gstpipeline.c: (gst_pipeline_send_event):
11276         Take snapshot of state without blocking.
11277
11278 2005-06-02  Wim Taymans  <wim@fluendo.com>
11279
11280         * docs/design/part-TODO.txt:
11281         * docs/design/part-caps.txt:
11282         * docs/design/part-clocks.txt:
11283         * docs/design/part-negotiation.txt:
11284         * docs/design/part-preroll.txt:
11285         Small doc updates 
11286
11287 2005-05-30  Wim Taymans  <wim@fluendo.com>
11288
11289         * gst/elements/gstidentity.c: (gst_identity_event),
11290         (gst_identity_transform), (gst_identity_get_property):
11291         Protect last_message property as it is accessed from
11292         multiple threads.
11293
11294 2005-05-30  Wim Taymans  <wim@fluendo.com>
11295
11296         * gst/gstelement.c: (gst_element_init),
11297         (gst_element_pads_activate), (gst_element_change_state):
11298         Slicker pad activation code.
11299
11300 2005-05-30  Wim Taymans  <wim@fluendo.com>
11301
11302         * gst/Makefile.am:
11303         * gst/gstelement.h:
11304         * gst/gstelementfactory.h:
11305         * gst/gsttypes.h:
11306         Move elementfactory methods to separate .h file.
11307
11308 2005-05-30  Wim Taymans  <wim@fluendo.com>
11309
11310         * docs/design/part-overview.txt:
11311         * gst/gstsystemclock.h:
11312         Small typo fixes, doc updates.
11313
11314 2005-05-30  Wim Taymans  <wim@fluendo.com>
11315
11316         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11317         (init_popt_callback):
11318         Remove cpu-opt flag.
11319
11320 2005-05-30  Wim Taymans  <wim@fluendo.com>
11321
11322         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11323         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11324         * gst/gstbuffer.h:
11325         Avoid typechecking in places where not needed.
11326         Added accessor for malloc_data.
11327
11328 2005-05-30  Wim Taymans  <wim@fluendo.com>
11329
11330         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11331         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11332         (gst_pad_configure_sink), (gst_pad_configure_src),
11333         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11334         (gst_pad_start_task):
11335         Propagate errors from _set_caps() in configure_src/sink
11336         functions instead of returning TRUE.
11337         FLUSH events can travel up and downstream
11338
11339
11340 2005-05-30  Wim Taymans  <wim@fluendo.com>
11341
11342         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11343         (gst_basesink_activate):
11344         Handle EOS in preroll.
11345
11346 2005-05-30  Wim Taymans  <wim@fluendo.com>
11347
11348         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11349         (gst_queue_loop), (gst_queue_handle_src_event):
11350         Remove old pieces of code
11351         Flushing the queue in an upstream event is a very bad idea.
11352
11353 2005-05-26  Andy Wingo  <wingo@pobox.com>
11354
11355         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11356         gst_value_set_mini_object so as to add a ref on the object (which
11357         will be removed when the value is unset).
11358
11359         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11360         arg type in ::handoff.
11361
11362         * gst/gstelement.c (gst_element_change_state): Also deactivate
11363         pads in READY->NULL, just in case the element didn't make it to
11364         PAUSED. Wingo tested, Wim approved.
11365
11366 2005-05-26  Wim Taymans  <wim@fluendo.com>
11367
11368         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11369         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11370         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11371         A flushing pad cannot be used to alloc_buffer from.
11372
11373 2005-05-26  Wim Taymans  <wim@fluendo.com>
11374
11375         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11376         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11377         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11378         (gst_bus_create_watch), (gst_bus_add_watch_full):
11379         * gst/gstbus.h:
11380         Implement a real GSource and use g_main_context_wakeup() to
11381         signal new messages instead of the socketpair.
11382
11383 2005-05-25  Wim Taymans  <wim@fluendo.com>
11384
11385         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11386         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11387         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11388         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11389         (gst_pad_send_event), (gst_pad_start_task):
11390         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11391         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11392         (gst_queue_sink_activate), (gst_queue_src_activate),
11393         (gst_queue_change_state):
11394         * gst/gstqueue.h:
11395         Fix state changes for non sinks. We now change sinks, then elements
11396         with unconnected srcpads, then the rest.
11397         More efficient queue unlocking in flush and state changes.
11398         Set the pad activate mode even if it does not have an activate
11399         function.
11400
11401 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11402
11403         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11404           Don't go in pull mode for non-seekable sources.
11405         * gst/elements/gsttypefindelement.h:
11406         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11407         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11408         (free_entry), (stop_typefinding),
11409         (gst_type_find_element_handle_event), (find_peek),
11410         (gst_type_find_element_chain), (do_pull_typefind),
11411         (gst_type_find_element_change_state):
11412           Allow typefinding (w/o seeking) in push-mode, simplified version
11413           of what was in 0.8.
11414         * gst/gstutils.c: (gst_buffer_join):
11415         * gst/gstutils.h:
11416           gst_buffer_join() from 0.8.
11417
11418 2005-05-25  Wim Taymans  <wim@fluendo.com>
11419
11420         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11421         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11422         (gst_pad_send_event), (gst_pad_start_task):
11423         Disable attempt at mode switching until it is figured out.
11424
11425 2005-05-25  Wim Taymans  <wim@fluendo.com>
11426
11427         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11428         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11429         (gst_basesink_finish_preroll), (gst_basesink_chain),
11430         (gst_basesink_loop), (gst_basesink_activate),
11431         (gst_basesink_change_state):
11432         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11433         (gst_basesrc_get_range), (gst_basesrc_loop),
11434         (gst_basesrc_activate):
11435         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11436         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11437         (gst_real_pad_init), (gst_real_pad_set_property),
11438         (gst_real_pad_get_property), (gst_pad_set_active),
11439         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11440         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11441         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11442         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11443         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11444         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11445         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11446         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11447         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11448         (gst_pad_stop_task):
11449         * gst/gstpad.h:
11450         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11451         (gst_queue_loop), (gst_queue_src_activate):
11452         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11453         (gst_task_get_state):
11454         * gst/gsttask.h:
11455         * gst/schedulers/threadscheduler.c:
11456         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11457         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11458         in task function.
11459         Remove ACTIVE pad flag, use FLUSHING everywhere
11460         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11461         functions.
11462         Add locks around IS_FLUSHING when reading.
11463         Take STREAM lock in chain(), get_range() functions so plugins
11464         don't need to take it anymore.
11465         
11466
11467
11468 2005-05-25  Wim Taymans  <wim@fluendo.com>
11469
11470         * tools/gst-launch.c: (event_loop):
11471         Unref message after using its contents instead of
11472         before.
11473
11474 2005-05-24  Wim Taymans  <wim@fluendo.com>
11475
11476         * docs/design/draft-ghostpads.txt:
11477         * docs/design/draft-push-pull.txt:
11478         * docs/design/draft-query.txt:
11479         * docs/design/part-overview.txt:
11480         Docs updates, added general overview doc.
11481
11482 2005-05-21  David Schleef  <ds@schleef.org>
11483
11484         * docs/gst/tmpl/old/GstBin.sgml:
11485         * docs/gst/tmpl/old/GstBuffer.sgml:
11486         * docs/gst/tmpl/old/GstCaps.sgml:
11487         * docs/gst/tmpl/old/GstClock.sgml:
11488         * docs/gst/tmpl/old/GstCompat.sgml:
11489         * docs/gst/tmpl/old/GstData.sgml:
11490         * docs/gst/tmpl/old/GstElement.sgml:
11491         * docs/gst/tmpl/old/GstEvent.sgml:
11492         * docs/gst/tmpl/old/GstIndex.sgml:
11493         * docs/gst/tmpl/old/GstStructure.sgml:
11494         * docs/gst/tmpl/old/GstTag.sgml:
11495         * docs/gst/tmpl/old/cothreads.sgml:
11496         * docs/gst/tmpl/old/cothreads_compat.sgml:
11497         * docs/gst/tmpl/old/gettext.sgml:
11498         * docs/gst/tmpl/old/gobject2gtk.sgml:
11499         * docs/gst/tmpl/old/grammar.tab.sgml:
11500         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11501         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11502         * docs/gst/tmpl/old/gst_private.sgml:
11503         * docs/gst/tmpl/old/gstaggregator.sgml:
11504         * docs/gst/tmpl/old/gstarch.sgml:
11505         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11506         * docs/gst/tmpl/old/gstbufferstore.sgml:
11507         * docs/gst/tmpl/old/gstdata_private.sgml:
11508         * docs/gst/tmpl/old/gstdisksink.sgml:
11509         * docs/gst/tmpl/old/gstdisksrc.sgml:
11510         * docs/gst/tmpl/old/gstelementfactory.sgml:
11511         * docs/gst/tmpl/old/gstextratypes.sgml:
11512         * docs/gst/tmpl/old/gstfakesink.sgml:
11513         * docs/gst/tmpl/old/gstfakesrc.sgml:
11514         * docs/gst/tmpl/old/gstfdsink.sgml:
11515         * docs/gst/tmpl/old/gstfdsrc.sgml:
11516         * docs/gst/tmpl/old/gstfilesink.sgml:
11517         * docs/gst/tmpl/old/gstfilesrc.sgml:
11518         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11519         * docs/gst/tmpl/old/gstidentity.sgml:
11520         * docs/gst/tmpl/old/gstindexfactory.sgml:
11521         * docs/gst/tmpl/old/gstmarshal.sgml:
11522         * docs/gst/tmpl/old/gstmd5sink.sgml:
11523         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11524         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11525         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11526         * docs/gst/tmpl/old/gstpipefilter.sgml:
11527         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11528         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11529         * docs/gst/tmpl/old/gstshaper.sgml:
11530         * docs/gst/tmpl/old/gstspider.sgml:
11531         * docs/gst/tmpl/old/gstspideridentity.sgml:
11532         * docs/gst/tmpl/old/gststatistics.sgml:
11533         * docs/gst/tmpl/old/gsttee.sgml:
11534         * docs/gst/tmpl/old/gsttimecache.sgml:
11535         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11536         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11537         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11538         * docs/gst/tmpl/old/types.sgml:
11539           I didn't intend to add these or check them in.
11540
11541 2005-05-19  David Schleef  <ds@schleef.org>
11542
11543         * configure.ac: Use -no-common everywhere.  In a sane world, it
11544           would be the default in libtool, because without it, you can't
11545           build DLLs on Windows.
11546         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11547         * docs/gst/gstreamer-sections.txt:
11548         * docs/gst/tmpl/gstcpu.sgml:
11549         * docs/gst/tmpl/gstdata.sgml:
11550         * docs/gst/tmpl/gstthread.sgml:
11551
11552 2005-05-19  David Schleef  <ds@schleef.org>
11553
11554         * gst/gstminiobject.c: (gst_value_set_mini_object),
11555         (gst_value_take_mini_object), (gst_value_get_mini_object):
11556         * gst/gstminiobject.h: Add GValue set/get functions.
11557
11558 2005-05-19  Wim Taymans  <wim@fluendo.com>
11559
11560         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11561         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11562         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11563         * gst/gstbuffer.h:
11564         * gst/gstbus.c: (gst_bus_post):
11565         * gst/gstelement.c: (gst_element_get_random_pad):
11566         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11567         Make subbufer unref the parent in finalize.
11568         some more debugging info.
11569
11570
11571 2005-05-19  Wim Taymans  <wim@fluendo.com>
11572
11573         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11574         (gst_basesink_init), (gst_basesink_finalize),
11575         (gst_basesink_activate), (gst_basesink_change_state):
11576         Don't free preroll queue too early.
11577
11578 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11579
11580         * gst/Makefile.am:
11581         * gst/ROADMAP:
11582           Hi, I'm outdated. Please shoot me.
11583
11584 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11585
11586         * gst/gstpipeline.c: (gst_pipeline_send_event):
11587           Do not access variables after they have been deleted.
11588
11589 2005-05-19  Wim Taymans  <wim@fluendo.com>
11590
11591         * tools/gst-inspect.c: (print_plugin_features):
11592         A plugin feature does unfortunatly not use the
11593         object name yet...
11594
11595 2005-05-18  Wim Taymans  <wim@fluendo.com>
11596
11597         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11598         Port _span() functions to new subbuffers.
11599
11600 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11601
11602         * gst/gstbin.c: (gst_bin_add_func):
11603           Fix clock settery in bins when adding kids after the clock has
11604           been selected.
11605
11606 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11607
11608         * gst/elements/gstidentity.c: (gst_identity_class_init):
11609           Workaround until signals support GstMiniObject.
11610
11611 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11612
11613         * gst/gstbuffer.c:
11614         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11615
11616 2005-05-18  Wim Taymans  <wim@fluendo.com>
11617
11618         * gst/base/Makefile.am:
11619         * gst/base/gstadapter.c: (gst_adapter_base_init),
11620         (gst_adapter_class_init), (gst_adapter_init),
11621         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11622         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11623         (gst_adapter_flush), (gst_adapter_available),
11624         (gst_adapter_available_fast):
11625         * gst/base/gstadapter.h:
11626         Ported and added adapter to the base classes.
11627
11628 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11629
11630         * gst/gst.c:
11631         * gst/gstmessage.c:
11632           Make sure the class is reffed/unreffed once before threads can be
11633           used.  Fixes #304551.
11634
11635 2005-05-17  Wim Taymans  <wim@fluendo.com>
11636
11637         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11638         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11639         * gst/gstminiobject.c: (gst_mini_object_get_type),
11640         (gst_mini_object_free):
11641         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11642         (gst_pad_push), (gst_pad_push_event):
11643         * gst/gstqueue.c: (gst_queue_change_state):
11644         Don't queue buffers in basesink when we are flushing.
11645         Unref buffer when flushing in basesink.
11646         Flush queue when going to READY
11647         Unref buffer when _push() returns an error.
11648         Don't free MiniObject instance when refcount is incremented
11649         in _finalize() so that we can recover objects.
11650
11651 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11652
11653         * docs/manual/advanced-schedulers.xml:
11654         * docs/manual/appendix-checklist.xml:
11655         * docs/pwg/advanced-clock.xml:
11656         * docs/pwg/advanced-interfaces.xml:
11657         * docs/pwg/advanced-request.xml:
11658         * docs/pwg/advanced-types.xml:
11659         * docs/pwg/intro-preface.xml:
11660         * examples/plugins/example.c: (gst_example_get_type),
11661         (gst_example_class_init), (gst_example_chain),
11662         (gst_example_set_property), (gst_example_get_property),
11663         (gst_example_change_state), (plugin_init):
11664         * examples/plugins/example.h:
11665           small doc fixes
11666
11667 2005-05-17  Wim Taymans  <wim@fluendo.com>
11668
11669         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11670         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11671         * gst/gstqueue.c: (gst_queue_change_state):
11672         Clear queue when going to READY.
11673         Remove IN_SETCAPS flag too.
11674
11675 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11676
11677         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11678           Remove implicit cast from gboolean to GstElementStateReturn;
11679           make sure we still return failure in paused => ready case if
11680           the parent class fails to change state and our own stop 
11681           vfunc succeeds.
11682
11683 2005-05-17  Wim Taymans  <wim@fluendo.com>
11684
11685         * tools/gst-launch.c: (event_loop):
11686         Message was unreffed too soon.
11687
11688 2005-05-16  Andy Wingo  <wingo@pobox.com>
11689
11690         * gst/gstbin.c (sink_iterator_filter): Err... um...
11691
11692         * check/gst/gstbin.c (test_ghost_pads): New test for the
11693         ghosting-if-elements-not-in-same-bin behavior.
11694
11695 2005-05-16  David Schleef  <ds@schleef.org>
11696
11697         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11698         accessing refcount directly.
11699
11700 2005-05-15  David Schleef  <ds@schleef.org>
11701
11702         * check/Makefile.am: remove GstData checks
11703         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11704         * gst/Makefile.am: add miniobject, remove data
11705         * gst/gst.h: add miniobject, remove data
11706         * gst/gstdata.c: remove
11707         * gst/gstdata.h: remove
11708         * gst/gstdata_private.h: remove
11709         * gst/gsttypes.h: remove GstEvent and GstMessage
11710         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11711         * gst/gstmarshal.list: change BOXED -> OBJECT
11712
11713         Implement GstMiniObject.
11714         * gst/gstminiobject.c:
11715         * gst/gstminiobject.h:
11716
11717         Modify to be subclasses of GstMiniObject.
11718         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11719         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11720         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11721         (gst_subbuffer_get_type), (gst_subbuffer_init),
11722         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11723         (gst_buffer_span):
11724         * gst/gstbuffer.h:
11725         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11726         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11727         (_gst_event_copy), (gst_event_new):
11728         * gst/gstevent.h:
11729         * gst/gstmessage.c: (_gst_message_initialize),
11730         (gst_message_get_type), (gst_message_class_init),
11731         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11732         (gst_message_new), (gst_message_new_error),
11733         (gst_message_new_warning), (gst_message_new_tag),
11734         (gst_message_new_state_changed), (gst_message_new_application):
11735         * gst/gstmessage.h:
11736         * gst/gstprobe.c: (gst_probe_perform),
11737         (gst_probe_dispatcher_dispatch):
11738         * gst/gstprobe.h:
11739         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11740         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11741         (_gst_query_copy), (gst_query_new):
11742
11743         Update elements for GstData -> GstMiniObject changes
11744         * gst/gstquery.h:
11745         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11746         (gst_queue_chain), (gst_queue_loop):
11747         * gst/elements/gstbufferstore.c:
11748         (gst_buffer_store_add_buffer_func),
11749         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11750         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11751         (gst_fakesink_render):
11752         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11753         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11754         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11755         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11756         (gst_filesrc_create_read):
11757         * gst/elements/gstidentity.c: (gst_identity_class_init):
11758         * gst/elements/gsttypefindelement.c:
11759         (gst_type_find_element_src_event), (free_entry_buffers),
11760         (gst_type_find_element_handle_event):
11761         * libs/gst/dataprotocol/dataprotocol.c:
11762         (gst_dp_header_from_buffer):
11763         * libs/gst/dataprotocol/dataprotocol.h:
11764         * libs/gst/dataprotocol/dp-private.h:
11765
11766 2005-05-15  David Schleef  <ds@schleef.org>
11767
11768         * gst/elements/gstelements.c: Don't include headers that were
11769         just removed.
11770
11771 2005-05-15  David Schleef  <ds@schleef.org>
11772
11773         * gst/elements/Makefile.am: Remove some elements that don't
11774         need to be in the core (or even exist at all).
11775         * gst/elements/gstaggregator.c:
11776         * gst/elements/gstaggregator.h:
11777         * gst/elements/gstmd5sink.c:
11778         * gst/elements/gstmd5sink.h:
11779         * gst/elements/gstmultifilesrc.c:
11780         * gst/elements/gstmultifilesrc.h:
11781         * gst/elements/gstpipefilter.c:
11782         * gst/elements/gstpipefilter.h:
11783         * gst/elements/gstshaper.c:
11784         * gst/elements/gstshaper.h:
11785         * gst/elements/gststatistics.c:
11786         * gst/elements/gststatistics.h:
11787         * po/POTFILES.in: Remove above files.
11788
11789 2005-05-14  Andy Wingo  <wingo@pobox.com>
11790
11791         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11792         so as to get the refs right.
11793         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11794         unreffing objects that don't pass the filter.
11795
11796         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11797         gst_element_set_bus.
11798         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11799         normal cases, this will destroy the bus.
11800
11801         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11802         object.
11803
11804         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11805         has no sinks.
11806
11807 2005-05-13  Andy Wingo  <wingo@pobox.com>
11808
11809         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11810         gst_pad_link, call pad_link_maybe_ghosting,
11811         (pad_link_maybe_ghosting): Links pads, making sure that the
11812         elements being linked are in the same bin.
11813         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11814         Helpers for pad_link_maybe_ghosting.
11815
11816 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11817
11818         * configure.ac:
11819           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11820
11821 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11822
11823         * docs/design/part-element-source.txt:
11824           Mention GstPushSrc
11825
11826 2005-05-12  Wim Taymans  <wim@fluendo.com>
11827
11828         * gst/base/gstbasesink.c: (gst_basesink_init),
11829         (gst_basesink_activate):
11830         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11831         (gst_basesrc_is_seekable):
11832         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11833         (bin_element_is_sink), (gst_bin_change_state):
11834         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11835         * gst/gstelement.h:
11836         Identify sinks by their flag to avoid overly complicated
11837         checks (fow now).
11838         Do state changes even for elements not reachable from the
11839         sinks.
11840         BaseSink is a sink now :)
11841         Some more debugging info in the basesrc.
11842
11843
11844 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11845
11846         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11847           Implement _query on a bin, similar to _send_event.
11848
11849 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11850
11851         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11852           Discont event offset format should be GST_FORMAT_BYTES,
11853           not GST_FORMAT_TIME.
11854
11855 2005-05-12  Wim Taymans  <wim@fluendo.com>
11856
11857         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11858         Same fix as Ronald's but without the signal. 
11859
11860 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11861
11862         * gst/gstutils.c: (gst_element_query_position):
11863           No, an element is not a pad.
11864
11865 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11866
11867         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11868         (gst_bin_get_state):
11869           If a child is removed from a bin while we remove the child from
11870           the bin and while we're retrieving its state, signal this to the
11871           get_state function so we abort the wait (instead of waiting for
11872           a timeout) and can immediately re-iterate over all other elements.
11873
11874 2005-05-12  Wim Taymans  <wim@fluendo.com>
11875
11876         * gst/base/Makefile.am:
11877         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11878         (gst_basesrc_start):
11879         * gst/base/gstbasesrc.h:
11880         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11881         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11882         (gst_pushsrc_init), (gst_pushsrc_create):
11883         * gst/base/gstpushsrc.h:
11884         Added is_seekable to BaseSrc
11885         Added simple PushSrc.
11886
11887 2005-05-11  Wim Taymans  <wim@fluendo.com>
11888
11889         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11890         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11891         (gst_element_link_pads), (gst_element_query_position),
11892         (gst_element_query_convert), (intersect_caps_func),
11893         (gst_pad_query_position), (gst_pad_query_convert):
11894         Fix refcounting in utils function.
11895         No point in trying to activate a pad when it's added, it could
11896         be added from the state change function and then we deadlock, the
11897         element has to decide what to do.
11898
11899 2005-05-10  Andy Wingo  <wingo@pobox.com>
11900
11901         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11902         *all* the arguments.
11903
11904         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11905         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11906         lock (according to the docs -- if this is wrong change the docs).
11907
11908         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11909         flush messages in the NULL state.
11910
11911         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11912         message immediately and return.
11913         (gst_bus_set_flushing): New function. If a bus is flushing, it
11914         flushes out any queued messages and immediately unrefs new
11915         messages. This is so when an element goes to NULL, all of the
11916         unhandled messages coming from it can be freed, and their
11917         references to the element dropped. In other words: message source
11918         ref considered harmful :P
11919
11920         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11921         we're finished with it.
11922
11923         * gst/gstmessage.c (gst_message_new_state_changed): 
11924
11925 2005-05-10  Wim Taymans  <wim@fluendo.com>
11926
11927         * gst/gstvalue.c: (gst_value_compare_flags),
11928         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11929         (_gst_value_initialize):
11930         Added flags serialize/deserialize/compare code.
11931
11932 2005-05-09  Andy Wingo  <wingo@pobox.com>
11933
11934         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11935         Intersect the peer's caps with our caps.
11936
11937 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11938
11939         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11940         * gst/elements/gsttypefindelement.c: (find_peek):
11941           Handle negative offsets better. Fixes decodebin.
11942
11943 2005-05-09  Wim Taymans  <wim@fluendo.com>
11944
11945         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11946         (gst_base_transform_event):
11947         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11948         Implement accept_caps.
11949         Fix silly lock/unlock mismatch in base class.
11950
11951 2005-05-09  Wim Taymans  <wim@fluendo.com>
11952
11953         * docs/design/draft-push-pull.txt:
11954         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11955         * gst/elements/gstfilesink.c: (gst_filesink_init),
11956         (gst_filesink_query):
11957         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11958         (gst_type_find_handle_src_query), (find_element_get_length):
11959         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11960         * gst/gstelement.h:
11961         * gst/gstmessage.c:
11962         * gst/gstmessage.h:
11963         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11964         (gst_real_pad_get_caps_unlocked),
11965         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11966         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11967         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11968         (gst_real_pad_dispose), (gst_real_pad_finalize),
11969         (gst_pad_load_and_link), (gst_pad_save_thyself),
11970         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11971         (gst_pad_check_pull_range), (gst_pad_pull_range),
11972         (gst_pad_template_get_type), (gst_pad_template_class_init),
11973         (gst_pad_template_init), (gst_pad_template_dispose),
11974         (name_is_valid), (gst_static_pad_template_get),
11975         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11976         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11977         (gst_pad_get_element_private), (gst_pad_start_task),
11978         (gst_pad_pause_task), (gst_pad_stop_task),
11979         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11980         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11981         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11982         (gst_ghost_pad_new):
11983         * gst/gstpad.h:
11984         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11985         (gst_query_new_position), (gst_query_set_position),
11986         (gst_query_parse_position), (gst_query_new_convert),
11987         (gst_query_set_convert), (gst_query_parse_convert):
11988         * gst/gstquery.h:
11989         * gst/gstqueryutils.c:
11990         * gst/gstqueryutils.h:
11991         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11992         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11993         (gst_queue_handle_src_query):
11994         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11995         (gst_element_query_position), (gst_element_query_convert),
11996         (intersect_caps_func), (gst_pad_query_position),
11997         (gst_pad_query_convert):
11998         * gst/gstutils.h:
11999         * tools/gst-inspect.c: (print_pad_info):
12000         * tools/gst-xmlinspect.c: (print_element_info):
12001         Remove old query functions. Ported old code.
12002         Added position/convert helper functions to gstutils.
12003         Reordered gstpad.c code, grouping relevant things.
12004         Remove gst_message_new(), always need to speficy a specific
12005         message.
12006
12007
12008 2005-05-09  Andy Wingo  <wingo@pobox.com>
12009
12010         * gst/gstiterator.h: Add some includes.
12011
12012         * gst/gstqueryutils.h: Include more headers.
12013
12014         * gst/gstpad.h:
12015         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12016         some uses of gst_pad_query.
12017
12018         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12019         NULL out parameters.
12020         (gst_query_new_position): New proc, allocates a new position
12021         query.
12022
12023         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12024         gstqueryutils.c to the build.
12025
12026         * gst/gststructure.c (gst_structure_set_valist): Implement with
12027         the generic G_VALUE_COLLECT.
12028         
12029 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12030
12031         * gst/Makefile.am: (gst_headers):
12032         Added gstqueryutils.h to the list of headers to install, that was
12033         a 'nachty' move wingo :)
12034
12035 2005-05-06  Andy Wingo  <wingo@pobox.com>
12036
12037         * gst/gstquery.h
12038         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12039         GstData, init a memchunk.
12040         (standard_definitions): Add a few query types, deprecate a few.
12041         (gst_query_get_type): New proc.
12042         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12043         implementation.
12044         (gst_query_new_application, gst_query_get_structure): New public
12045         procs.
12046
12047         * docs/design/draft-query.txt: Removed LINKS from the query types,
12048         because all the rest can be dispatched to other pads -- seemed
12049         ugly to have a query that couldn't be dispatched. internal_links
12050         is fine as a pad method.
12051
12052         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12053         in gstpad.c, but maintain binary compatibility for the moment.
12054         Will fix before 0.9 is out.
12055
12056         * gst/gstqueryutils.c: 
12057         * gst/gstqueryutils.h: New files, implement 3 methods for each
12058         query type: parse_query, parse_response, and set. Probably need an
12059         allocator as well.
12060
12061         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12062
12063         * gst/elements/gstfilesink.c (gst_filesink_query2):
12064         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12065         query_types, and formats methods.
12066
12067         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12068         (gst_pad_set_query2_function): New functions.
12069         (gst_real_pad_init): Set query2_default as the default query2
12070         function. Basically just dispatches to internally linked pads.
12071
12072         Needs review!
12073         
12074         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12075         without using the atomic operations. Only one thread can possibly
12076         be accessing the data at this point. Changed so as to avoid
12077         gst_atomic operations.
12078
12079 2005-05-06  Wim Taymans  <wim@fluendo.com>
12080
12081         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12082         Also set caps if we use the fallback buffer alloc.
12083
12084 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12085
12086         * docs/gst/Makefile.am:
12087         * docs/gst/gstreamer-docs.sgml:
12088         * docs/gst/gstreamer-sections.txt:
12089         * docs/gst/tmpl/gstatomic.sgml:
12090         * docs/gst/tmpl/gstmemchunk.sgml:
12091         * testsuite/elements/struct_i386.h:
12092         * win32/GStreamer.vcproj:
12093         * win32/Makefile:
12094           Purge GstAtomic stuff from docs and win32 makefiles as well
12095
12096 2005-05-06  Wim Taymans  <wim@fluendo.com>
12097
12098         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12099         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12100         * gst/gstpad.c: (gst_pad_peer_get_caps):
12101         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12102         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12103         (gst_queue_src_activate), (gst_queue_change_state):
12104         * gst/gstqueue.h:
12105         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12106         (intersect_caps_func):
12107         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12108         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12109         Some fixes for the peer_get_caps() change.
12110
12111 2005-05-06  Wim Taymans  <wim@fluendo.com>
12112
12113         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12114         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12115         (gst_basesink_activate):
12116         Actually do something with error codes returned from the push
12117         functions.
12118
12119 2005-05-06  Wim Taymans  <wim@fluendo.com>
12120
12121         * docs/design/part-element-sink.txt:
12122         * docs/design/part-element-source.txt:
12123         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12124         (gst_basesink_event), (gst_basesink_activate):
12125         * gst/base/gstbasesink.h:
12126         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12127         (gst_basesrc_activate):
12128         * gst/base/gstbasesrc.h:
12129         * gst/gstelement.c: (gst_element_pads_activate):
12130         Some more documentation.
12131         Fixed scheduling decision in _pads_activate().
12132
12133 2005-05-05  Andy Wingo  <wingo@pobox.com>
12134
12135         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12136         the test suite.
12137
12138 2005-05-05  Wim Taymans  <wim@fluendo.com>
12139
12140         * gst/base/Makefile.am:
12141         * gst/base/gstbasesink.h:
12142         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12143         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12144         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12145         (gst_collectpads_class_init), (gst_collectpads_init),
12146         (gst_collectpads_finalize), (gst_collectpads_new),
12147         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12148         (find_pad), (gst_collectpads_remove_pad),
12149         (gst_collectpads_is_active), (gst_collectpads_collect),
12150         (gst_collectpads_collect_range), (gst_collectpads_start),
12151         (gst_collectpads_stop), (gst_collectpads_peek),
12152         (gst_collectpads_pop), (gst_collectpads_available),
12153         (gst_collectpads_read), (gst_collectpads_flush),
12154         (gst_collectpads_chain):
12155         * gst/base/gstcollectpads.h:
12156         * gst/elements/Makefile.am:
12157         * gst/elements/gstelements.c:
12158         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12159         (gst_fakesink_get_times), (gst_fakesink_event),
12160         (gst_fakesink_preroll), (gst_fakesink_render):
12161         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12162         (gst_filesink_init), (gst_filesink_set_location),
12163         (gst_filesink_open_file), (gst_filesink_close_file),
12164         (gst_filesink_pad_query), (gst_filesink_event),
12165         (gst_filesink_render), (gst_filesink_change_state):
12166         * gst/elements/gstfilesink.h:
12167         Added object to help in making collect pad based elements.
12168         Ported filesink.
12169         Make event function in sink baseclass return gboolean.
12170
12171 2005-05-05  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12174         (gst_bin_get_by_name):
12175         * gst/gstbuffer.h:
12176         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12177         (gst_clock_finalize):
12178         * gst/gstdata.c: (gst_data_replace):
12179         * gst/gstdata.h:
12180         * gst/gstelement.c: (gst_element_request_pad),
12181         (gst_element_pads_activate):
12182         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12183         (gst_object_unref):
12184         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12185         (gst_pad_set_checkgetrange_function),
12186         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12187         (gst_pad_check_pull_range), (gst_pad_pull_range),
12188         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12189         (gst_pad_pause_task), (gst_pad_stop_task):
12190         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12191         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12192         Fix name lookup in GstBin.
12193         Added _data_replace() function and _buffer_replace()
12194         Use finalize method to clean up clock.
12195         Fix refcounting on request pads.
12196         Fix pad schedule mode error.
12197         Some more object refcounting debug info,
12198
12199
12200 2005-05-04  Andy Wingo <wingo@pobox.com>
12201
12202         * check/Makefile.am:
12203         * docs/gst/tmpl/gstatomic.sgml:
12204         * docs/gst/tmpl/gstplugin.sgml:
12205         * gst/base/gstbasesink.c: (gst_basesink_activate):
12206         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12207         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12208         (gst_basesrc_query), (gst_basesrc_set_property),
12209         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12210         (gst_basesrc_activate):
12211         * gst/base/gstbasesrc.h:
12212         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12213         (gst_base_transform_src_activate):
12214         * gst/elements/gstelements.c:
12215         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12216         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12217         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12218         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12219         (gst_type_find_element_checkgetrange),
12220         (gst_type_find_element_activate):
12221         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12222         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12223         (gst_caps_load_thyself):
12224         * gst/gstelement.c: (gst_element_pads_activate),
12225         (gst_element_save_thyself), (gst_element_restore_thyself):
12226         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12227         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12228         * gst/gstpad.h:
12229         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12230         (gst_xml_parse_file), (gst_xml_parse_memory),
12231         (gst_xml_get_element), (gst_xml_make_element):
12232         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12233         (_file_index_id_save_xml), (gst_file_index_commit):
12234         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12235         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12236         (load_paths):
12237         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12238         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12239         * tools/gst-complete.c: (main):
12240         * tools/gst-compprep.c: (main):
12241         * tools/gst-inspect.c: (print_element_properties_info):
12242         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12243         * tools/gst-xmlinspect.c: (print_element_properties):
12244         GCC 4 fixen.
12245         
12246 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12247
12248         * gst/gstplugin.c: (gst_plugin_check_module),
12249         (gst_plugin_check_file), (gst_plugin_load_file):
12250             apply patch from #172526 to make register work on MacOSX
12251
12252 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12253
12254         * docs/gst/tmpl/gstconfig.sgml:
12255         * gst/gstconfig.h.in:
12256           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12257         * testsuite/debug/printf_extension.c: (main):
12258           Do not use GST_PTR_FORMAT on pointers to types with
12259           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12260         * testsuite/elements/property.h:
12261           use correct printf format
12262
12263 2005-05-02  Wim Taymans  <wim@fluendo.com>
12264
12265         * docs/design/draft-push-pull.txt:
12266         * docs/design/draft-query.txt:
12267         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12268         (gst_basesrc_start):
12269         Added draft for new query API.
12270         Added draft for better selecting scheduling methods.
12271         Make basesrc ignore length if the subclass does not support
12272         it.
12273
12274 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12275
12276         * gst/Makefile.am:
12277           possible fixes for automake-1.5 - _LIBADD is reserved
12278
12279 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12280
12281         * docs/faq/Makefile.am:
12282         * docs/manual/Makefile.am:
12283         * docs/manuals.mak:
12284         * docs/pwg/Makefile.am:
12285         * gst/Makefile.am:
12286           possible fixes for automake-1.5
12287
12288 2005-04-28  Wim Taymans  <wim@fluendo.com>
12289
12290         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12291         (gst_basesink_pad_getcaps), (gst_basesink_init),
12292         (gst_basesink_do_sync):
12293         * gst/gstclock.c: (gst_clock_entry_new):
12294         * gst/gstevent.c: (gst_event_discont_get_value):
12295         * gst/gstpipeline.c: (pipeline_bus_handler),
12296         (gst_pipeline_change_state):
12297         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12298         Better debugging of clocking info.
12299         Allow NULL values when getting discont values.
12300
12301 2005-04-27  Wim Taymans  <wim@fluendo.com>
12302
12303         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12304         * check/gst/gstpad.c: (gst_pad_suite):
12305         Increase timeout for checks.
12306
12307 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12308
12309         * check/Makefile.am:
12310           fix the broken rule for cleanup.  Apparently this rule is
12311           only needed on FC2, so maybe this warrants further autotool
12312           inspection.
12313
12314 2005-04-26  Wim Taymans  <wim@fluendo.com>
12315
12316         * gst/gsttrashstack.h:
12317         Ooohh. a nasty one! After having a failed pop() from the stack,
12318         it's possible that the stack is empty. In that case, don't
12319         follow the NULL pointer.
12320
12321 2005-04-25  Wim Taymans  <wim@fluendo.com>
12322
12323         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12324         (gst_pad_set_checkgetrange_function),
12325         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12326         (gst_pad_check_pull_range), (gst_pad_pull_range),
12327         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12328         (gst_pad_pause_task), (gst_pad_stop_task):
12329         * gst/gstplugin.c: (gst_plugin_load):
12330         * gst/gstplugin.h:
12331         Remove gst_library_load as it does more harm than good with
12332         the new g_module flags.
12333         Revert bogus caps template check in pad linking, pad caps
12334         are important when linking not the template, which is more
12335         general than the current caps.
12336
12337 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12338
12339         * gst/autoplug/.cvsignore:
12340         * gst/autoplug/Makefile.am:
12341         * gst/autoplug/gstsearchfuncs.c:
12342         * gst/autoplug/gstsearchfuncs.h:
12343         * gst/autoplug/gstspider.c:
12344         * gst/autoplug/gstspider.h:
12345         * gst/autoplug/gstspideridentity.c:
12346         * gst/autoplug/gstspideridentity.h:
12347         * gst/autoplug/spidertest.c:
12348           Die, spider, die.
12349
12350 2005-04-25  Wim Taymans  <wim@fluendo.com>
12351
12352         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12353         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12354         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12355         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12356         * gst/gstpad.h:
12357         Added stubs for unimplemented functions. 
12358
12359 2005-04-24  David Schleef  <ds@schleef.org>
12360
12361         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12362         please fix.
12363
12364 2005-04-24  David Schleef  <ds@schleef.org>
12365
12366         Convert everything from GstAtomicInt to g_atomic_int_*, and
12367         remove gstatomic.
12368         * gst/Makefile.am:
12369         * gst/gstatomic.c:
12370         * gst/gstatomic.h:
12371         * gst/gstatomic_impl.h:
12372         * gst/gstbuffer.c:
12373         * gst/gstcaps.c:
12374         * gst/gstcaps.h:
12375         * gst/gstclock.c:
12376         * gst/gstclock.h:
12377         * gst/gstdata.c:
12378         * gst/gstdata.h:
12379         * gst/gstdata_private.h:
12380         * gst/gstevent.c:
12381         * gst/gstinfo.c:
12382         * gst/gstinfo.h:
12383         * gst/gstmessage.c:
12384         * gst/gstobject.c:
12385         * gst/gstobject.h:
12386         * gst/gststructure.c:
12387         * gst/gststructure.h:
12388         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12389         * gst/gstutils.h:
12390
12391 2005-04-24  David Schleef  <ds@schleef.org>
12392
12393         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12394         make the regressions tests work.  Remove some code that is no
12395         longer true.
12396         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12397         Disable warning for pads without templates.
12398
12399 2005-04-24  David Schleef  <ds@schleef.org>
12400
12401         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12402         functions that handle filtered links.
12403         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12404         removed functions.
12405         * gst/gstutils.c: Fix/remove utility functions that handle
12406         filtered caps.
12407         * gst/gstutils.h:
12408         * gst/gstvalue.c: Add serialization/deserialization of caps
12409         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12410         requires fixing so that the filter caps notation creates
12411         a capsfilter element and sets the filter_caps property.  I
12412         think everyone probably wants to keep the shorthand notation.
12413         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12414         * docs/gst/tmpl/gstpad.sgml:
12415
12416         * gst/elements/gstelements.c: Register capsfilter element.
12417         * gst/Makefile.am: fix spacing
12418         * docs/random/ds/0.9-suggested-changes: random
12419
12420 2005-04-23  David Schleef  <ds@schleef.org>
12421
12422         * gst/elements/Makefile.am:
12423         * gst/elements/gstcapsfilter.c: New element that acts like an
12424         identity, but filters caps.  Will eventually replace filtered
12425         caps in pad linking.
12426         * gst/gstutils.c: (gst_element_create_all_pads): New function
12427         to create all the ALWAYS pads that are registered with an
12428         element class.  This functionality should eventually be
12429         merged in with GstElement initialization.
12430         * gst/gstutils.h:
12431         * testsuite/trigger/README: part of trigger test code that should
12432         have been checked in a long time ago.
12433
12434 2005-04-23  David Schleef  <ds@schleef.org>
12435
12436         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12437         needed with new versions of libtool (nobody will confirm this),
12438         and hard to carry around.
12439         * gst/autoplug/Makefile.am:
12440         * gst/base/Makefile.am:
12441         * gst/elements/Makefile.am:
12442         * gst/indexers/Makefile.am:
12443         * gst/schedulers/Makefile.am:
12444         * libs/gst/bytestream/Makefile.am:
12445         * libs/gst/control/Makefile.am:
12446         * libs/gst/dataprotocol/Makefile.am:
12447         * libs/gst/getbits/Makefile.am:
12448
12449 2005-04-21  Wim Taymans  <wim@fluendo.com>
12450
12451         * docs/design/draft-push-pull.txt:
12452         * docs/design/part-MT-refcounting.txt:
12453         * docs/design/part-TODO.txt:
12454         * docs/design/part-caps.txt:
12455         * docs/design/part-events.txt:
12456         * docs/design/part-gstbus.txt:
12457         * docs/design/part-gstpipeline.txt:
12458         * docs/design/part-messages.txt:
12459         * docs/design/part-push-pull.txt:
12460         * docs/design/part-query.txt:
12461         Some more docs.
12462
12463 2005-04-21  Wim Taymans  <wim@fluendo.com>
12464
12465         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12466         (gst_message_new), (gst_message_new_error),
12467         (gst_message_new_warning), (gst_message_new_tag),
12468         (gst_message_new_state_changed), (gst_message_new_application),
12469         (gst_message_get_structure):
12470         * gst/gstmessage.h:
12471         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12472         (gst_structure_copy_conditional):
12473         Use parent refcount in GstMessage to ensure GstStructure
12474         consistency.
12475         Cleaned up headers a bit.
12476         
12477
12478 2005-04-20  Wim Taymans  <wim@fluendo.com>
12479
12480         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12481         (gst_basesink_pad_getcaps), (gst_basesink_init),
12482         (gst_basesink_chain_unlocked):
12483         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12484         (gst_type_find_helper):
12485         * gst/elements/gsttypefindelement.c:
12486         (gst_type_find_element_have_type), (gst_type_find_element_init),
12487         (stop_typefinding), (gst_type_find_element_handle_event),
12488         (find_suggest), (gst_type_find_element_chain),
12489         (gst_type_find_element_checkgetrange),
12490         (gst_type_find_element_getrange), (do_typefind),
12491         (gst_type_find_element_activate):
12492         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12493         (gst_buffer_default_free), (gst_buffer_default_copy),
12494         (gst_buffer_set_caps):
12495         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12496         (gst_caps_replace):
12497         * gst/gstmessage.c: (gst_message_new),
12498         (gst_message_new_state_changed):
12499         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12500         (gst_pad_set_checkgetrange_function),
12501         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12502         (gst_pad_set_caps), (gst_pad_check_pull_range),
12503         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12504         * gst/gstpad.h:
12505         * gst/gsttypefind.c: (gst_type_find_register):
12506         Make gst_caps_replace() work like other _replace() functions.
12507         Use _caps_replace() where possible.
12508         Make sure _message_new() initialises its field.
12509         Add gst_static_pad_template_get_caps()
12510
12511
12512 2005-04-18  Andy Wingo  <wingo@pobox.com>
12513
12514         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12515         on the peer, not the pad. I think that was a typo. Pass an extra
12516         arg to see if random access is possible. Activate the pads as
12517         PULL_RANGE if possible.
12518
12519         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12520
12521         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12522         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12523         to PROP_....
12524
12525 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12526
12527         * docs/faq/using.xml:
12528           Add note on gstreamer-properties (#154996).
12529
12530 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12531
12532         * docs/random/bbb/optional-properties:
12533           Some analysis on optional properties.
12534
12535 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12536
12537         * docs/gst/tmpl/gstelementfactory.sgml:
12538         * gst/gstelement.h:
12539         * gst/gstelementfactory.c: (gst_element_factory_init),
12540         (gst_element_factory_cleanup), (gst_element_register),
12541         (__gst_element_factory_add_static_pad_template),
12542         (gst_element_factory_get_static_pad_templates),
12543         (gst_element_factory_can_src_caps),
12544         (gst_element_factory_can_sink_caps):
12545         * gst/registries/Makefile.am:
12546         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12547         (gst_xml_registry_class_init), (gst_xml_registry_init),
12548         (gst_xml_registry_new), (gst_xml_registry_set_property),
12549         (gst_xml_registry_get_property), (get_time), (make_dir),
12550         (gst_xml_registry_get_perms_func),
12551         (plugin_times_older_than_recurse), (plugin_times_older_than),
12552         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12553         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12554         (add_to_char_array), (read_string), (read_uint), (read_enum),
12555         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12556         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12557         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12558         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12559         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12560         (gst_xml_registry_rebuild):
12561         * gst/registries/gstlibxmlregistry.h:
12562         * tools/gst-compprep.c: (main):
12563         * tools/gst-inspect.c: (print_pad_templates_info):
12564         * tools/gst-xmlinspect.c: (print_element_info):
12565           Use libxml2 for registry parsing, use staticpadtemplates in
12566           elementfactories. Makes gst_init() +/- 10x faster.
12567
12568 2005-04-12  Wim Taymans  <wim@fluendo.com>
12569
12570         * gst/base/Makefile.am:
12571         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12572         (gst_basesink_pad_getcaps), (gst_basesink_init),
12573         (gst_basesink_event), (gst_basesink_change_state):
12574         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12575         (gst_basesrc_init), (gst_basesrc_query),
12576         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12577         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12578         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12579         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12580         (gst_basesrc_stop), (gst_basesrc_activate),
12581         (gst_basesrc_change_state):
12582         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12583         (helper_find_suggest), (gst_type_find_helper):
12584         * gst/base/gsttypefindhelper.h:
12585         * gst/elements/Makefile.am:
12586         * gst/elements/gstelements.c:
12587         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12588         (gst_fakesink_get_times), (gst_fakesink_event),
12589         (gst_fakesink_preroll), (gst_fakesink_render):
12590         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12591         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12592         (gst_fakesrc_get_property), (gst_fakesrc_create),
12593         (gst_fakesrc_start), (gst_fakesrc_stop):
12594         * gst/elements/gstfakesrc.h:
12595         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12596         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12597         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12598         (gst_filesrc_create_read), (gst_filesrc_create),
12599         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12600         (gst_filesrc_start):
12601         * gst/elements/gsttypefindelement.c:
12602         (gst_type_find_element_have_type), (gst_type_find_element_init),
12603         (start_typefinding), (stop_typefinding), (push_buffer_store),
12604         (gst_type_find_element_handle_event),
12605         (gst_type_find_element_chain),
12606         (gst_type_find_element_checkgetrange),
12607         (gst_type_find_element_getrange), (do_typefind),
12608         (gst_type_find_element_activate),
12609         (gst_type_find_element_change_state):
12610         * gst/elements/gsttypefindelement.h:
12611         * gst/gstpipeline.c: (pipeline_bus_handler):
12612         Added typefind helper.
12613         Small preroll fix in the base sink.
12614         Disable typefind code in basesrc.
12615         Crude port of typefindelement.
12616         Fakesrc cleanups.
12617
12618
12619 2005-04-11  Wim Taymans  <wim@fluendo.com>
12620
12621         * check/gst/gstbus.c: (gstbus_suite):
12622         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12623         * check/gstcheck.h:
12624           Fix up the timeout so that the test does not fail.
12625
12626 2005-04-06  Wim Taymans  <wim@fluendo.com>
12627
12628         * gst/base/README:
12629         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12630         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12631         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12632         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12633         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12634         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12635         (gst_basesrc_stop), (gst_basesrc_activate),
12636         (gst_basesrc_change_state), (basesrc_find_peek),
12637         (basesrc_find_suggest), (gst_basesrc_type_find):
12638         * gst/base/gstbasesrc.h:
12639         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12640         (gst_filesrc_class_init), (gst_filesrc_init),
12641         (gst_filesrc_finalize), (gst_filesrc_set_location),
12642         (gst_filesrc_set_property), (gst_filesrc_get_property),
12643         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12644         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12645         (gst_filesrc_create_read), (gst_filesrc_create),
12646         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12647         * gst/elements/gstfilesrc.h:
12648         * gst/gstelement.c: (gst_element_get_state_func),
12649         (gst_element_lost_state), (gst_element_pads_activate):
12650         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12651         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12652         (gst_pad_pull_range):
12653         * gst/gstpad.h:
12654         More work on the generic source base class, implement seeking,
12655         query.
12656         Make filesrc extend the base source class.
12657         Added gst_pad_set_checkgetrange_function to GstPad.
12658
12659 2005-04-06  Andy Wingo  <wingo@pobox.com>
12660
12661         * pkgconfig/gstreamer-base.pc.in:
12662         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12663
12664         * pkgconfig/Makefile.am:
12665         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12666
12667 2005-04-04  Wim Taymans  <wim@fluendo.com>
12668
12669         * gst/base/Makefile.am:
12670         * gst/base/README:
12671         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12672         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12673         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12674         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12675         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12676         (gst_basesrc_base_init), (gst_basesrc_class_init),
12677         (gst_basesrc_init), (gst_basesrc_get_formats),
12678         (gst_basesrc_get_query_types), (gst_basesrc_query),
12679         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12680         (gst_basesrc_set_property), (gst_basesrc_get_property),
12681         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12682         (gst_basesrc_loop), (gst_basesrc_activate),
12683         (gst_basesrc_change_state):
12684         * gst/base/gstbasesrc.h:
12685         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12686         (gst_fakesrc_class_init), (gst_fakesrc_init),
12687         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12688         (gst_fakesrc_get_property), (gst_fakesrc_create):
12689         * gst/elements/gstfakesrc.h:
12690         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12691         (gst_filesrc_open_file), (gst_filesrc_loop),
12692         (gst_filesrc_activate), (filesrc_find_peek),
12693         (gst_filesrc_type_find):
12694         Made base source class, make fakesrc extend it.
12695         Add comments to basesink class.
12696         Some filesrc cleanup.
12697
12698 2005-03-31  David Schleef  <ds@schleef.org>
12699
12700         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12701         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12702         expected to link against libgstreamer.
12703         * gst/base/Makefile.am: link against libgstreamer
12704         * gst/elements/Makefile.am: same
12705
12706 2005-03-31  Andy Wingo  <wingo@pobox.com>
12707
12708         * tests/instantiate/Makefile.am:
12709         * tests/instantiate/caps.c: Add test to test speed of caps copy
12710         and free.
12711
12712         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12713         GMemChunk to be fair.
12714
12715         * gst/gsttrashstack.h: Remove warning about using the fallback
12716         trash stack implementation, it's still faster than malloc.
12717
12718 2005-03-30  Andy Wingo  <wingo@pobox.com>
12719
12720         * tests/complexity.c: Add a copyright.
12721
12722 2005-03-31  Wim Taymans  <wim@fluendo.com>
12723
12724         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12725         (gst_base_transform_class_init), (gst_base_transform_init),
12726         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12727         (gst_base_transform_get_property),
12728         (gst_base_transform_sink_activate),
12729         (gst_base_transform_src_activate),
12730         (gst_base_transform_change_state):
12731         * gst/base/gstbasetransform.h:
12732         * gst/elements/gstidentity.c: (gst_identity_class_init),
12733         (gst_identity_event), (gst_identity_check_perfect),
12734         (gst_identity_transform), (gst_identity_start),
12735         (gst_identity_stop):
12736         Added start/stop methods to transform base class so subclasses 
12737         don't need to deal with state changes even.
12738
12739 2005-03-31  Wim Taymans  <wim@fluendo.com>
12740
12741         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12742         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12743         * gst/gstevent.h:
12744         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12745         (gst_pad_pull_range):
12746         Added rate to the discont event to prepare for variable speed
12747         and reverse playback.
12748
12749 2005-03-29  David Schleef  <ds@schleef.org>
12750
12751         * configure.ac:
12752         * testsuite/trigger/Makefile.am:
12753         * testsuite/trigger/trigger.c: A little example program to show
12754         how trigger-based elements can work.
12755
12756 2005-03-29  Wim Taymans  <wim@fluendo.com>
12757
12758         * gst/base/Makefile.am:
12759         * gst/base/README:
12760         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12761         (gst_basesink_base_init), (gst_basesink_class_init),
12762         (gst_basesink_pad_getcaps), (gst_basesink_init),
12763         (gst_basesink_activate), (gst_basesink_change_state):
12764         * gst/base/gstbasesink.h:
12765         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12766         (gst_base_transform_base_init), (gst_base_transform_finalize),
12767         (gst_base_transform_class_init), (gst_base_transform_init),
12768         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12769         (gst_base_transform_event), (gst_base_transform_getrange),
12770         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12771         (gst_base_transform_set_property),
12772         (gst_base_transform_get_property),
12773         (gst_base_transform_sink_activate),
12774         (gst_base_transform_src_activate),
12775         (gst_base_transform_change_state):
12776         * gst/base/gstbasetransform.h:
12777         * gst/elements/gstidentity.c: (gst_identity_finalize),
12778         (gst_identity_class_init), (gst_identity_init),
12779         (gst_identity_event), (gst_identity_check_perfect),
12780         (gst_identity_transform), (gst_identity_set_property),
12781         (gst_identity_get_property), (gst_identity_change_state):
12782         * gst/elements/gstidentity.h:
12783         * gst/gstelement.c: (gst_element_get_state_func),
12784         (gst_element_lost_state), (gst_element_pads_activate):
12785         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12786         (gst_pad_check_pull_range), (gst_pad_pull_range):
12787         * gst/gstpad.h:
12788         Simplify pad activation.
12789         Added function to check if pull_range can be performed.
12790         Error out when pulling inactive or flushing pads.
12791         Removed const from refcounted types as it does not make sense.
12792         Simplify pad templates in basesink
12793         Added base class for simple 1-to-1 transforms.
12794         Make identity subclass the base transform.
12795
12796 2005-03-29  Andy Wingo  <wingo@pobox.com>
12797
12798         * docs/libs/gstreamer-libs-overrides.txt: 
12799         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12800         really don't understand what's going on, but like whatever. I want
12801         green buildbot!
12802
12803         * docs/gst/Makefile.am:
12804         * docs/libs/Makefile.am: Dist the overrides files.
12805
12806         * check/Makefile.am (clean-local): Remove .libs directories.
12807
12808         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12809         elements to EXTRA_DIST, so po/ files are happy.
12810
12811         * po/POTFILES.in: Er, remove it here.
12812
12813         * po/POTFILES: Remove gstspider.c.
12814
12815         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12816
12817         * docs/libs/gstreamer-libs-docs.sgml: 
12818         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12819         bytestream.
12820
12821         * tests/complexity.c (main): Set the length of the preroll queue
12822         on the sinks to prevent a lockup.
12823
12824         * libs/gst/dataprotocol/Makefile.am: 
12825         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12826         the same as the one in check/gst-libs/gdp.c.
12827
12828         * po/, docs/gst/: Commit automatic changes to docs and po files.
12829
12830         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12831         the versioned libgstbase.
12832
12833         * check/Makefile.am: Depend on an unversioned gst-register, seems
12834         to make autoconf happier.
12835
12836         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12837
12838 2005-03-28  Wim Taymans  <wim@fluendo.com>
12839
12840         * configure.ac:
12841         * docs/design/part-gstelement.txt:
12842         * docs/design/part-negotiation.txt:
12843         * docs/design/part-preroll.txt:
12844         * docs/design/part-scheduling.txt:
12845         * docs/design/part-states.txt:
12846         * gst/Makefile.am:
12847         * gst/base/Makefile.am:
12848         * gst/base/README:
12849         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12850         (gst_basesink_base_init), (gst_basesink_class_init),
12851         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12852         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12853         (gst_basesink_set_pad_functions),
12854         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12855         (gst_basesink_set_property), (gst_basesink_get_property),
12856         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12857         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12858         (gst_basesink_preroll_queue_push),
12859         (gst_basesink_preroll_queue_empty),
12860         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12861         (gst_basesink_event), (gst_basesink_get_times),
12862         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12863         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12864         (gst_basesink_loop), (gst_basesink_activate),
12865         (gst_basesink_change_state):
12866         * gst/base/gstbasesink.h:
12867         * gst/elements/Makefile.am:
12868         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12869         (gst_fakesink_class_init), (gst_fakesink_init),
12870         (gst_fakesink_set_property), (gst_fakesink_get_property),
12871         (gst_fakesink_get_times), (gst_fakesink_event),
12872         (gst_fakesink_preroll), (gst_fakesink_render),
12873         (gst_fakesink_change_state):
12874         * gst/elements/gstfakesink.h:
12875         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12876         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12877         * gst/gstelement.c: (gst_element_add_pad),
12878         (gst_element_get_state_func), (gst_element_abort_state),
12879         (gst_element_commit_state), (gst_element_lost_state),
12880         (gst_element_set_state), (gst_element_pads_activate):
12881         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12882         * gst/gstpipeline.c: (gst_pipeline_send_event),
12883         (gst_pipeline_change_state):
12884         Added state change code.
12885         Added/updated docs.
12886         Added sink base class, make fakesink extend the base class.
12887         Small cleanups in GstPipeline.
12888
12889 2005-03-26  David Schleef  <ds@schleef.org>
12890
12891         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12892         is broken and should be implemented in a different library.
12893         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12894         * gst/gst.h: remove gstcpu.h
12895         * gst/gstcpu.c: remove
12896         * gst/gstcpu.h: remove
12897         * gst/Makefile.am.future: Remove this file.  It's ancient.
12898
12899 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12900
12901         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12902         (gst_bin_send_event):
12903           Add default event/set_manager handlers. The set_manager handler
12904           takes care that the manager is distributed over kids that were
12905           already in the bin before the manager was set. The event handler
12906           is a utility virtual function that sends the event over all sinks,
12907           so that gst_element_send_event (bin, event); has the expected
12908           behaviour.
12909         * gst/gstpad.c: (gst_pad_event_default):
12910           Re-install default event handling for discontinuities, so that
12911           seeking works without requiring hacks in applications or extra
12912           code in sinks.
12913         * gst/gstpipeline.c: (gst_pipeline_class_init),
12914         (gst_pipeline_send_event):
12915           Half hack, half utility: set a pipeline to PAUSED for seek events,
12916           since that is the only way we can guarantee a/v sync. Means that
12917           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12918           and it "just works".
12919
12920 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12921
12922         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12923           Lock/unlock mismatch.
12924
12925 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12926
12927         * docs/faq/gst-uninstalled:
12928           add gst-plugins-base
12929         * docs/gst/Makefile.am:
12930           don't error out until docs are fixed
12931         * docs/gst/gstreamer.types:
12932           remove thread
12933
12934 2005-03-22  Wim Taymans  <wim@fluendo.com>
12935
12936         * check/Makefile.am:
12937         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12938         * gst/gststructure.c: (gst_structure_set_valist),
12939         (gst_structure_copy_conditional):
12940         Activated more tests.
12941         Added message test.
12942         Added G_TYPE_POINTER to GstStructure.
12943         
12944
12945 2005-03-22  Wim Taymans  <wim@fluendo.com>
12946
12947         * docs/design/part-TODO.txt:
12948         * docs/design/part-events.txt:
12949         * docs/design/part-gstbin.txt:
12950         * docs/design/part-gstbus.txt:
12951         * docs/design/part-gstpipeline.txt:
12952         * docs/design/part-messages.txt:
12953         * gst/gstbus.c:
12954         * gst/gstmessage.c:
12955         Docs updates
12956
12957 2005-03-21  Wim Taymans  <wim@fluendo.com>
12958
12959         * gst/gstbus.c: (gst_bus_post):
12960         Fix copy-and-paste error.
12961
12962 2005-03-21  Wim Taymans  <wim@fluendo.com>
12963
12964         * check/Makefile.am:
12965         * gst/Makefile.am:
12966         * gst/elements/Makefile.am:
12967         * gst/elements/gstelements.c:
12968         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12969         (gst_fakesink_event), (gst_fakesink_chain):
12970         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12971         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12972         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12973         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12974         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12975         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12976         (gst_fakesrc_loop), (gst_fakesrc_activate),
12977         (gst_fakesrc_change_state):
12978         * gst/elements/gstfakesrc.h:
12979         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12980         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12981         (gst_filesrc_open_file), (gst_filesrc_loop),
12982         (gst_filesrc_activate), (gst_filesrc_change_state),
12983         (filesrc_find_peek), (filesrc_find_suggest),
12984         (gst_filesrc_type_find):
12985         * gst/elements/gstidentity.c: (gst_identity_finalize),
12986         (gst_identity_class_init), (gst_identity_init),
12987         (gst_identity_proxy_getcaps), (identity_queue_push),
12988         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12989         (gst_identity_getrange), (gst_identity_chain),
12990         (gst_identity_sink_loop), (gst_identity_src_loop),
12991         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12992         (gst_identity_set_property), (gst_identity_get_property),
12993         (gst_identity_change_state):
12994         * gst/elements/gstidentity.h:
12995         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12996         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12997         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12998         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12999         (gst_tee_sink_activate):
13000         * gst/elements/gsttee.h:
13001         * gst/gst.c: (gst_register_core_elements), (init_post):
13002         * gst/gst.h:
13003         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13004         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13005         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13006         (gst_bin_change_state):
13007         * gst/gstbin.h:
13008         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13009         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13010         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13011         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13012         (gst_bus_set_sync_handler), (gst_bus_create_watch),
13013         (bus_watch_callback), (bus_watch_destroy),
13014         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13015         (poll_timeout), (gst_bus_poll):
13016         * gst/gstbus.h:
13017         * gst/gstcaps.h:
13018         * gst/gstdata.h:
13019         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13020         (gst_element_post_message), (gst_element_message_full),
13021         (gst_element_get_state_func), (gst_element_get_state),
13022         (gst_element_abort_state), (gst_element_commit_state),
13023         (gst_element_lost_state), (gst_element_set_state),
13024         (gst_element_pads_activate), (gst_element_change_state),
13025         (gst_element_dispose), (gst_element_set_manager_func),
13026         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13027         (gst_element_set_manager), (gst_element_get_manager),
13028         (gst_element_set_bus), (gst_element_get_bus),
13029         (gst_element_set_scheduler), (gst_element_get_scheduler):
13030         * gst/gstelement.h:
13031         * gst/gstevent.c: (gst_event_new_segment_seek),
13032         (gst_event_new_flush):
13033         * gst/gstevent.h:
13034         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13035         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13036         (gst_message_new_eos), (gst_message_new_error),
13037         (gst_message_new_warning), (gst_message_new_tag),
13038         (gst_message_new_state_changed), (gst_message_new_application),
13039         (gst_message_get_structure), (gst_message_parse_tag),
13040         (gst_message_parse_state_changed), (gst_message_parse_error),
13041         (gst_message_parse_warning):
13042         * gst/gstmessage.h:
13043         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13044         (gst_real_pad_set_property), (gst_pad_set_active),
13045         (gst_pad_is_active), (gst_pad_set_blocked_async),
13046         (gst_pad_set_blocked), (gst_pad_is_blocked),
13047         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13048         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13049         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13050         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13051         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13052         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13053         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13054         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13055         (gst_pad_set_caps), (gst_pad_configure_sink),
13056         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13057         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13058         (gst_real_pad_dispose), (gst_real_pad_finalize),
13059         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13060         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13061         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13062         * gst/gstpad.h:
13063         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13064         (pipeline_bus_handler), (gst_pipeline_change_state),
13065         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13066         * gst/gstpipeline.h:
13067         * gst/gstprobe.h:
13068         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13069         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13070         (gst_queue_link_src), (gst_queue_bufferalloc),
13071         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13072         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13073         (gst_queue_loop), (gst_queue_handle_src_event),
13074         (gst_queue_handle_src_query), (gst_queue_src_activate),
13075         (gst_queue_change_state):
13076         * gst/gstqueue.h:
13077         * gst/gstscheduler.c: (gst_scheduler_init),
13078         (gst_scheduler_dispose), (gst_scheduler_create_task),
13079         (gst_scheduler_factory_create):
13080         * gst/gstscheduler.h:
13081         * gst/gststructure.c: (gst_structure_get_type),
13082         (gst_structure_copy_conditional):
13083         * gst/gststructure.h:
13084         * gst/gsttaginterface.h:
13085         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13086         (gst_task_init), (gst_task_dispose), (gst_task_create),
13087         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13088         (gst_task_pause):
13089         * gst/gsttask.h:
13090         * gst/gstthread.c:
13091         * gst/gstthread.h:
13092         * gst/gsttypes.h:
13093         * gst/schedulers/Makefile.am:
13094         * gst/schedulers/cothreads_compat.h:
13095         * gst/schedulers/entryscheduler.c:
13096         * gst/schedulers/faircothreads.c:
13097         * gst/schedulers/faircothreads.h:
13098         * gst/schedulers/fairscheduler.c:
13099         * gst/schedulers/gstbasicscheduler.c:
13100         * gst/schedulers/gstoptimalscheduler.c:
13101         * gst/schedulers/gthread-cothreads.h:
13102         * gst/schedulers/threadscheduler.c:
13103         (gst_thread_scheduler_task_get_type),
13104         (gst_thread_scheduler_task_class_init),
13105         (gst_thread_scheduler_task_init),
13106         (gst_thread_scheduler_task_start),
13107         (gst_thread_scheduler_task_stop),
13108         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13109         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13110         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13111         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13112         (plugin_init):
13113         * libs/gst/Makefile.am:
13114         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13115         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13116         (gst_file_pad_parent_set):
13117         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13118         (gst_dp_event_from_packet):
13119         * tests/complexity.c: (main):
13120         * tests/mass_elements.c: (main):
13121         * testsuite/states/locked.c: (message_received), (main):
13122         * testsuite/states/parent.c: (main):
13123         * tools/gst-inspect.c: (print_element_flag_info),
13124         (print_implementation_info), (print_pad_info):
13125         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13126         (main):
13127         * tools/gst-md5sum.c: (event_loop), (main):
13128         * tools/gst-typefind.c: (main):
13129         * tools/gst-xmlinspect.c: (print_element_info):
13130         Next big merge.
13131         Added GstBus for mainloop integration.
13132         Added GstMessage for sending notifications on the bus.
13133         Added GstTask as an abstraction for pipeline entry points.
13134         Removed GstThread.
13135         Removed Schedulers.
13136         Simplified GstQueue for multithreaded core.
13137         Made _link threadsafe, removed old capsnego.
13138         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13139         Added pad blocking functions.
13140         Reworked scheduling functions in GstPad to prepare for
13141         scheduling updates soon.
13142         Moved events out of data stream.
13143         Simplified GstEvent types.
13144         Added return values to push/pull.
13145         Removed clocking from GstElement.
13146         Added prototypes for state change function for next merge.
13147         Removed iterate from bins and state change management.
13148         Fixed some elements, disabled others for now.
13149         Fixed -inspect and -launch.
13150         Added check for GstBus.
13151
13152 2005-03-10  Wim Taymans  <wim@fluendo.com>
13153
13154         * docs/design/part-MT-refcounting.txt:
13155         * docs/design/part-clocks.txt:
13156         * docs/design/part-gstelement.txt:
13157         * docs/design/part-gstobject.txt:
13158         * docs/design/part-standards.txt:
13159         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13160         (gst_bin_remove_func), (gst_bin_remove):
13161         * gst/gstbin.h:
13162         * gst/gstbuffer.c:
13163         * gst/gstcaps.h:
13164         * testsuite/clock/clock1.c: (main):
13165         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13166         (main):
13167         * testsuite/dlopen/loadgst.c: (do_test):
13168         * testsuite/refcounting/bin.c: (add_remove_test1),
13169         (add_remove_test2), (main):
13170         * testsuite/refcounting/element.c: (main):
13171         * testsuite/refcounting/element_pad.c: (main):
13172         * testsuite/refcounting/pad.c: (main):
13173         * tools/gst-launch.c: (sigint_handler_sighandler):
13174         * tools/gst-typefind.c: (main):
13175         Doc updates.
13176         Added doc about clock.
13177         removed gst_bin_iterate_recurse_up(), marked methods
13178         for removal.
13179         Fix more testsuites.
13180
13181 2005-03-09  Wim Taymans  <wim@fluendo.com>
13182
13183         * gst/gstpad.c: (gst_pad_get_direction),
13184         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13185         (gst_pad_collect_valist):
13186         * testsuite/bins/interface.c: (main):
13187         * testsuite/caps/audioscale.c: (test_caps):
13188         * testsuite/caps/caps.c: (test1), (test2), (test3):
13189         * testsuite/caps/deserialize.c: (main):
13190         * testsuite/caps/enumcaps.c: (main):
13191         * testsuite/caps/filtercaps.c: (main):
13192         * testsuite/caps/intersect2.c: (main):
13193         * testsuite/caps/random.c: (main):
13194         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13195         * testsuite/caps/sets.c: (check_caps):
13196         * testsuite/caps/simplify.c: (check_caps), (main):
13197         * testsuite/caps/subtract.c: (check_caps):
13198         Fix _pad_get_direction wrt ghostpads.
13199         Fix caps testsuite.
13200
13201 2005-03-09  Wim Taymans  <wim@fluendo.com>
13202
13203         * check/Makefile.am:
13204         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13205         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13206         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13207         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13208         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13209         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13210         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13211         (bin_element_is_sink), (gst_bin_iterate_sinks),
13212         (gst_bin_iterate_all_by_interface):
13213         * gst/gstbin.h:
13214         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13215         (gst_element_change_state), (gst_element_dispose),
13216         (gst_element_finalize), (gst_element_set_loop_function):
13217         * gst/gstelement.h:
13218         * gst/gstiterator.c: (find_custom_fold_func):
13219         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13220         (gst_pad_collectv), (gst_pad_collect_valist),
13221         (gst_pad_template_new):
13222         * gst/gstpipeline.c: (gst_pipeline_class_init),
13223         (gst_pipeline_dispose), (gst_pipeline_set_property),
13224         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13225         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13226         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13227         * gst/gstutils.h:
13228         * gst/schedulers/entryscheduler.c:
13229         * gst/schedulers/gstbasicscheduler.c:
13230         (gst_basic_scheduler_cothreaded_chain),
13231         (gst_basic_scheduler_chain_add_element):
13232         * testsuite/bins/interface.c: (main):
13233         Added GstBin test.
13234         Added GstSystemClock test.
13235         Implemented clock distribution code in GstBin.
13236         Implemented iterate sinks method for future use.
13237         Rearranged gstelement.h
13238         Fix GstIterator comparison bug.
13239         Moved some code to GstPipeline, mostly clocking related.
13240
13241 2005-03-09  Wim Taymans  <wim@fluendo.com>
13242
13243         * configure.ac:
13244         * gst/gst_private.h:
13245         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13246         (gst_bin_remove_func), (gst_bin_remove),
13247         (gst_bin_get_by_name_recurse_up):
13248         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13249         (gst_clock_id_compare_func), (gst_clock_id_wait),
13250         (gst_clock_id_wait_async), (gst_clock_init),
13251         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13252         * gst/gstelement.h:
13253         * gst/gstinfo.c: (_gst_debug_init):
13254         * gst/gstobject.h:
13255         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13256         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13257         * gst/gstpad.h:
13258         Bump version number, we're now 0.9.0
13259         Add future debugging category.
13260         Fix NULL _unref() in _get_by_name_recurse_up
13261         Rearrange gstpad.h.
13262         Update some docs.
13263
13264 2005-03-08  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13267         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13268         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13269         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13270         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13271         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13272         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13273         * gst/elements/gstidentity.c: (gst_identity_class_init):
13274         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13275         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13276         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13277         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13278         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13279         (gst_tee_link):
13280         * gst/gstelement.c: (gst_element_class_init),
13281         (gst_element_base_class_init), (gst_element_init),
13282         (gst_element_get_random_pad), (gst_element_wait_state_change),
13283         (gst_element_change_state), (gst_element_dispose),
13284         (gst_element_finalize), (gst_element_set_loop_function):
13285         * gst/gstelement.h:
13286         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13287         * gst/gstthread.c: (gst_thread_class_init),
13288         (gst_thread_release_children_locks), (gst_thread_change_state):
13289         * gst/schedulers/gstbasicscheduler.c:
13290         (gst_basic_scheduler_loopfunc_wrapper),
13291         (gst_basic_scheduler_chain_wrapper),
13292         (gst_basic_scheduler_src_wrapper),
13293         (gst_basic_scheduler_remove_element):
13294         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13295         Remove threadsafe properties. Fix elements because GObject
13296         complains when installing a property before declaring a
13297         set/get_property handler.
13298         Rearrange gstelement.h file, use STATE macros for state locks.
13299         Free mutexes in the finalize method instead of dispose.
13300
13301 2005-03-08  Wim Taymans  <wim@fluendo.com>
13302
13303         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13304         * gst/gstthread.c: (gst_thread_release_children_locks):
13305         Added parentage check.
13306         Fix build og GstThread again.
13307
13308 2005-03-08  Wim Taymans  <wim@fluendo.com>
13309
13310         * docs/design/part-MT-refcounting.txt:
13311         * docs/design/part-conventions.txt:
13312         * docs/design/part-gstobject.txt:
13313         * docs/design/part-relations.txt:
13314         * docs/design/part-standards.txt:
13315         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13316         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13317         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13318         (gst_bin_iterate_all_by_interface):
13319         * gst/gstbuffer.h:
13320         * gst/gstclock.h:
13321         * gst/gstelement.c: (gst_element_class_init),
13322         (gst_element_change_state), (gst_element_set_loop_function):
13323         * gst/gstelement.h:
13324         * gst/gstiterator.c:
13325         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13326         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13327         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13328         (gst_object_set_parent), (gst_object_unparent),
13329         (gst_object_check_uniqueness):
13330         * gst/gstobject.h:
13331         Docs updates, clean up some headers.
13332
13333 2005-03-07  Wim Taymans  <wim@fluendo.com>
13334
13335         * check/.cvsignore:
13336         * check/Makefile.am:
13337         * check/gst-libs/.cvsignore:
13338         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13339         * check/gst/.cvsignore:
13340         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13341         (START_TEST), (gstbus_suite), (main):
13342         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13343         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13344         (gst_data_suite), (main):
13345         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13346         (add_fold_func), (gstiterator_suite), (main):
13347         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13348         (thread_name_object), (thread_name_object_default),
13349         (gst_object_name_compare), (gst_object_suite), (main):
13350         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13351         (gst_pad_suite), (main):
13352         * check/gstcheck.c: (gst_check_log_message_func),
13353         (gst_check_log_critical_func), (gst_check_init):
13354         * check/gstcheck.h:
13355         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13356         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13357         Added checks.
13358
13359 2005-03-07  Wim Taymans  <wim@fluendo.com>
13360
13361         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13362         (gst_list_iterator_next), (gst_list_iterator_resync),
13363         (gst_list_iterator_free), (gst_iterator_new_list),
13364         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13365         (gst_iterator_free), (gst_iterator_push), (filter_next),
13366         (filter_resync), (filter_uninit), (filter_free),
13367         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13368         (gst_iterator_foreach), (find_custom_fold_func),
13369         (gst_iterator_find_custom):
13370         * gst/gstiterator.h:
13371         Added missing files.
13372
13373 2005-03-07  Wim Taymans  <wim@fluendo.com>
13374
13375         * Makefile.am:
13376         * configure.ac:
13377         * docs/design/part-MT-refcounting.txt:
13378         * docs/design/part-conventions.txt:
13379         * docs/design/part-gstobject.txt:
13380         * docs/design/part-relations.txt:
13381         * examples/mixer/mixer.c: (main):
13382         * examples/thread/thread.c: (eos), (main):
13383         * gst/Makefile.am:
13384         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13385         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13386         (gst_spider_plug_from_srcpad):
13387         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13388         (gst_spider_identity_change_state),
13389         (gst_spider_identity_sink_loop_type_finding):
13390         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13391         * gst/elements/gstidentity.c: (gst_identity_init):
13392         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13393         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13394         * gst/elements/gsttypefindelement.c: (free_entry):
13395         * gst/gst.c:
13396         * gst/gst.h:
13397         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13398         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13399         (gst_bin_set_index), (gst_bin_set_element_sched),
13400         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13401         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13402         (gst_bin_iterate_elements), (iterate_child_recurse),
13403         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13404         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13405         (compare_interface), (gst_bin_get_by_interface),
13406         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13407         * gst/gstbin.h:
13408         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13409         (gst_buffer_default_free), (gst_buffer_default_copy),
13410         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13411         (gst_buffer_create_sub):
13412         * gst/gstbuffer.h:
13413         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13414         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13415         (gst_caps_unref), (gst_static_caps_get),
13416         (gst_caps_remove_and_get_structure), (gst_caps_append),
13417         (gst_caps_append_structure), (gst_caps_remove_structure),
13418         (gst_caps_copy_nth), (gst_caps_set_simple),
13419         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13420         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13421         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13422         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13423         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13424         (gst_caps_structure_figure_out_union),
13425         (gst_caps_switch_structures), (gst_caps_do_simplify),
13426         (gst_caps_replace), (gst_caps_from_string),
13427         (gst_caps_copy_conditional):
13428         * gst/gstcaps.h:
13429         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13430         (_gst_clock_id_free), (gst_clock_id_unref),
13431         (gst_clock_id_compare_func), (gst_clock_id_wait),
13432         (gst_clock_id_wait_async), (gst_clock_class_init),
13433         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13434         (gst_clock_get_time), (gst_clock_set_time_adjust),
13435         (gst_clock_set_property), (gst_clock_get_property):
13436         * gst/gstclock.h:
13437         * gst/gstcompat.h:
13438         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13439         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13440         * gst/gstdata.h:
13441         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13442         (gst_element_requires_clock), (gst_element_provides_clock),
13443         (gst_element_set_clock), (gst_element_clock_wait),
13444         (gst_element_wait), (gst_element_set_time_delay),
13445         (gst_element_is_indexable), (gst_element_add_pad),
13446         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13447         (pad_compare_name), (gst_element_get_static_pad),
13448         (gst_element_request_pad), (gst_element_get_request_pad),
13449         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13450         (gst_element_class_get_pad_template_list),
13451         (gst_element_class_get_pad_template), (gst_element_error_func),
13452         (gst_element_get_random_pad), (gst_element_get_event_masks),
13453         (gst_element_send_event), (gst_element_seek),
13454         (gst_element_get_query_types), (gst_element_query),
13455         (gst_element_get_formats), (gst_element_convert),
13456         (gst_element_is_locked_state), (gst_element_set_locked_state),
13457         (gst_element_sync_state_with_parent), (gst_element_change_state),
13458         (gst_element_finalize), (gst_element_yield),
13459         (gst_element_interrupt), (gst_element_set_scheduler),
13460         (gst_element_get_scheduler), (gst_element_set_loop_function):
13461         * gst/gstelement.h:
13462         * gst/gstevent.h:
13463         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13464         (gst_format_get_by_nick), (gst_format_get_details),
13465         (gst_format_iterate_definitions):
13466         * gst/gstformat.h:
13467         * gst/gstindex.c: (gst_index_gtype_resolver):
13468         * gst/gstinfo.c:
13469         * gst/gstinfo.h:
13470         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13471         (gst_mem_chunk_free):
13472         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13473         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13474         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13475         (gst_object_dispatch_properties_changed),
13476         (gst_object_set_name_default), (gst_object_set_name),
13477         (gst_object_get_name), (gst_object_set_name_prefix),
13478         (gst_object_get_name_prefix), (gst_object_set_parent),
13479         (gst_object_get_parent), (gst_object_unparent),
13480         (gst_object_check_uniqueness), (gst_object_save_thyself),
13481         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13482         (gst_object_set_property), (gst_object_get_property),
13483         (gst_object_get_path_string):
13484         * gst/gstobject.h:
13485         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13486         (gst_real_pad_init), (gst_real_pad_get_property),
13487         (gst_pad_custom_new), (gst_pad_get_direction),
13488         (gst_pad_set_active), (gst_pad_is_active),
13489         (gst_pad_set_event_function), (gst_pad_is_linked),
13490         (gst_pad_link_free), (gst_pad_link_intersect),
13491         (gst_pad_link_fixate), (gst_pad_set_caps),
13492         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13493         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13494         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13495         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13496         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13497         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13498         (gst_pad_realize), (gst_pad_get_allowed_caps),
13499         (gst_real_pad_dispose), (gst_real_pad_finalize),
13500         (gst_pad_collectv), (gst_pad_collect_valist),
13501         (gst_pad_template_dispose), (gst_pad_template_new),
13502         (gst_pad_get_internal_links):
13503         * gst/gstpad.h:
13504         * gst/gstpipeline.c: (gst_pipeline_dispose),
13505         (gst_pipeline_change_state):
13506         * gst/gstpipeline.h:
13507         * gst/gstplugin.c:
13508         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13509         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13510         * gst/gstpluginfeature.h:
13511         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13512         * gst/gstquery.c: (_gst_query_type_initialize),
13513         (gst_query_type_register), (gst_query_type_get_by_nick),
13514         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13515         * gst/gstquery.h:
13516         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13517         * gst/gstscheduler.c: (gst_scheduler_add_element),
13518         (gst_scheduler_factory_create):
13519         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13520         (gst_structure_free), (gst_structure_set_name),
13521         (gst_structure_id_set_value), (gst_structure_set_value),
13522         (gst_structure_set_valist), (gst_structure_remove_field),
13523         (gst_structure_remove_fields),
13524         (gst_structure_remove_fields_valist),
13525         (gst_structure_remove_all_fields), (gst_structure_foreach),
13526         (gst_structure_map_in_place),
13527         (gst_caps_structure_fixate_field_nearest_int),
13528         (gst_caps_structure_fixate_field_nearest_double):
13529         * gst/gststructure.h:
13530         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13531         (gst_system_clock_init), (gst_system_clock_dispose),
13532         (gst_system_clock_async_thread),
13533         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13534         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13535         * gst/gstsystemclock.h:
13536         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13537         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13538         * gst/gsttaginterface.c:
13539         * gst/gstthread.c: (gst_thread_dispose),
13540         (gst_thread_release_children_locks), (gst_thread_change_state),
13541         (gst_thread_main_loop):
13542         * gst/gsttrashstack.h:
13543         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13544         * gst/gsttypes.h:
13545         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13546         (gst_element_request_pad), (gst_element_get_pad_from_template),
13547         (gst_element_request_compatible_pad),
13548         (gst_element_get_compatible_pad_filtered),
13549         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13550         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13551         (gst_element_link_many), (gst_element_link),
13552         (gst_element_link_pads), (gst_element_unlink_pads),
13553         (gst_element_unlink_many), (gst_element_unlink),
13554         (gst_pad_can_link_filtered), (gst_pad_can_link),
13555         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13556         (gst_object_default_error), (gst_bin_add_many),
13557         (gst_bin_remove_many), (gst_element_populate_std_props),
13558         (gst_element_class_install_std_props), (gst_buffer_merge),
13559         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13560         (link_fold_func), (gst_pad_proxy_setcaps):
13561         * gst/gstutils.h:
13562         * gst/gstvalue.c: (gst_value_deserialize_string):
13563         * gst/parse/grammar.y:
13564         * gst/schedulers/gstbasicscheduler.c:
13565         (gst_basic_scheduler_cothreaded_chain),
13566         (gst_basic_scheduler_chain_recursive_add),
13567         (gst_basic_scheduler_pad_link):
13568         * gst/schedulers/gstoptimalscheduler.c:
13569         (get_group_schedule_function),
13570         (gst_opt_scheduler_state_transition),
13571         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13572         * libs/gst/bytestream/bytestream.c:
13573         * libs/gst/dataprotocol/dataprotocol.c:
13574         (gst_dp_header_from_buffer):
13575         * po/nb.po:
13576         * po/ru.po:
13577         * tests/threadstate/threadstate2.c: (eos):
13578         * tools/gst-compprep.c: (main):
13579         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13580         (print_pad_info), (print_children_info):
13581         * tools/gst-launch.c: (idle_func), (main):
13582         * tools/gst-md5sum.c: (idle_func), (main):
13583         * tools/gst-xmlinspect.c: (print_element_info):
13584         First THREADED backport attempt, focusing on adding locks and
13585         making sure the API is threadsafe. Needs more work. More docs
13586         follow this week.
13587
13588 2005-02-24  Andy Wingo  <wingo@pobox.com>
13589
13590         * tests/bench-complexity.scm:
13591         * tests/complexity.gnuplot: New files, good for running complexity
13592         benchmarks.
13593
13594         * tests/Makefile.am:
13595         * tests/complexity.c: New test, sets up N elements, at each level
13596         teeing into M streams per element. Eeeenteresting.
13597
13598         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13599         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13600         running bench-mass_elements.scm.
13601
13602         * tests/bench-mass_elements.scm: New script, runs mass_elements
13603         for various numbers of identities, outputting the results to a
13604         file. Requires guile 1.6. Just for testing.
13605
13606 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13607
13608         * gst/schedulers/fairscheduler.c:
13609           compile with debug disabled
13610
13611 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13612
13613         * configure.ac:
13614           hunting season on 0.9 is now OPEN