tests/examples/Makefile.am: added that too
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
2
3         * tests/examples/Makefile.am:
4           added that too
5
6 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
7
8         * configure.ac:
9         * docs/random/ensonic/media-device-daemon.txt:
10         * tests/examples/controller/.cvsignore:
11         * tests/examples/controller/Makefile.am:
12         * tests/examples/controller/audio-example.c: (main):
13         * tests/examples/helloworld/.cvsignore:
14         * tests/examples/helloworld/Makefile.am:
15         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16         * tests/examples/launch/.cvsignore:
17         * tests/examples/launch/Makefile.am:
18         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
19         * tests/examples/metadata/.cvsignore:
20         * tests/examples/metadata/Makefile.am:
21         * tests/examples/metadata/read-metadata.c: (message_loop),
22         (make_pipeline), (print_tag), (main):
23         * tests/examples/queue/.cvsignore:
24         * tests/examples/queue/Makefile.am:
25         * tests/examples/queue/queue.c: (event_loop), (main):
26         * tests/examples/typefind/.cvsignore:
27         * tests/examples/typefind/Makefile.am:
28         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
29         (main):
30         * tests/examples/xml/.cvsignore:
31         * tests/examples/xml/Makefile.am:
32         * tests/examples/xml/createxml.c: (object_saved), (main):
33         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
34         * tests/old/examples/Makefile.am:
35         * tests/old/examples/TODO:
36         * tests/old/examples/controller/.cvsignore:
37         * tests/old/examples/controller/Makefile.am:
38         * tests/old/examples/controller/audio-example.c:
39         * tests/old/examples/helloworld/.cvsignore:
40         * tests/old/examples/helloworld/Makefile.am:
41         * tests/old/examples/helloworld/helloworld.c:
42         * tests/old/examples/launch/.cvsignore:
43         * tests/old/examples/launch/Makefile.am:
44         * tests/old/examples/launch/mp3parselaunch.c:
45         * tests/old/examples/launch/mp3play:
46         * tests/old/examples/manual/Makefile.am:
47         * tests/old/examples/metadata/Makefile.am:
48         * tests/old/examples/metadata/read-metadata.c:
49         * tests/old/examples/queue/.cvsignore:
50         * tests/old/examples/queue/Makefile.am:
51         * tests/old/examples/queue/queue.c:
52         * tests/old/examples/typefind/.cvsignore:
53         * tests/old/examples/typefind/Makefile.am:
54         * tests/old/examples/typefind/typefind.c:
55         * tests/old/examples/xml/.cvsignore:
56         * tests/old/examples/xml/Makefile.am:
57         * tests/old/examples/xml/createxml.c:
58         * tests/old/examples/xml/runxml.c:
59           applied some simple fixing to some examples
60           re-enabled the working examples
61
62 2005-12-12  Wim Taymans  <wim@fluendo.com>
63
64         * gst/gstsegment.c: (gst_segment_init),
65         (gst_segment_set_last_stop), (gst_segment_set_seek),
66         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
67         (gst_segment_to_running_time):
68         Added more documentation.
69         Make sure the last_pos value is updated properly.
70         Make sure to_stream_time and to_running_time don't
71         operate on wrong values.
72
73         * tests/check/gst/gstsegment.c: (GST_START_TEST):
74         Update check.
75
76 2005-12-12  Michael Smith  <msmith@fluendo.com>
77
78         * plugins/elements/gsttypefindelement.c: (free_entry),
79         (gst_type_find_element_chain):
80           Now that we're not leaking factories, make sure we keep references
81           to them while we need them.
82
83 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
84
85         * tests/check/gst/struct_i386.h:
86           ifdef out the XML structs
87
88 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
89
90         * gst/gstvalue.c: (gst_value_transform_double_fraction):
91           floor is not needed, F is always positive; this obviates the
92           need for adding -lm when building without libxml
93
94 2005-12-12  Wim Taymans  <wim@fluendo.com>
95
96         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
97         Take current playback rate into account when reporting
98         the position.
99
100 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
101
102         * docs/manual/mime-world.fig:
103           Let's try this again, this time with a file that is
104           actually in XFig format.
105
106 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
107
108         * docs/manual/mime-world.fig:
109           Add audioconvert element to diagram so that it
110           matches the text and the code (fixes #319526).
111
112 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
113
114         * docs/pwg/building-chainfn.xml:
115         * docs/pwg/building-pads.xml:
116         * docs/pwg/building-state.xml:
117         * docs/pwg/other-source.xml:
118           Update state change stuff for 0.10 (fixes #322969).
119
120 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
121
122         * docs/manual/advanced-dataaccess.xml:
123         * docs/manual/appendix-checklist.xml:
124         * docs/manual/appendix-programs.xml:
125         * docs/manual/basics-pads.xml:
126         * docs/manual/highlevel-components.xml:
127         * docs/manual/manual.xml:
128           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
129           add converters in front of pipelines; remove curly
130           brackets for threads stuff, they no longer exist; use
131           GST_TYPE_FRACTION for framerates; update some pieces of
132           code to 0.10, but there's plenty more to do.
133
134         * docs/manual/appendix-porting.xml:
135           Expand on asynchroneous state changes; s/0.9/0.10/;
136           mention disappearance of gst_init_get_popt_table()
137           (fixes #322916).
138
139 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
140
141         * docs/faq/using.xml:
142           Spider no longer exists, and neither does gst-launch-ext.
143           Update examples to use decodebin and playbin and put
144           converters in front of sinks (fixes #323726).
145
146 2005-12-09  Michael Smith  <msmith@fluendo.com>
147
148         * plugins/elements/gsttypefindelement.c: (find_peek),
149         (gst_type_find_element_chain):
150           Fix leaking element factories in typefinding.
151           Fix problem where we forgot about a probable type on non-seekable
152           files, and thus later mis-typefound it.
153
154 2005-12-09  Michael Smith  <msmith@fluendo.com>
155
156         * common/m4/gst-makecontext.m4:
157         * common/m4/gst-mcsc.m4:
158         * configure.ac:
159         * win32/common/config.h:
160         * win32/common/config.h.in:
161           Remove makecontext stuff; not used in 0.10 and causes problems on
162           HPUX according to bug #322441
163
164 2005-12-07  Wim Taymans  <wim@fluendo.com>
165
166         * tests/check/Makefile.am:
167         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
168         (main):
169         * tests/check/libs/struct_i386.h:
170         Added ABI check for libs
171
172 2005-12-07  Wim Taymans  <wim@fluendo.com>
173
174         * tests/check/Makefile.am:
175         And add the struct_i386.h to dist.
176
177 2005-12-07  Wim Taymans  <wim@fluendo.com>
178
179         * tests/check/Makefile.am:
180         * tests/check/gst/.cvsignore:
181         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
182         (main):
183         * tests/check/gst/struct_i386.h:
184         Added check for ABI compatibility.
185
186 2005-12-07  Wim Taymans  <wim@fluendo.com>
187
188         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
189         (gst_fake_src_get_times), (gst_fake_src_create):
190         Fix broken sync option, fixes #323259
191
192 2005-12-07  Wim Taymans  <wim@fluendo.com>
193
194         * gst/gstbuffer.c:
195         Small docs update.
196
197         * gst/gstcaps.c: (gst_caps_is_equal):
198         Don't assert on NULL <--> X. Fixes #323260
199
200         * gst/gstminiobject.c: (gst_mini_object_replace):
201         If we're doing atomic operations, we might just as well use
202         the proper way to get an atomic pointer.
203
204         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
205         Clean up debugging.
206
207 2005-12-07  Michael Smith  <msmith@fluendo.com>
208
209         * gst/parse/grammar.y:
210           Remove handling of { } for threads.
211
212 2005-12-06  David Schleef  <ds@schleef.org>
213
214         * libs/gst/base/gstbasetransform.c: speling fix.
215
216 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
217
218         * docs/libs/tmpl/gstdataprotocol.sgml:
219         * docs/random/omega/testing/gstobject.c:
220         * gst/gst.c:
221         * gst/gstclock.c:
222         * gst/gstelement.c:
223         * gst/gstelementfactory.c:
224         * gst/gsterror.c:
225         * gst/gstevent.c:
226         * gst/gstghostpad.c:
227         * gst/gstinfo.c:
228         * gst/gstpadtemplate.c:
229         * gst/gstregistryxml.c:
230         * gst/gsttaglist.c:
231         * gst/gsttagsetter.c:
232         * gst/gsttypefind.c:
233         * gst/gstvalue.c:
234         * libs/gst/base/gstbasesrc.c:
235         * libs/gst/net/gstnetclientclock.c:
236         * libs/gst/net/gstnettimeprovider.c:
237         * plugins/elements/gstfakesrc.c:
238         * plugins/elements/gstfdsrc.c:
239         * plugins/elements/gstfilesrc.c:
240         * plugins/elements/gstidentity.c:
241         * plugins/elements/gstqueue.c:
242         * plugins/elements/gsttypefindelement.c:
243         * plugins/indexers/gstfileindex.c:
244         * plugins/indexers/gstmemindex.c:
245         * tests/check/gst/gsttag.c:
246         * tests/old/examples/cutter/cutter.c:
247         * tests/old/examples/mixer/mixer.c:
248         * tests/old/examples/xml/runxml.c: (main):
249         * tests/old/testsuite/caps/normalisation.c:
250         * tests/old/testsuite/debug/global.c:
251         * tests/old/testsuite/parse/parse1.c:
252         * tools/gst-xmlinspect.c:
253         * win32/common/dirent.c:
254           expand tabs
255
256 === release 0.10.0 ===
257
258 2005-12-05   <thomas (at) apestaart (dot) org>
259
260         * configure.ac:
261           releasing 0.10.0, "Maroilles"
262
263 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
264
265         submitted by: Funda Wang <fundawang@linux.net.cn>
266
267         * po/LINGUAS:
268         * po/zh_CN.po:
269           added Chinese (Traditional) translation
270
271 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
272
273         * docs/gst/gstreamer-sections.txt:
274         * docs/libs/tmpl/gstdataprotocol.sgml:
275         * docs/random/thomasvs/TODO:
276         * gst/gstutils.c:
277         * gst/gstutils.h:
278           fix docs
279
280 2005-12-05  Andy Wingo  <wingo@pobox.com>
281
282         patch by: Wim Taymans <wim@fluendo.com>
283
284         * libs/gst/base/gstbasetransform.c
285         (gst_base_transform_prepare_output_buf)
286         (gst_base_transform_buffer_alloc):
287         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
288         alloc_buffer_and_set_caps.
289
290         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
291         set_caps on the source pad.
292         (gst_pad_alloc_buffer_and_set_caps): New function, does what
293         alloc_buffer used to do. Fixes #322874.
294
295         * docs/gst/gstreamer-sections.txt: 
296         * docs/design/part-negotiation.txt: 
297         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
298         changes.
299
300 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
301
302         patch by: Sebastien Moutte
303
304         * win32/MANIFEST:
305         * win32/common/config.h.in:
306         * win32/vs6/libgstcontroller.dsp:
307           win32 build fixes
308
309 2005-12-05  Wim Taymans  <wim@fluendo.com>
310
311         * gst/gstcaps.c: (gst_caps_is_equal):
312         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
313         (gst_fake_src_create):
314         Back out previous code changes, leave doc updates, file bugs 
315         instead. 
316
317 2005-12-05  Wim Taymans  <wim@fluendo.com>
318
319         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
320         (gst_fake_src_get_times), (gst_fake_src_create):
321         * plugins/elements/gstfakesrc.h:
322         Fix broken sync code.
323
324 2005-12-05  Wim Taymans  <wim@fluendo.com>
325
326         * gst/gstcaps.c: (gst_caps_is_equal):
327         Comparing NULL against !NULL yields different caps, not a
328         failure.
329
330 2005-12-05  Wim Taymans  <wim@fluendo.com>
331
332         * gst/gstpipeline.c:
333         Fix small typo in docs.
334
335 2005-12-05  Andy Wingo  <wingo@pobox.com>
336
337         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
338
339         * gst/gst.c (init_post): remove hard-coded 0.9 location for
340         registries/plugins with a MAJORMINOR one.
341         (plugin_desc): Rename library from gstcoreleements to
342         staticelements. Fixes #323222.
343
344 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
345
346         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
347           Change debug category to 'collectpads' from 'collect_pads'
348           (fixes #323250).
349
350 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
351
352         patch by: Sebastien Moutte
353
354         * libs/gst/controller/gstinterpolation.c:
355           use convert function for uint64/double
356         * win32/vs6/libgstcontroller.dsp:
357           link to GLib
358
359 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
360
361         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
362         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
363         * gst/gstutils.h:
364         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
365           add tests that seem to show that the guint64/gdouble conversions
366           are correct.
367
368 2005-12-02  Wim Taymans  <wim@fluendo.com>
369
370         * gst/gstregistry.c: (gst_registry_add_path):
371         * gst/gstregistry.h:
372         * gst/gstregistryxml.c:
373         Fix docs again.
374
375 2005-12-02  Wim Taymans  <wim@fluendo.com>
376
377         * gst/gstutils.c: (gst_util_uint64_scale_int64),
378         (gst_util_uint64_scale_int):
379         Small cleanup.
380
381         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
382         Add debug log line.
383
384         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
385         Add FIXME.
386
387 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
388
389         * win32/MANIFEST:
390         * win32/common/config.h:
391         * win32/vs6/gstreamer.dsw:
392         * win32/vs6/libgstcoreelements.dsp:
393         * win32/vs6/libgstelements.dsp:
394           renamed core elements plugin
395
396 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
397
398         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
399         (get_candidates):
400           do piece-wise major/minor comparison so 0.9 < 0.10
401           also allow .exe extensions for tools
402
403 2005-12-02  Michael Smith  <msmith@fluendo.com>
404
405         * gst/gst.c:
406           Escape a % to make gtkdoc happier; bug 322958.
407
408 === release 0.9.7 ===
409
410 2005-12-01   <thomas (at) apestaart (dot) org>
411
412         * configure.ac:
413           releasing 0.9.7, "My Dog Has No Nose"
414
415 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
416
417         * common/gst-xmlinspect.py:
418         * configure.ac:
419         * docs/libs/tmpl/gstdataprotocol.sgml:
420         * docs/random/release:
421         * po/af.po:
422         * po/az.po:
423         * po/bg.po:
424         * po/ca.po:
425         * po/cs.po:
426         * po/de.po:
427         * po/en_GB.po:
428         * po/fr.po:
429         * po/it.po:
430         * po/nb.po:
431         * po/nl.po:
432         * po/ru.po:
433         * po/sq.po:
434         * po/sr.po:
435         * po/sv.po:
436         * po/tr.po:
437         * po/uk.po:
438         * po/vi.po:
439         * win32/common/config.h:
440         * win32/common/config.h.in:
441         * win32/vs6/gst_inspect.dsp:
442         * win32/vs6/gst_launch.dsp:
443         * win32/vs6/libgstbase.dsp:
444         * win32/vs6/libgstelements.dsp:
445         * win32/vs6/libgstreamer.dsp:
446         * win32/vs7/GStreamer.vcproj:
447         * win32/vs7/gst-inspect.vcproj:
448         * win32/vs7/gst-launch.vcproj:
449         * win32/vs7/libgstbase.vcproj:
450           bump GST_MAJORMINOR to 0.10
451           reset libtool version
452
453 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
454
455         * po/LINGUAS:
456         * po/bg.po:
457           Added Bulgarian translation by (Alexander Shopov)
458
459 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
460
461         * tests/check/gst/gstplugin.c:
462           fix test
463
464 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
465
466         * common/gst-xmlinspect.py:
467         * common/gtk-doc-plugins.mak:
468         * configure.ac:
469         * docs/Makefile.am:
470         * docs/gst/Makefile.am:
471         * docs/gst/gstreamer-docs.sgml:
472         * docs/gst/gstreamer-sections.txt:
473         * docs/gst/gstreamer.types:
474         * docs/gst/gstreamer.types.in:
475         * docs/plugins/Makefile.am:
476         * docs/plugins/gstreamer-plugins-docs.sgml:
477         * docs/plugins/gstreamer-plugins-sections.txt:
478         * docs/plugins/gstreamer-plugins.types:
479         * docs/plugins/inspect.stamp:
480         * docs/plugins/inspect/plugin-coreelements.xml:
481         * docs/plugins/inspect/plugin-coreindexers.xml:
482         * docs/plugins/scanobj-build.stamp:
483         * gstreamer.spec.in:
484         * plugins/elements/Makefile.am:
485         * plugins/elements/gstelements.c:
486         * plugins/elements/gstfakesink.c:
487         * plugins/elements/gstfakesrc.c:
488         * plugins/elements/gstfilesink.c:
489         * plugins/elements/gstfilesrc.c:
490         * plugins/elements/gstqueue.c:
491         * plugins/indexers/Makefile.am:
492         * plugins/indexers/gstindexers.c:
493           document core plugins in a separate document just like all the
494           others
495           rename these plugins to something starting with core
496
497 2005-12-01  Andy Wingo  <wingo@pobox.com>
498
499         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
500         padding here before, but it missed the commit.
501
502 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
503
504         * libs/gst/controller/gstinterpolation.c:
505           whitespace prices have crashed, we should feel free to use some now
506           use gst_guint64_to_gdouble
507
508 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
509
510         * libs/gst/controller/gstcontroller.c:
511         * libs/gst/controller/gsthelper.c:
512         * libs/gst/controller/gstinterpolation.c:
513         * libs/gst/controller/lib.c:
514           wrap config.h include
515
516 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
517
518         * docs/gst/gstreamer-sections.txt:
519           update docs
520
521 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
522
523         * plugins/elements/gstelements.c:
524         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
525         (gst_fd_sink__class_init), (gst_fd_sink__init),
526         (gst_fd_sink__chain), (gst_fd_sink__set_property),
527         (gst_fd_sink__get_property):
528         * plugins/elements/gstfdsink.h:
529         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
530         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
531         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
532         (gst_fd_src_unlock), (gst_fd_src_set_property),
533         (gst_fd_src_get_property), (gst_fd_src_create),
534         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
535         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
536         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
537         (gst_fd_src_uri_handler_init):
538         * plugins/elements/gstfdsrc.h:
539         * plugins/elements/gstqueue.c: (gst_queue_get_type):
540           more anal cleanup
541
542 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
543
544         * docs/gst/Makefile.am:
545         * docs/gst/gstreamer.types.in:
546         * gst/Makefile.am:
547           fix the docs build
548
549 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
550
551         * configure.ac:
552         * gst/Makefile.am:
553         * gst/gst.c:
554         * gst/gstplugin.h:
555         * gst/gstregistry.h:
556         * tests/benchmarks/complexity.c:
557         * tests/benchmarks/mass-elements.c:
558         * tests/check/Makefile.am:
559         * tools/Makefile.am:
560         * tools/gst-inspect.c:
561         * tools/gst-xmlinspect.c:
562           various fixes to make
563           --disable-nls --disable-registry --disable-loadsave
564           --disable-parse --disable-gst-debug
565           work and get the core .so down to 360444 bytes after stripping
566
567 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
568
569         * Makefile.am:
570         * configure.ac:
571           descend into tests
572         * docs/random/thomasvs/TODO:
573         * tests/Makefile.am:
574         * tests/README:
575           add a README
576
577 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
578
579         * win32/GStreamer.vcproj:
580         * win32/MANIFEST:
581         * win32/Makefile:
582         * win32/Makefile.inspect:
583         * win32/Makefile.launch:
584         * win32/Makefile.register:
585         * win32/README.txt:
586         * win32/gst-inspect.vcproj:
587         * win32/gst-launch.vcproj:
588         * win32/gst-register.vcproj:
589         * win32/gstelements.vcproj:
590         * win32/gstgetbits.def:
591         * win32/gstgetbits.vcproj:
592         * win32/gstreamer-dbg.def:
593         * win32/gstreamer.def:
594         * win32/libgstbase.def:
595         * win32/libgstbase.vcproj:
596         * win32/link_oldruntime.c:
597         * win32/mman.c:
598         * win32/mman.h:
599         * win32/mman.inl:
600         * win32/msvc71.sln:
601           move even more stuff, win32/ is nice and clean now
602
603 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
604
605         * libs/gst/control/.cvsignore:
606         * win32/MANIFEST:
607         * win32/config.h:
608         * win32/dirent.c:
609         * win32/dirent.h:
610         * win32/gstbytestream.def:
611         * win32/gstbytestream.vcproj:
612         * win32/gstconfig.h:
613         * win32/gstenumtypes.c:
614         * win32/gstenumtypes.h:
615         * win32/gstoptimalscheduler.vcproj:
616         * win32/gstversion.h:
617         * win32/gtchar.h:
618         * win32/testsuite/bins.vcproj:
619         * win32/testsuite/bytestream.vcproj:
620         * win32/testsuite/caps.vcproj:
621         * win32/testsuite/cleanup.vcproj:
622         * win32/testsuite/clock.vcproj:
623         * win32/testsuite/debug.vcproj:
624         * win32/testsuite/dlopen.vcproj:
625         * win32/testsuite/dynparams.vcproj:
626         * win32/testsuite/elements.vcproj:
627         * win32/testsuite/ghostpads.vcproj:
628         * win32/testsuite/indexers.vcproj:
629         * win32/testsuite/negotiation.vcproj:
630         * win32/testsuite/parse.vcproj:
631         * win32/testsuite/plugin.vcproj:
632         * win32/testsuite/refcounting.vcproj:
633         * win32/testsuite/schedulers.vcproj:
634         * win32/testsuite/states.vcproj:
635         * win32/testsuite/tags.vcproj:
636         * win32/testsuite/threads.vcproj:
637           remove old win32 stuff that isn't maintained and should be
638           reorganized
639
640 2005-11-30  Andy Wingo  <wingo@pobox.com>
641
642         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
643         loading the gst.interfaces python module bork.
644
645         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
646         available since GLib 2.2. Fixes #318031.
647
648 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
649
650         * Makefile.am:
651         * check/.cvsignore:
652         * check/Makefile.am:
653         * check/elements/.cvsignore:
654         * check/elements/fakesrc.c:
655         * check/elements/fdsrc.c:
656         * check/elements/identity.c:
657         * check/generic/.cvsignore:
658         * check/generic/states.c:
659         * check/gst-libs/.cvsignore:
660         * check/gst-libs/controller.c:
661         * check/gst-libs/gdp.c:
662         * check/gst/.cvsignore:
663         * check/gst/capslist.h:
664         * check/gst/gst.c:
665         * check/gst/gstbin.c:
666         * check/gst/gstbuffer.c:
667         * check/gst/gstbus.c:
668         * check/gst/gstcaps.c:
669         * check/gst/gstelement.c:
670         * check/gst/gstevent.c:
671         * check/gst/gstghostpad.c:
672         * check/gst/gstiterator.c:
673         * check/gst/gstmessage.c:
674         * check/gst/gstminiobject.c:
675         * check/gst/gstobject.c:
676         * check/gst/gstpad.c:
677         * check/gst/gstpipeline.c:
678         * check/gst/gstplugin.c:
679         * check/gst/gstsegment.c:
680         * check/gst/gststructure.c:
681         * check/gst/gstsystemclock.c:
682         * check/gst/gsttag.c:
683         * check/gst/gstutils.c:
684         * check/gst/gstvalue.c:
685         * check/net/.cvsignore:
686         * check/net/gstnetclientclock.c:
687         * check/net/gstnettimeprovider.c:
688         * check/pipelines/.cvsignore:
689         * check/pipelines/cleanup.c:
690         * check/pipelines/simple_launch_lines.c:
691         * check/pipelines/stress.c:
692         * check/states/.cvsignore:
693         * check/states/sinks.c:
694         * configure.ac:
695         * examples/Makefile.am:
696         * examples/appreader/.cvsignore:
697         * examples/appreader/Makefile.am:
698         * examples/appreader/appreader.c:
699         * examples/controller/.cvsignore:
700         * examples/controller/Makefile.am:
701         * examples/controller/audio-example.c:
702         * examples/cutter/.cvsignore:
703         * examples/cutter/Makefile.am:
704         * examples/cutter/cutter.c:
705         * examples/cutter/cutter.h:
706         * examples/events/Makefile.am:
707         * examples/events/seek.c:
708         * examples/helloworld/.cvsignore:
709         * examples/helloworld/Makefile.am:
710         * examples/helloworld/helloworld.c:
711         * examples/helloworld2/.cvsignore:
712         * examples/helloworld2/Makefile.am:
713         * examples/helloworld2/helloworld2.c:
714         * examples/launch/.cvsignore:
715         * examples/launch/Makefile.am:
716         * examples/launch/mp3parselaunch.c:
717         * examples/launch/mp3play:
718         * examples/manual/.cvsignore:
719         * examples/manual/Makefile.am:
720         * examples/manual/extract.pl:
721         * examples/metadata/Makefile.am:
722         * examples/metadata/read-metadata.c:
723         * examples/mixer/.cvsignore:
724         * examples/mixer/Makefile.am:
725         * examples/mixer/mixer.c:
726         * examples/mixer/mixer.h:
727         * examples/pingpong/.cvsignore:
728         * examples/pingpong/Makefile.am:
729         * examples/pingpong/pingpong.c:
730         * examples/plugins/.cvsignore:
731         * examples/plugins/Makefile.am:
732         * examples/plugins/example.c:
733         * examples/plugins/example.h:
734         * examples/pwg/.cvsignore:
735         * examples/pwg/Makefile.am:
736         * examples/pwg/extract.pl:
737         * examples/queue/.cvsignore:
738         * examples/queue/Makefile.am:
739         * examples/queue/queue.c:
740         * examples/queue2/.cvsignore:
741         * examples/queue2/Makefile.am:
742         * examples/queue2/queue2.c:
743         * examples/queue3/.cvsignore:
744         * examples/queue3/Makefile.am:
745         * examples/queue3/queue3.c:
746         * examples/queue4/.cvsignore:
747         * examples/queue4/Makefile.am:
748         * examples/queue4/queue4.c:
749         * examples/retag/.cvsignore:
750         * examples/retag/Makefile.am:
751         * examples/retag/retag.c:
752         * examples/retag/transcode.c:
753         * examples/thread/.cvsignore:
754         * examples/thread/Makefile.am:
755         * examples/thread/thread.c:
756         * examples/typefind/.cvsignore:
757         * examples/typefind/Makefile.am:
758         * examples/typefind/typefind.c:
759         * examples/xml/.cvsignore:
760         * examples/xml/Makefile.am:
761         * examples/xml/createxml.c:
762         * examples/xml/runxml.c:
763         * tests/Makefile.am:
764         * tests/check/Makefile.am:
765         * testsuite/.cvsignore:
766         * testsuite/Makefile.am:
767         * testsuite/Rules:
768         * testsuite/caps/.cvsignore:
769         * testsuite/caps/Makefile.am:
770         * testsuite/caps/app_fixate.c:
771         * testsuite/caps/audioscale.c:
772         * testsuite/caps/caps.c:
773         * testsuite/caps/caps.h:
774         * testsuite/caps/caps_strings:
775         * testsuite/caps/compatibility.c:
776         * testsuite/caps/deserialize.c:
777         * testsuite/caps/enumcaps.c:
778         * testsuite/caps/eratosthenes.c:
779         * testsuite/caps/filtercaps.c:
780         * testsuite/caps/fixed.c:
781         * testsuite/caps/fraction-convert.c:
782         * testsuite/caps/fraction-multiply-and-zero.c:
783         * testsuite/caps/intersect2.c:
784         * testsuite/caps/intersection.c:
785         * testsuite/caps/normalisation.c:
786         * testsuite/caps/random.c:
787         * testsuite/caps/renegotiate.c:
788         * testsuite/caps/sets.c:
789         * testsuite/caps/simplify.c:
790         * testsuite/caps/string-conversions.c:
791         * testsuite/caps/structure.c:
792         * testsuite/caps/subtract.c:
793         * testsuite/caps/union.c:
794         * testsuite/debug/.cvsignore:
795         * testsuite/debug/Makefile.am:
796         * testsuite/debug/category.c:
797         * testsuite/debug/commandline.c:
798         * testsuite/debug/global.c:
799         * testsuite/debug/output.c:
800         * testsuite/debug/printf_extension.c:
801         * testsuite/dlopen/.cvsignore:
802         * testsuite/dlopen/Makefile.am:
803         * testsuite/dlopen/dlopen_gst.c:
804         * testsuite/dlopen/loadgst.c:
805         * testsuite/elements/.cvsignore:
806         * testsuite/elements/Makefile.am:
807         * testsuite/elements/gst-inspect-check.in:
808         * testsuite/elements/struct_i386.h:
809         * testsuite/elements/struct_size.c:
810         * testsuite/indexers/.cvsignore:
811         * testsuite/indexers/Makefile.am:
812         * testsuite/indexers/cache1.c:
813         * testsuite/indexers/indexdump.c:
814         * testsuite/parse/.cvsignore:
815         * testsuite/parse/Makefile.am:
816         * testsuite/parse/parse1.c:
817         * testsuite/parse/parse2.c:
818         * testsuite/plugin/.cvsignore:
819         * testsuite/plugin/Makefile.am:
820         * testsuite/plugin/README:
821         * testsuite/plugin/dynamic.c:
822         * testsuite/plugin/linked.c:
823         * testsuite/plugin/loading.c:
824         * testsuite/plugin/registry.c:
825         * testsuite/plugin/static.c:
826         * testsuite/plugin/static2.c:
827         * testsuite/plugin/testplugin.c:
828         * testsuite/plugin/testplugin2.c:
829         * testsuite/plugin/testplugin2_s.c:
830         * testsuite/plugin/testplugin_s.c:
831         * testsuite/refcounting/.cvsignore:
832         * testsuite/refcounting/Makefile.am:
833         * testsuite/refcounting/bin.c:
834         * testsuite/refcounting/element.c:
835         * testsuite/refcounting/element_pad.c:
836         * testsuite/refcounting/mainloop.c:
837         * testsuite/refcounting/mem.c:
838         * testsuite/refcounting/mem.h:
839         * testsuite/refcounting/object.c:
840         * testsuite/refcounting/pad.c:
841         * testsuite/refcounting/sched.c:
842         * testsuite/refcounting/thread.c:
843         * testsuite/states/.cvsignore:
844         * testsuite/states/Makefile.am:
845         * testsuite/states/bin.c:
846         * testsuite/states/locked.c:
847         * testsuite/states/parent.c:
848         * testsuite/threads/.cvsignore:
849         * testsuite/threads/159566.c:
850         * testsuite/threads/159852.c:
851         * testsuite/threads/Makefile.am:
852         * testsuite/threads/queue.c:
853         * testsuite/threads/signals.c:
854         * testsuite/threads/staticrec.c:
855         * testsuite/threads/thread.c:
856         * testsuite/threads/threadb.c:
857         * testsuite/threads/threadc.c:
858         * testsuite/threads/threadd.c:
859         * testsuite/threads/threade.c:
860         * testsuite/threads/threadf.c:
861         * testsuite/threads/threadg.c:
862         * testsuite/threads/threadh.c:
863         * testsuite/threads/threadi.c:
864           move all of these under tests
865
866 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
867
868         * configure.ac:
869         * tests/Makefile.am:
870           fix distcheck
871
872 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
873
874         * docs/gst/gstreamer-sections.txt:
875         * tests/sched/.cvsignore:
876         * tests/sched/Makefile.am:
877         * tests/sched/cases/(fs-fs).xml:
878         * tests/sched/cases/(fs-i-fs).xml:
879         * tests/sched/cases/(fs-i-i-fs).xml:
880         * tests/sched/cases/(fs-i-q[i-fs]).xml:
881         * tests/sched/dynamic-pipeline.c:
882         * tests/sched/interrupt1.c:
883         * tests/sched/interrupt2.c:
884         * tests/sched/interrupt3.c:
885         * tests/sched/runtestcases:
886         * tests/sched/runxml.c:
887         * tests/sched/sched-stress.c:
888         * tests/sched/sort.c:
889         * tests/sched/testcases:
890         * tests/sched/testcases1.tc:
891         * tests/seeking/.cvsignore:
892         * tests/seeking/Makefile.am:
893         * tests/seeking/seeking1.c:
894         * tests/threadstate/.cvsignore:
895         * tests/threadstate/Makefile.am:
896         * tests/threadstate/test1.c:
897         * tests/threadstate/test2.c:
898         * tests/threadstate/threadstate1.c:
899         * tests/threadstate/threadstate2.c:
900         * tests/threadstate/threadstate3.c:
901         * tests/threadstate/threadstate4.c:
902         * tests/threadstate/threadstate5.c:
903           remove obsolete tests
904         * configure.ac:
905         * tests/bench-complexity.scm:
906         * tests/bench-mass_elements.scm:
907         * tests/complexity.c:
908         * tests/complexity.gnuplot:
909         * tests/instantiate/.cvsignore:
910         * tests/instantiate/Makefile.am:
911         * tests/instantiate/caps.c:
912         * tests/mass_elements.c:
913         * tests/network-clock-utils.scm:
914         * tests/network-clock.scm:
915         * tests/plot-data:
916         First pass at cleaning up tests/ dir before moving the rest
917         Combined with CVS surgery
918
919 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
920
921         * po/POTFILES.in:
922           queue has moved, update
923
924 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
925
926         * docs/gst/gstreamer-sections.txt:
927           remove double entries from the docs
928         * gst/gst_private.h:
929         * gst/gstinfo.c: (_gst_debug_init):
930           remove the THREAD debug category
931         * gst/Makefile.am:
932         * gst/gstqueue.c:
933         * gst/gstqueue.h:
934         * docs/gst/gstreamer.types:
935         * plugins/elements/gstqueue.c: (gst_queue_get_type),
936         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
937           completely move queue and fix up debugging categories
938
939 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
940
941         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
942           make initialization portable, using LL is not
943
944 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
945
946         * win32/common/gstconfig.h:
947           add large padding
948
949 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
950
951         * win32/common/libgstreamer.def:
952           rename symbols; sort base section
953
954 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
955
956         * gst/gstclock.c: (do_linear_regression):
957           remove crack non-portable handrolled DEBUG macro
958
959 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
960
961         * docs/random/release:
962           update notes
963         * win32/common/gstenumtypes.c: (register_gst_object_flags),
964         (gst_object_flags_get_type), (register_gst_bin_flags),
965         (gst_bin_flags_get_type), (register_gst_buffer_flag),
966         (gst_buffer_flag_get_type), (register_gst_bus_flags),
967         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
968         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
969         (gst_caps_flags_get_type), (register_gst_clock_return),
970         (gst_clock_return_get_type), (register_gst_clock_entry_type),
971         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
972         (gst_clock_flags_get_type), (register_gst_state),
973         (gst_state_get_type), (register_gst_state_change_return),
974         (gst_state_change_return_get_type), (register_gst_state_change),
975         (gst_state_change_get_type), (register_gst_element_flags),
976         (gst_element_flags_get_type), (register_gst_core_error),
977         (gst_core_error_get_type), (register_gst_library_error),
978         (gst_library_error_get_type), (register_gst_resource_error),
979         (gst_resource_error_get_type), (register_gst_stream_error),
980         (gst_stream_error_get_type), (register_gst_event_type_flags),
981         (gst_event_type_flags_get_type), (register_gst_event_type),
982         (gst_event_type_get_type), (register_gst_seek_type),
983         (gst_seek_type_get_type), (register_gst_seek_flags),
984         (gst_seek_flags_get_type), (register_gst_format),
985         (gst_format_get_type), (register_gst_index_certainty),
986         (gst_index_certainty_get_type), (register_gst_index_entry_type),
987         (gst_index_entry_type_get_type),
988         (register_gst_index_lookup_method),
989         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
990         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
991         (gst_index_resolver_method_get_type), (register_gst_index_flags),
992         (gst_index_flags_get_type), (register_gst_debug_level),
993         (gst_debug_level_get_type), (register_gst_debug_color_flags),
994         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
995         (gst_iterator_result_get_type), (register_gst_iterator_item),
996         (gst_iterator_item_get_type), (register_gst_message_type),
997         (gst_message_type_get_type), (register_gst_mini_object_flags),
998         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
999         (gst_pad_link_return_get_type), (register_gst_flow_return),
1000         (gst_flow_return_get_type), (register_gst_activate_mode),
1001         (gst_activate_mode_get_type), (register_gst_pad_direction),
1002         (gst_pad_direction_get_type), (register_gst_pad_flags),
1003         (gst_pad_flags_get_type), (register_gst_pad_presence),
1004         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1005         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1006         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1007         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1008         (gst_plugin_flags_get_type), (register_gst_rank),
1009         (gst_rank_get_type), (register_gst_query_type),
1010         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1011         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1012         (gst_tag_flag_get_type), (register_gst_task_state),
1013         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1014         (gst_alloc_trace_flags_get_type),
1015         (register_gst_type_find_probability),
1016         (gst_type_find_probability_get_type), (register_gst_uri_type),
1017         (gst_uri_type_get_type), (register_gst_parse_error),
1018         (gst_parse_error_get_type):
1019         * win32/common/gstenumtypes.h:
1020         * win32/common/gstversion.h:
1021           update visual studio generated files
1022
1023 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1024
1025         * win32/vs6/libgstbase.dsp:
1026         * win32/vs6/libgstelements.dsp:
1027           update project files for new locations
1028
1029 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1030
1031         * Makefile.am:
1032           remove some files
1033         * README:
1034           reinstate and update
1035         * DEVEL:
1036         * REQUIREMENTS:
1037           removed
1038         * LICENSE:
1039         * docs/random/LICENSE:
1040           moved to random
1041
1042 2005-11-30  Edward Hervey  <edward@fluendo.com>
1043
1044         * gst/gsttypefind.c: (gst_type_find_register):
1045         * gst/gsttypefind.h:
1046         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1047         (gst_type_find_factory_dispose):
1048         * gst/gsttypefindfactory.h:
1049         Fix memory leak in GstTypeFindFactory.
1050
1051 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1052
1053         * gst/gst.c:
1054         * plugins/elements/Makefile.am:
1055         * plugins/elements/gstelements.c:
1056         * plugins/elements/gstqueue.c:
1057           move queue from core to the elements plugin
1058
1059 2005-11-29  Andy Wingo  <wingo@pobox.com>
1060
1061         * libs/gst/base/gstbasetransform.h: 
1062         * libs/gst/base/gstbasesrc.h: 
1063         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1064
1065         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1066         of pointers by which to pad very extensible base classes (like the
1067         ones in libs/gst/base).
1068
1069 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1070
1071         * docs/gst/gstreamer-docs.sgml:
1072         * docs/gst/gstreamer-sections.txt:
1073         * docs/libs/gstreamer-libs-docs.sgml:
1074         * docs/libs/gstreamer-libs-sections.txt:
1075           moving documentation from core to lib
1076
1077 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1078
1079         * check/Makefile.am:
1080         * configure.ac:
1081         * docs/gst/Makefile.am:
1082         * gst/Makefile.am:
1083         * gst/base/.cvsignore:
1084         * gst/base/Makefile.am:
1085         * gst/base/README:
1086         * gst/base/gstadapter.c:
1087         * gst/base/gstadapter.h:
1088         * gst/base/gstbasesink.c:
1089         * gst/base/gstbasesink.h:
1090         * gst/base/gstbasesrc.c:
1091         * gst/base/gstbasesrc.h:
1092         * gst/base/gstbasetransform.c:
1093         * gst/base/gstbasetransform.h:
1094         * gst/base/gstcollectpads.c:
1095         * gst/base/gstcollectpads.h:
1096         * gst/base/gstpushsrc.c:
1097         * gst/base/gstpushsrc.h:
1098         * gst/base/gsttypefindhelper.c:
1099         * gst/base/gsttypefindhelper.h:
1100         * gst/check/Makefile.am:
1101         * gst/check/gstcheck.c:
1102         * gst/check/gstcheck.h:
1103         * gst/net/Makefile.am:
1104         * gst/net/gstnet.h:
1105         * gst/net/gstnetclientclock.c:
1106         * gst/net/gstnetclientclock.h:
1107         * gst/net/gstnettimepacket.c:
1108         * gst/net/gstnettimepacket.h:
1109         * gst/net/gstnettimeprovider.c:
1110         * gst/net/gstnettimeprovider.h:
1111         * libs/gst/Makefile.am:
1112         * libs/gst/base/Makefile.am:
1113         * libs/gst/base/gstbasetransform.c:
1114         * libs/gst/check/Makefile.am:
1115         * plugins/elements/Makefile.am:
1116         * po/POTFILES.in:
1117           CVS surgery + support to move base, check, and net out of gst
1118           and into libs/gst
1119
1120 2005-11-29  Andy Wingo  <wingo@pobox.com>
1121
1122         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1123
1124         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1125         padding.
1126
1127         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1128
1129         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1130
1131         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1132
1133         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1134         padding; reduces object size by about 30%. We don't expect
1135         anything else to go into gstobject.
1136
1137         * gst/gstminiobject.h (struct _GstMiniObject)
1138         (struct _GstMiniObjectClass): Only one pointer of padding; the
1139         payload is only a pointer and two ints anyway. For the class there
1140         are only two methods as well.
1141         
1142         * gst/gstelement.h (struct _GstElementClass): Removed
1143         the state_changed signal callback, it is not used.
1144
1145 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1146
1147         * docs/gst/gstreamer.types:
1148           fix includes, though they are a little dinky
1149
1150 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1151
1152         * check/Makefile.am:
1153           look in the right place for elements, a lot more chance of
1154           success
1155         * gst/Makefile.am:
1156           remove indexers and elements subdirs
1157         * plugins/Makefile.am:
1158           make indexers conditional
1159
1160 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1161
1162         * Makefile.am:
1163         * configure.ac:
1164         * plugins/elements/Makefile.am:
1165         * plugins/elements/gstcapsfilter.c:
1166         * plugins/elements/gstfilesink.c:
1167         * plugins/elements/gstfilesrc.c:
1168         * plugins/elements/gstidentity.c:
1169         * plugins/indexers/Makefile.am:
1170           do CVS surgery and related build fixery to move elements
1171           and indexers in a new gstreamer/plugins directory, out of the
1172           gst/ directory
1173
1174 2005-11-29  Andy Wingo  <wingo@pobox.com>
1175
1176         * check/Makefile.am:
1177         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1178         * pkgconfig/gstreamer-net.pc.in:
1179         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1180         #322257.
1181
1182 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1183
1184         * tools/Makefile.am:
1185         * tools/gst-complete.1.in:
1186         * tools/gst-complete.c:
1187         * tools/gst-compprep.1.in:
1188         * tools/gst-compprep.c:
1189           removing -compprep and -complete
1190
1191 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1192
1193         * gst/gstevent.c: (gst_event_new_new_segment),
1194         (gst_event_parse_new_segment):
1195         * gst/gstevent.h:
1196           fix #320529 - clean up new_segment API and structure.
1197           Let's hope everyone was using the methods, and not the structure.
1198
1199 2005-11-29  Edward Hervey  <edward@fluendo.com>
1200
1201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1202         (gst_base_sink_event), (gst_base_sink_do_sync),
1203         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1204         Properly handle non GST_FORMAT_TIME segment
1205         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1206         Properly handle non GST_FORMAT_TIME segment
1207         * gst/gstsegment.c:
1208         This function is valid if the accumulator is 0 and the format
1209         is different from the requested format.
1210         
1211 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1212
1213         * docs/gst/gstreamer-sections.txt:
1214         Add gst_query_new_seeking and gst_query_parse_seeking to the
1215         docs.
1216
1217 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1218
1219         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1220           Treat a pad alloc with new caps the same as if we were not
1221           negotiated, in order to allow a changing upstream output
1222           to produce a new format of data.
1223
1224 2005-11-29  Edward Hervey  <edward@fluendo.com>
1225
1226         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1227         (gst_base_transform_event), (gst_base_transform_eventfunc):
1228         The event virtual method is now properly implemented, with a default
1229         handler
1230         Sub classes should call the parent_class event method. They should
1231         return FALSE if they had a problem handling the given event, or don't
1232         want GstBaseTransform to send that even downstream
1233         * gst/elements/gstidentity.c: (gst_identity_class_init),
1234         (gst_identity_init), (gst_identity_event),
1235         (gst_identity_transform_ip), (gst_identity_set_property),
1236         (gst_identity_get_property):
1237         * gst/elements/gstidentity.h:
1238         Added the single-segment boolean property.
1239         If set to TRUE, it will output a single segment of data, starting from
1240         0, will eat up all incoming newsegment, and modify the timestamp of the
1241         buffers accordingly
1242
1243 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1244
1245         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1246           Don't ref NULL target pad (#322751). Improve docs.
1247
1248 2005-11-29  Michael Smith  <msmith@fluendo.com>
1249
1250         * gst/gstregistryxml.c: (load_plugin):
1251           Don't crash if we failed to load a feature from a plugin. 
1252
1253 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1254
1255         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1256         (GST_START_TEST):
1257           use more check API and less GLib API
1258
1259 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1260
1261         * Makefile.am:
1262           don't run checks if we don't have check
1263         * common/check.mak:
1264           remove the registry when running make torture
1265         * docs/gst/gstreamer-sections.txt:
1266           remove second multiply
1267         * gst/gstqueue.c: (gst_queue_loop):
1268           fix a compile warning when disabling debug
1269
1270 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1271
1272         * gst/gstinfo.h:
1273         Hey! Let's print the pad name if the pointer != NULL instead
1274         of when it == NULL :-)
1275
1276 2005-11-28  Wim Taymans  <wim@fluendo.com>
1277
1278         * check/gst/gstutils.c: (GST_START_TEST):
1279         Updated check, add some scaling accuracy checking code.
1280
1281         * gst/gstutils.c: (gst_util_div128_64),
1282         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1283         (gst_util_uint64_scale_int):
1284         Fix 6 times faster division code. Optimize for common 
1285         1/1 and less common X/1 cases.
1286
1287 2005-11-28  Wim Taymans  <wim@fluendo.com>
1288
1289         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1290         More checks.
1291
1292         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1293         (do_linear_regression), (gst_clock_add_observation):
1294         Cleanups.
1295         Release lock when the clock cannot be slaved.
1296         Catch the case where the regression returned an invalid denominator.
1297
1298         * gst/gstutils.c: (gst_util_div128_64_iterate),
1299         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1300         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1301         Add protentially more performant non-iterative 128/64 divide function
1302         that unfortunatly does not work yet.
1303         Shortcut the trivial 0/X = 0 case.
1304         Remove the warnings on overflow.
1305
1306 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1307
1308         * gst/gstplugin.c: (gst_plugin_register_func):
1309           everything causing a plugin not to load should be at least a WARNING
1310
1311 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1312
1313         * docs/random/ensonic/dparams.txt:
1314           some TODOs for the next dev cycle
1315         * libs/gst/controller/gstcontroller.c:
1316         (gst_controlled_property_set_interpolation_mode),
1317         (gst_controlled_property_new):
1318         * libs/gst/controller/gstcontroller.h:
1319           use base type to assign acccessor functions
1320
1321 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1322
1323         * check/Makefile.am:
1324         Oops, that should have been top_srcdir
1325
1326 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1327
1328         * check/Makefile.am:
1329         * check/elements/fdsrc.c: (GST_START_TEST):
1330         Use a cmdline define to specify the location of a file to use for
1331         testing, to avoid breaking distcheck.
1332
1333 2005-11-28  Andy Wingo  <wingo@pobox.com>
1334
1335         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1336
1337 2005-11-28  Edward Hervey  <edward@fluendo.com>
1338
1339         * tools/gst-launch.c: (main):
1340         Clarify the output strings, makes it easier to translate.
1341         Fixes #322626
1342
1343 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1344
1345         * gst/Makefile.am:
1346           don't try and build net if we don't even have <sys/socket.h>
1347
1348 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1349
1350         * check/Makefile.am:
1351         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1352         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1353           Add tests for fdsrc seekability
1354
1355         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1356         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1357         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1358         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1359         * gst/elements/gstfdsrc.h:
1360           fdsrc should not be a 'live' source.
1361           Implement seeking on seekable fd's.
1362
1363         * gst/gstquery.c: (gst_query_new_seeking),
1364         (gst_query_parse_seeking):
1365         * gst/gstquery.h:
1366           Implement SEEKING query functions: 
1367             *_new_seeking and *_parse_seeking
1368
1369 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * gst/gstelement.c: (gst_element_dispose):
1372           don't loop forever
1373
1374         * gst/gstiterator.c:
1375         * gst/gststructure.c:
1376           doc fixes
1377
1378         * libs/gst/controller/gstcontroller.c:
1379         (gst_controlled_property_set_interpolation_mode):
1380         * libs/gst/controller/gstcontroller.h:
1381         * libs/gst/controller/gstinterpolation.c:
1382         (interpolate_none_get_enum_value_array):
1383           support controlling enums
1384
1385 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1386
1387         * gst/gstvalue.c:
1388           Improve documentation for gst_value_union().
1389
1390         * gst/gstvalue.h:
1391           Change return value for union, intersect and subtract functions
1392           from gint to gboolean.
1393
1394 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1395
1396         * gst/gstvalue.c: (gst_value_serialize_any_list),
1397         (gst_value_transform_any_list_string),
1398         (gst_value_deserialize_list), (gst_value_deserialize_array),
1399         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1400         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1401         (gst_value_set_fraction_range_full),
1402         (gst_value_deserialize_fraction_range),
1403         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1404         (gst_value_deserialize_boolean),
1405         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1406         (gst_value_serialize_float), (gst_value_deserialize_float),
1407         (gst_string_wrap), (gst_value_deserialize_string),
1408         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1409         (gst_value_union_int_range_int_range),
1410         (gst_value_intersect_int_range_int_range),
1411         (gst_value_intersect_double_range_double_range),
1412         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1413         (gst_value_subtract_int_range_int_range),
1414         (gst_value_subtract_double_double_range),
1415         (gst_value_subtract_double_range_double_range),
1416         (gst_value_deserialize_fraction):
1417         * gst/gstvalue.h:
1418           Use gint, gdouble and gchar in our API instead of int, double and
1419           char (and make usage in gstvalue.c more consistent).
1420
1421 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1422
1423         * check/Makefile.am:
1424         * libs/gst/controller/Makefile.am:
1425         * libs/gst/dataprotocol/Makefile.am:
1426           fix up Makefile.am and remove GST_ENABLE_NEW
1427
1428 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1429
1430         * configure.ac:
1431         * gst/Makefile.am:
1432         * gst/base/Makefile.am:
1433         * gst/check/Makefile.am:
1434         * gst/elements/Makefile.am:
1435         * gst/net/Makefile.am:
1436           update LDFLAGS use some more
1437
1438 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1439
1440         * common/m4/gst-doc.m4:
1441           Fixes #312589
1442
1443 2005-11-26  Edward Hervey  <edward@fluendo.com>
1444
1445         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1446         This shouldn't issue a g_warning since it returns NULL if it
1447         couldn't find the plugin, and all functions using this behave
1448         properly on a NULL return. Switching to a GST_WARNING.
1449
1450 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1451
1452         * gst/gstbin.c: (gst_bin_handle_message_func):
1453         Don't leak clock messages.
1454
1455 2005-11-25  Wim Taymans  <wim@fluendo.com>
1456
1457         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1458         (gst_util_uint64_scale_int):
1459         Optimisations, remove unneeded vars.
1460
1461 2005-11-25  Wim Taymans  <wim@fluendo.com>
1462
1463         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1464         Added more checks for the high precision uint64 cases.
1465
1466         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1467         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1468         Implement high precision (guint64 * guint64) / guint64.
1469
1470 2005-11-24  Wim Taymans  <wim@fluendo.com>
1471
1472         * gst/base/gstbasesrc.c: (gst_base_src_query):
1473         Fix wrong percentage query.
1474
1475         * gst/gstutils.c: (gst_util_uint64_scale),
1476         (gst_util_uint64_scale_int):
1477         Add some more common cases that can be handled 
1478         efficiently to _scale.
1479
1480 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1481
1482         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1483         (gst_mini_object_suite):
1484           don't use check calls from threads; check probably isn't
1485           threadsafe and using a lock to make it threadsafe would
1486           defeat the purpose of this check
1487         * gst/check/gstcheck.c:
1488         * gst/check/gstcheck.h:
1489           use GST_DEBUG some more
1490
1491 2005-11-24  Wim Taymans  <wim@fluendo.com>
1492
1493         * gst/gstutils.c: (gst_util_uint64_scale),
1494         (gst_util_uint64_scale_int):
1495         Chain trivial case to _scale_int.
1496
1497 2005-11-24  Wim Taymans  <wim@fluendo.com>
1498
1499         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1500         Added test for scaling.
1501
1502         * gst/gstclock.h:
1503         Small doc fix.
1504
1505         * gst/gstutils.c: (gst_util_uint64_scale_int):
1506         Implemented high precision scaling code.
1507
1508 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1509
1510         * gst/gstinfo.h:
1511           do not crash on pad==NULL
1512
1513 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1514
1515         Patch by: Stefan Kost
1516
1517         * common/gtk-doc.mak:
1518         * docs/gst/Makefile.am:
1519         * docs/libs/Makefile.am:
1520           Fix distcheck issues for the libraries docs build
1521           Closes #319599.
1522
1523 2005-11-24  Michael Smith <msmith@fluendo.com>
1524
1525         * docs/manual/basics-helloworld.xml:
1526           Fix bug #315027: memory leak in example code in docs.
1527
1528 2005-11-24  Michael Smith <msmith@fluendo.com>
1529
1530         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1531           Unlock the PREROLL_LOCK in a failure case.
1532
1533 2005-11-24  Wim Taymans  <wim@fluendo.com>
1534
1535         * docs/gst/gstreamer-sections.txt:
1536         * gst/base/gstadapter.h:
1537         * gst/base/gstbasesink.h:
1538         * gst/base/gstbasesrc.h:
1539         * gst/base/gstbasetransform.h:
1540         * gst/base/gstpushsrc.h:
1541         * gst/elements/gstfakesink.h:
1542         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1543         * gst/elements/gstfakesrc.h:
1544         * gst/elements/gstfilesink.h:
1545         * gst/elements/gstfilesrc.h:
1546         * gst/gst.c:
1547         * gst/gstbin.c:
1548         * gst/gstbuffer.c: (_gst_buffer_copy):
1549         * gst/gstbus.h:
1550         * gst/gstcaps.c:
1551         * gst/gstchildproxy.c:
1552         * gst/gstclock.c:
1553         * gst/gstelement.c:
1554         * gst/gstelementfactory.c:
1555         * gst/gstelementfactory.h:
1556         * gst/gstevent.c:
1557         * gst/gstghostpad.h:
1558         * gst/gstindex.h:
1559         * gst/gstinterface.h:
1560         * gst/gstminiobject.c:
1561         * gst/gstminiobject.h:
1562         * gst/gstpad.c:
1563         * gst/gstpad.h:
1564         * gst/gstpadtemplate.h:
1565         * gst/gstpipeline.h:
1566         * gst/gstpluginfeature.h:
1567         * gst/gstquery.h:
1568         * gst/gstqueue.h:
1569         * gst/gsttaglist.c:
1570         * gst/gsttaglist.h:
1571         * gst/gsttagsetter.c:
1572         * gst/gsttagsetter.h:
1573         * gst/gsttrace.c:
1574         * gst/gsttrace.h:
1575         * gst/gsttypefind.h:
1576         * gst/gsturi.h:
1577         * gst/gstvalue.c:
1578         * gst/net/gstnetclientclock.c:
1579         * gst/net/gstnetclientclock.h:
1580         * gst/net/gstnettimepacket.c:
1581         * gst/net/gstnettimeprovider.c:
1582         * gst/net/gstnettimeprovider.h:
1583         Doc fixes.
1584
1585 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1586
1587         * configure.ac: back to HEAD
1588
1589 === release 0.9.6 ===
1590
1591 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1592
1593         * configure.ac:
1594           releasing 0.9.6, "Always On Time"
1595
1596 2005-11-23  Wim Taymans  <wim@fluendo.com>
1597
1598         * docs/gst/gstreamer-sections.txt:
1599         * gst/glib-compat.c:
1600         * gst/gsttagsetter.c:
1601         * gst/gstvalue.c:
1602         * gst/net/gstnetclientclock.c:
1603         * gst/net/gstnettimepacket.h:
1604         Doc updates.
1605
1606 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1607
1608         * docs/faq/using.xml:
1609         * docs/libs/tmpl/gstcontrol.sgml:
1610         * docs/manual/advanced-dparams.xml:
1611         * docs/manual/appendix-checklist.xml:
1612         * docs/manual/basics-elements.xml:
1613         * docs/pwg/other-source.xml:
1614         * docs/random/moving-plugins:
1615         * gst/gstpad.c:
1616         * tools/gst-launch.1.in:
1617           remove mentions of sinesrc
1618
1619 2005-11-23  Michael Smith <msmith@fluendo.com>
1620
1621         * docs/gst/gstreamer-sections.txt:
1622           Update for new API and API changes.
1623         * gst/gstobject.h:
1624           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1625         * gst/gstvalue.c:
1626           Documentation typo fix.
1627         * gst/net/gstnettimepacket.c:
1628           Documentation fixes for arguments.
1629
1630 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1631
1632         * gst/gststructure.c: (gst_structure_get_fraction),
1633         (gst_structure_parse_value),
1634         (gst_structure_fixate_field_nearest_fraction):
1635         * gst/gststructure.h:
1636         * gst/gstutils.c: (gst_util_uint64_scale_int):
1637         * gst/gstutils.h:
1638         * scripts/update-funcnames:
1639         API Changes. 
1640         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1641         Make gst_structure_fixate_field_nearest_fraction take a numerator
1642         and denominator argument instead of a GValue
1643         add gst_structure_get_fraction helper function.
1644
1645 2005-11-23  Wim Taymans  <wim@fluendo.com>
1646
1647         * docs/design/part-TODO.txt:
1648         Update TODO.
1649
1650         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1651         * gst/net/gstnetclientclock.h:
1652         Use parent fields for timeout and window_size.
1653
1654 2005-11-23  Andy Wingo  <wingo@pobox.com>
1655
1656         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1657         rate_num/rate_denom change.
1658
1659         * gst/net/gstnetclientclock.c
1660         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1661         OBJECT_LOCK. Don't call add_observation with the lock.
1662
1663         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1664         fraction.
1665         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1666         rate fraction.
1667         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1668         deal with rate as a fraction whose numerator and denominator are
1669         GstClockTime values.
1670         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1671         master; the other fields are protected by the SLAVE_LOCK.
1672         (do_linear_regression): Note that this must be called with the
1673         SLAVE_LOCK.
1674         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1675         OBJECT_LOCK. Call set_calibration instead of touching the
1676         variables directly.
1677         (gst_clock_set_property, gst_clock_get_property): Protect
1678         master/slave parameters with the SLAVE_LOCK.
1679
1680         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1681         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1682         note that all of the instance variables that add_observation and
1683         the set_master functions use are protected by that lock and not
1684         the OBJECT_LOCK.
1685         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1686
1687         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1688         the caller to take the object lock.
1689
1690 2005-11-23  Wim Taymans  <wim@fluendo.com>
1691
1692         * gst/gsterror.c: (_gst_core_errors_init):
1693         * gst/gsterror.h:
1694         Add error for clock stuff.
1695
1696         * gst/gstpipeline.c: (gst_pipeline_change_state),
1697         (gst_pipeline_set_clock):
1698         Post clock error when clock cannot be used in a pipeline.
1699
1700 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1701
1702         * docs/gst/gstreamer-sections.txt:
1703           make two symbols from gstinfo private for the docs
1704         * gst/base/gstcollectpads.h:
1705         * gst/gstutils.c:
1706           fix doc typos, update docs
1707
1708 2005-11-22  Wim Taymans  <wim@fluendo.com>
1709
1710         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1711         (gst_base_sink_wait), (gst_base_sink_do_sync),
1712         (gst_base_sink_handle_event):
1713         * gst/base/gstbasesink.h:
1714         No need to store the clock, the parent element class already
1715         has it.
1716
1717         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1718         Updates for clock_set returning a gboolean
1719
1720         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1721         (gst_clock_id_wait_async), (gst_clock_class_init),
1722         (gst_clock_init), (gst_clock_finalize),
1723         (gst_clock_get_internal_time), (gst_clock_get_time),
1724         (gst_clock_slave_callback), (gst_clock_set_master),
1725         (gst_clock_get_master), (do_linear_regression),
1726         (gst_clock_add_observation), (gst_clock_set_property),
1727         (gst_clock_get_property):
1728         * gst/gstclock.h:
1729         Implement master/slave. When setting a clock as a slave, a
1730         periodic timeout is scheduled to sample master and slave times.
1731         Then the slave clock is recalibrated to match offset and rate
1732         of the master clock.
1733         Update logging a bit.
1734         Add flag so that a clock can state that is cannot be slaved to
1735         another clock.
1736
1737         * gst/gstelement.c: (gst_element_set_clock):
1738         * gst/gstelement.h:
1739         The set clock returns a gboolean for when an element cannot
1740         deal with the selected clock in the pipeline. 
1741
1742         * gst/gstpipeline.c: (gst_pipeline_change_state),
1743         (gst_pipeline_set_clock):
1744         * gst/gstpipeline.h:
1745         Handle the case where the selected clock cannot be set on
1746         the pipeline.
1747
1748         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1749         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1750         (gst_net_client_clock_set_property),
1751         (gst_net_client_clock_get_property),
1752         (gst_net_client_clock_observe_times):
1753         * gst/net/gstnetclientclock.h:
1754         Use regression code in GstClock parent, remove duplicated
1755         functionality.
1756
1757 2005-11-22  Michael Smith <msmith@fluendo.com>
1758
1759         * gst/gstutils.c: (gst_util_clock_time_scale):
1760         * gst/gstutils.h:
1761         * docs/gst/gstreamer-sections.txt:
1762           Rename method to have extra underscore.
1763
1764 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1765
1766         * gst/elements/Makefile.am:
1767         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1768         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1769         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1770         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1771         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1772         * gst/elements/gstfakesrc.h:
1773         * gst/gstqueue.c: (queue_leaky_get_type):
1774           correctly fix GEnumValues so that nick is the short lowercase
1775           dashed tag
1776         * tools/gst-inspect.c: (print_element_properties_info):
1777           also show the nick, since it's useful to use from parse_launch
1778           syntax
1779           Fixes #322139
1780
1781 2005-11-22  Michael Smith <msmith@fluendo.com>
1782
1783         * gst/gstutils.c: (gst_util_clocktime_scale):
1784         * gst/gstutils.h:
1785         * docs/gst/gstreamer-sections.txt:
1786           Add util method for scaling a clocktime by a fraction. Useful 
1787           implementation is left as an exercise for the reader.
1788
1789 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1790
1791         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1792         If needed, allocate storage in the destination value during
1793         collection.
1794
1795 2005-11-22  Edward Hervey  <edward@fluendo.com>
1796
1797         * docs/gst/gstreamer-sections.txt:
1798         * gst/Makefile.am:
1799         * gst/gst.h:
1800         * gst/gsturitype.c:
1801         * gst/gsturitype.h:
1802         * gst/gstutils.c: (gst_util_set_object_arg):
1803         * tools/gst-compprep.c: (main):
1804         * tools/gst-inspect.c: (print_element_properties_info):
1805         Removed GstURI, closes bug #321061
1806
1807 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1808
1809         * check/gst/gststructure.c: (GST_START_TEST):
1810         * gst/gststructure.c: (gst_structure_parse_value):
1811           Oops, broke automatic string type parsing.
1812           Add a test to catch it in future.
1813
1814 2005-11-22  Andy Wingo  <wingo@pobox.com>
1815
1816         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1817         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1818         Actually rename the function implementations. Grr.
1819
1820 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1821
1822         * check/gst/capslist.h:
1823           Comment test cases
1824         * check/gst/gststructure.c: (GST_START_TEST),
1825         (gst_structure_suite):
1826           Test automatic value type detection in gst_structure_from_string.
1827         * gst/gststructure.c: (gst_structure_parse_value):
1828           Add fraction as a type we try and guess automatically in
1829           caps/structure strings.
1830
1831 2005-11-22  Andy Wingo  <wingo@pobox.com>
1832
1833         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1834
1835         * gst/gsttagsetter.h:
1836         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1837         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1838         (gst_tag_setter_add_tag_valist)
1839         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1840         _add_values, _add_valist, and _add_valist_values. Since this is an
1841         interface the function suffixes should be more explicit so
1842         language binding don't end up with element.add_valist ->
1843         gst_tag_setter_add_valist, for example. Fixes #322069.
1844
1845 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1846
1847         * check/gst/gstcaps.c: (GST_START_TEST):
1848           Extend caps string tests to check that a caps to string
1849           conversion is reversible and produces the same caps.
1850
1851         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1852           Output "fraction" as the generic type fraction range, so caps
1853           serialisation and deserialisation works.
1854         * check/gst/capslist.h:
1855         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1856           Support 'MIN' and 'MAX' for deserialising fractions.
1857
1858 2005-11-22  Andy Wingo  <wingo@pobox.com>
1859
1860         * gst/gstevent.h (gst_event_new_new_segment)
1861         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1862         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1863         Renamed from *_newsegment, *_buffersize, *_notarget.
1864
1865         * scripts/update-funcnames: New script, performs the changes
1866         listed above.
1867
1868 2005-11-22  Wim Taymans  <wim@fluendo.com>
1869
1870         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1871         Make sure the GstFlowReturn is returned.
1872
1873         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1874         (gst_bus_add_signal_watch):
1875         * gst/gstbus.h:
1876         add gst_bus_add_signal_watch_full.
1877
1878         * gst/gstplugin.c: (gst_plugin_load_file):
1879         Small style cleanup.
1880
1881 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1882
1883         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1884           Block the fakesrc srcpad when we send an event, to avoid
1885           contention on the stream_lock causing random test failures.
1886
1887 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1888
1889         * check/gst/gstvalue.c: (GST_START_TEST):
1890         * gst/gstvalue.c: (gst_value_fraction_subtract):
1891           Fix subtraction.
1892
1893 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1894
1895         * gst/gst.h:
1896           include "gstchildproxy.h"
1897         * gst/gstchildproxy.h:
1898         * libs/gst/controller/gstcontroller.h:
1899           use G_GNUC_NULL_TERMINATED
1900
1901 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1902
1903         * check/gst/capslist.h:
1904         * check/gst/gstcaps.c: (GST_START_TEST):
1905         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1906         * gst/gststructure.c: (gst_structure_parse_range),
1907         (gst_structure_fixate_field_nearest_fraction):
1908         * gst/gststructure.h:
1909         * gst/gstvalue.c: (gst_value_init_fraction_range),
1910         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1911         (gst_value_collect_fraction_range),
1912         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1913         (gst_value_set_fraction_range_full),
1914         (gst_value_get_fraction_range_min),
1915         (gst_value_get_fraction_range_max),
1916         (gst_value_serialize_fraction_range),
1917         (gst_value_transform_fraction_range_string),
1918         (gst_value_compare_fraction_range),
1919         (gst_value_deserialize_fraction_range),
1920         (gst_value_intersect_fraction_fraction_range),
1921         (gst_value_intersect_fraction_range_fraction_range),
1922         (gst_value_subtract_fraction_fraction_range),
1923         (gst_value_subtract_fraction_range_fraction),
1924         (gst_value_subtract_fraction_range_fraction_range),
1925         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1926         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1927         (gst_value_transform_string_fraction), (_gst_value_initialize):
1928         * gst/gstvalue.h:
1929           Implement fraction ranges and extend GstFraction to support
1930           arithmetic subtraction, as well as deserialization from integer
1931           strings such as "100"
1932           Add a testsuite as for int and double range set operations
1933
1934 2005-11-21  Andy Wingo  <wingo@pobox.com>
1935
1936         * gst/gsttaglist.h: 
1937         * gst/gstcaps.h: 
1938         * gst/gststructure.h: Add glib-compat.h.
1939
1940 2005-11-21  Wim Taymans  <wim@fluendo.com>
1941
1942         * gst/gstbin.c: (gst_bin_change_state_func):
1943         Fix for #321595
1944
1945 2005-11-21  Wim Taymans  <wim@fluendo.com>
1946
1947         * gst/gstsegment.h:
1948         And add a nice define too.
1949
1950 2005-11-21  Wim Taymans  <wim@fluendo.com>
1951
1952         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1953         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1954         (gst_segment_set_duration), (gst_segment_set_last_stop),
1955         (gst_segment_set_seek), (gst_segment_set_newsegment),
1956         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1957         (gst_segment_clip):
1958         * gst/gstsegment.h:
1959         Make binding friendly.
1960
1961 2005-11-21  Andy Wingo  <wingo@pobox.com>
1962
1963         * gst/gsttagsetter.h: 
1964         * gst/gsttaglist.h: 
1965         * gst/gststructure.h: 
1966         * gst/gstcaps.h: 
1967         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1968         #319940.
1969
1970         * gst/gsterror.c (_gst_core_errors_init):
1971         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1972         category.
1973
1974         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1975         (noinst_HEADERS): noinst the -private.
1976
1977 2005-11-21  Michael Smith <msmith@fluendo.com>
1978
1979         * gst/gstplugin.h:
1980         * gst/gstregistry.h:
1981           Remove unimplemented declarations for which we can see no sensible
1982           use.
1983
1984 2005-11-21  Andy Wingo  <wingo@pobox.com>
1985
1986         * gst/gst.h: Include glib-compat.h.
1987
1988         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1989
1990         * gst/glib-compat.c: Include the public and the private header.
1991
1992         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1993
1994         * gst/gstvalue.c: 
1995         * gst/gstpad.c: 
1996         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1997
1998         * check/gst/gstevent.c (create_custom_events): Check that
1999         FLUSH_STOP is serialized.
2000
2001         * check/elements/identity.c (event_func): 
2002         * check/elements/fakesrc.c (event_func): No stream lock, the core
2003         takes it.
2004
2005         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2006         stream lock taking, yay.
2007
2008         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2009         ensure that core takes the stream lock.
2010
2011         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2012         lock name change.
2013
2014         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2015         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2016         it already. For the flush start we do take it though so we get the
2017         right preroll state change messages.
2018
2019         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2020         the stream lock here, the core does it for us.
2021
2022         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2023         GST_STREAM_GET_LOCK.
2024         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2025         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2026         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2027         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2028         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2029         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2030
2031         * gst/gstpad.c: Update for stream lock name change.
2032
2033         * gst/base/gstbasesink.c: Update for preroll lock name change.
2034
2035 2005-11-21  Wim Taymans  <wim@fluendo.com>
2036
2037         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2038         (gst_clock_get_master):
2039         * gst/gstclock.h:
2040         * gst/gstsystemclock.c: (gst_system_clock_init):
2041         Convert Clock flags to object flags.
2042         Added methods to manage master/slave clocks.
2043
2044 2005-11-21  Wim Taymans  <wim@fluendo.com>
2045
2046         * check/gst/gstsegment.c: (GST_START_TEST):
2047         * docs/design/part-TODO.txt:
2048         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2049         (gst_base_sink_event), (gst_base_sink_do_sync),
2050         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2051         (gst_base_sink_query), (gst_base_sink_change_state):
2052         * gst/base/gstbasesink.h:
2053         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2054         (gst_base_src_default_newsegment),
2055         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2056         (gst_base_src_get_range), (gst_base_src_loop),
2057         (gst_base_src_change_state):
2058         * gst/base/gstbasesrc.h:
2059         * gst/base/gstbasetransform.c:
2060         (gst_base_transform_prepare_output_buf),
2061         (gst_base_transform_event), (gst_base_transform_change_state):
2062         * gst/base/gstbasetransform.h:
2063         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2064         (gst_collect_pads_event):
2065         * gst/base/gstcollectpads.h:
2066         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2067         (gst_fake_src_create):
2068         * gst/elements/gstfakesrc.h:
2069         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2070         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2071         (gst_segment_set_last_stop), (gst_segment_set_seek),
2072         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2073         (gst_segment_to_running_time), (gst_segment_clip):
2074         * gst/gstsegment.h:
2075         More segment updates, replace code in plugins with segment
2076         helper functions.
2077
2078 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2079
2080         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2081         Don't ignore sscanf results
2082
2083 2005-11-21  Andy Wingo  <wingo@pobox.com>
2084
2085         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2086
2087         * *.h:
2088         * *.c: Ran scripts/update-macros. Oh yes.
2089
2090         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2091         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2092         GST_GET_LOCK, etc.
2093
2094         * scripts/update-macros: New script. Run it on your files to
2095         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2096         well.
2097
2098 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2099
2100         * docs/gst/Makefile.am:
2101         * docs/gst/gstreamer-docs.sgml:
2102         * docs/gst/gstreamer-sections.txt:
2103         * docs/gst/gstreamer.types:
2104         * gst/gstinfo.h:
2105           more docs fixes, add new api to the docs
2106
2107 2005-11-21  Andy Wingo  <wingo@pobox.com>
2108
2109         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2110         state_broadcast call.
2111
2112         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2113
2114 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2115
2116         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2117         function calls for arrays.
2118
2119 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2120
2121         * docs/random/ensonic/media-device-daemon.txt:
2122           wild idea, can this be done?
2123         * docs/gst/gstreamer-sections.txt:
2124         * gst/gsterror.h:
2125         * gst/gstfilter.c:
2126         * gst/gstfilter.h:
2127         * gst/gstplugin.h:
2128         * gst/gstpluginfeature.c:
2129         * gst/gsttrace.c:
2130         * gst/gstvalue.c:
2131         * gst/gstvalue.h:
2132           doc fixes and additions
2133
2134 2005-11-21  Andy Wingo  <wingo@pobox.com>
2135
2136         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2137         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2138         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2139         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2140         private to the basesrc implementation.
2141
2142         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2143         behalf of event function if necessary. It should no longer be
2144         necessary to take the stream lock in pad's event functions. Fixes
2145         #320299.
2146
2147 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2148         * docs/gst/gstreamer-sections.txt:
2149         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2150         (gst_structure_fixate_field_nearest_double),
2151         (gst_structure_fixate_field_boolean):
2152         * gst/gststructure.h:
2153         * win32/common/libgstreamer.def:
2154         * win32/gstreamer.def:
2155
2156         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2157         (#322027)
2158
2159 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2160
2161         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2162         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2163         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2164         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2165         (gst_fdsrc_uri_handler_init):
2166         * gst/elements/gstfdsrc.h:
2167           Port fd:// URI handler from 0.8 to fdsrc
2168
2169 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2170
2171         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2172         (gst_value_serialize_fourcc):
2173         * gst/gstvalue.h:
2174           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2175           consistent with our other format defines (#320324).
2176
2177 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         * gst/gstvalue.c: (gst_value_is_fixed):
2180           Revert previous commit. Value lists are by definition
2181           not fixed, as they are a list of possible values.
2182
2183 2005-11-21  Andy Wingo  <wingo@pobox.com>
2184
2185         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2186         during the stable series if we need it. Fixes #319178.
2187
2188         * gst/gstevent.c (gst_event_new_filler): Removed.
2189
2190         * check/gst/gstevent.c: Update comment about filler events.
2191
2192 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2193
2194         * gst/gstvalue.c: (gst_value_is_fixed):
2195           Should handle both value arrays and value lists.
2196
2197 2005-11-21  Andy Wingo  <wingo@pobox.com>
2198
2199         patch by: Alessandro Dessina <alessandro nnva org>
2200
2201         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2202         functions to access arrays. Fixes #321962.
2203
2204 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2205
2206         * docs/gst/gstreamer.types:
2207           gst_collectpads_get_type => gst_collect_pads_get_type.
2208           
2209         * gst/base/gstbasetransform.c:
2210           Remove unused SIGNAL_HANDOFF enum.
2211
2212 2005-11-21  Andy Wingo  <wingo@pobox.com>
2213
2214         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2215         the event type (upstream, downstream, serialized). Renamed
2216         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2217         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2218         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2219
2220         * gst/gstevent.c: Update for new CUSTOM event names.
2221
2222         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2223
2224         * gst/gstevent.h:
2225         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2226         bug #319392.
2227
2228 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2229
2230         * docs/gst/gstreamer-sections.txt:
2231         * win32/common/libgstbase.def:
2232         * win32/libgstbase.def:
2233         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2234         (gst_collect_pads_class_init), (gst_collect_pads_init),
2235         (gst_collect_pads_finalize), (gst_collect_pads_new),
2236         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2237         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2238         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2239         (gst_collect_pads_start), (gst_collect_pads_stop),
2240         (gst_collect_pads_peek), (gst_collect_pads_pop),
2241         (gst_collect_pads_available), (gst_collect_pads_read),
2242         (gst_collect_pads_flush), (gst_collect_pads_event),
2243         (gst_collect_pads_chain):
2244         * gst/base/gstcollectpads.h:
2245           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2246           unimplemented functions as unimplemented. Add padding to
2247           GstCollectData. (#320766, #320423)
2248
2249 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2250
2251         * gst/gstmessage.c:
2252           Improve docs for DURATION message (usage of duration parameter)
2253           (#320113)
2254
2255 2005-11-20  Wim Taymans  <wim@fluendo.com>
2256
2257         * check/Makefile.am:
2258         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2259         (main):
2260         * gst/Makefile.am:
2261         * gst/gst.h:
2262         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2263         (gst_segment_set_seek), (gst_segment_set_newsegment),
2264         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2265         (gst_segment_clip):
2266         * gst/gstsegment.h:
2267         Added segment helper structure and methods. Not fully implemented
2268         yet.
2269         Added segment check.
2270
2271 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2272
2273         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2274           Add a deserialisation test for fractions
2275         * examples/metadata/read-metadata.c: (message_loop),
2276         (make_pipeline), (main):
2277           Fix up metadata reading sample.
2278         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2279           Debug format fix
2280         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2281           Don't try and fixate empty caps
2282         * gst/gst_private.h:
2283           Wrap in G_BEGIN_DECLS/G_END_DECLS
2284         * gst/gstvalue.c: (gst_value_collect_fraction),
2285         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2286         (gst_value_transform_string_fraction),
2287         (gst_value_compare_fraction):
2288           Add some extra guards to ensure that we don't end up 
2289           with an invalid denominator of 0 in a gstfraction and
2290           that fractions always get reduced.
2291
2292 2005-11-20  Wim Taymans  <wim@fluendo.com>
2293
2294         * docs/gst/gstreamer-sections.txt:
2295         * gst/gstbuffer.h:
2296         * gst/gstelement.c:
2297         * gst/gstformat.c:
2298         * gst/gstformat.h:
2299         * gst/gstindex.h:
2300         * gst/gstquery.c:
2301         * gst/gstquery.h:
2302         * gst/gstvalue.c:
2303         Doc fixes.
2304
2305 2005-11-20  Wim Taymans  <wim@fluendo.com>
2306
2307         * docs/design/part-TODO.txt:
2308         * gst/gstcaps.h:
2309         Make a proper enum of the flag.
2310
2311 2005-11-19  Wim Taymans  <wim@fluendo.com>
2312
2313         * docs/design/part-TODO.txt:
2314         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2315         (gst_format_to_quark), (gst_format_register):
2316         * gst/gstformat.h:
2317         * gst/gstquery.c: (_gst_query_initialize),
2318         (gst_query_type_get_name), (gst_query_type_to_quark),
2319         (gst_query_type_register):
2320         * gst/gstquery.h:
2321         Add type to quark and type to string conversions.
2322
2323 2005-11-19  Andy Wingo  <wingo@pobox.com>
2324
2325         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2326         #320097.
2327
2328 2005-11-19  Wim Taymans  <wim@fluendo.com>
2329
2330         * docs/design/part-TODO.txt:
2331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2332         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2333         (gst_bin_handle_message_func):
2334         * gst/gstbin.h:
2335         Make message handling overridable.
2336
2337 2005-11-19  Andy Wingo  <wingo@pobox.com>
2338
2339         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2340
2341         * gst/gstclock.h:
2342         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2343         be a GstClockTime.
2344         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2345         is a GstClockTime. Fixes #321710.
2346
2347         * gst/gstclock.h (GstClock): Remove offset property. Add
2348         internal_calibration and external_calibration. Fix padding. Pad
2349         also by GstClockTime so we don't run into problems.
2350
2351         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2352         (gst_clock_get_rate_offset): Remove.
2353         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2354
2355         * gst/gstutils.h:
2356         * gst/gstutils.c (g_static_rec_cond_wait)
2357         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2358
2359         * gst/gstbin.c: Remove terrible continue_state prototype.
2360
2361         * gst/gstelement.h (gst_element_continue_state): Make public.
2362
2363         * gst/gstelement.h:
2364         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2365         by continue_state. Fixes #319389.
2366
2367         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2368         Really fixes #168438. However I don't see anywhere where the
2369         filter function is called... stupid GStreamer...
2370         
2371         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2372         don't have a dispose function, so it won't get called when the
2373         object is unreffed, but oh well!
2374
2375         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2376         allows a destroy function to be set so user_data can be freed.
2377         Fixes #168438.
2378         (gst_index_set_filter): Call gst_index_set_filter_full.
2379
2380         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2381
2382         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2383         string should produce an error, given the lack of a way to
2384         represent NULL strings. Fixes #165650.
2385         
2386         * gst/gstvalue.h: 
2387         * gst/gstvalue.c (gst_value_array_append_value) 
2388         (gst_value_array_prepend_value, gst_value_array_get_size) 
2389         (gst_value_array_get_value): New API, copied from
2390         gst_value_list_*, only operates on arrays.
2391         (gst_value_list_append_value, gst_value_list_prepend_value) 
2392         (gst_value_list_concat, gst_value_list_get_size) 
2393         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2394
2395         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2396         init_list, because it works on both.
2397         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2398         (gst_value_copy_list_or_array): Renamed from copy_list.
2399         (gst_value_free_list_or_array): Renamed from free_list.
2400         (gst_value_collect_list_or_array): Renamed from collect_list.
2401         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2402         (gst_value_list_or_array_peek_pointer): Renamed from
2403         list_peek_pointer.
2404         (_gst_value_array_value_table, _gst_value_list_value_table):
2405         Update value table functions.
2406         (gst_value_compare_list_or_array): Renamed from compare_list.
2407
2408         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2409         some constness.
2410
2411         * gst/gsttaglist.c:
2412         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2413         GstTagList*. Fixes #143472.
2414
2415         * gst/gststructure.h: Clarify what the foreach/map functions can
2416         or can't do to their arguments.
2417
2418 2005-11-18  Wim Taymans  <wim@fluendo.com>
2419
2420         * gst/gstclock.c: (gst_clock_set_calibration),
2421         (gst_clock_get_calibration):
2422         Doc and API fixes.
2423         Calibration can be set with internal time equal to current
2424         internal time too.
2425
2426 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2427
2428         * gst/gsterror.c:
2429         * gst/gsterror.h:
2430           document
2431
2432 2005-11-18  Andy Wingo  <wingo@pobox.com>
2433
2434         * configure.ac: 
2435         * pkgconfig/gstreamer-net.pc.in:
2436         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2437         * pkgconfig/Makefile.am: Add net pkgconfig files.
2438
2439 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2440
2441         * gst/gstcaps.c:
2442         * gst/gstghostpad.c:
2443         * gst/gsttrace.c:
2444         * gst/gstvalue.c:
2445         * gst/gstvalue.h:
2446           docs fixes
2447
2448 2005-11-18  Andy Wingo  <wingo@pobox.com>
2449
2450         * gst/net/gstnetclientclock.c: Turn off debugging.
2451
2452         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2453         times connverge somewhat. Can't make a real test.
2454
2455         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2456         integer arithmetic. Return the minimum of the domain, which can be
2457         set as "internal" for gst_clock_set_calibration.
2458         (gst_net_client_clock_observe_times): Call _set_calibration.
2459         (gst_net_client_clock_new): Call _set_calibration instead of
2460         rate_offset.
2461
2462         * check/net/gstnetclientclock.c (test_functioning): Use the right
2463         adjustment api.
2464
2465         * gst/gstclock.h:
2466         * gst/gstclock.c (gst_clock_get_calibration) 
2467         (gst_clock_set_calibration): New functions, obsolete the ones I
2468         added yesterday. Doh. Precision issues mean we have to extrapolate
2469         from a point in the more recent past than 1970.
2470         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2471         obsolete.
2472         (gst_clock_adjust_unlocked): Use the right calibration data.
2473
2474 2005-11-18  Edward Hervey  <edward@fluendo.com>
2475
2476         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2477         Also reset the ->current_* values in READY->PAUSED
2478
2479 2005-11-18  Andy Wingo  <wingo@pobox.com>
2480
2481         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2482         Whoops, check the right fd. Also add some debugging.
2483         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2484         (do_linear_regression): Add a crapload of debugging. Subtract off
2485         the minimum values from the input series to discard unneeded bits.
2486         Use only int arithmetic. There is still double arithmetic when
2487         calculating the intercept that needs fixing. Return boolean to
2488         indicate success; FALSE would mean the domain or range is too
2489         great. Still needs fixes.
2490
2491 2005-11-18  Wim Taymans  <wim@fluendo.com>
2492
2493         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2494         For the current position in stream time, we need to subtract
2495         accumulated time.
2496         
2497         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2498         Release lock before calling the callback function of async
2499         entries.
2500
2501 2005-11-18  Andy Wingo  <wingo@pobox.com>
2502
2503         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2504         Port goes all the way to MAXUINT16.
2505
2506         * gst/net/gstnettimeprovider.c: Make the port range the same as
2507         for the kernel: 0 assigns, otherwise ports are less than
2508         MAXUINT16.
2509
2510         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2511         port change.
2512
2513         * check/net/gstnetclientclock.c (test_functioning): Add the start
2514         of another test. 
2515
2516 2005-11-18  Wim Taymans  <wim@fluendo.com>
2517
2518         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2519         (gst_bin_remove_func), (bin_bus_handler):
2520         * gst/gstbin.h:
2521         Removing a clock provider from a bin, triggers a clock lost message
2522         so that a new clock will be selected.
2523         Adding a clock to a bin triggers a clock provider message.
2524         Make sure we reselect a clock when we received a clock lost message.
2525         Keep a reference to the element that provided the clock.
2526
2527 2005-11-18  Andy Wingo  <wingo@pobox.com>
2528
2529         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2530         the clock initially so it produces values around the base time.
2531         (gst_net_client_clock_class_init): Typo fix.
2532         (gst_net_client_clock_thread): Add note on when the socket gets
2533         closed.
2534
2535 2005-11-17  Wim Taymans  <wim@fluendo.com>
2536
2537         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2538         Free remote and local time arrays.
2539
2540 2005-11-17  Wim Taymans  <wim@fluendo.com>
2541
2542         * gst/net/gstnetclientclock.c: (do_linear_regression),
2543         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2544         Fix compilation, uninitialized vars and a forgotten continue.
2545
2546 2005-11-17  Andy Wingo  <wingo@pobox.com>
2547
2548         * check/Makefile.am (check_PROGRAMS): 
2549         * check/net/gstnetclientclock.c: Add a most minimal test for the
2550         net client clock. More to come later.
2551
2552         * gst/net/gstnet.h: 
2553         * gst/net/Makefile.am: Add netclientclock.
2554
2555         * gst/net/gstnetclientclock.h:
2556         * gst/net/gstnetclientclock.c: New files, implement an untested
2557         GstClock that takes its time from a network time provider.
2558         Implements the algorithm in network-clock.scm.
2559
2560         * tests/network-clock.scm (*window-size*): Rename from
2561         *queue-length*.
2562         * tests/network-clock.scm (network-time): 
2563         * tests/network-clock-utils.scm (q-push): Update callers.
2564
2565 2005-11-17  Wim Taymans  <wim@fluendo.com>
2566
2567         * gst/gstbin.c: (gst_bin_provide_clock_func),
2568         (gst_bin_sort_iterator_new):
2569         And unref the child too..
2570
2571 2005-11-17  Wim Taymans  <wim@fluendo.com>
2572
2573         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2574         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2575         Refactor the sort iterator so it can be used while holding the
2576         LOCK too.
2577         Make clock selection select a clock closest to the source.
2578
2579 2005-11-17  Michael Smith <msmith@fluendo.com>
2580
2581         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2582         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2583         * gst/gstclock.h:
2584           Anonymous structs are a gcc (and some other compilers) extension, so
2585           don't use them. Since this is only for ABI-compatibility, and our
2586           API/ABI freeze is over in a few days, this whole thing will only
2587           last a few days, so don't bother trying to think up a meaningful
2588           name for the struct.
2589
2590 2005-11-17  Andy Wingo  <wingo@pobox.com>
2591
2592         * gst/gstclock.h (GstClock): Add rate and offset properties,
2593         preserving ABI stability. Add rate/offset accessors. Will file bug
2594         for the freeze break.
2595
2596         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2597         and offset, trying to keep precision and avoiding
2598         underflow/overflow.
2599         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2600         functions. Make gst_clock_set_time_adjust obsolete.
2601         (gst_clock_set_time_adjust): Note that this function is obsolete.
2602         Will file bug soon.
2603
2604         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2605         greppable by using GST_PADDING-1+1.
2606
2607 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2608
2609         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2610
2611         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2612           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2613
2614         * gst/gstpadtemplate.h:
2615         * gst/gstpluginfeature.h:
2616           Don't use c++ style comments in headers (#321638).
2617
2618 2005-11-16  Andy Wingo  <wingo@pobox.com>
2619
2620         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2621         buffer.
2622
2623         * check/net/gstnettimeprovider.c: Check to see that the time
2624         provider actually provides times. Works, yo!
2625
2626 2005-11-16  Wim Taymans  <wim@fluendo.com>
2627
2628         * check/Makefile.am:
2629         Enable more tests.
2630
2631         * check/elements/fakesrc.c: (GST_START_TEST):
2632         Set element to NULL before disposing it.
2633
2634 2005-11-16  Andy Wingo  <wingo@pobox.com>
2635
2636         * gst/net/Makefile.am:
2637         * gst/net/gstnet.h:
2638         * gst/net/gstnettimeprovider.c: 
2639         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2640         provider, include it from gstnet.h, and add it to the build.
2641
2642         * gst/net/gstnettimepacket.h: 
2643         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2644         sending and receiving.
2645
2646 2005-11-16  Wim Taymans  <wim@fluendo.com>
2647
2648         * check/Makefile.am:
2649         Enable valgrind check.
2650
2651         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2652         (gst_fake_src_alloc_buffer):
2653         Fix memleak.
2654
2655 2005-11-16  Wim Taymans  <wim@fluendo.com>
2656
2657         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2658         Call parent finalize too.
2659
2660 2005-11-16  Wim Taymans  <wim@fluendo.com>
2661
2662         * check/Makefile.am:
2663         Enable valgrind check that should work fine now.
2664
2665         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2666         * gst/gstqueue.c: (gst_queue_init):
2667         Fix memleaks in pad allocation.
2668
2669 2005-11-16  Andy Wingo  <wingo@pobox.com>
2670
2671         * gst/net/Makefile.am:
2672         * gst/net/gstnet.h: New part of core to hold network elements and
2673         objects. Put in core because it exposes API that applications want
2674         to use. The library is named libgstnet-tempname right now because
2675         of the existing libgstnet in gst-plugins-base. Solution is
2676         probably to rename the one in plugins-base; will file a bug for
2677         the freeze break.
2678
2679         * gst/net/gstnettimeprovider.c: 
2680         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2681         get_time call over the network.
2682
2683         * configure.ac: 
2684         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2685
2686         * check/Makefile.am:
2687         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2688         get additions shortly.
2689
2690 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2691
2692         * gst/gstpad.c: (gst_pad_new_from_static_template):
2693         * gst/gstpad.h:
2694           add gst_pad_new_from_static_template functions
2695         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2696         (gst_check_setup_sink_pad):
2697         * gst/elements/gsttee.c: (gst_tee_init):
2698           and use them
2699
2700 2005-11-16  Wim Taymans  <wim@fluendo.com>
2701
2702         * gst/gstpad.c: (gst_pad_pause_task):
2703         Removed warning, it's not really an error either.
2704
2705 2005-11-16  Wim Taymans  <wim@fluendo.com>
2706
2707         * gst/base/gstbasetransform.c:
2708         (gst_base_transform_prepare_output_buf),
2709         (gst_base_transform_event):
2710         Check if the caps are NULL, this can happen if the element
2711         is shutting down and the pad caps are set to NULL.
2712
2713 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2714
2715         * gst/elements/gsttee.c: (gst_tee_init):
2716           fix pad template leak in tee
2717
2718 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2719
2720         * gst/glib-compat.c: (g_value_dup_gst_object):
2721         * gst/glib-compat.h:
2722         * gst/gstpad.c: (gst_pad_set_property):
2723           use gst_object_ref when setting the pad template; this will
2724           trigger the pad template leaks on GLib 2.6 and the slaves
2725
2726 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2727
2728         * gst/glib-compat.c: (gst_flags_get_first_value):
2729         * gst/glib-compat.h:
2730         * gst/gstregistryxml.c:
2731           remove functions copied from GLib 2.6
2732
2733 2005-11-16  Michael Smith <msmith@fluendo.com>
2734
2735         * gst/Makefile.am:
2736           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2737           do, but only breaks with newer valgrind versions. We're not a
2738           valgrind tool, we have no link-time dependencies on libcoregrind.
2739
2740 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2741
2742         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2743           some debug changes
2744         * gst/gstmessage.h:
2745           typo fixes
2746
2747 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2748
2749         * gst/base/gstbasesrc.c: (gst_base_src_init):
2750         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2751         * gst/gstqueue.c: (gst_queue_init):
2752         * gst/gstregistryxml.c: (load_feature):
2753           Revert all these unrefs, they don't even pass make check !
2754
2755 2005-11-15  Johan Dahlin  <johan@gnome.org>
2756
2757         * gst/base/gstbasesrc.c: (gst_base_src_init):
2758         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2759         * gst/gstqueue.c: (gst_queue_init): 
2760         Free pad templates, fixes a couple of leaks.
2761
2762 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2763
2764         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * gst/gstpad.c: (gst_pad_get_property):
2767           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2768           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2769           (#321452)
2770
2771 2005-11-15  Wim Taymans  <wim@fluendo.com>
2772
2773         * gst/gstevent.c:
2774         Small doc update.
2775
2776 2005-11-15  Andy Wingo  <wingo@pobox.com>
2777
2778         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2779
2780         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2781         using GST_CLOCK_TIME_NONE to disable base time management.
2782         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2783         time if it was NONE before.
2784         (gst_pipeline_change_state): Only munge the base time if
2785         stream_time != GST_CLOCK_TIME_NONE.
2786
2787         * check/gst/gstpipeline.c (test_base_time): Punt around the
2788         problem of the probe not being called, because that's not the
2789         issue I'm looking at. Add a check that setting stream_time to NONE
2790         disables base time management.
2791         
2792 2005-11-15  Wim Taymans  <wim@fluendo.com>
2793
2794         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2795         segment_stop == -1 at startup.
2796
2797         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2798         (gst_base_transform_change_state):
2799         Init segment values at start.
2800
2801 2005-11-15  Wim Taymans  <wim@fluendo.com>
2802
2803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2804         0 segment values are 0 in any format.
2805
2806         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2807         * gst/base/gstbasetransform.h:
2808         Parse newsegment correctly in basetransform
2809
2810         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2811         Sync to clock using updated segment values.
2812
2813 2005-11-15  Andy Wingo  <wingo@pobox.com>
2814
2815         * check/gst/gstpipeline.c (test_base_time): Add check that the
2816         base time and stream time are reset correctly.
2817
2818 2005-11-15  Wim Taymans  <wim@fluendo.com>
2819
2820         * docs/design/part-TODO.txt:
2821         Some more TODO items.
2822
2823 2005-11-15  Andy Wingo  <wingo@pobox.com>
2824
2825         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2826         error if the user selected "no clock" as the clocking method.
2827
2828         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2829         timestamps with live capture.
2830
2831         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2832         is 0 but we are a live source, timestamp the buffers using the
2833         element's clock.
2834
2835 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2836
2837         * docs/gst/gstreamer-sections.txt:
2838         * gst/gsterror.c:
2839         * gst/gstghostpad.c:
2840         * gst/gstobject.h:
2841         * gst/gstxml.c:
2842           more section docs
2843
2844 2005-11-14  Wim Taymans  <wim@fluendo.com>
2845
2846         * common/gst.supp:
2847           add suppressions from Wim's Debian machine
2848
2849 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2850
2851         * common/gst.supp:
2852           add suppressions from Andy's AMD64 Ubuntu machine
2853
2854 2005-11-14  Andy Wingo  <wingo@pobox.com>
2855
2856         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2857         STATE_LOCK not necessary. Fixes #311489.
2858
2859         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2860         #305291.
2861
2862         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2863         this function is not implemented.
2864
2865 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2866
2867         * gst/base/gstbasetransform.c:
2868         (gst_base_transform_prepare_output_buf):
2869         Ref the source pad caps while we need them.
2870         Fixes (#321386)
2871
2872 2005-11-11  Wim Taymans  <wim@fluendo.com>
2873
2874         * docs/gst/gstreamer-sections.txt:
2875         Added some docs for GstCollectData.
2876
2877         * gst/base/gstadapter.c:
2878         Some small code example fix.
2879
2880         * gst/base/gstcollectpads.c:
2881         * gst/base/gstcollectpads.h:
2882         Document some more.
2883
2884 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2885
2886         * configure.ac: back to HEAD
2887
2888 === release 0.9.5 ===
2889
2890 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2891
2892         * configure.ac:
2893           releasing 0.9.5, "Bike Lunch Day"
2894
2895 2005-11-11  Wim Taymans  <wim@fluendo.com>
2896
2897         * gst/gstbuffer.c: (_gst_buffer_copy):
2898         Copy more flags.
2899
2900         * gst/gstcaps.c: (gst_caps_is_equal):
2901         Fix some docs.
2902         Make _is_equal fast in the trivial cases.
2903
2904         * gst/gstminiobject.c:
2905         * gst/gstminiobject.h:
2906         More docs. Spifify .h file.
2907
2908         * gst/gstutils.c:
2909         Small doc update.
2910
2911 2005-11-11  Wim Taymans  <wim@fluendo.com>
2912
2913         * gst/base/gstbasetransform.c:
2914         (gst_base_transform_prepare_output_buf),
2915         (gst_base_transform_handle_buffer):
2916         Small cleanups.
2917         If we're processing a buffer and need to allocate an output
2918         buffer, we cannot accept a format change. If we did get a 
2919         format change, we have to alloc a buffer ourselves of the 
2920         right size.
2921
2922 2005-11-11  Wim Taymans  <wim@fluendo.com>
2923
2924         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2925         While checking the flag for reentrancy in the gstcaps function
2926         is nice to detect recursive invocations, it also makes it 
2927         impossible to call getcaps from multiple threads, which must be
2928         possible. So, checking for recursive calls has to go.
2929
2930 2005-11-11  Michael Smith <msmith@fluendo.com>
2931
2932         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2933           Don't sync on buffers that fall partially outside our current
2934           segment. Prevents an assertion failure/abort playing some files.
2935
2936 2005-11-10  Andy Wingo  <wingo@pobox.com>
2937
2938         * check/gst/gstbin.c (test_message_state_changed_children): Style
2939         fix..
2940
2941         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2942         gst_bus_poll with the signal watch. Ensures that poll and a signal
2943         watch see the same messages.
2944
2945         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2946         a poll and a watch at the same time get the same messages.
2947
2948 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2949
2950         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2951         * gst/gstcaps.c: (gst_caps_intersect):
2952           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2953           and it's not needed.
2954
2955 2005-11-10  Wim Taymans  <wim@fluendo.com>
2956
2957         * docs/design/part-TODO.txt:
2958         Updated todo.
2959
2960 2005-11-10  Wim Taymans  <wim@fluendo.com>
2961
2962         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2963         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2964         (gst_base_src_do_sync), (gst_base_src_get_range):
2965         Implement clock sync in base class.
2966
2967 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2968
2969         patch by: Tim-Philipp Müller <tim at centricular dot net>
2970
2971         * gst/gststructure.c: (gst_structure_parse_field),
2972         (gst_structure_from_string):
2973           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2974           so that gst_parse_launch() can deal with spaces in filtered link
2975           caps (fixes #164479)
2976         * check/gst/capslist.h:
2977         * check/gst/gststructure.c: (GST_START_TEST):
2978           add unit tests for this change
2979
2980 2005-11-10  Wim Taymans  <wim@fluendo.com>
2981
2982         * docs/gst/gstreamer-sections.txt:
2983         * gst/gstelement.c:
2984         * gst/gstelement.h:
2985         Fix docs, move some STATE macros to private.
2986
2987 2005-11-10  Wim Taymans  <wim@fluendo.com>
2988
2989         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2990         Added check for bug #317341
2991
2992         * gst/gstbuffer.c:
2993         * gst/gstbuffer.h:
2994         Some more spiffifying.
2995
2996         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2997         Call peer linkfunction if we are a source pad. Totally fixes
2998         #317341
2999
3000         * gst/gstpad.c:
3001         Update docs, source pads should call the peer linkfunction
3002         so they can atomically perform the pad link.
3003
3004 2005-11-09  Wim Taymans  <wim@fluendo.com>
3005
3006         * gst/gstbuffer.c:
3007         * gst/gstbuffer.h:
3008         Uber-spiffy-spiffify some more.
3009
3010 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3011
3012         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3013         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3014         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3015         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3016         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3017         * gst/gstpad.c: (gst_pad_init):
3018           Use GST_DEBUG_FUNCPTR() more extensively.
3019
3020 2005-11-09  Wim Taymans  <wim@fluendo.com>
3021
3022         * gst/gstobject.c: (gst_object_class_init):
3023         * gst/gstobject.h:
3024         Documentation fixes.
3025
3026 2005-11-09  Edward Hervey  <edward@fluendo.com>
3027
3028         * gst/gsttypefindfactory.c:
3029         Fix docs.
3030         
3031 2005-11-09  Edward Hervey  <edward@fluendo.com>
3032
3033         * gst/base/gsttypefindhelper.c:
3034         * gst/gsttypefind.c:
3035         * gst/gsttypefind.h:
3036         Fix docs.
3037
3038 2005-11-09  Wim Taymans  <wim@fluendo.com>
3039
3040         * gst/gstiterator.c:
3041         Fix revision data.
3042
3043         * gst/gsttask.c:
3044         * gst/gsttask.h:
3045         Fix docs.
3046
3047 2005-11-09  Wim Taymans  <wim@fluendo.com>
3048
3049         * gst/gstevent.h:
3050         * gst/gsturi.h:
3051         Fix docs.
3052
3053 2005-11-09  Wim Taymans  <wim@fluendo.com>
3054
3055         * docs/gst/gstreamer-sections.txt:
3056         Moved the message async delivery private lock and cond
3057         to the private section.
3058
3059         * gst/gstmessage.c:
3060         * gst/gstmessage.h:
3061         Fixed docs.
3062
3063 2005-11-09  Edward Hervey  <edward@fluendo.com>
3064
3065         * docs/gst/gstreamer-sections.txt:
3066         * gst/gsturi.c:
3067         * gst/gsturi.h:
3068         Document GstURIHandler
3069
3070 2005-11-09  Wim Taymans  <wim@fluendo.com>
3071
3072         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3073         (gst_iterator_find_custom):
3074         * gst/gstiterator.h:
3075         Fix iterator docs.
3076
3077 2005-11-09  Wim Taymans  <wim@fluendo.com>
3078
3079         * gst/gstbin.h:
3080         Document another field.
3081
3082         * gst/gststructure.c:
3083         * gst/gststructure.h:
3084         Document.
3085
3086 2005-11-09  Wim Taymans  <wim@fluendo.com>
3087
3088         * gst/gstbin.h:
3089         Documented structs.
3090
3091 2005-11-09  Wim Taymans  <wim@fluendo.com>
3092
3093         * docs/gst/gstreamer-sections.txt:
3094         Added some new macros.
3095
3096         * gst/gstclock.c:
3097         * gst/gstclock.h:
3098         * gst/gstobject.h:
3099         Docs updates.
3100
3101 2005-11-09  Wim Taymans  <wim@fluendo.com>
3102
3103         * docs/design/part-TODO.txt:
3104         Some more items for the TODO
3105
3106         * gst/gstcaps.c:
3107         * gst/gstcaps.h:
3108         Document GstCaps.
3109
3110 2005-11-09  Andy Wingo  <wingo@pobox.com>
3111
3112         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3113         to work on something else now tho...
3114
3115         * gst/base/gstadapter.c: More adapter docs.
3116
3117         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3118         (gst_file_sink_stop): New functions, replace the state change
3119         handler.
3120         (gst_file_sink_class_init): Hook up the start and stop functions.
3121         (gst_file_sink_base_init): Don't set the state change handler any
3122         more. It was a bit ugly too, being set from here...
3123         (gst_file_sink_get_property, gst_file_sink_set_property):
3124         Cleanups...
3125         (gst_file_sink_set_location): More robust check that doesn't call
3126         GST_STATE. Ugggggg.
3127
3128 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3131           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3132
3133 2005-11-08  Wim Taymans  <wim@fluendo.com>
3134
3135         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3136         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3137         (gst_base_sink_chain), (gst_base_sink_change_state):
3138         * gst/base/gstbasesink.h:
3139         * gst/base/gstbasesrc.h:
3140         * gst/gstelement.h:
3141         * gst/gstevent.h:
3142         Avoid excessive typechecking in macros.
3143
3144         * gst/gstminiobject.c: (gst_mini_object_get_type),
3145         (gst_mini_object_init), (gst_mini_object_new),
3146         (gst_mini_object_free):
3147         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3148         (gst_object_finalize):
3149         Remove cruft code, optimize alloc_trace.
3150
3151 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3152
3153         * docs/faq/gst-uninstalled:
3154           fix up PS1 for systems that try to reset it
3155
3156 2005-11-07  Wim Taymans  <wim@fluendo.com>
3157
3158         * gst/base/gstbasesrc.c: (gst_base_src_init),
3159         (gst_base_src_get_range):
3160         Set the segment_end to -1 initially. Fixed typefind.
3161
3162 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3163
3164         * gst/base/gstadapter.c:
3165           Debug category should be 'adapter', not 'GstAdapter'.
3166           
3167         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3168         (gst_collectpads_class_init), (gst_collectpads_init),
3169         (gst_collectpads_peek), (gst_collectpads_pop),
3170         (gst_collectpads_event), (gst_collectpads_chain):
3171           Add debug category and some debugging output. Use boilerplate
3172           macros. Remove some extraneous words from docs.
3173
3174 2005-11-05  Andy Wingo  <wingo@pobox.com>
3175
3176         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3177         macro.
3178
3179 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * docs/gst/gstreamer-sections.txt:
3182         * gst/gstcaps.h:
3183         * gst/gstinfo.c:
3184         * gst/gstminiobject.h:
3185         * gst/gstobject.h:
3186         * gst/gstutils.h:
3187           more docs added
3188
3189 2005-11-04  Wim Taymans  <wim@fluendo.com>
3190
3191         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3192         Small update to stop at the configured segment_end
3193         position.
3194
3195 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * gst/gstregistry.c:
3198         * gst/gstregistry.h:
3199           added missing docs
3200
3201 2005-11-04  Edward Hervey  <edward@fluendo.com>
3202
3203         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3204         Check if we are doing a segment seek and have arrived at the
3205         end of that segment.
3206
3207 2005-11-04  Wim Taymans  <wim@fluendo.com>
3208
3209         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3210         Don't leak a mutex unlock in case of an error.
3211
3212         * gst/gstbus.h:
3213         Doc fixes.
3214
3215 2005-11-04  Wim Taymans  <wim@fluendo.com>
3216
3217         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3218         (gst_bus_post):
3219         Get the context to wake up only once.
3220
3221 2005-11-03  Wim Taymans  <wim@fluendo.com>
3222
3223         * check/states/sinks.c: (GST_START_TEST):
3224         Uncomment fixed check.
3225
3226         * docs/design/part-TODO.txt:
3227         Updated TODO.
3228
3229         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3230         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3231         (gst_base_sink_get_position):
3232         If we are going to PLAYING, post the right pending state
3233         when we post the intermediate paused message.
3234
3235         * gst/gstelement.c: (gst_element_continue_state),
3236         (gst_element_set_state_func), (gst_element_change_state):
3237         Don't post state changes that were between the same state
3238         and were not ASYNC.
3239
3240 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * docs/gst/gstreamer-sections.txt:
3243         * gst/gstcaps.h:
3244         * gst/gstinfo.c:
3245         * gst/gstminiobject.h:
3246         * gst/gstobject.h:
3247         * gst/gstutils.h:
3248           more docs and doc style fixes
3249
3250 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3251
3252         * docs/gst/gstreamer-sections.txt:
3253         * gst/gstelement.c:
3254         * gst/gstminiobject.c:
3255         doc fixes
3256
3257 2005-11-03  Andy Wingo  <wingo@pobox.com>
3258
3259         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3260         state-changed messages actually have the right order and the right
3261         values.
3262
3263 2005-11-03  Wim Taymans  <wim@fluendo.com>
3264
3265         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3266         Added some more checks. Specifically the case where NO_PREROLL
3267         elements are in the pipeline.
3268
3269         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3270         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3271         (gst_base_sink_get_position):
3272         Post READY->PAUSED state change messages too.
3273         Fix bug where VOID was posted as pending state...
3274
3275         * gst/gstbin.c: (gst_bin_recalc_state):
3276         use _element_continue_state() to continue the state change.
3277
3278         * gst/gstelement.c: (gst_element_continue_state),
3279         (gst_element_commit_state), (gst_element_set_state_func),
3280         (gst_element_change_state), (gst_element_change_state_func):
3281         Lots of state change cleanups, assign the STATE_RETURN in
3282         a new continue_state() function that also propagates the
3283         last return value from a state change to the app.
3284         Update some debug statements with proper category.
3285
3286 2005-11-03  Wim Taymans  <wim@fluendo.com>
3287
3288         * docs/design/part-events.txt:
3289         * docs/design/part-gstpipeline.txt:
3290         * docs/design/part-messages.txt:
3291         * docs/design/part-overview.txt:
3292         * docs/design/part-seeking.txt:
3293         * docs/design/part-states.txt:
3294         * docs/design/part-trickmodes.txt:
3295         * docs/manual/advanced-position.xml:
3296         Small docs updates.
3297
3298         * gst/gstobject.h:
3299         People think !! is ugly, this looks better.
3300
3301         * gst/gstpad.c: (gst_pad_set_blocked_async):
3302         Remove !! since it's fixed elsewhere now.
3303
3304 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         * gst/gstminiobject.h:
3307         * gst/gstobject.h:
3308           Add !! to _FLAG_IS_SET macros to make the result boolean.
3309
3310 2005-11-03  Edward Hervey  <edward@fluendo.com>
3311
3312         * gst/gstpad.c: (gst_pad_set_blocked_async):
3313         comparing a flag and a gboolean rarely returns coherent results...
3314         Added two characters (!!) to make that work correctly.
3315         
3316 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         * gst/gstbus.c: (gst_bus_class_init):
3319           Fix some typos.
3320           
3321         * gst/gstqueue.c: (gst_queue_loop):
3322           Don't assume a miniobject that isn't a buffer is an
3323           event (it could be that there is a refcounting
3324           problem somewhere and the pointer is stale and
3325           refers to an already destroyed miniobject).
3326
3327 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3328
3329         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3330
3331 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3332
3333         * docs/manual/advanced-position.xml:
3334           Update seek example and explanations to current 0.9 API.
3335
3336         * gst/elements/gsttypefindelement.c:
3337         (gst_type_find_element_activate):
3338           Remove FIXME comment now that the found caps
3339           are unreffed.
3340
3341 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3342
3343         * gst/gstregistryxml.c: (load_feature):
3344           Add another GST_STR_NULL instance
3345
3346 2005-11-02  Edward Hervey  <edward@fluendo.com>
3347
3348         * gst/gstpad.c: (handle_pad_block):
3349         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3350         
3351 2005-11-02  Wim Taymans  <wim@fluendo.com>
3352
3353         * gst/gstbin.c:
3354         Fix typo in docs.
3355
3356         * gst/gstelement.c: (gst_element_commit_state):
3357         Remove unused value.
3358
3359         * gst/gstiterator.c:
3360         Mention that the returned element is reffed in the docs.
3361
3362 2005-11-02  Wim Taymans  <wim@fluendo.com>
3363
3364         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3365         (gst_pad_push), (gst_pad_push_event):
3366         Unlock blocked pads when they are flushed.
3367
3368 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3369
3370         * docs/README:
3371         * docs/gst/gstreamer-sections.txt:
3372         * gst/gstbin.c:
3373           doc updates
3374         * gst/gstregistry.c: (gst_registry_scan_path_level):
3375           fix for a nasty little missed situation where an installed plug-in
3376           which was in the cache did not get overridden by an uninstalled one
3377           which was earlier in the plugin path because the newly created plugin
3378           for the uninstalled one (not in the registry) didn't get its
3379           ->registered set to TRUE
3380
3381 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3382
3383         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3384         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3385         (gst_collectpads_is_active), (gst_collectpads_collect),
3386         (gst_collectpads_collect_range), (gst_collectpads_start),
3387         (gst_collectpads_stop), (gst_collectpads_peek),
3388         (gst_collectpads_pop), (gst_collectpads_available),
3389         (gst_collectpads_read), (gst_collectpads_flush):
3390           Guard public API with assertions.
3391         
3392         * gst/gstpad.c:
3393           Fix docs for gst_pad_set_link_function().
3394
3395 2005-11-02  Johan Dahlin  <johan@gnome.org>
3396
3397         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3398         Unref found_caps after we used it.
3399
3400 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3401
3402         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3403           Don't try to ref NULL.
3404
3405 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3406
3407         * win32/common/config.h.in:
3408           provide a GST_FUNCTION that just gives a string for now
3409
3410 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3411
3412         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3413         (gst_object_flags_get_type), (register_gst_bin_flags),
3414         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3415         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3416         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3417         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3418         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3419         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3420         (gst_clock_flags_get_type), (register_gst_state),
3421         (gst_state_get_type), (register_gst_state_change_return),
3422         (gst_state_change_return_get_type), (register_gst_state_change),
3423         (gst_state_change_get_type), (register_gst_element_flags),
3424         (gst_element_flags_get_type), (register_gst_core_error),
3425         (gst_core_error_get_type), (register_gst_library_error),
3426         (gst_library_error_get_type), (register_gst_resource_error),
3427         (gst_resource_error_get_type), (register_gst_stream_error),
3428         (gst_stream_error_get_type), (register_gst_event_type),
3429         (gst_event_type_get_type), (register_gst_seek_type),
3430         (gst_seek_type_get_type), (register_gst_seek_flags),
3431         (gst_seek_flags_get_type), (register_gst_format),
3432         (gst_format_get_type), (register_gst_index_certainty),
3433         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3434         (gst_index_entry_type_get_type),
3435         (register_gst_index_lookup_method),
3436         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3437         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3438         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3439         (gst_index_flags_get_type), (register_gst_debug_level),
3440         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3441         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3442         (gst_iterator_result_get_type), (register_gst_iterator_item),
3443         (gst_iterator_item_get_type), (register_gst_message_type),
3444         (gst_message_type_get_type), (register_gst_mini_object_flags),
3445         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3446         (gst_pad_link_return_get_type), (register_gst_flow_return),
3447         (gst_flow_return_get_type), (register_gst_activate_mode),
3448         (gst_activate_mode_get_type), (register_gst_pad_direction),
3449         (gst_pad_direction_get_type), (register_gst_pad_flags),
3450         (gst_pad_flags_get_type), (register_gst_pad_presence),
3451         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3452         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3453         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3454         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3455         (gst_plugin_flags_get_type), (register_gst_rank),
3456         (gst_rank_get_type), (register_gst_query_type),
3457         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3458         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3459         (gst_tag_flag_get_type), (register_gst_task_state),
3460         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3461         (gst_alloc_trace_flags_get_type),
3462         (register_gst_type_find_probability),
3463         (gst_type_find_probability_get_type), (register_gst_uri_type),
3464         (gst_uri_type_get_type), (register_gst_parse_error),
3465         (gst_parse_error_get_type):
3466         * win32/common/gstversion.h:
3467           update win32 copies
3468
3469 2005-11-01  Luca Ognibene  <luogni@tin.it>
3470
3471         * gst/gst.c:
3472           fix docs. popt is dead, long live GOption.
3473
3474 2005-10-31  Wim Taymans  <wim@fluendo.com>
3475
3476         * gst/gstbuffer.h:
3477         Small doc fix.
3478
3479 2005-10-31  Andy Wingo  <wingo@pobox.com>
3480
3481         * Boo!
3482
3483         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3484
3485         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3486         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3487         the possibility of deadlocks here if code calling notify() or
3488         set() has a lock that can be taken in another notify handler (ABBA
3489         with class lock and e.g. python GIL state lock).
3490
3491 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3492
3493         * gst/gstbus.c: Doc updates.
3494
3495 2005-10-28  Wim Taymans  <wim@fluendo.com>
3496
3497         * docs/design/part-TODO.txt:
3498         * gst/gstiterator.c:
3499         * gst/gstsystemclock.c:
3500         * gst/gstsystemclock.h:
3501         Doc updates.
3502
3503 2005-10-28  Edward Hervey  <edward@fluendo.com>
3504
3505         * docs/gst/gstreamer-docs.sgml:
3506         * docs/gst/gstreamer-sections.txt:
3507         the GstURIType documentation page is private, it only defines GstURIType
3508         which should be defined in the GstURIHandler page
3509         
3510 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3511
3512         * gst/gstbin.c: (gst_bin_class_init):
3513         * gst/gstbin.h:
3514         * gst/gstutils.c:
3515         Documentation updates.
3516
3517 2005-10-28  Wim Taymans  <wim@fluendo.com>
3518
3519         * docs/gst/gstreamer-sections.txt:
3520         * gst/gstclock.c:
3521         * gst/gstclock.h:
3522         Documented the clocks.
3523
3524 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3525
3526         * docs/gst/gstreamer-sections.txt:
3527           move some macros to private sections
3528         * gst/gstminiobject.c:
3529         * gst/gstminiobject.h:
3530           add descriptions provided by ds and some more
3531         * gst/gstpad.h:
3532           mark macro as to be removed
3533
3534 2005-10-28  Wim Taymans  <wim@fluendo.com>
3535
3536         * docs/design/part-TODO.txt:
3537         Add an item to TODO.
3538
3539         * gst/gstiterator.c: (gst_iterator_fold),
3540         (gst_iterator_find_custom):
3541         * gst/gstiterator.h:
3542         Add iterator docs.
3543
3544 2005-10-28  Wim Taymans  <wim@fluendo.com>
3545
3546         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3547         (gst_base_transform_init):
3548         Don't leak class.
3549
3550         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3551         An EOS event marks the queue as completely filled.
3552
3553 2005-10-27  Wim Taymans  <wim@fluendo.com>
3554
3555         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3556         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3557         Some more debugging.
3558
3559         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3560         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3561         (gst_base_transform_event), (gst_base_transform_getrange),
3562         (gst_base_transform_chain):
3563         * gst/base/gstbasetransform.h:
3564         Fix debugging,
3565         Protect transform and concurrent buffer alloc with a new lock.
3566         Try not to break ABI/API.
3567
3568 2005-10-27  Wim Taymans  <wim@fluendo.com>
3569
3570         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3571         (gst_base_src_init), (gst_base_src_query),
3572         (gst_base_src_default_newsegment),
3573         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3574         (gst_base_src_send_event), (gst_base_src_event_handler),
3575         (gst_base_src_pad_get_range), (gst_base_src_loop),
3576         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3577         (gst_base_src_start), (gst_base_src_deactivate),
3578         (gst_base_src_activate_push), (gst_base_src_change_state):
3579         Move some stuff around and cleanup things.
3580
3581 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3582
3583         * gst/base/gstbasesrc.c: (gst_base_src_query):
3584           Add missing break statements.
3585
3586 2005-10-27  Wim Taymans  <wim@fluendo.com>
3587
3588         * check/gst/gstbin.c: (GST_START_TEST):
3589         An extra refcount is taken in basesrc.
3590
3591         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3592         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3593         (gst_base_src_loop):
3594         Small cleanups, check for flushing after being unlocked from the 
3595         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3596         Don't send out EOS when going to READY.
3597
3598 2005-10-27  Wim Taymans  <wim@fluendo.com>
3599
3600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3601         (gst_base_sink_get_position):
3602         Some more debug.
3603
3604         * gst/gstbin.c: (message_check), (bin_replace_message),
3605         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3606         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3607         (bin_query_duration_init), (bin_query_duration_fold),
3608         (bin_query_duration_done), (bin_query_generic_fold),
3609         (gst_bin_query):
3610         * tools/gst-launch.c: (main):
3611         Remove old option.
3612
3613 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3614
3615         * examples/controller/audio-example.c: (main):
3616         * examples/queue/queue.c: (event_loop):
3617         * gst/base/gstbasetransform.h:
3618         * gst/gstelement.c: (gst_element_send_event):
3619         * gst/gstevent.h:
3620         * gst/gstpad.c: (gst_pad_send_event):
3621           fixing examples
3622           fixing docs typos
3623           changing log priority in error situations
3624
3625 2005-10-25  Wim Taymans  <wim@fluendo.com>
3626
3627         * gst/gstbin.c: (message_check), (bin_replace_message),
3628         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3629         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3630         (bin_query_duration_init), (bin_query_duration_fold),
3631         (bin_query_duration_done), (bin_query_generic_fold),
3632         (gst_bin_query):
3633         Some doc and debug updates.
3634         Cache previously requested query DURATION for speed. invalidate
3635         cached duration if element posts a DURATION message.
3636
3637 2005-10-25  Wim Taymans  <wim@fluendo.com>
3638
3639         * docs/design/part-TODO.txt:
3640         Update TODO.
3641
3642         * gst/gstbin.c: (message_check), (bin_replace_message),
3643         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3644         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3645         (bin_query_duration_init), (bin_query_duration_fold),
3646         (bin_query_duration_done), (bin_query_generic_fold),
3647         (gst_bin_query):
3648         Handle SEGMENT_START/DONE messages correctly.
3649         More evolved query algorithm that handles duration queries
3650         correctly.
3651
3652         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3653         (gst_element_get_state_func), (gst_element_abort_state),
3654         (gst_element_commit_state), (gst_element_lost_state):
3655         Some more debugging.
3656
3657         * gst/gstmessage.h:
3658         Added doc.
3659
3660 2005-10-25  Wim Taymans  <wim@fluendo.com>
3661
3662         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3663         Don't use invalid stream_time.
3664
3665         * gst/gstevent.c: (gst_event_new_newsegment):
3666         stream_time in newsegment cannot be undefined.
3667
3668 2005-10-24  Wim Taymans  <wim@fluendo.com>
3669
3670         * gst/gstbus.c:
3671         Doc fix.
3672
3673         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3674         (gst_queue_loop):
3675         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3676
3677 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3678
3679         * docs/libs/tmpl/gstdparam.sgml:
3680         * docs/libs/tmpl/gstdplinint.sgml:
3681         * docs/libs/tmpl/gstdpman.sgml:
3682         * docs/libs/tmpl/gstdpsmooth.sgml:
3683         * docs/libs/tmpl/gstunitconvert.sgml:
3684           these are obsolete
3685
3686 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3687
3688         * configure.ac:
3689           back to HEAD
3690
3691 === release 0.9.4 ===
3692
3693 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3694
3695         * configure.ac:
3696           releasing 0.9.4, "Tyrannosaurus Rex"
3697
3698 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3699
3700         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3701         (gst_file_sink_get_current_offset):
3702           Use fseeko() and ftello() if available. When falling back on
3703           lseek() to get the current offset, fflush() first to make sure
3704           everything is up-to-date and we get the right offset.
3705
3706 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3707
3708         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3709         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3710         * gst/gsterror.c: (_gst_stream_errors_init):
3711         * gst/gsterror.h:
3712         * gst/gstqueue.c: (gst_queue_loop):
3713         * po/POTFILES.in:
3714           remove prematurely added error category and clean up the instances
3715
3716 2005-10-21  Wim Taymans  <wim@fluendo.com>
3717
3718         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3719         (gst_base_sink_get_position), (gst_base_sink_query),
3720         (gst_base_sink_change_state):
3721         Simply set the right flag when going to playing, that's all
3722         we need to do instead of calling a function inside the object
3723         lock (that could take the lock as well and deadlock)
3724
3725 2005-10-21  Wim Taymans  <wim@fluendo.com>
3726
3727         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3728         (gst_base_src_loop):
3729         Don't warn, the peer element knows what to do best when
3730         the seek failed, it might try something else.
3731
3732 2005-10-21  Wim Taymans  <wim@fluendo.com>
3733
3734         * gst/base/gstbasesrc.c: (gst_base_src_init),
3735         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3736         Fix seeking.
3737
3738 2005-10-21  Wim Taymans  <wim@fluendo.com>
3739
3740         * docs/design/part-segments.txt:
3741         More docs.
3742
3743         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3744         Correctly set caps, even on the subbufer.
3745
3746 2005-10-21  Wim Taymans  <wim@fluendo.com>
3747
3748         * docs/gst/gstreamer-docs.sgml:
3749         * docs/gst/gstreamer-sections.txt:
3750         * gst/gstelement.h:
3751         * gst/gstevent.c:
3752         * gst/gstevent.h:
3753         * gst/gstmessage.h:
3754         * gst/gstpad.h:
3755         * gst/gstparse.h:
3756         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3757         * gst/gsttask.h:
3758         * gst/gstutils.c:
3759         * gst/gstutils.h:
3760         And 2% more doc coverage.
3761
3762 2005-10-21  Andy Wingo  <wingo@pobox.com>
3763
3764         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3765         position reporting.
3766
3767 2005-10-20  Wim Taymans  <wim@fluendo.com>
3768
3769         * gst/gsterror.c: (gst_error_get_message):
3770         * gst/gstparse.h:
3771         * gst/gstquery.h:
3772         * gst/gststructure.c:
3773         * gst/gsttrace.c:
3774         * gst/gstutils.c:
3775         More docs.
3776
3777 2005-10-20  Wim Taymans  <wim@fluendo.com>
3778
3779         * gst/gstbuffer.h:
3780         * gst/gstpad.c:
3781         * gst/gstparse.c:
3782         Another 1% more coverage.
3783
3784 2005-10-20  Wim Taymans  <wim@fluendo.com>
3785
3786         * docs/gst/gstreamer-sections.txt:
3787         * gst/gstelement.c: (gst_element_get_state_func),
3788         (gst_element_abort_state), (gst_element_commit_state),
3789         (gst_element_lost_state):
3790         * gst/gstevent.h:
3791         * gst/gstquery.c: (gst_query_set_position),
3792         (gst_query_parse_position), (gst_query_set_duration),
3793         (gst_query_parse_duration), (gst_query_new_convert):
3794         * gst/gstutils.c:
3795         Yay! 1% more docs coverage.
3796
3797 2005-10-20  Wim Taymans  <wim@fluendo.com>
3798
3799         * gst/gstpad.h:
3800         * gst/gstquery.c: (gst_query_set_position),
3801         (gst_query_parse_position), (gst_query_set_duration),
3802         (gst_query_parse_duration), (gst_query_new_convert):
3803         * gst/gstquery.h:
3804         * gst/gstutils.c: (gst_element_query_convert):
3805         * gst/gstutils.h:
3806         Docs and consistency fixes.
3807
3808 2005-10-20  Wim Taymans  <wim@fluendo.com>
3809
3810         * gst/gsttask.c:
3811         * gst/gsttask.h:
3812         More docs.
3813
3814 2005-10-20  Wim Taymans  <wim@fluendo.com>
3815
3816         * gst/gstbin.c: (message_check), (bin_replace_message),
3817         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3818         (update_degree), (gst_bin_sort_iterator_next),
3819         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3820         Reworked the message handling a bit, cache the messages instead of
3821         only the senders. alows us to do more in the future.
3822
3823 2005-10-20  Wim Taymans  <wim@fluendo.com>
3824
3825         * docs/design/part-TODO.txt:
3826         Update TODO
3827
3828         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3829         (gst_base_sink_query):
3830         Don't use clock time to report position when in EOS.
3831
3832 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3833
3834         * tools/gst-inspect.c: (print_interfaces),
3835         (print_element_properties_info), (print_element_info):
3836           Fix interface output with gst-inspect -a; don't print
3837           newlines after double/float properties.
3838
3839 2005-10-20  Wim Taymans  <wim@fluendo.com>
3840
3841         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3842         (gst_base_sink_query):
3843         Speed up current position calculation.
3844
3845         * gst/base/gstbasesrc.c: (gst_base_src_query),
3846         (gst_base_src_default_newsegment):
3847         Correctly set stream position in newsegment.
3848
3849         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3850         (update_degree), (gst_bin_sort_iterator_next),
3851         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3852         * gst/gstmessage.c: (gst_message_new_custom):
3853         Clean up debugging info
3854
3855         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3856         (gst_queue_loop), (gst_queue_handle_src_query):
3857         Pause task faster.
3858
3859 2005-10-19  Wim Taymans  <wim@fluendo.com>
3860
3861         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3862         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3863         Fix query handling again.
3864
3865 2005-10-19  Wim Taymans  <wim@fluendo.com>
3866
3867         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3868         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3869         * gst/base/gstbasesrc.c: (gst_base_src_query):
3870         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3871         * gst/elements/gsttypefindelement.c:
3872         (gst_type_find_handle_src_query), (find_element_get_length),
3873         (gst_type_find_element_activate):
3874         API change fix.
3875
3876         * gst/gstquery.c: (gst_query_new_position),
3877         (gst_query_set_position), (gst_query_parse_position),
3878         (gst_query_new_duration), (gst_query_set_duration),
3879         (gst_query_parse_duration), (gst_query_set_segment),
3880         (gst_query_parse_segment):
3881         * gst/gstquery.h:
3882         Bundling query position/duration is not a good idea since duration
3883         does not change much and we don't want to recalculate it for every
3884         position query, so they are separated again..
3885         Base value in segment query is not needed.
3886
3887         * gst/gstqueue.c: (gst_queue_handle_src_query):
3888         * gst/gstutils.c: (gst_element_query_position),
3889         (gst_element_query_duration), (gst_pad_query_position),
3890         (gst_pad_query_duration):
3891         * gst/gstutils.h:
3892         Updates for query API change.
3893         Added some docs here and there.
3894
3895 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3896
3897         * check/gst/gstbin.c: (GST_START_TEST):
3898         * check/gst/gstghostpad.c: (GST_START_TEST):
3899         * check/pipelines/cleanup.c: (GST_START_TEST):
3900           wait on thread to die so we can check refcount correctly
3901
3902 2005-10-18  Wim Taymans  <wim@fluendo.com>
3903
3904         * check/pipelines/stress.c: (GST_START_TEST):
3905         Make check a little more time consuming.
3906
3907 2005-10-18  Wim Taymans  <wim@fluendo.com>
3908
3909         * check/Makefile.am:
3910         * check/pipelines/stress.c: (GST_START_TEST),
3911         (simple_launch_lines_suite), (main):
3912         Small state change torture test.
3913
3914         * docs/design/part-states.txt:
3915         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3916         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3917         (gst_base_sink_change_state):
3918         Never take state lock from streaming thread, clean up ugly
3919         hacks. Unfortunatly core does not yet support nice ways to
3920         async commit state.
3921         
3922         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3923         (bin_bus_handler):
3924         Start state recalc if a STATE_DIRTY message is posted, but only
3925         on the toplevel bin.
3926
3927         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3928         (gst_element_get_state_func), (gst_element_abort_state),
3929         (gst_element_commit_state), (gst_element_lost_state),
3930         (gst_element_set_state_func), (gst_element_change_state):
3931         * gst/gstelement.h:
3932         State variables are now protected with the LOCK, the state
3933         lock is only used to serialize _set_state().
3934
3935 2005-10-18  Wim Taymans  <wim@fluendo.com>
3936
3937         * check/gst/gstbin.c: (GST_START_TEST):
3938         * check/gst/gstmessage.c: (GST_START_TEST):
3939         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3940         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3941         (bin_bus_handler):
3942         * gst/gstelement.c: (gst_element_abort_state),
3943         (gst_element_commit_state), (gst_element_lost_state):
3944         * gst/gstmessage.c: (gst_message_new_state_changed),
3945         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3946         (gst_message_new_segment_done), (gst_message_new_duration),
3947         (gst_message_parse_state_changed),
3948         (gst_message_parse_segment_start),
3949         (gst_message_parse_segment_done), (gst_message_parse_duration):
3950         * gst/gstmessage.h:
3951         * tools/gst-launch.c: (event_loop):
3952         Seriously, this is better than a previous commit as we only need
3953         to notify the fact that an element changed state in a streaming
3954         thread, marking the state of the parents dirty, hence the 
3955         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3956         message.
3957
3958 2005-10-18  Wim Taymans  <wim@fluendo.com>
3959
3960         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3961         (gst_bin_recalc_func):
3962         * gst/gstelement.c: (gst_element_set_clock),
3963         (gst_element_abort_state), (gst_element_lost_state):
3964         Cleanups, prepare for state change fixes.
3965
3966 2005-10-18  Wim Taymans  <wim@fluendo.com>
3967
3968         * gst/gstbin.h:
3969         * gst/gstelement.c: (gst_element_class_init),
3970         (gst_element_set_state), (gst_element_set_state_func):
3971         * gst/gstelement.h:
3972         Pending ABI changes.
3973         GThreadPool in GstBinClass to monitor async state changes.
3974         state_cookie in GstElement to detect concurrent gst/set state.
3975         set_state is now virtual too in case a very complicated element
3976         has to be constructed.
3977
3978 2005-10-18  Wim Taymans  <wim@fluendo.com>
3979
3980         * check/gst/gstbin.c: (GST_START_TEST):
3981         * check/gst/gstmessage.c: (GST_START_TEST):
3982         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3983         * gst/gstbin.c: (bin_bus_handler):
3984         * gst/gstelement.c: (gst_element_commit_state),
3985         (gst_element_lost_state):
3986         * gst/gstmessage.c: (gst_message_new_state_changed),
3987         (gst_message_new_segment_start), (gst_message_new_segment_done),
3988         (gst_message_new_duration), (gst_message_parse_state_changed),
3989         (gst_message_parse_segment_start),
3990         (gst_message_parse_segment_done), (gst_message_parse_duration):
3991         * gst/gstmessage.h:
3992         * tools/gst-launch.c: (event_loop):
3993         Make messages future proof.
3994         state-change gets a flag if it was a message comming from the
3995         streaming thread.
3996         segment-start/stop can also be specified in other formats.
3997         A message to notify an app that a pipeline changed playback 
3998         duration.
3999         Also fix a GstMessage leak in -launch
4000
4001 2005-10-18  Andy Wingo  <wingo@pobox.com>
4002
4003         * gst/gstelement.c (gst_element_dispose): More helpful message.
4004
4005 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4006
4007         reviewed by: <delete if not using a buddy>
4008
4009         * common/gtk-doc.mak:
4010
4011 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4012
4013         * gst/gstregistry.c: (gst_registry_scan_path_level):
4014           unref a plug-in we get that was already initialized
4015
4016 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4017
4018         * docs/gst/gstreamer-sections.txt:
4019         * docs/libs/gstreamer-libs-sections.txt:
4020         * gst/gstelement.h:
4021           add new api entries
4022           hide internal macro
4023
4024 2005-10-17  Andy Wingo  <wingo@pobox.com>
4025
4026         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4027         cleanup.
4028
4029         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4030
4031         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4032
4033         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4034         (gst_element_get_state_func): Better debug message.
4035         (gst_element_commit_state): s/INFO/DEBUG/.
4036         (gst_element_lost_state, gst_element_change_state): 
4037
4038         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4039         (gst_message_new_custom): s/INFO/LOG/.
4040
4041 2005-10-17  Michael Smith <msmith@fluendo.com>
4042
4043         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4044           Check if end time is valid using end time, not start time.
4045
4046 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4047
4048         * check/gst-libs/controller.c: (GST_START_TEST),
4049         (gst_controller_suite):
4050         * libs/gst/controller/gstcontroller.c:
4051         (gst_controlled_property_set_interpolation_mode):
4052         * libs/gst/controller/gstcontroller.h:
4053         * libs/gst/controller/gstinterpolation.c:
4054         * testsuite/controller/.cvsignore:
4055         * testsuite/controller/Makefile.am:
4056         * testsuite/controller/interpolator.c:
4057           merge controller testsuites
4058           fix broken tests
4059           remove mem-chunk from docs
4060
4061 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4062
4063         * gst/gstmemchunk.c:
4064         * gst/gstmemchunk.h:
4065         * gst/gsttrashstack.c:
4066         * gst/gsttrashstack.h:
4067           out.  get out.  you're fired.  to the Attic !
4068
4069 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4070
4071         * gst/gstcaps.c: (gst_caps_intersect):
4072           fix signedness issues in a (hopefully) correct way
4073         * gst/gstelement.c: (gst_element_pads_activate):
4074           some debugging
4075         * gst/gstobject.c: (gst_object_set_parent):
4076           some debugging
4077
4078 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4079
4080         * gst/gstvalue.h: Fix prototypes.
4081
4082 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4083
4084         * docs/gst/gstreamer-sections.txt:
4085         * gst/gst.c: (gst_version_string):
4086         * gst/gst.h:
4087         * gst/gstversion.h.in:
4088         * win32/common/libgstreamer.def:
4089           add gst_version_string ()
4090
4091 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4092
4093         * configure.ac:
4094           clean up further
4095         * gst/gst.c: (init_post):
4096         * win32/common/config.h.in:
4097           it's PLUGINDIR now
4098         * gst/gstcaps.c: (gst_caps_intersect):
4099           use gint64, the range could be bigger than a guint
4100
4101 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * gst/gstclock.h:
4104           document potential problem in 2038
4105
4106 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4107
4108         * gst/gstcaps.c: (gst_caps_intersect):
4109           Fix guint j diving under 0
4110
4111 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4112
4113         * configure.ac:
4114         * win32/common/config.h:
4115         * win32/common/config.h.in:
4116           check for process.h, declares getpid() on Windows
4117         * gst/gstinfo.c:
4118           include process.h if we have it
4119         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4120         * gst/gstmemchunk.h:
4121           fix signedness issues
4122         * win32/common/libgstreamer.def:
4123           fix get_type's
4124
4125 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4126
4127         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4128         fix. Because of unsigned ints, caps intersection was going nuts and
4129         trying to access structures with G_MAXUINT index. That fixes
4130         videotestsrc ! ffmpegcolorspace ! fakesink
4131         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4132         consistency.
4133
4134 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4135
4136         * configure.ac:
4137           use the gettext macro
4138         * gst/elements/gstelements.c:
4139         * gst/gst.c:
4140         * gst/indexers/gstindexers.c:
4141           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4142         * win32/common/config.h:
4143           updated config.h
4144         * win32/common/config.h.in:
4145           add the template to generate config.h
4146         * win32/common/gstenumtypes.c:
4147         * win32/common/gstversion.h:
4148           updated copies
4149
4150 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4151
4152         * gst/gst.c: (gst_version):
4153         * gst/gstversion.h.in:
4154           add the nano
4155
4156 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4157
4158         * gst/gstevent.h:
4159           Oops, add missing closing bracket.
4160
4161 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4162
4163         * configure.ac:
4164           use common m4's for argument checking
4165
4166 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4167
4168         * docs/gst/gstreamer-sections.txt:
4169         * gst/gstevent.h:
4170           Add GST_EVENT_TYPE_NAME() macro.
4171
4172 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4173
4174         * gst/gstinfo.c:
4175         * gst/gstpluginfeature.c:
4176         * gst/gsttask.c:
4177           privatize more symbols
4178
4179 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4180
4181         * configure.ac:
4182           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4183           everything that uses GStreamer API should have the includes
4184
4185 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4186
4187         * docs/gst/gstreamer-sections.txt:
4188         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4189         * gst/gstvalue.h:
4190           give each value a _get_type, removes the DATA exports
4191
4192 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4193
4194         * gst/gst.c:
4195         * gst/gst.h:
4196           remove _gst_registry_auto_load, not used anymore
4197         * gst/gstbin.c: (gst_bin_get_type):
4198         * gst/gstbin.h:
4199         * gst/gstelement.c: (gst_element_get_type):
4200         * gst/gstelement.h:
4201         * gst/gstobject.c: (gst_object_get_type):
4202         * gst/gstobject.h:
4203         * gst/gstpad.c: (gst_pad_get_type):
4204         * gst/gstpad.h:
4205           make _get_type functions similar, fixes data export from library
4206
4207 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4208
4209         * configure.ac:
4210           correctly make conditionals
4211         * gst/elements/Makefile.am:
4212         * gst/elements/gstelements.c:
4213           fix typo causing fdsrc not to build
4214
4215 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4216
4217         * testsuite/Makefile.am:
4218         * testsuite/bytestream/.cvsignore:
4219         * testsuite/bytestream/Makefile.am:
4220         * testsuite/bytestream/filepadsink.c:
4221         * testsuite/bytestream/gstbstest.c:
4222         * testsuite/bytestream/test1.c:
4223         * testsuite/bytestream/testfile1:
4224         * testsuite/caps/normalisation.c:
4225         * testsuite/caps/random.c: (main):
4226         * testsuite/cleanup/.cvsignore:
4227         * testsuite/cleanup/Makefile.am:
4228         * testsuite/cleanup/cleanup1.c:
4229         * testsuite/cleanup/cleanup2.c:
4230         * testsuite/cleanup/cleanup3.c:
4231         * testsuite/cleanup/cleanup4.c:
4232         * testsuite/cleanup/cleanup5.c:
4233         * testsuite/controller/interpolator.c:
4234         * testsuite/debug/printf_extension.c: (main):
4235         * testsuite/elements/tee.c:
4236         * testsuite/negotiation/.cvsignore:
4237         * testsuite/negotiation/Makefile.am:
4238         * testsuite/negotiation/pad_link.c:
4239         * testsuite/pad/Makefile.am:
4240         * testsuite/pad/chainnopull.c:
4241         * testsuite/pad/getnopush.c:
4242         * testsuite/pad/link.c:
4243         * testsuite/refcounting/sched.c: (create_pipeline):
4244         * testsuite/registry/Makefile.am:
4245         * testsuite/registry/gst-print-formats.c:
4246         * testsuite/schedulers/.cvsignore:
4247         * testsuite/schedulers/142183-2.c:
4248         * testsuite/schedulers/142183.c:
4249         * testsuite/schedulers/143777-2.c:
4250         * testsuite/schedulers/143777.c:
4251         * testsuite/schedulers/147713.c:
4252         * testsuite/schedulers/147819.c:
4253         * testsuite/schedulers/147894-2.c:
4254         * testsuite/schedulers/147894.c:
4255         * testsuite/schedulers/Makefile.am:
4256         * testsuite/schedulers/group_link.c:
4257         * testsuite/schedulers/queue_link.c:
4258         * testsuite/schedulers/relink.c:
4259         * testsuite/schedulers/unlink.c:
4260         * testsuite/schedulers/unref.c:
4261         * testsuite/schedulers/useless_iteration.c:
4262         * testsuite/states/bin.c:
4263           clean out/remove some stuff from the testsuite directories
4264
4265 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4266
4267         * configure.ac:
4268           check for some headers
4269         * gst/elements/Makefile.am:
4270         * gst/elements/gstelements.c:
4271           don't compile fdsrc without sys/socket.h
4272         * gst/indexers/Makefile.am:
4273         * gst/indexers/gstindexers.c: (plugin_init):
4274           don't compile fileindex without mmap
4275
4276 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4277
4278         * configure.ac:
4279           reorganize
4280           clean up
4281           document more
4282           remove cruft
4283         * check/Makefile.am:
4284         * docs/gst/Makefile.am:
4285         * examples/helloworld/Makefile.am:
4286         * gst/Makefile.am:
4287         * gst/base/Makefile.am:
4288         * gst/check/Makefile.am:
4289         * gst/elements/Makefile.am:
4290         * gst/indexers/Makefile.am:
4291         * gst/parse/Makefile.am:
4292         * libs/gst/controller/Makefile.am:
4293         * libs/gst/dataprotocol/Makefile.am:
4294         * examples/helloworld/helloworld.c: (event_loop):
4295           compile fixes, though it's not being compiled currently
4296
4297 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4298
4299         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4300           Add some simple tests for the new taglist date API.
4301
4302 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4303
4304         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4305         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4306           Beautify 'last-message' output: print 'none' for buffer timestamps
4307           and durations if none is set; improve alignment with next messages.
4308
4309 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4310
4311         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4312         * gst/gstpluginfeature.h:
4313         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4314         * gst/gstregistry.h:
4315         * docs/gst/gstreamer-sections.txt:
4316           Add new API to check plugin feature version requirements.
4317
4318         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4319           Some basic tests for the above.         
4320
4321 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4322
4323         * gst/gststructure.c: (gst_structure_to_string):
4324           guard against NULL printf - happens when for example
4325           a message structure with GstClock gets serialized
4326
4327 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4328
4329         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4330           Fix presumable copy'n'pasto.
4331
4332 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4333
4334         * gst/elements/gstfakesrc.h:
4335         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4336         * gst/elements/gsttypefindelement.c:
4337           fix some signedness
4338         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4339           I wonder if this could actually write +2GB files before
4340
4341 2005-10-13  Andy Wingo  <wingo@pobox.com>
4342
4343         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4344         Fix Timmeke Waymans bug.
4345         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4346         string of the proper length to gst_caps_from_string. There's a
4347         potential for, before this fix, that this could cause someone
4348         connecting over the network to cause a segfault if the payload is
4349         not NUL-terminated.
4350
4351 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4352
4353         * docs/design/draft-push-pull.txt:
4354         * docs/design/part-overview.txt:
4355         * docs/random/TODO-pre-0.9:
4356         * docs/random/old/ChangeLog.gstreamer:
4357         * gst/base/gstpushsrc.c:
4358         * gst/gstclock.c:
4359           fixed typos
4360
4361 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4362
4363         * gst/glib-compat.c: (gst_flags_get_first_value):
4364         * gst/glib-compat.h:
4365         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4366         (gst_value_compare_double), (gst_value_serialize_flags):
4367           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4368           infinite loop
4369
4370 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4371
4372         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4373         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4374           fix up debugging
4375         * tools/gst-launch.c: (event_loop):
4376           print out clock nicely
4377
4378 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4379
4380         * docs/gst/gstreamer-sections.txt:
4381         * gst/gsttaglist.h:
4382         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4383         (gst_tag_list_get_date_index):
4384           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4385           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4386
4387 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4388
4389         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4390         (gst_collectpads_chain):
4391         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4392         in CollectData.
4393
4394 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * docs/gst/gstreamer-sections.txt:
4397         * gst/gst.c:
4398         * gst/gsterror.h:
4399         * tools/gst-inspect.c: (main):
4400         * tools/gst-launch.c: (main):
4401         * tools/gst-run.c: (main):
4402         * tools/gst-xmlinspect.c: (main):
4403           fix GOption context leaks
4404           doc fixes
4405
4406 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4407
4408         * gst/gstbus.c:
4409           use HAVE_UNISTD_H
4410         * win32/common/config.h:
4411           update config
4412         * win32/vs6/grammar.dsp:
4413         * win32/vs6/libgstelements.dsp:
4414         * win32/vs6/libgstreamer.dsp:
4415           update vs6 files
4416
4417 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4418
4419         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4420         * gst/base/gstbasesrc.c: (gst_base_src_query):
4421           fix more guint64<->gdouble conversions
4422
4423 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4424
4425         * Makefile.am:
4426           add win32-update target
4427         * win32/common/gstconfig.h:
4428         * win32/common/gstenumtypes.c:
4429         * win32/common/gstenumtypes.h:
4430         * win32/common/gstversion.h:
4431           add files that visual studio can't generate
4432
4433 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4434
4435         * Makefile.am:
4436           add a win32-update target
4437         * configure.ac:
4438
4439 2005-10-12  Wim Taymans  <wim@fluendo.com>
4440
4441         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4442         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4443         * gst/gstelement.c: (gst_element_commit_state),
4444         (gst_element_set_state):
4445         Protect flags with proper lock.
4446         unref provided cached clock in dispose.
4447
4448 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4449
4450         * gst/gst.c:
4451         * gst/gstminiobject.h:
4452         * gst/gstpad.h:
4453         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4454           removed unused flags from miniobject
4455           doc fixes
4456
4457 2005-10-12  Wim Taymans  <wim@fluendo.com>
4458
4459         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4460         (gst_file_sink_event), (gst_file_sink_render):
4461         Flush before seeking.
4462
4463 2005-10-12  Andy Wingo  <wingo@pobox.com>
4464
4465         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4466         always been the case.
4467
4468 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4469
4470         * check/gst/gstbin.c: (GST_START_TEST):
4471         * docs/gst/gstreamer-sections.txt:
4472         * gst/base/gstbasesink.c: (gst_base_sink_init):
4473         * gst/base/gstbasesrc.c: (gst_base_src_init),
4474         (gst_base_src_get_range), (gst_base_src_check_get_range),
4475         (gst_base_src_start), (gst_base_src_stop):
4476         * gst/base/gstbasesrc.h:
4477         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4478         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4479         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4480         (bin_bus_handler):
4481         * gst/gstbin.h:
4482         * gst/gstbuffer.h:
4483         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4484         * gst/gstbus.h:
4485         * gst/gstelement.c: (gst_element_is_locked_state),
4486         (gst_element_set_locked_state), (gst_element_commit_state),
4487         (gst_element_set_state):
4488         * gst/gstelement.h:
4489         * gst/gstindex.c: (gst_index_init):
4490         * gst/gstindex.h:
4491         * gst/gstminiobject.h:
4492         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4493         (gst_object_set_parent):
4494         * gst/gstobject.h:
4495         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4496         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4497         * gst/gstpad.h:
4498         * gst/gstpadtemplate.h:
4499         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4500         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4501         * gst/gstpipeline.h:
4502         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4503         (gst_file_index_commit):
4504         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4505         * testsuite/pad/link.c: (gst_test_src_init),
4506         (gst_test_filter_init), (gst_test_sink_init):
4507         * testsuite/states/locked.c: (main):
4508           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4509           moved bitshift from macro to enum definition
4510
4511 2005-10-12  Wim Taymans  <wim@fluendo.com>
4512
4513         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4514         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4515         (gst_file_sink_render):
4516         Some more debugging info.
4517
4518 2005-10-12  Wim Taymans  <wim@fluendo.com>
4519
4520         * docs/design/part-states.txt:
4521         * tools/gst-launch.c: (main):
4522         Some doc updates.
4523         Revert non-intentional change.
4524
4525 2005-10-12  Wim Taymans  <wim@fluendo.com>
4526
4527         * check/gst/gstbin.c: (GST_START_TEST):
4528         * check/gst/gstelement.c: (GST_START_TEST):
4529         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4530         * check/gst/gstghostpad.c: (GST_START_TEST):
4531         * check/gst/gstpipeline.c: (GST_START_TEST):
4532         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4533         * check/states/sinks.c: (GST_START_TEST):
4534         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4535         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4536         (gst_bin_remove_func), (gst_bin_get_state_func),
4537         (gst_bin_recalc_state), (gst_bin_change_state_func),
4538         (bin_bus_handler):
4539         * gst/gstelement.c: (gst_element_get_state_func),
4540         (gst_element_get_state), (gst_element_abort_state),
4541         (gst_element_commit_state), (gst_element_set_state),
4542         (gst_element_change_state), (gst_element_change_state_func):
4543         * gst/gstelement.h:
4544         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4545         (gst_pipeline_provide_clock_func):
4546         * gst/gstutils.c: (gst_element_link_pads_filtered):
4547         * tools/gst-launch.c: (main):
4548         * tools/gst-typefind.c: (main):
4549         Use GstClockTime in _get_state() instead of GTimeVal.
4550         Remove old code in gstutils.c
4551
4552 2005-10-12  Andy Wingo  <wingo@pobox.com>
4553
4554         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4555         removed.
4556
4557         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4558         there is no task. Shouldn't affect any code, as nothing in our
4559         plugins checks this return value.
4560         (gst_pad_stop_task): Also take the stream lock if the pad has no
4561         task. Docs updated.
4562
4563 2005-10-12  Wim Taymans  <wim@fluendo.com>
4564
4565         * gst/gstpad.c: (pre_activate), (post_activate),
4566         (gst_pad_activate_pull), (gst_pad_activate_push):
4567         Cleanup activation code. Reset old state if
4568         activation failed.
4569
4570 2005-10-12  Wim Taymans  <wim@fluendo.com>
4571
4572         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4573         (gst_base_sink_change_state):
4574         No need to prerol after receiving EOS.
4575
4576         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4577         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4578         * gst/elements/gstidentity.c: (gst_identity_event):
4579         Print events more verbosely.
4580
4581 2005-10-12  Wim Taymans  <wim@fluendo.com>
4582
4583         * check/Makefile.am:
4584         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4585         * check/states/sinks2.c:
4586         Moved sinks2 testcode in sinks check.
4587
4588         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4589         (gst_bin_remove_func), (gst_bin_recalc_state),
4590         (gst_bin_change_state_func), (bin_bus_handler):
4591         Fix potential race condition when _get_state() iterated over an
4592         ASYNC element right before it posted a state completion.
4593
4594         * gst/gstclock.h:
4595         Do proper cast here.
4596
4597         * gst/gstevent.c: (gst_event_new_newsegment),
4598         (gst_event_parse_newsegment):
4599         A playback rate of 0.0 is not allowed.
4600
4601 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         * win32/common/config.h:
4604         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4605         (_trewinddir), (_ttelldir), (_tseekdir):
4606         * win32/common/dirent.h:
4607         * win32/common/gtchar.h:
4608         * win32/common/libgstbase.def:
4609         * win32/common/libgstreamer.def:
4610         * win32/vs6/grammar.dsp:
4611         * win32/vs6/gst_inspect.dsp:
4612         * win32/vs6/gst_launch.dsp:
4613         * win32/vs6/gstreamer.dsw:
4614         * win32/vs6/libgstbase.dsp:
4615         * win32/vs6/libgstelements.dsp:
4616         * win32/vs6/libgstreamer.dsp:
4617           Visual Studio 6 project files, and a new common directory.
4618           Phear.
4619
4620 2005-10-11  Wim Taymans  <wim@fluendo.com>
4621
4622         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4623         (gst_base_sink_do_sync), (gst_base_sink_query),
4624         (gst_base_sink_change_state):
4625         * gst/base/gstbasesink.h:
4626         Correctly parse newsegment info.
4627
4628 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4629
4630         * gst/gst.c: (init_post):
4631           split plugin paths correctly
4632
4633 2005-10-11  Wim Taymans  <wim@fluendo.com>
4634
4635         * check/gst/gstevent.c: (GST_START_TEST):
4636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4637         (gst_base_sink_change_state):
4638         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4639         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4640         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4641         * gst/gstevent.c: (gst_event_new_newsegment),
4642         (gst_event_parse_newsegment):
4643         * gst/gstevent.h:
4644         Added extra flag to newsegment for future API freeze.
4645         Updated check and base elements.
4646
4647 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4648
4649         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4650         (gst_collectpads_add_pad), (gst_collectpads_pop),
4651         (gst_collectpads_event), (gst_collectpads_chain):
4652         * gst/base/gstcollectpads.h: Handle EOS correctly.
4653
4654 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4655
4656         * tools/gst-launch.c: (main):
4657           more null protecting
4658
4659 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4660
4661         * gst/gst-i18n-lib.h:
4662           check for ENABLE_NLS, not GETTEXT_PACKAGE
4663         * gst/gstregistry.c: (gst_registry_add_plugin),
4664         (gst_registry_scan_path_level),
4665         (_gst_registry_remove_cache_plugins):
4666           protect possibly NULL strings
4667         * gst/parse/types.h:
4668           config.h already included before
4669         * tools/gst-inspect.c: (main):
4670           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4671           check for ENABLE_NLS, not GETTEXT_PACKAGE
4672         * tools/gst-launch.c: (main):
4673           check for ENABLE_NLS, not GETTEXT_PACKAGE
4674
4675 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4676
4677         * configure.ac:
4678           if we don't have glib, fail before testing 2.8
4679         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4680           fix a leak, should fix plugins-base testsuite
4681
4682 2005-10-11  Andy Wingo  <wingo@pobox.com>
4683
4684         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4685         take the mode we're going to as an arg. Go head and set the mode
4686         and flushing flags now, so that if the activate function starts a
4687         thread all the flags will be in the right state.
4688         (post_activate): Renamed also. Just handle making sure streaming
4689         finishes for the deactivation case, and setting the deactivated
4690         mode.
4691         (gst_pad_set_active): Complain loudly if deactivation fails.
4692         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4693         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4694         remove the terrible hack.
4695
4696 2005-10-11  Wim Taymans  <wim@fluendo.com>
4697
4698         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4699         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4700         (gst_bin_recalc_state), (gst_bin_change_state_func),
4701         (gst_bin_dispose), (bin_bus_handler):
4702         * gst/gstbin.h:
4703         Prepare to make current EOS message queue more generic.
4704         Fix some typos.
4705
4706         * gst/gstevent.c: (gst_event_new_newsegment),
4707         (gst_event_parse_newsegment):
4708         * gst/gstevent.h:
4709         Rename base to stream_time.
4710
4711         * gst/gstmessage.h:
4712         Fix typo in docs.
4713
4714 2005-10-11  Wim Taymans  <wim@fluendo.com>
4715
4716         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4717         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4718         (gst_bin_change_state_func), (bin_bus_handler):
4719         * gst/gstbin.h:
4720         Work on proper clock selection.
4721
4722 2005-10-11  Edward Hervey  <edward@fluendo.com>
4723
4724         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4725         * libs/gst/controller/gstcontroller.h:
4726         Added GList* version of _remove_properties() in order to be able to wrap
4727         it in bindings.
4728
4729 2005-10-11  Wim Taymans  <wim@fluendo.com>
4730
4731         * docs/design/part-states.txt:
4732         Some more docs.
4733
4734         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4735         (gst_bin_change_state_func), (bin_bus_handler):
4736         Doc updates. Don't distribute the same clock over and over again.
4737
4738         * gst/gstclock.c:
4739         * gst/gstclock.h:
4740         Doc updates.
4741
4742         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4743         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4744         (gst_pad_send_event):
4745         * gst/gstpad.h:
4746         Make probe emission threadsafe again.
4747         Register quarks and move _get_name() from utils.
4748         Doc updates.
4749
4750         * gst/gstpipeline.c: (gst_pipeline_class_init),
4751         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4752         Only redistribute the clock of it changed.
4753
4754         * gst/gstsystemclock.h:
4755         Doc updates. 
4756
4757         * gst/gstutils.c:
4758         * gst/gstutils.h:
4759         Moved the _flow_get_name() to GstPad.
4760
4761 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4762
4763         * check/gst-libs/gdp.c: (GST_START_TEST):
4764         * check/gst/gstcaps.c: (GST_START_TEST):
4765         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4766         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4767         (gst_dp_packet_from_caps):
4768           fix more valgrind warnings before turning up the heat
4769
4770 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4771
4772         * gst/parse/grammar.y:
4773           some cleanup before the hacking
4774
4775 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4776
4777         * gst/base/gstbasesrc.c: (gst_base_src_query):
4778           use conversions
4779         * gst/gstutils.c: (gst_guint64_to_gdouble),
4780         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4781         * gst/gstutils.h:
4782           externalize, basesrc uses it
4783           obviously the implementation needs testing
4784
4785 2005-10-10  Wim Taymans  <wim@fluendo.com>
4786
4787         * tests/sched/Makefile.am:
4788         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4789         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4790
4791 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4792
4793         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4794           apparently converting from guint64 to double is not implemented
4795           on MSVC
4796
4797 2005-10-10  Wim Taymans  <wim@fluendo.com>
4798
4799         * check/Makefile.am:
4800         * check/generic/states.c: (GST_START_TEST):
4801         * check/gst/gstbin.c: (GST_START_TEST):
4802         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4803         * check/states/sinks.c: (GST_START_TEST):
4804         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4805         (main):
4806         Check fixes, use API as stated in design docs, remove hacks.
4807
4808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4809         (gst_base_sink_change_state):
4810         Catch stopping our task while we're shutting down.
4811
4812         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4813         (gst_bin_remove_func), (gst_bin_get_state_func),
4814         (gst_bin_recalc_state), (gst_bin_change_state_func),
4815         (bin_bus_handler):
4816         * gst/gstbin.h:
4817         * gst/gstelement.c: (gst_element_init),
4818         (gst_element_get_state_func), (gst_element_abort_state),
4819         (gst_element_commit_state), (gst_element_lost_state),
4820         (gst_element_set_state), (gst_element_change_state),
4821         (gst_element_change_state_func):
4822         * gst/gstelement.h:
4823         New state change algorithm (see #318116)
4824
4825         * gst/gstpipeline.c: (gst_pipeline_class_init),
4826         (gst_pipeline_init), (gst_pipeline_set_property),
4827         (gst_pipeline_get_property), (do_pipeline_seek),
4828         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4829         * gst/gstpipeline.h:
4830         Remove crude state change hacks.
4831
4832         * gst/gstutils.h:
4833         Remove crude hacks.
4834
4835         * tools/gst-launch.c: (main):
4836         Fixes for state change. Needs some more work to fully use the
4837         new stuff.
4838
4839 2005-10-10  Andy Wingo  <wingo@pobox.com>
4840
4841         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4842
4843         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4844         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4845         issue.
4846
4847 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4848
4849         * gst/gstiterator.c: (gst_iterator_new):
4850           Fix my previous commit: GTypes passed to gst_iterator_new()
4851           can be fundamental types.
4852
4853 2005-10-10  Wim Taymans  <wim@fluendo.com>
4854
4855         * gst/gstelement.c: (gst_element_iterate_pad_list),
4856         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4857         (gst_element_iterate_sink_pads):
4858         Use src/sink pads lists for the respective iterators instead
4859         of filtering.
4860
4861 2005-10-10  Andy Wingo  <wingo@pobox.com>
4862
4863         Merged in popt removal + GOption addition patch from Ronald, bug
4864         #169772.
4865
4866         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4867         GstElement macros around, remove popt-related symbols, add goption
4868         stuff.
4869
4870         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4871         
4872         * docs/gst/Makefile.am:
4873         * docs/libs/Makefile.am: No POPT_CFLAGS.
4874         
4875         * examples/manual/Makefile.am:
4876         * docs/manual/basics-init.xml: Doc updates with an example.
4877         
4878         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4879         (gst_init), (parse_one_option), (parse_goption_arg):
4880         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4881         bit of hand merging and debugging to get the GOption stuff working
4882         tho.
4883         
4884         * tests/Makefile.am:
4885         * tools/Makefile.am:
4886         * tools/gst-inspect.c: (main):
4887         * tools/gst-launch.c: (main):
4888         * tools/gst-run.c: (main):
4889         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4890
4891 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * gst/gstiterator.c: (gst_iterator_new):
4894           Add assertions to make sure passed GType is likely to really
4895           be a GType (as the compiler won't catch it if the size and
4896           GType arguments get mixed up, see #318447).
4897
4898 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4899
4900         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4901
4902         * gst/gstbin.c: (gst_bin_iterate_sorted):
4903           Pass GType and size arguments to gst_iterator_new() in the right
4904           order (maybe we should make _new() take the GType as first argument
4905           just like _new_list()?) (#318447).
4906           
4907
4908 2005-10-10  Wim Taymans  <wim@fluendo.com>
4909
4910         * gst/gstelement.c: (gst_element_finalize):
4911         And free the GStaticRecMutex too
4912
4913 2005-10-10  Andy Wingo  <wingo@pobox.com>
4914
4915         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4916         Allocate and free the mutex properly.
4917
4918         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4919         New macros.
4920         (GstElement): The state_lock is now recursive. Rebuild your
4921         plugins, suckers. Old macros adapted.
4922
4923         * docs/gst/gstreamer-sections.txt: Doc updates.
4924
4925         * gst/gstutils.h:
4926         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4927         (g_static_rec_cond_wait): Ported from state changes patch, while
4928         we wait on bug #317802 to be solved in a well-distributed GLib.
4929
4930         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4931         gst_element_change_state, variable name changes.
4932         (gst_element_change_state): Split out of gst_element_set_state in
4933         preparation for the state change merge. Doesn't pay attention to
4934         the 'transition' argument.
4935         (gst_element_set_state): Updates, hopefully purely cosmetic.
4936         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4937         state change patch.
4938         (gst_element_get_state_func): Renamed from get_state, cosmetic
4939         changes.
4940
4941 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4942
4943         * gst/elements/gstelements.c:
4944         * win32/GStreamer.vcproj:
4945         * win32/config.h:
4946         * win32/dirent.c: (_tseekdir):
4947         * win32/gst-inspect.vcproj:
4948         * win32/gst-launch.vcproj:
4949         * win32/gstconfig.h:
4950         * win32/gstelements.vcproj:
4951         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4952         * win32/gstreamer.def:
4953         * win32/msvc71.sln:
4954           updates for the win32 build (patch from Sebastien Moutte)
4955
4956 2005-10-10  Andy Wingo  <wingo@pobox.com>
4957
4958         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4959         gst_bin_get_state, cleaned up (but no logic changes).
4960         (bin_element_is_sink): Comment updates.
4961         (sink_iterator_filter): Remove needless cast.
4962         (gst_bin_iterate_sinks): Doc update.
4963         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4964         cleaned up (but no logic changes).
4965
4966         * check/states/sinks.c (test_src_sink): Cleanups from the state
4967         change patch.
4968         (test_livesrc_sink): Sync on the state.
4969
4970         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4971         the state change patch.
4972
4973         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4974         change patch.
4975
4976         * check/gst/gstbin.c: Merge in some style fixes and additional
4977         checks from Wim's state change patch.
4978
4979 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4980
4981         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4982         (gst_type_find_helper):
4983           Check whether we have the requested data already in our list of
4984           cached buffers before pulling a new buffer; also make the buffer
4985           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4986
4987 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4988
4989         * gst/gstcaps.c:
4990         * gst/gstevent.c:
4991           doc updates
4992         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4993           don't use long long, it's not portable.  Replacing with
4994           gint64 seems to work; let's hope no skeletons fall out of the closet.
4995
4996 2005-10-10  Andy Wingo  <wingo@pobox.com>
4997
4998         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4999
5000 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5001
5002         * docs/gst/gstreamer-sections.txt:
5003         * gst/gstevent.c:
5004         * gst/gstevent.h:
5005         * gst/gstinfo.c:
5006         * gst/gstinfo.h:
5007         * gst/gstmessage.c: (gst_message_parse_state_changed):
5008         * gst/gstpad.c:
5009         * gst/gstpad.h:
5010           more docs, fix compilation
5011
5012 2005-10-09  Philippe Khalaf <burger@speedy.org>
5013         * gst/gstmessage.c:
5014           Fixed a few forgotten variables on previous commit
5015
5016 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5017
5018         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5019           Fix evil typefind crasher: getrange() might return a short
5020           buffer at the end of a file, but gst_type_find_peek() must
5021           either return the full data as requested or NULL, but
5022           never a short buffer.
5023
5024 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5025
5026         * gst/gstmessage.c: (gst_message_new_state_changed),
5027         (gst_message_parse_state_changed):
5028         * gst/gstmessage.h:
5029           don't use "new", it's a C++ keyword
5030
5031 2005-10-08  Wim Taymans  <wim@fluendo.com>
5032
5033         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5034         * gst/gstelement.c: (gst_element_post_message):
5035         * gst/gstpipeline.c: (gst_pipeline_change_state):
5036         Small docs and debug updates.
5037
5038 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5039
5040         * docs/gst/gstreamer-sections.txt:
5041         * gst/gstelementfactory.c:
5042         * gst/gstevent.c:
5043         * gst/gsttaglist.c:
5044           more docs
5045
5046 2005-10-08  Wim Taymans  <wim@fluendo.com>
5047
5048         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5049         (gst_bin_dispose), (bin_bus_handler):
5050         Fix typos, add comments.
5051         Clear EOS list when going to PAUSED from any direction and do it
5052         in a threadsafe way.
5053         Get base time in a threadsafe way too.
5054         Fix confusing debug in the change_state function.
5055         Various other small cleanups.
5056         
5057         * gst/gstelement.c: (gst_element_post_message):
5058         Fix very verbose bus posting code.
5059
5060         * gst/gstpipeline.c: (gst_pipeline_class_init),
5061         (gst_pipeline_set_property), (gst_pipeline_get_property),
5062         (gst_pipeline_change_state):
5063         Small ARG_ -> PROP_ cleanup
5064
5065 2005-10-08  Wim Taymans  <wim@fluendo.com>
5066
5067         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5068         Do a less CPU demanding EOS check because we can.
5069
5070 2005-10-08  Wim Taymans  <wim@fluendo.com>
5071
5072         * libs/gst/dataprotocol/dataprotocol.c:
5073         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5074         (gst_dp_packet_from_event):
5075         * libs/gst/dataprotocol/dataprotocol.h:
5076         * libs/gst/dataprotocol/dp-private.h:
5077         It's about time we bump the version number.
5078         Since event types don't fit in the guint8 anymore describing
5079         the payload type, make payload type 16 bits wide.
5080
5081 2005-10-08  Wim Taymans  <wim@fluendo.com>
5082
5083         * docs/design/part-TODO.txt:
5084         * docs/design/part-clocks.txt:
5085         * docs/design/part-events.txt:
5086         * docs/design/part-gstbin.txt:
5087         * docs/design/part-gstelement.txt:
5088         * docs/design/part-gstpipeline.txt:
5089         * docs/design/part-live-source.txt:
5090         * docs/design/part-messages.txt:
5091         * docs/design/part-overview.txt:
5092         * docs/design/part-states.txt:
5093         Many doc updates.
5094
5095 2005-10-08  Wim Taymans  <wim@fluendo.com>
5096
5097         * gst/gstevent.c:
5098         * gst/gstevent.h:
5099         Fix event quark registration.
5100         Add some space between events so we can insert them in the
5101         right groups.
5102
5103 2005-10-08  Wim Taymans  <wim@fluendo.com>
5104
5105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5106         (gst_base_sink_handle_buffer):
5107         Better log message.
5108
5109         * gst/gstbus.h:
5110         * gst/gstelement.h:
5111         More docs.
5112
5113         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5114         (gst_queue_set_property), (gst_queue_get_property):
5115         * gst/gstqueue.h:
5116         Remove old unused properties.
5117
5118 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5119         * docs/gst/gstreamer-sections.txt:
5120         * gst/gstmessage.c:
5121         * gst/gstmessage.h:
5122         * gst/gstminiobject.c:
5123         * gst/gstminiobject.h:
5124         * gst/gstobject.h:
5125         * gst/gstpad.h:
5126         * gst/gstutils.h:
5127           lots of new docs and doc fixes
5128
5129 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5130
5131         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5132         * gst/gstplugin.h:
5133         * gst/gstregistry.c: (gst_registry_lookup_locked),
5134         (gst_registry_scan_path_level):
5135         * gst/gstregistryxml.c: (load_plugin):
5136           Only ever load one plugin for a given plugin basename.
5137           This ensures correct overriding of GST_PLUGIN_PATH over
5138           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5139           system installed plugins.
5140
5141 2005-10-08  Wim Taymans  <wim@fluendo.com>
5142
5143         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5144         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5145         Prepare for doing QOS.
5146
5147 2005-10-08  Wim Taymans  <wim@fluendo.com>
5148
5149         * check/gst/gstbin.c: (GST_START_TEST):
5150         * check/pipelines/cleanup.c: (GST_START_TEST):
5151         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5152         Allow new clock message too.
5153
5154 2005-10-08  Wim Taymans  <wim@fluendo.com>
5155
5156         * gst/gstmessage.c: (gst_message_new_error),
5157         (gst_message_new_warning), (gst_message_new_tag),
5158         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5159         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5160         (gst_message_new_segment_start), (gst_message_new_segment_done),
5161         (gst_message_parse_state_changed),
5162         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5163         (gst_message_parse_new_clock):
5164         * gst/gstmessage.h:
5165         Also carry the clock in question.
5166
5167 2005-10-08  Wim Taymans  <wim@fluendo.com>
5168
5169         * gst/gstmessage.c: (gst_message_new_custom),
5170         (gst_message_new_eos), (gst_message_new_error),
5171         (gst_message_new_warning), (gst_message_new_tag),
5172         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5173         (gst_message_new_new_clock), (gst_message_new_segment_start),
5174         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5175         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5176         * gst/gstmessage.h:
5177         Clean up.
5178         Added clock related messages.
5179
5180         * gst/gstpipeline.c: (gst_pipeline_change_state):
5181         Post message when the clock changed.
5182
5183         * tools/gst-launch.c: (event_loop):
5184         Print new clock.
5185
5186 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5187
5188         * tools/gst-inspect.c: (print_element_properties_info):
5189           Can't pass NULL strings to g_print() on windows.
5190
5191 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5192
5193         * docs/Makefile.am:
5194         * docs/gst/Makefile.am:
5195         * docs/gst/gstreamer-docs.sgml:
5196         * docs/gst/running.xml:
5197         * docs/version.entities.in:
5198           add a chapter on running GStreamer.
5199           document GST_DEBUG and GST_PLUGIN* env vars
5200
5201 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5202
5203         * Makefile.am:
5204           remove include dir
5205         * configure.ac:
5206           remove PLUGINS_BUILDDIR stuff
5207         * gst/gst.c: (init_post):
5208           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5209         * idiottest.mak:
5210           remove, it was condescending and not needed
5211
5212 2005-10-08  Wim Taymans  <wim@fluendo.com>
5213
5214         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5215         (gst_base_sink_handle_object), (gst_base_sink_event),
5216         (gst_base_sink_wait), (gst_base_sink_handle_event),
5217         (gst_base_sink_change_state):
5218         * gst/base/gstbasesink.h:
5219         Repost EOS message while going to PLAYING if still EOS.
5220         Make sure that when receiving a FLUSH_START we don't attempt
5221         to sync on the clock anymore.
5222
5223 2005-10-08  Wim Taymans  <wim@fluendo.com>
5224
5225         * tools/gst-launch.c: (event_loop):
5226         Better message printout.
5227
5228 2005-10-08  Wim Taymans  <wim@fluendo.com>
5229
5230         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5231         (gst_bin_child_proxy_get_children_count):
5232         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5233         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5234         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5235         (gst_child_proxy_set_valist):
5236         * gst/parse/grammar.y:
5237         Make ChildProxy threadsafe and fix mem leaks.
5238
5239 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5240
5241         * gst/gst.c: (init_post):
5242           debug the GST_PLUGIN_ env vars
5243
5244 2005-10-08  Wim Taymans  <wim@fluendo.com>
5245
5246         * check/gst/gstbin.c: (GST_START_TEST):
5247         * check/gst/gstmessage.c: (GST_START_TEST):
5248         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5249         * gst/gstelement.c: (gst_element_commit_state),
5250         (gst_element_lost_state):
5251         * gst/gstmessage.c: (gst_message_new_state_changed),
5252         (gst_message_parse_state_changed):
5253         * gst/gstmessage.h:
5254         * tools/gst-launch.c: (event_loop):
5255         Added extra field to STATE_CHANGE message with the pending
5256         state, which will be different from the new state soon.
5257
5258 2005-10-08  Wim Taymans  <wim@fluendo.com>
5259
5260         * gst/gstbus.c: (gst_bus_pop):
5261         * gst/gstclock.c:
5262         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5263         Small cleanups and doc updates.
5264
5265 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5266
5267         * gst/gst.c: (init_pre):
5268         * gst/gstbin.c: (gst_bin_add_func):
5269           log distributing clocks and base time
5270         * gst/gstregistry.c: (gst_registry_add_plugin),
5271         (gst_registry_scan_path_level), (gst_registry_scan_path):
5272           clean up the debugging output a little
5273         * gst/gstutils.c: (gst_element_state_get_name):
5274           warn about a memleak (I've actually seen this be used, though
5275           it was probably a bug)
5276
5277 2005-10-07  Wim Taymans  <wim@fluendo.com>
5278
5279         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5280         (gst_base_src_init), (gst_base_src_default_newsegment),
5281         (gst_base_src_newsegment), (gst_base_src_do_seek),
5282         (gst_base_src_loop), (gst_base_src_start):
5283         * gst/base/gstbasesrc.h:
5284         Make the newsegment event customizable by subclasses.
5285
5286 2005-10-07  Wim Taymans  <wim@fluendo.com>
5287
5288         * gst/gstevent.c: (gst_event_new_buffersize),
5289         (gst_event_parse_buffersize):
5290         * gst/gstevent.h:
5291         New event for future idea.
5292
5293 2005-10-07  Andy Wingo  <wingo@pobox.com>
5294
5295         * gst/gstelement.c (gst_element_post_message): Doc update.
5296
5297         * docs/gst/gstreamer-sections.txt: Update.
5298
5299         * gst/gstmessage.c (gst_message_new_application): Made into a
5300         function like honest API calls.
5301         (gst_message_new_element): New message type.
5302
5303         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5304
5305         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5306         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5307         times.
5308
5309         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5310         NO_PREROLL from gst_element_change_state to fall through.
5311
5312 2005-10-07  Wim Taymans  <wim@fluendo.com>
5313
5314         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5315         (gst_ghost_pad_do_activate_push):
5316         Activating a ghostpad with no internal pad in push mode
5317         is ok.
5318
5319 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5320
5321         * gst/gstobject.h:
5322           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5323           Fixes compilation on Windows.
5324
5325 2005-10-07  Michael Smith <msmith@fluendo.com>
5326
5327         * tools/gst-inspect.c:
5328           Print out feature and plugin count at the end when printing out
5329           all features.
5330
5331 2005-10-04  Michael Smith <msmith@fluendo.com>
5332
5333         * gst/gsterror.c: (_gst_stream_errors_init):
5334           Add another error string used in a few existing plugins.
5335
5336         * gst/gstplugin.c:
5337         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5338         * tools/gst-inspect.c: (print_element_info):
5339           When a feature disappears from a plugin (and the feature exists in
5340           the cached registry file), things went horribly wrong. This isn't a
5341           complete fix, we should actually be removing the 'missing' features
5342           from the features list when we load the actual plugin. That's not
5343           yet implemented. 
5344
5345 2005-10-04  Johan Dahlin  <johan@gnome.org>
5346
5347         * check/gst/gstiterator.c: (GST_START_TEST):
5348         * gst/gstbin.c: (gst_bin_iterate_elements),
5349         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5350         * gst/gstelement.c: (gst_element_iterate_pads):
5351         * gst/gstformat.c: (gst_format_iterate_definitions):
5352         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5353         (gst_iterator_new_list), (gst_iterator_filter):
5354         * gst/gstiterator.h:
5355         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5356         Add a GType to GstIterator, update callsites and tests.
5357
5358 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5359
5360         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5361           give events a chance to be handled by event probes when the pad
5362           is not linked
5363
5364 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5365
5366         * gst/gstevent.c: (gst_event_type_get_name),
5367         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5368         * gst/gstevent.h:
5369           add string representations for event types
5370
5371 2005-10-06  Wim Taymans  <wim@fluendo.com>
5372
5373         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5374         Don't use NULL pointers.
5375
5376 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5377
5378         * gst/gst_private.h:
5379         * gst/gstbus.c:
5380         * gst/gstelement.c:
5381         * gst/gstinfo.c:
5382         * gst/gstpluginfeature.c:
5383           widen the debug category in output to fit the biggest one we have
5384           add a bus category and use it
5385           play with the colors
5386           fix up some categories
5387
5388 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5389
5390         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5391           add push activation of sink ghost pads.
5392           Andye, please verify
5393
5394 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5395
5396         * gst/gstutils.c: (gst_element_link_pads):
5397           fix a bug in the case where neither element has a pad
5398         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5399           add a test for that case
5400
5401 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5402
5403         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5404           emit have-data before checking for peers.  This allows
5405           for probe handlers to connect elements.  This helps autopluggers.
5406         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5407         (gst_pad_suite):
5408           add six checks, linked/unlinked with no/true/false probe
5409
5410 2005-10-04  Wim Taymans  <wim@fluendo.com>
5411
5412         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5413         (gst_fake_sink_event), (gst_fake_sink_preroll),
5414         (gst_fake_sink_render), (gst_fake_sink_change_state):
5415         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5416         (gst_fake_src_get_property), (gst_fake_src_create),
5417         (gst_fake_src_stop):
5418         * gst/elements/gstidentity.c: (gst_identity_stop):
5419         Protect last_message with lock.
5420
5421 2005-10-04  Edward Hervey  <edward@fluendo.com>
5422
5423         * gst/gstformat.h: 
5424         Added precision in the comments for GST_FORMAT_DEFAULT
5425
5426 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5427
5428         * tools/gst-launch.c: (main):
5429           Don't try to run erroneous pipelines.
5430
5431 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5432
5433         * gst/gstbus.c: We don't need this header.
5434
5435 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5436
5437         * configure.ac:
5438           back to development
5439
5440 === release 0.9.3 ===
5441
5442 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * README:
5445         * configure.ac:
5446           Releasing 0.9.3, "Unregistered"
5447
5448 2005-10-03  Andy Wingo  <wingo@pobox.com>
5449
5450         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5451         whereby calling a pad's activatepush() function can start a thread
5452         that starts to push or pull before the pad gets the FLUSHING flag
5453         unset. Hack around it by holding the stream lock until the flag is
5454         set. Need to replace this with a proper solution. Together with
5455         the ghost pad fixes, this fixes mp3 playing/tagreading.
5456
5457         * docs/design/part-gstghostpad.txt: Add a note about activation of
5458         proxy pads outside of ghost pads.
5459
5460         * gst/gstghostpad.c: Implement the ghost pad activation design.
5461
5462 2005-10-02  Andy Wingo  <wingo@pobox.com>
5463
5464         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5465         It is volatile, after all.
5466
5467         * docs/design/part-gstghostpad.txt: Flesh out activation with
5468         ghost pads.
5469
5470         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5471         GST_DEBUG_FUNCPTR.
5472
5473 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5474
5475         * configure.ac:
5476           Fix (unused) AM_CONDITIONAL tests.
5477
5478 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5479
5480         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5481
5482         * gst/gstutils.c: (gst_pad_query_convert):
5483           Add assertion that makes sure src_val is >=0, just like
5484           gst_query_new_convert() has. (#315895)
5485
5486 2005-09-30  Edward Hervey  <edward@fluendo.com>
5487
5488         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5489         Let's not iterate pads we're not interested in, it avoids getting 
5490         sky-high refcounts on sinkpad.
5491
5492 2005-09-30  Wim Taymans  <wim@fluendo.com>
5493
5494         * gst/gstelement.c: (gst_element_set_state),
5495         (gst_element_change_state):
5496         Small tweak, element in ASYNC remains ASYNC.
5497
5498 2005-09-30  Wim Taymans  <wim@fluendo.com>
5499
5500         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5501         Only error is an error.
5502
5503         * gst/gstbin.c: (gst_bin_change_state):
5504         Better debugging.
5505
5506         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5507         Also call pad_block in pad alloc.
5508
5509         * gst/gstutils.c: (gst_flow_get_name):
5510         Better debugging.
5511
5512 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5513
5514         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5515         (gst_base_src_get_range):
5516           Fix documentation typos. Add some more debug info.
5517
5518 2005-09-29  David Schleef  <ds@schleef.org>
5519
5520         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5521           more end-user friendly.
5522         * tools/gst-inspect.c: (main): Check if command-line argument is
5523           a file and attempt to load that file as a plugin.
5524
5525 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5526
5527         * check/gst/gstbin.c:
5528         * check/states/sinks.c:
5529           fix tests for the new warning
5530         * check/gst/gstpipeline.c:
5531           add a test for pipeline and bus interaction
5532         * gst/gstelement.c:
5533           elements should be NULL if they get disposed; add a warning if not
5534
5535 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * gst/gstobject.c:
5538           for 2.6 refcounting, make debug log more correct by printing
5539           the actual refcounts at the time of swap (Wim)
5540
5541 2005-09-29  Andy Wingo  <wingo@pobox.com>
5542
5543         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5544         removes signal watches previously added via
5545         gst_bus_add_signal_watch.
5546         (gst_bus_add_signal_watch): Don't return the source id, just store
5547         it on the bus if there wasn't an id already.
5548
5549         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5550         add_signal_watch and remove_signal_watch.
5551
5552 2005-09-29  Edward Hervey  <edward@fluendo.com>
5553
5554         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5555         Better if we actually iterate the list :)
5556
5557 2005-09-29  Wim Taymans  <wim@fluendo.com>
5558
5559         * check/gst/gstbin.c: (GST_START_TEST):
5560         Change for new bus API.
5561
5562         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5563         (send_messages), (GST_START_TEST), (gstbus_suite):
5564         Change for new bus signal API.
5565
5566         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5567         (gst_bus_source_prepare), (gst_bus_source_check),
5568         (gst_bus_create_watch), (gst_bus_add_watch_full),
5569         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5570         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5571         * gst/gstbus.h:
5572         Remove support for multiple GSources operating on different
5573         message types as it is too complex and unneeded when using
5574         signals.
5575         Added support for receiving signals from the bus.
5576
5577 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5578
5579         * docs/libs/tmpl/gstdataprotocol.sgml:
5580         * docs/manual/advanced-dataaccess.xml:
5581         * gst/elements/gstcapsfilter.c:
5582         * gst/gstutils.c:
5583           rename filter-caps to caps property
5584
5585 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5586
5587         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5588           More robust fraction string parsing.
5589
5590         * docs/pwg/appendix-porting.xml:
5591           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5592
5593 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5594
5595         * gst/gstcaps.c: (gst_caps_do_simplify):
5596           Thou shalt not free a structure and then continue using it
5597           in the next loop iteration.
5598
5599         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5600         (gst_caps_suite):
5601           Add test case for caps simplification.
5602
5603 2005-09-29  Wim Taymans  <wim@fluendo.com>
5604
5605         * check/gst/gstbin.c: (GST_START_TEST):
5606         Oops.
5607
5608 2005-09-29  Wim Taymans  <wim@fluendo.com>
5609
5610         * check/gst/gstbin.c: (GST_START_TEST):
5611         Add bus to bin.
5612
5613         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5614         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5615         (find_element), (gst_bin_sort_iterator_next),
5616         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5617         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5618         (gst_bin_change_state), (gst_bin_dispose):
5619         A bin does not have a bus, it gets the bus from the parent.
5620
5621         * gst/gstelement.c: (gst_element_requires_clock),
5622         (gst_element_provides_clock), (gst_element_is_indexable),
5623         (gst_element_is_locked_state), (gst_element_change_state),
5624         (gst_element_set_bus_func):
5625         Small cleanups.
5626
5627         * gst/gstpipeline.c: (gst_pipeline_class_init),
5628         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5629         The pipeline provides a bus.
5630
5631 2005-09-28  Johan Dahlin  <johan@gnome.org>
5632
5633         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5634         gst_structure_get_enum instead of gst_structure_get_int
5635
5636         * gst/gststructure.c (gst_structure_get_enum): Impl.
5637
5638         * gst/gststructure.h (gst_structure_get_enum): Add
5639
5640         * docs/gst/gstreamer-sections.txt: Ditto
5641
5642         * gst/gstmessage.c (gst_message_new_state_changed): Use
5643         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5644         which does introspection.
5645         Reviewed by Christian Schaller
5646
5647 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5648
5649         * gst/gstinfo.c: (gst_debug_log_default):
5650           don't do dummy g_strdup()s
5651         * libs/gst/controller/gstcontroller.c:
5652         (on_object_controlled_property_changed),
5653         (gst_controlled_property_new), (gst_controller_new_valist),
5654         (gst_controller_new_list),
5655         (gst_controller_remove_properties_valist), (gst_controller_set),
5656         (gst_controller_get), (gst_controller_sync_values),
5657         (gst_controller_get_value_array), (_gst_controller_class_init),
5658         (gst_controller_get_type):
5659         * libs/gst/controller/gstcontroller.h:
5660         * libs/gst/controller/gstinterpolation.c:
5661         (gst_controlled_property_find_timed_value_node):
5662           convert // to /**/ comments
5663
5664 2005-09-28  Wim Taymans  <wim@fluendo.com>
5665
5666         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5667         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5668         (gst_bus_sync_signal_handler):
5669         * gst/gstbus.h:
5670         Added async-message and sync-message signals to the bus.
5671         Added helper BusFunc to emit signals for all posted messages.
5672
5673         * gst/gstmessage.c: (gst_message_type_get_name),
5674         (gst_message_type_to_quark), (gst_message_get_type):
5675         * gst/gstmessage.h:
5676         Register quarks for message names.
5677
5678 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * docs/libs/gstreamer-libs-sections.txt:
5681         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5682         (gst_controller_new_list):
5683         * libs/gst/controller/gstcontroller.h:
5684           added another constructor for language bindings
5685
5686 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5687
5688         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5689           add another check
5690         * gst/gstbus.c:
5691           add some doc
5692         * gst/gstinfo.c: (_gst_debug_init):
5693           slightly more readable color for refcount debugging
5694
5695 2005-09-28  Wim Taymans  <wim@fluendo.com>
5696
5697         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5698         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5699         (find_element), (gst_bin_sort_iterator_next),
5700         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5701         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5702         (gst_bin_change_state), (gst_bin_dispose):
5703         Small doc fixes. get_clock -> provide_clock.
5704
5705         * gst/gstelement.c: (gst_element_class_init),
5706         (gst_element_provides_clock), (gst_element_provide_clock),
5707         (gst_element_get_clock), (gst_element_commit_state),
5708         (gst_element_lost_state):
5709         * gst/gstelement.h:
5710         Make get/set_clock() symetric. Add provide_clock vmethod since
5711         that is actually what this function does.
5712
5713         * gst/gstpipeline.c: (gst_pipeline_class_init),
5714         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5715         (gst_pipeline_get_clock):
5716         get_clock -> provide_clock.
5717
5718 2005-09-28  Andy Wingo  <wingo@pobox.com>
5719
5720         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5721         lieu of real docs...
5722
5723         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5724
5725 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5726
5727         * gst/elements/gstcapsfilter.c:
5728         * gst/elements/gstfakesink.c:
5729         * gst/elements/gstfakesrc.c:
5730         * gst/elements/gstfdsink.c:
5731         * gst/elements/gstfdsrc.c:
5732         * gst/elements/gstfilesink.c:
5733         * gst/elements/gstfilesrc.c:
5734         * gst/elements/gstidentity.c:
5735         * gst/elements/gsttee.c:
5736         * gst/elements/gsttypefindelement.c:
5737           Make element details static.
5738
5739 2005-09-28  Wim Taymans  <wim@fluendo.com>
5740
5741         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5742         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5743         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5744         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5745         (gst_bin_change_state), (gst_bin_dispose):
5746         Some documentation updates.
5747         Clean up dispose handlers.
5748
5749         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5750         * gst/gstpad.c: (gst_pad_dispose):
5751         Clean up dispose handler.
5752
5753         * gst/gstpipeline.c: (gst_pipeline_change_state):
5754         Removed spurious UNLOCK.
5755
5756 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * docs/gst/gstreamer-sections.txt:
5759         * gst/base/gstbasesrc.h:
5760         * gst/gstelement.h:
5761         * gst/gstevent.h:
5762         * gst/gstobject.h:
5763         * gst/gstpad.h:
5764         * gst/gstpipeline.c:
5765         * gst/gstpipeline.h:
5766         * gst/gstutils.h:
5767         * gst/gstxml.h:
5768           added two new functions to the docs
5769                 documents all undocumented GstXXXFlags
5770                 completed some incomplete docs 
5771
5772 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5773
5774         * gst/gstbin.c: (gst_bin_dispose):
5775         * gst/gstelement.c: (gst_element_dispose):
5776           remove now useless and leaky resurrection code in dispose
5777         * gst/base/gstbasesrc.c: (gst_base_src_init):
5778         * gst/gstelementfactory.c: (gst_element_factory_create):
5779         * gst/gstobject.c: (gst_object_set_parent):
5780           add some debugging
5781
5782 2005-09-27  Wim Taymans  <wim@fluendo.com>
5783
5784         * docs/design/part-TODO.txt:
5785         Update TODO.
5786
5787         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5788         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5789         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5790         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5791         (gst_bin_change_state):
5792         * gst/gstelement.h:
5793         Remove element variable, we keep element info in the iterator now.
5794
5795 2005-09-27  Andy Wingo  <wingo@pobox.com>
5796
5797         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5798         values.
5799
5800 2005-09-27  Wim Taymans  <wim@fluendo.com>
5801
5802         * check/gst/gstbin.c: (GST_START_TEST):
5803         Enable check that works now.
5804
5805         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5806         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5807         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5808         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5809         (gst_bin_change_state):
5810         * gst/gstbin.h:
5811         Redid the state change algorithm using a topological sort algo.
5812         Handles all cases correctly.
5813         Exposed iterator for state change order.
5814
5815         * gst/gstelement.h:
5816         Temp storage for state changes. Need to get rid of this soon.
5817
5818 2005-09-27  Wim Taymans  <wim@fluendo.com>
5819
5820         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5821         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5822         (link_fold_func), (gst_pad_proxy_setcaps):
5823         Leak fixes, the fold functions need to unref the passed object and
5824         _get_parent_*() returns ref to parent.
5825
5826 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5827
5828         * check/gst/gstbuffer.c: (test_make_writable):
5829           Plug leak in test case and fix 'make check-valgrind'
5830
5831 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5832
5833         * gst/gstbuffer.c: (gst_subbuffer_init):
5834           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5835           works correctly in all circumstances (we could have just copied
5836           the parent buffer's readonly flag, but conceptually it seems
5837           cleaner to mark all subbuffers as read-only). (based on patch
5838           by Alessandro Decina, #314710).
5839         
5840         * check/gst/gstbuffer.c: (create_read_only_buffer),
5841         (test_make_writable), (test_subbuffer_make_writable),
5842         (gst_test_suite):
5843           Add some tests for gst_buffer_make_writable().
5844
5845 2005-09-27  Wim Taymans  <wim@fluendo.com>
5846
5847         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5848         use gst_object_has_ancestor().
5849
5850         * gst/gstobject.c: (gst_object_has_ancestor):
5851         * gst/gstobject.h:
5852         gst_object_has_ancestor() copied from gstbin.c as it is a
5853         usefull function.
5854
5855         * tests/instantiate/create.c: (create_all_elements):
5856         * tests/lat.c: (handoff_src), (handoff_sink):
5857         * tests/sched/runxml.c: (main):
5858         * tests/seeking/seeking1.c: (main):
5859         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5860         (main):
5861         Fix compilation of some tests.
5862
5863 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5864
5865         * gst/gsterror.h:
5866           Remove comment. GST_TYPE_G_ERROR is here to stay,
5867           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5868           (#316961, #300610).
5869
5870 2005-09-26  Wim Taymans  <wim@fluendo.com>
5871
5872         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5873         Added check that shows error in state change order.
5874
5875 2005-09-26  Wim Taymans  <wim@fluendo.com>
5876
5877         * gst/gstbin.c: (gst_bin_change_state):
5878         Make state change function use 3 queues again, we were
5879         adding elements in the wrong order.
5880
5881         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5882         Some debug info,
5883
5884         * gst/gstpad.c: (gst_pad_dispose):
5885         Added some debug info first.
5886
5887 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5888
5889         * docs/design/draft-push-pull.txt:
5890         * docs/design/part-events.txt:
5891         * docs/design/part-overview.txt:
5892         * docs/design/part-scheduling.txt:
5893           Replace all _pull_region() with _pull_range()
5894           
5895 2005-09-26  Andy Wingo  <wingo@pobox.com>
5896
5897         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5898
5899         * check/gst-libs/controller.c: Update for controller api change.
5900
5901         * configure.ac: 
5902         * tests/Makefile.am:
5903         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5904         over by GLib bug 118439.
5905         
5906         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5907         routines to a function.
5908
5909         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5910
5911         * libs/gst/controller/gsthelper.c:
5912         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5913         (gst_object_sync_values): Renamed from sink_values. Ugh.
5914
5915         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5916
5917         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5918         Renamed from controller_key, as it is exported.
5919
5920         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5921
5922 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5923
5924         * gst/Makefile.am:
5925         * gst/gst.h:
5926         * gst/gstpad.h:
5927         * gst/gstpadtemplate.h:
5928         * gst/gstquery.c:
5929         * gst/gstquery.h:
5930         * gst/gstqueryutils.c:
5931         * gst/gstqueryutils.h:
5932           remove queryutils headers after moving the two used functions
5933           to gstquery.  also fixes build problem for gstsiddec
5934
5935 2005-09-26  Michael Smith <msmith@fluendo.com>
5936
5937         * tools/gst-launch.1.in:
5938         Correct documentation in manpage of debug syntax
5939
5940 2005-09-26  Wim Taymans  <wim@fluendo.com>
5941
5942         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5943         (gst_base_src_is_seekable), (gst_base_src_change_state):
5944         Some more debugging info.
5945
5946 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5947
5948         * docs/gst/gstreamer-sections.txt:
5949         * gst/base/gstbasetransform.h:
5950         * gst/gstindex.h:
5951           added more docs
5952
5953 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5954
5955         * docs/gst/.cvsignore:
5956         * docs/gst/tmpl/.cvsignore:
5957         * docs/gst/tmpl/gstpipeline.sgml:
5958         * docs/gst/tmpl/gstplugin.sgml:
5959         * gst/gstpipeline.c:
5960         * gst/gstplugin.c:
5961         * gst/gstplugin.h:
5962           inlined the last two docs files
5963           removed the tmpl directory from cvs (no more conflicts here!)
5964
5965 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5966
5967         * docs/gst/gstreamer-sections.txt:
5968         * docs/gst/tmpl/.cvsignore:
5969         * docs/gst/tmpl/gstpad.sgml:
5970         * docs/gst/tmpl/gstpadtemplate.sgml:
5971         * gst/Makefile.am:
5972         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5973         (gst_pad_finalize), (gst_pad_set_pad_template):
5974         * gst/gstpad.h:
5975         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5976         (gst_pad_template_class_init), (gst_pad_template_init),
5977         (gst_pad_template_dispose), (name_is_valid),
5978         (gst_static_pad_template_get), (gst_pad_template_new),
5979         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5980         (gst_pad_template_pad_created):
5981         * gst/gstpadtemplate.h:
5982           inlined two more docs
5983           factored gstpadtemplate out of gstpad
5984
5985 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5986
5987         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5988         (test_children_state_change_order_semi_sink):
5989           Fix test case: we can't rely on a fixed state change order when
5990           going from READY => PAUSED because the sink might commit its 
5991           new state first when the first buffer created by the source 
5992           reaches the sink before the source has finished its change state.
5993           (Test case still fails at times, see #316856, comment 5 onwards)
5994
5995 2005-09-24  Wim Taymans  <wim@fluendo.com>
5996
5997         * docs/design/part-events.txt:
5998         * docs/design/part-gstbus.txt:
5999         * docs/design/part-gstpipeline.txt:
6000         * docs/design/part-messages.txt:
6001         * docs/design/part-overview.txt:
6002         * docs/design/part-segments.txt:
6003         * gst/gstbin.c:
6004         * gst/gstbuffer.c:
6005         * gst/gstclock.c:
6006         * gst/gstelement.c:
6007         * gst/gstevent.c:
6008         * gst/gstfilter.c:
6009         * gst/gstiterator.c:
6010         Various documentation updates.
6011
6012 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6013
6014         * gst/gstclock.h:
6015           Well, that's embarassing.  Luckily we weren't using
6016           GST_CLOCK_DIFF anywhere.
6017
6018 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6019
6020         * common/gtk-doc.mak:
6021           don't fail on building XML, FC4 slave shows a bunch of doc
6022           missing bits that I don't get
6023         * gst/gstpad.c:
6024         * gst/gstpipeline.c:
6025         * gst/gststructure.c:
6026           some doc updates
6027
6028 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6029
6030         * docs/design/part-gstbin.txt:
6031         * docs/design/part-gstbus.txt:
6032         * gst/gstbus.c:
6033           Add blurb about how the bus goes into flushing mode and
6034           drops all messages when its bin goes from READY into NULL 
6035           state.
6036
6037 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6038
6039         * docs/gst/gstreamer-sections.txt:
6040         * gst/gststructure.c: (gst_structure_get_clock_time):
6041         * gst/gststructure.h:
6042           add a method to get a GstClockTime out of a structure
6043
6044 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6045
6046         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6047         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6048           Added test to check state change order in bins (can still be made
6049           to fail here under heavy disk load; bails out with 'Push on pad
6050           fakesink:sink0, but it was not activated in push mode').
6051
6052         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6053           Fix state change order when there is only a semi sink (#316856)
6054
6055         * gst/gstbus.c: (gst_bus_class_init):
6056           Use _class_peek_parent(), not _class_ref(); fix docs to say
6057           'default main context' instead of 'mainloop' where that is
6058           what's meant.
6059
6060         * gst/gstelement.c: (gst_element_commit_state),
6061         (gst_element_set_state):
6062           Fix typos in debug messages
6063
6064 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6065
6066         * docs/README:
6067         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6068         * gst/gstpluginfeature.c:
6069         * gst/gstutils.c:
6070           various doc updates
6071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6072           change an assert into an error until it gets fixed properly
6073
6074 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6075
6076         * docs/gst/gstreamer-sections.txt:
6077         * docs/gst/tmpl/.cvsignore:
6078         * docs/gst/tmpl/gstelement.sgml:
6079         * docs/gst/tmpl/gstinfo.sgml:
6080         * docs/gst/tmpl/gstobject.sgml:
6081         * gst/gstelement.c:
6082         * gst/gstelement.h:
6083         * gst/gstinfo.c:
6084         * gst/gstinfo.h:
6085         * gst/gstobject.c: (gst_object_class_init):
6086         * gst/gstobject.h:
6087           inlined 3 more biiiig doc files and added some missing docs on the fly
6088
6089 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6090
6091         * check/gst/.cvsignore:
6092         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6093         * gst/gstregistryxml.c: (load_plugin),
6094         (gst_registry_xml_save_plugin):
6095           put back source in registry.  add checks for find_plugin.
6096         * testsuite/states/bin.c: (assert_state), (empty_bin),
6097         (test_adding_one_element), (main):
6098         * testsuite/states/locked.c: (main):
6099           some compile/run fixes
6100
6101 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6102
6103         * check/gst/gstvalue.c: (GST_START_TEST):
6104           fix leaks in the test itself
6105
6106 2005-09-22  Wim Taymans  <wim@fluendo.com>
6107
6108         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6109         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6110         (gst_base_sink_query):
6111         Prepare for more accurate position reporting and query
6112         handling.
6113
6114         * gst/gstelement.c: (gst_element_send_event),
6115         (gst_element_set_state):
6116         Add some comment.
6117
6118 2005-09-22  Wim Taymans  <wim@fluendo.com>
6119
6120         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6121         (gst_query_parse_segment):
6122         * gst/gstquery.h:
6123         More documentation.
6124         Add segment query for future use.
6125
6126 2005-09-22  Wim Taymans  <wim@fluendo.com>
6127
6128         * gst/gstbin.c: (gst_bin_add_func):
6129         Some more debug info.
6130
6131         * gst/gstelement.c: (gst_element_send_event):
6132         Simplify send_event
6133
6134         * gst/gstelement.h:
6135         Don't know how flags got broken.
6136
6137         * gst/gstquery.h:
6138         Added new query.
6139
6140 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6141
6142         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6143           Add simplistic test suite for GST_TYPE_DATE serialisation and
6144           deserialisation.
6145
6146 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6147
6148         * docs/gst/gstreamer-sections.txt:
6149         * gst/gststructure.c: (gst_structure_set_valist),
6150         (gst_structure_get_date):
6151         * gst/gststructure.h:
6152         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6153         (gst_date_copy), (gst_value_compare_date),
6154         (gst_value_serialize_date), (gst_value_deserialize_date),
6155         (gst_value_transform_date_string),
6156         (gst_value_transform_string_date), (_gst_value_initialize):
6157         * gst/gstvalue.h:
6158           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6159           bunch of utility functions along with a hack that checks that
6160           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6161           is required. Part of the grand scheme in #170777.
6162
6163 2005-09-22  Andy Wingo  <wingo@pobox.com>
6164
6165         * gst/gstconfig.h.in: Psych out gtk-doc.
6166
6167         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6168
6169         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6170
6171         * tools/gst-inspect.c (print_element_list): Plug some
6172         inconsequential leaks.
6173
6174         * gst/gstregistry.c (gst_registry_get_default): Doc.
6175
6176         * check/gst/gstplugin.c: 
6177         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6178         * gst/gstelementfactory.c (gst_element_factory_create): 
6179         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6180         refcount changes.
6181
6182         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6183         (gst_plugin_feature_load): Doc, don't eat refs.
6184
6185         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6186         (gst_plugin_list_free): Doc.
6187         (gst_plugin_load_file): Doc updates.
6188
6189         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6190         accessors returning refcounted objects, return a ref.
6191
6192         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6193         accessor for caps. IDEMPOTENCE. Oh yes.
6194
6195 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6196
6197         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6200         (_gst_debug_register_funcptr):
6201           Add mutex to serialise access to the hash table with
6202           the function pointer => function name string mapping;
6203           make that hash table static scope (#316809).
6204
6205         * gst/registries/.cvsignore:
6206           Remove left-over file.
6207
6208 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6209
6210         * docs/pwg/appendix-porting.xml:
6211           And something about newsegment events and caps-on-buffers to
6212           the porting guide (feel free to improve).
6213
6214 2005-09-21  Andy Wingo  <wingo@pobox.com>
6215
6216         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6217         data and event probes on the same pad.
6218         (test_buffer_probe_once): Test that removing probes from within
6219         the probe functions works.
6220
6221 2005-09-21  Andy Wingo  <wingo@pobox.com>
6222
6223         * check/gst/gstutils.c: New file.
6224         (test_buffer_probe_n_times): A simple buffer probe test. More to
6225         come, foolios.
6226
6227         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6228         have-data::buffer, not have-data.
6229         (gst_pad_add_event_probe): Likewise for have-data::event.
6230         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6231         peer' isn't quite right yet though.
6232         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6233         (gst_pad_remove_data_probe): Change to take the guint handler_id
6234         as their arg, not the function+data, which is more glib-like.
6235
6236         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6237         the signal emission to indicate if the data is a buffer or an
6238         event.
6239         (gst_pad_get_type): Initialize buffer and event quarks.
6240         (gst_pad_class_init): have-data is now a detailed signal, yes it
6241         is.
6242
6243 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6246         * gst/gstutils.c: (gst_util_set_value_from_string),
6247         (gst_util_set_object_arg):
6248           Don't put functional code in g_return_if_fail() or
6249           g_return_val_if_fail() statements, otherwise things will 
6250           break when G_DISABLE_CHECKS is defined during compilation.
6251
6252 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6253
6254         * docs/gst/tmpl/.cvsignore:
6255         * docs/gst/tmpl/gstvalue.sgml:
6256         * gst/gstvalue.c:
6257         * gst/gstvalue.h:
6258           inlied another one and added  some obvious docs
6259
6260 2005-09-21  Wim Taymans  <wim@fluendo.com>
6261
6262         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6263         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6264         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6265         (gst_fdsrc_get_property), (gst_fdsrc_create):
6266         * gst/elements/gstfdsrc.h:
6267         Properly implement fdsrc. Removed signal and timeout,
6268         better implemented somewhere else.
6269
6270 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6271
6272         * docs/gst/tmpl/.cvsignore:
6273         * docs/gst/tmpl/gstimplementsinterface.sgml:
6274         * gst/gstinterface.c:
6275           inlined more docs
6276
6277 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6278
6279         * docs/gst/gstreamer-sections.txt:
6280         * docs/gst/tmpl/.cvsignore:
6281         * docs/gst/tmpl/gstenumtypes.sgml:
6282           remove obsolete doc file
6283
6284 2005-09-21  David Schleef  <ds@schleef.org>
6285
6286         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6287         little beer, fix a little leak.
6288
6289 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6290
6291         * docs/gst/gstreamer-docs.sgml:
6292         * docs/gst/gstreamer-sections.txt:
6293         * docs/gst/tmpl/.cvsignore:
6294         * gst/Makefile.am:
6295         * gst/gst.h:
6296         * gst/gstbin.c:
6297         * gst/gstelement.h:
6298         * gst/gstindex.c: (gst_index_class_init):
6299         * gst/gstindex.h:
6300         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6301         (gst_index_factory_class_init), (gst_index_factory_init),
6302         (gst_index_factory_finalize), (gst_index_factory_new),
6303         (gst_index_factory_destroy), (gst_index_factory_find),
6304         (gst_index_factory_create), (gst_index_factory_make):
6305         * gst/gstindexfactory.h:
6306         * gst/gstpluginfeature.c:
6307         * gst/gstpluginfeature.h:
6308         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6309           more docs inlined, splitted gstindex.{c,h}
6310
6311 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6312
6313         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6314           fix a leak
6315
6316 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6317
6318         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6319           Set sync to FALSE by default.
6320
6321 2005-09-20  Wim Taymans  <wim@fluendo.com>
6322
6323         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6324         (gst_base_sink_init):
6325         Make sync property settable from subclass.
6326
6327         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6328         (gst_fake_sink_change_state):
6329         Set sync to FALSE by default.
6330
6331 2005-09-20  Wim Taymans  <wim@fluendo.com>
6332
6333         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6334         * tools/gst-launch.c: (main):
6335         The timeout handler should have lower priority than the source
6336         so we don't timeout before popping a message with 0 timeout.
6337         Dump error messages after failed state change.
6338
6339 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * tools/gst-inspect.c: (print_element_properties_info):
6342           Fix two typos.
6343
6344 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6345
6346         * check/gst/gstevent.c:
6347         * gst/elements/gstfakesink.c:
6348         * gst/elements/gstfakesink.h:
6349           remove the sync property from fakesink.
6350           has the side effect of setting sync TRUE
6351           for fakesink, which is a change.  Anyone who knows how
6352           to fix this nicely in a GObject-y way, feel free.
6353
6354 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6355
6356         * docs/gst/gstreamer-docs.sgml:
6357           remove probe refsection
6358
6359 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6360
6361         * check/Makefile.am:
6362           disable valgrinding the controller test again
6363         * docs/gst/gstreamer-sections.txt:
6364           update for api-changes
6365
6366 2005-09-20  Wim Taymans  <wim@fluendo.com>
6367
6368         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6369         (gst_base_sink_set_property), (gst_base_sink_get_property),
6370         (gst_base_sink_do_sync):
6371         * gst/base/gstbasesink.h:
6372         Added sync property to basesink to disable clock sync.
6373
6374 2005-09-20  Andy Wingo  <wingo@pobox.com>
6375
6376         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6377         eating the caller's refcount.
6378
6379         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6380         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6381         refcount.
6382
6383         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6384         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6385         of GLib 2.8 public, so we can know which refcount to check in
6386         tests.
6387
6388         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6389         (gst_object_init): Only set the gst refcount if we're going ahead
6390         with the refcount hack.
6391
6392 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6393
6394         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6395         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6396           more leaks plumbed, added more debug-logging
6397         * gst/gstmacros.h:
6398           whitespace fix
6399
6400 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6401
6402         * gst/gstmessage.c:
6403           remove include of gstmemchunk.h
6404
6405 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6406
6407         * gst/gstclock.c: (_gst_clock_id_free):
6408           Commit from the Political Party For More Atomic CVS Commits,
6409           so that people don't waste too much of their day fishing
6410           out obvious leaks out of massive commits.
6411           Oh, and fix a pretty damn obvious leak in the memchunk
6412           removal code.
6413
6414 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6415
6416         * check/Makefile.am:
6417         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6418           plug mem-leak, re-add to valgrindable tests
6419
6420 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6421
6422         * gst/gstplugin.h:
6423           unbreak the build for those who have chronic arthritis
6424           and typing "make check" is just too taxing on the hands
6425
6426 2005-09-20  Andy Wingo  <wingo@pobox.com>
6427
6428         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6429         really want it out, you should fix plugins at the same time.
6430
6431 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6432
6433         * configure.ac:
6434         * docs/gst/gstreamer-sections.txt:
6435         * gst/gstobject.c:
6436           added missing symbols to api docs
6437           disable ref-count hack if we have glib >= 2.8
6438
6439 2005-09-19  David Schleef  <ds@schleef.org>
6440
6441         * docs/gst/Makefile.am: Ignore a few more internal headers
6442         * docs/gst/gstreamer-docs.sgml: Remove old sections
6443         * docs/gst/gstreamer-sections.txt: Remove old sections
6444         * docs/gst/tmpl/gstobject.sgml: update
6445         * docs/gst/tmpl/gstplugin.sgml: update
6446         * docs/gst/tmpl/gstpluginfeature.sgml: update
6447         * docs/random/ds/0.9-suggested-changes: update.
6448         * gst/Makefile.am: remove memchunk and trashstack, since they're
6449           not used.
6450         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6451         * gst/gst.h: don't include some headers
6452         * gst/gstchildproxy.c: add gstmarshal.h
6453         * gst/gstclock.c: Don't use memchunks
6454         * gst/gstminiobject.c: Add some docs
6455         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6456         * gst/gstobject.h: same
6457         * gst/gstplugin.c: include gstmacros.h
6458         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6459         * gst/gstquery.c: don't use memchunks
6460         * gst/gstregistry.c: rename gst_registry_deinit()
6461         * gst/gstregistry.h: same
6462
6463 2005-09-19  David Schleef  <ds@schleef.org>
6464
6465         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6466         * docs/libs/gstreamer-libs-sections.txt:
6467         * docs/libs/tmpl/gstgetbits.sgml:
6468         * docs/libs/tmpl/gstputbits.sgml:
6469
6470 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6471
6472         * win32/gstenumtypes.c:
6473         * win32/gstenumtypes.h:
6474           Update.
6475
6476 2005-09-19  Wim Taymans  <wim@fluendo.com>
6477
6478         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6479         Automatically PAUSE and RESUME a pipeline when a flushing seek
6480         is performed.
6481
6482 2005-09-19  Andy Wingo  <wingo@pobox.com>
6483
6484         * gst/gstregistry.h: Spacing fixen.
6485
6486 2005-09-19  Wim Taymans  <wim@fluendo.com>
6487
6488         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6489         Handle state change failure more correctly.
6490
6491 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6492
6493         * check/Makefile.am:
6494         * check/pipelines/cleanup.c: (run_pipeline):
6495         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6496         (GST_START_TEST):
6497           enable cleanup again after fixing the leak
6498         * docs/README:
6499           some more info on docs
6500
6501 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6502
6503         * check/Makefile.am:
6504           re-enable tests now that leaks are plugged
6505         * check/gst/gst.c:
6506         * check/gst/gstbin.c:
6507         * check/gst/gstpipeline.c:
6508           add some more tests while fixing leaks
6509         * common/check.mak:
6510           make sure binaries are uptodate when valgrinding/gdbing
6511         * gst/gst.c:
6512         * gst/gstelementfactory.c:
6513           remove a ref too many, and add a FIXME for when we get
6514           round to disposing of classes
6515         * gst/gstplugin.c:
6516           fix the refcounting when loading a plugin from a file and
6517           the code pretends that the pointer is the same even though
6518           of course it can change
6519         * gst/gstpluginfeature.c:
6520           unref plugins marked cached (a bit confusing as a name)
6521           as the docs state should be done
6522           various doc additions to explain refcounting
6523         * gst/gstregistry.c:
6524         * gst/gstregistryxml.c:
6525           debugging
6526
6527 2005-09-19  Wim Taymans  <wim@fluendo.com>
6528
6529         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6530         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6531         (send_messages), (GST_START_TEST), (gstbus_suite):
6532         * check/gst/gstpipeline.c: (GST_START_TEST):
6533         * check/pipelines/cleanup.c: (run_pipeline):
6534         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6535         (GST_START_TEST):
6536         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6537         (gst_bus_source_check), (gst_bus_source_dispatch),
6538         (gst_bus_create_watch), (gst_bus_add_watch_full),
6539         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6540         * gst/gstbus.h:
6541         * tools/gst-launch.c: (event_loop):
6542         * tools/gst-md5sum.c: (event_loop):
6543         GstBusHandler -> GstBusFunc, return value has the same meaning as
6544         any other GSource (FALSE == remove source).
6545         _add_watch() and _add_watch_full() now take a MessageType mask to
6546         only handle specific types of messages.
6547         _poll() returns the GstMessage instead of the message type to avoid
6548         race conditions.
6549         _have_pending() takes a MessageType mask now too.
6550         Added testsuite for multiple bus watches.
6551         Fix testsuites and applications for new bus API.
6552
6553 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6554
6555         * check/Makefile.am:
6556           mark a bunch of the tests as to fix until we fix them
6557
6558 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6559
6560         * common/check.mak:
6561           use GST_PLUGIN settings for valgrind tests as well, so we're
6562           valgrinding the correct thing
6563         * gst/gst.c: (init_post):
6564           plug another leak
6565
6566 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6567
6568         * gst/gst.c: (init_post), (gst_deinit):
6569         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6570         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6571         * gst/gstindex.c: (gst_index_factory_class_init),
6572         (gst_index_factory_finalize):
6573         * gst/gstobject.c: (gst_object_dispose):
6574         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6575         (gst_plugin_load_file), (gst_plugin_desc_free):
6576         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6577         (gst_plugin_feature_finalize):
6578         * gst/gstregistry.c: (gst_registry_class_init),
6579         (gst_registry_init), (gst_registry_finalize),
6580         (gst_registry_get_default), (gst_registry_deinit):
6581         * gst/gstregistry.h:
6582         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6583           various cleanups and memleak plugging.  make valgrind is happy now.
6584
6585 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6586
6587         * common/check.mak:
6588           add a check-valgrind target
6589
6590 2005-09-18  David Schleef  <ds@schleef.org>
6591
6592         * tools/gst-inspect.c: Revert the GOption code.
6593
6594 2005-09-17  David Schleef  <ds@schleef.org>
6595
6596         * check/Makefile.am: Fix environment variables.
6597         * check/gst/gstplugin.c: Fix for API changes.
6598         * tools/gst-inspect.c: Fix for API changes.
6599         * tools/gst-xmlinspect.c: Fix for API changes.
6600         * gst/gstelementfactory.c:
6601         * gst/gstplugin.c:
6602         * gst/gstplugin.h:
6603         * gst/gstpluginfeature.c:
6604         * gst/gstpluginfeature.h:
6605         * gst/gstregistry.c:
6606         * gst/gstregistry.h:
6607         * gst/gstregistryxml.c:
6608         * gst/gsttypefind.c:
6609         * gst/gsttypefindfactory.c:
6610         * gst/indexers/gstfileindex.c:
6611         * gst/indexers/gstmemindex.c:
6612         * gst/schedulers/Makefile.am:
6613           Change registry to keep track of both plugins and features,
6614           removing the feature tracking from plugins themselves.
6615
6616 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6617
6618         * check/Makefile.am:
6619         * tools/gst-register.1.in:
6620           remove gst-register
6621
6622 2005-09-15  David Schleef  <ds@schleef.org>
6623
6624         * check/gst/gstplugin.c:
6625         * gst/gstelementfactory.c:
6626         * gst/gstplugin.c:
6627         * gst/gstpluginfeature.c:
6628         * gst/gstregistry.c:
6629           Getting tired of debugging.  Disabled all the unreffing of
6630           plugins and features, which fixes the segfaults, but of
6631           course leaks like crazy.  At least playbin works.
6632
6633 2005-09-15  David Schleef  <ds@schleef.org>
6634
6635         * check/gst/gstplugin.c: (register_check_elements),
6636         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6637         More testing
6638         * gst/elements/gsttypefindelement.c: Fix refcounting.
6639         * gst/gsttypefind.c:
6640         * gst/gsttypefindfactory.c:
6641         * gst/gsttypefindfactory.h:
6642
6643 2005-09-15  David Schleef  <ds@schleef.org>
6644
6645         * gst/gstindex.c: get refcounting correct.
6646         * gst/gstregistry.c: Handle the case where a feature/plugin is
6647           not found.
6648
6649 2005-09-15  David Schleef  <ds@schleef.org>
6650
6651         * check/Makefile.am:
6652         * check/gst/gstplugin.c: Add test
6653         * gst/gstplugin.c: Fix problems noticed by testsuite
6654         * gst/gstplugin.h:
6655         * gst/gstregistry.c: 
6656         * gst/gstregistry.h:
6657
6658 2005-09-15  David Schleef  <ds@schleef.org>
6659
6660         * gst/gstplugin.c: Implement semi-decent recounting and locking
6661           in plugins and plugin features.
6662         * gst/gstplugin.h:
6663         * gst/gstpluginfeature.c:
6664         * gst/gstpluginfeature.h:
6665         * gst/gstregistry.c:
6666
6667 2005-09-15  Michael Smith <msmith@fluendo.com>
6668
6669         * gst/gstregistry.c: (gst_registry_get_feature_list):
6670           Implement this. Makes oggdemux work; decodebin still broken.
6671
6672 2005-09-14  David Schleef  <ds@schleef.org>
6673
6674         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6675           #316076)
6676         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6677         * gst/check/Makefile.am:
6678         * libs/gst/controller/Makefile.am:
6679         * libs/gst/dataprotocol/Makefile.am:
6680
6681 2005-09-14  David Schleef  <ds@schleef.org>
6682
6683         * configure.ac: Remove getbits library.  Nothing uses it, and
6684           it should be in something like liboil if someone did want
6685           to use it.
6686         * libs/gst/Makefile.am:
6687         * libs/gst/getbits/Makefile.am:
6688         * libs/gst/getbits/gbtest.c:
6689         * libs/gst/getbits/getbits.c:
6690         * libs/gst/getbits/getbits.h:
6691         * libs/gst/getbits/gstgetbits_generic.c:
6692         * libs/gst/getbits/gstgetbits_i386.s:
6693         * libs/gst/getbits/gstgetbits_inl.h:
6694
6695 2005-09-14  David Schleef  <ds@schleef.org>
6696
6697         * gst/Makefile.am: Dist glib-compat.h
6698
6699 2005-09-14  David Schleef  <ds@schleef.org>
6700
6701         * configure.ac: Remove gst/registries, since it's no longer used.
6702         * gst/registries/Makefile.am:
6703         * gst/registries/gstlibxmlregistry.c:
6704         * gst/registries/gstlibxmlregistry.h:
6705         * gst/registries/gstxmlregistry.c:
6706         * gst/registries/gstxmlregistry.h:
6707         * gst/registries/registrytest.c:
6708
6709 2005-09-14  David Schleef  <ds@schleef.org>
6710
6711         * gst/glib-compat.h:
6712         * gst/gstregistryxml.c:
6713           Convergence is near.  Seriously.
6714
6715 2005-09-14  David Schleef  <ds@schleef.org>
6716
6717         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6718         * gst/glib-compat.h:
6719           Attempt #4 to appease the buildbots.
6720
6721 2005-09-14  David Schleef  <ds@schleef.org>
6722
6723         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6724           Attempt #3.
6725
6726 2005-09-14  David Schleef  <ds@schleef.org>
6727
6728         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6729         Attempt #2.
6730
6731 2005-09-14  David Schleef  <ds@schleef.org>
6732
6733         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6734           the new functions.
6735
6736 2005-09-14  David Schleef  <ds@schleef.org>
6737
6738         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6739         * gst/glib-compat.h: Add some functions that are in newer versions
6740           of glib than we care to require.
6741         * gst/gstregistryxml.c: Use them.
6742
6743 2005-09-14  David Schleef  <ds@schleef.org>
6744
6745         * po/POTFILES.in: remove gst-register.c
6746
6747 2005-09-14  David Schleef  <ds@schleef.org>
6748
6749         * docs/gst/gstreamer-docs.sgml:
6750         * docs/gst/gstreamer-sections.txt:
6751         * docs/gst/gstreamer.types:
6752         * docs/gst/tmpl/gstelement.sgml:
6753         * docs/gst/tmpl/gstplugin.sgml:
6754         * docs/gst/tmpl/gstpluginfeature.sgml:
6755           Documentation updates for registry changes.
6756
6757 2005-09-14  David Schleef  <ds@schleef.org>
6758
6759         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6760           because we don't require glib-2.8.
6761
6762 2005-09-14  David Schleef  <ds@schleef.org>
6763
6764         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6765           registries directory.
6766
6767 2005-09-14  David Schleef  <ds@schleef.org>
6768
6769         * check/Makefile.am:
6770         * check/generic/states.c:
6771         * gst/Makefile.am:
6772         * gst/gst.c:
6773         * gst/gst.h:
6774         * gst/gst_private.h:
6775         * gst/gstelementfactory.c:
6776         * gst/gstindex.c:
6777         * gst/gstinfo.c:
6778         * gst/gstplugin.c:
6779         * gst/gstplugin.h:
6780         * gst/gstpluginfeature.c:
6781         * gst/gstpluginfeature.h:
6782         * gst/gstregistry.c:
6783         * gst/gstregistry.h:
6784         * gst/gstregistrypool.c: remove
6785         * gst/gstregistrypool.h: remove
6786         * gst/gsttypefind.c:
6787         * gst/gsttypefindfactory.c:
6788         * gst/gsturi.c:
6789         * tools/Makefile.am:
6790         * tools/gst-compprep.c:
6791         * tools/gst-inspect.c:
6792         * tools/gst-register.c: remove
6793         * tools/gst-xmlinspect.c:
6794           Registry rewrite.  Changes registry from being a file created
6795           by a tool into a simple cache file created automatically by 
6796           libgstreamer.  Removed gst-register (because it's no longer
6797           needed).  Remove registry pools, because we only have one
6798           registry implementation (XML).  Fix up other subsystems as
6799           necessary.
6800
6801 2005-09-13  Michael Smith <msmith@fluendo.com>
6802
6803         * gst/gstconfig.h.in:
6804           Don't Use windows linking attributes for MinGW. Fixes #316157
6805
6806 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6807
6808         * gst/gstutils.c: (set_state_async_thread_func),
6809         (gst_element_set_state_async):
6810           Apparently people think it's better if this function doesn't
6811           try to set the state to whatever state was asked for on the first
6812           call to this function for any object.  Seriously.
6813
6814 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6815
6816         * check/gst/gstpipeline.c: (GST_START_TEST):
6817         * docs/gst/gstreamer-sections.txt:
6818         * gst/gstutils.c: (set_state_async_thread_func),
6819         (gst_element_set_state_async):
6820         * gst/gstutils.h:
6821           add a "gst_element_set_state_async" method that
6822           sets the state and starts a thread to make sure the state
6823           change completes as best as it can
6824
6825 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6826
6827         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6828           codify design+behaviour in testsuite after discussion
6829
6830 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6831
6832         * docs/gst/tmpl/gstelement.sgml:
6833         * docs/manual/appendix-quotes.xml:
6834           add a quote
6835         * gst/gstelement.c: (gst_element_set_state):
6836           add some debug
6837
6838 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6839
6840         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6841         (gst_base_transform_prepare_output_buf),
6842         (gst_base_transform_handle_buffer):
6843         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6844         (gst_capsfilter_prepare_buf):
6845           Remove the requirement for sub-classes to call the parent
6846           implementation of prepare_output_buffer with a wrapper function.
6847           
6848         * gst/gsttaglist.h:
6849         * gst/gsttagsetter.h:
6850           Fix #define wrapper
6851
6852 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6853
6854         * docs/gst/gstreamer-sections.txt:
6855           more doc cleanups
6856
6857 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6858
6859         * docs/gst/gstreamer-sections.txt:
6860         * docs/gst/tmpl/gstelement.sgml:
6861         * docs/gst/tmpl/gstplugin.sgml:
6862         * gst/gstminiobject.c:
6863         * gst/gstvalue.h:
6864           docs now stop throwing warnings
6865
6866 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6867
6868         * docs/gst/gstreamer-sections.txt:
6869         * docs/gst/gstreamer.types:
6870         * docs/gst/tmpl/gstpad.sgml:
6871         * docs/gst/tmpl/gsttypes.sgml:
6872         * gst/base/gstadapter.h:
6873         * gst/base/gstbasesink.h:
6874         * gst/base/gstbasesrc.h:
6875         * gst/gstbin.h:
6876         * gst/gstbuffer.h:
6877         * gst/gstbus.h:
6878         * gst/gstcaps.h:
6879         * gst/gstclock.h:
6880         * gst/gstelement.h:
6881         * gst/gstevent.h:
6882         * gst/gstmessage.h:
6883         * gst/gstpad.h:
6884         * gst/gststructure.c:
6885         * gst/registries/gstlibxmlregistry.h:
6886           various documentation fixes
6887
6888 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6889
6890         * docs/gst/gstreamer-sections.txt:
6891         * docs/gst/tmpl/gstvalue.sgml:
6892           rearrange gstvalue section
6893         * gst/gstutils.c: (gst_element_state_get_name):
6894           NONE -> VOID
6895         * gst/gstvalue.c: (_gst_value_initialize):
6896         * gst/gstvalue.h:
6897           doc updates
6898
6899 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6900
6901         * check/gst-libs/controller.c:
6902           Header include fix.
6903         * gst/base/gstbasetransform.c:
6904         (gst_base_transform_default_prepare_buf),
6905         (gst_base_transform_handle_buffer):
6906         * gst/base/gstbasetransform.h:
6907           Some more basetransform changes and fixes to enable sub-classes
6908           that modify buffer metadata only.
6909         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6910         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6911         (gst_capsfilter_prepare_buf):
6912           If the output pad has fixed allowed caps and input buffers 
6913           don't have any, set the fixed caps on outgoing buffers.
6914
6915 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6916         * check/elements/identity.c: (GST_START_TEST):
6917           Make the error a little clearer when the test fails because
6918           identity made a copy of the buffer.
6919         * docs/gst/gstreamer-sections.txt:
6920           New symbols in gstbasetransform.h
6921         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6922         (gst_base_transform_init), (gst_base_transform_transform_size),
6923         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6924         (gst_base_transform_default_prepare_buf),
6925         (gst_base_transform_get_unit_size),
6926         (gst_base_transform_buffer_alloc),
6927         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6928         (gst_base_transform_change_state),
6929         (gst_base_transform_set_passthrough),
6930         (gst_base_transform_set_in_place),
6931         (gst_base_transform_is_in_place):
6932         * gst/base/gstbasetransform.h:
6933           Change BaseTransform to separate in_place operate from same_caps
6934           output. in_place implies that the element can perform the transform
6935           on incoming buffers in-place, even if the caps on the output are
6936           different.
6937           Sub-class elements can now implement special buffer allocation
6938           methods for outgoing buffers if they wish to.
6939           Big documentation addition.
6940         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6941         * gst/elements/gstelements.c:
6942           Changes for basetransform modifications.
6943         * gst/elements/Makefile.am:
6944         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6945           Compile fix. Extra debug output.
6946
6947 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6948
6949         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6950         (gst_pad_suite):
6951           add tests for valid pad naming
6952         * gst/check/gstcheck.c: (gst_check_log_message_func),
6953         (gst_check_log_critical_func):
6954           add ASSERT_WARNING
6955           remove printing of code, it is fragile when the code contains
6956           % and the line number is enough info
6957         * gst/check/gstcheck.h:
6958         * gst/gstpad.c: (gst_pad_template_new):
6959           fix memleaks
6960
6961 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6962
6963         * configure.ac:
6964           say what CHECK flags we use
6965         * docs/libs/gstreamer-libs.types:
6966         * libs/gst/controller/Makefile.am:
6967         * libs/gst/controller/gst-controller.c:
6968         * libs/gst/controller/gst-controller.h:
6969         * libs/gst/controller/gst-helper.c:
6970         * libs/gst/controller/gst-interpolation.c:
6971         * libs/gst/controller/gstcontroller.c:
6972         * libs/gst/controller/gsthelper.c:
6973         * libs/gst/controller/gstinterpolation.c:
6974         * tools/gst-inspect.c: (print_plugin_info):
6975           we don't use dashes in header names
6976
6977 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6978
6979         * check/Makefile.am:
6980         * check/gst/.cvsignore:
6981         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6982         (gst_pipeline_suite), (main):
6983           adding a test for pipelines and state changes
6984         * gst/gstutils.c: (get_state_func):
6985           add some debugging
6986         * gstreamer.spec.in:
6987           fix up spec file
6988
6989 2005-09-08  Michael Smith <msmith@fluendo.com>
6990
6991         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6992         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6993         (gst_file_src_is_seekable), (gst_file_src_get_size),
6994         (gst_file_src_start):
6995         * gst/elements/gstfilesrc.h:
6996           Various fixes for unseekable, unmmapable, and non-normal files, so
6997           that fallback to read() rather than mmap() works.
6998         * gst/gstevent.c: (gst_event_new_newsegment):
6999           Allow newsegment events with segment_start == segment_end, as will
7000           correctly happen if you use filesrc on a zero-size file, for
7001           example.
7002
7003 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7004
7005         * gst/gstplugin.c: (gst_plugin_load_file):
7006           Call g_module_close when we don't load the module
7007
7008         * gst/registries/gstlibxmlregistry.c:
7009         (gst_xml_registry_get_property):
7010           Port leak fix from 0.8
7011
7012 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7013
7014         * docs/gst/gstreamer-docs.sgml:
7015         * docs/gst/tmpl/.cvsignore:
7016         * docs/gst/tmpl/gsttrace.sgml:
7017         * docs/gst/tmpl/gsttrashstack.sgml:
7018         * gst/Makefile.am:
7019         * gst/gst.h:
7020         * gst/gstelement.h:
7021         * gst/gstevent.h:
7022         * gst/gstmessage.c:
7023         * gst/gstmessage.h:
7024         * gst/gsttag.c:
7025         * gst/gsttag.h:
7026         * gst/gsttaginterface.c:
7027         * gst/gsttaginterface.h:
7028         * gst/gsttaglist.c:
7029         * gst/gsttaglist.h:
7030         * gst/gsttagsetter.c:
7031         * gst/gsttagsetter.h:
7032         * gst/gsttrace.c:
7033         * gst/gsttrace.h:
7034         * gst/gsttrashstack.c:
7035           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7036           inlined docs for gsttrace, gsttrashstack
7037
7038 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7039
7040         * gst/Makefile.am:
7041         * gst/elements/gstbufferstore.h:
7042         * gst/elements/gsttypefindelement.c:
7043         * gst/elements/gsttypefindelement.h:
7044         * gst/gst.h:
7045         * gst/gsttypefind.c:
7046         * gst/gsttypefind.h:
7047         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7048         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7049         (gst_type_find_factory_dispose),
7050         (gst_type_find_factory_unload_thyself),
7051         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7052         (gst_type_find_factory_get_caps),
7053         (gst_type_find_factory_get_extensions),
7054         (gst_type_find_factory_call_function):
7055         * gst/gsttypefindfactory.h:
7056         * gst/registries/gstlibxmlregistry.c:
7057         * gst/registries/gstxmlregistry.c:
7058           splitted gsttypefind into gsttypefind, gsttypefindfactory
7059
7060 2005-09-07  Andy Wingo  <wingo@pobox.com>
7061
7062         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7063         condition whereby the pad's task function is entered before the
7064         pad_mode variable was set.
7065
7066 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7067
7068         * gst/gstpad.c: (gst_pad_alloc_buffer):
7069           Catch misbehaving pad_alloc functions that don't
7070           set up caps and do it for them.
7071
7072 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7073
7074         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7075           test for pipe!=NULL
7076         * docs/gst/tmpl/.cvsignore:
7077         * docs/gst/tmpl/gstmemchunk.sgml:
7078         * docs/gst/tmpl/gstparse.sgml:
7079         * docs/gst/tmpl/gsttaglist.sgml:
7080         * docs/gst/tmpl/gsttagsetter.sgml:
7081         * docs/gst/tmpl/gsttypefind.sgml:
7082         * docs/gst/tmpl/gsttypefindfactory.sgml:
7083         * gst/gstmemchunk.c:
7084         * gst/gstparse.c:
7085         * gst/gsttag.c:
7086         * gst/gsttaginterface.c:
7087         * gst/gsttypefind.c:
7088         * gst/gsttypefind.h:
7089           inlined more docs
7090
7091 === release 0.9.2 ===
7092
7093 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7094
7095         * NEWS:
7096         * RELEASE:
7097         * configure.ac:
7098           releasing 0.9.2, "South"
7099
7100 2005-09-05  Andy Wingo  <wingo@pobox.com>
7101
7102         * gst/registries/gstxmlregistry.h:
7103         * gst/registries/gstxmlregistry.c: Um... resurrect...
7104         
7105         * gst/registries/gstxmlregistry.h:
7106         * gst/registries/gstxmlregistry.c: and update to newer API.
7107         Incidentally they should be a bit faster now that they don't have
7108         to parse the caps.
7109         
7110 2005-09-05  Andy Wingo  <wingo@pobox.com>
7111
7112         * gst/registries/gstxmlregistry.h:
7113         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7114         replaced by the libxml registry a while back
7115
7116 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7117
7118         * docs/gst/tmpl/gstplugin.sgml:
7119         * gst/elements/gstelements.c:
7120         * gst/gst.c:
7121         * gst/gstplugin.c: (gst_plugin_register_func),
7122         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7123         (gst_plugin_get_source):
7124         * gst/gstplugin.h:
7125         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7126         (gst_xml_registry_save_plugin):
7127         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7128         (gst_xml_registry_save_plugin):
7129         * tools/gst-inspect.c: (print_plugin_info):
7130           add a "source" plugin description field, to represent the source
7131           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7132           will set it to PACKAGE, which is automake's idea of the name of
7133           the source project.
7134
7135 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7136
7137         * Makefile.am:
7138         * autogen.sh:
7139         * configure.ac:
7140         * docs/Makefile.am:
7141         * docs/faq/Makefile.am:
7142         * docs/gst/tmpl/gstelement.sgml:
7143         * docs/gst/tmpl/gsttypes.sgml:
7144         * docs/htmlinstall.mak:
7145         * docs/manual/Makefile.am:
7146         * docs/pwg/Makefile.am:
7147           reorganize doc build a little
7148           split out docbook and gtk-doc stuff
7149           have two separate --enable's and enable them through autogen
7150           but disable by default in configure (to be similar to other
7151           projects)
7152         * gstreamer.spec.in:
7153           clean up docs install
7154         * po/af.po:
7155         * po/az.po:
7156         * po/ca.po:
7157         * po/cs.po:
7158         * po/de.po:
7159         * po/en_GB.po:
7160         * po/fr.po:
7161         * po/it.po:
7162         * po/nb.po:
7163         * po/nl.po:
7164         * po/ru.po:
7165         * po/sq.po:
7166         * po/sr.po:
7167         * po/sv.po:
7168         * po/tr.po:
7169         * po/uk.po:
7170         * po/vi.po:
7171           translation updates
7172
7173 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7174
7175         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7176           Add comment.
7177           
7178         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7179         (gst_fake_sink_change_state):
7180           Make state change function thread-safe.
7181           
7182         * gst/gstpad.c: (gst_pad_alloc_buffer):
7183           Set offset on generic buffer allocated by fallback.
7184
7185 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7186
7187         * docs/gst/gstreamer-sections.txt:
7188         * docs/gst/tmpl/gstelement.sgml:
7189         * gst/gstpad.c:
7190         * libs/gst/controller/gst-controller.c:
7191         (gst_controlled_property_set_interpolation_mode),
7192         (gst_controlled_property_new),
7193         (gst_controller_find_controlled_property):
7194          run the wingo-magic script against the docs
7195
7196 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7197
7198         * docs/gst/gstreamer-docs.sgml:
7199         * docs/gst/gstreamer-sections.txt:
7200         * docs/gst/tmpl/.cvsignore:
7201         * docs/gst/tmpl/gstelementdetails.sgml:
7202         * docs/gst/tmpl/gstelementfactory.sgml:
7203         * gst/gst.c:
7204         * gst/gstbus.c:
7205         * gst/gstelementfactory.c:
7206         * gst/gstelementfactory.h:
7207           merged elementdetails docs into elementfactory docs
7208           inlined both
7209
7210 2005-09-02  Andy Wingo  <wingo@pobox.com>
7211
7212         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7213         consider this enum an enum and not a flags.
7214
7215 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7216
7217         * docs/gst/gstreamer-docs.sgml:
7218         * docs/gst/tmpl/.cvsignore:
7219         * docs/gst/tmpl/gstghostpad.sgml:
7220         * docs/gst/tmpl/gstiterator.sgml:
7221         * docs/gst/tmpl/gstmacros.sgml:
7222         * docs/gst/tmpl/gstrealpad.sgml:
7223         * docs/gst/tmpl/gstregistry.sgml:
7224         * docs/gst/tmpl/gstregistrypool.sgml:
7225         * docs/gst/tmpl/gststructure.sgml:
7226         * docs/gst/tmpl/gstsystemclock.sgml:
7227         * docs/gst/tmpl/gsttrace.sgml:
7228         * gst/gstghostpad.c:
7229         * gst/gstmacros.h:
7230         * gst/gstmemchunk.c:
7231         * gst/gstmemchunk.h:
7232         * gst/gstqueue.c:
7233         * gst/gstregistry.c:
7234         * gst/gstregistrypool.c:
7235         * gst/gststructure.c:
7236         * gst/gstsystemclock.c:
7237           more docs inlined
7238
7239 2005-09-02  Andy Wingo  <wingo@pobox.com>
7240
7241         * gst/gstelement.h (GstState): Renamed from GstElementState,
7242         changed to be a normal enum instead of flags.
7243         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7244         munged to be GST_STATE_CHANGE_*.
7245         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7246         work with the new state representation.
7247         (GstStateChange): New enumeration of possible state transitions.
7248         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7249         (GstElementClass::change_state): Pass the GstStateChange along as
7250         an argument. Helps language bindings, so they don't have to use
7251         tricky lock-needing macros like GST_STATE_CHANGE ().
7252
7253         * scripts/update-states (file): New script. Run it on a file to
7254         update it for state naming and API changes. Updates files in
7255         place.
7256
7257         * All files updated for the new API.
7258
7259 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7260
7261         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7262         * gst/gstutils.c: (gst_util_set_value_from_string),
7263         (gst_util_set_object_arg):
7264           fix a bunch of unchecked return values
7265         * tools/gst-complete.c: (main):
7266         * gstreamer.spec.in:
7267           clean up a little
7268
7269 2005-09-01  Wim Taymans  <wim@fluendo.com>
7270
7271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7272         (gst_base_sink_event), (gst_base_sink_do_sync),
7273         (gst_base_sink_handle_event):
7274         * gst/base/gstbasesink.h:
7275         Handle newsegments more correctly.
7276
7277         * gst/gstbus.c:
7278         Fix docs.
7279
7280         * gst/gstevent.c: (gst_event_new_newsegment):
7281         A newsegment cannot have a start_time of -1
7282
7283 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7284
7285         * win32/gstenumtypes.c:
7286         * win32/gstenumtypes.h:
7287           Update
7288
7289 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7290
7291         * libs/gst/controller/gst-controller.c:
7292         (gst_controlled_property_set_interpolation_mode),
7293         (gst_controlled_property_new):
7294          fixed boolean again
7295
7296 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7297
7298         * docs/faq/gst-uninstalled:
7299           add -good
7300         * gst/gstevent.c:
7301         * gst/gstevent.h:
7302           remove wrong docs
7303         * gst/gstutils.c: (gst_element_link_filtered):
7304         * gst/gstutils.h:
7305           add gst_element_link_filtered
7306
7307 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7308
7309         * docs/gst/gstreamer-docs.sgml:
7310         * docs/gst/gstreamer-sections.txt:
7311         * docs/gst/tmpl/.cvsignore:
7312         * docs/gst/tmpl/gsterror.sgml:
7313         * docs/gst/tmpl/gstfilter.sgml:
7314         * docs/gst/tmpl/gsturihandler.sgml:
7315         * docs/gst/tmpl/gsturitype.sgml:
7316         * docs/gst/tmpl/gstutils.sgml:
7317         * docs/gst/tmpl/gstxml.sgml:
7318         * gst/gsterror.c:
7319         * gst/gsterror.h:
7320         * gst/gstfilter.c:
7321         * gst/gsturi.c:
7322         * gst/gsturitype.c:
7323         * gst/gstutils.c:
7324         * gst/gstxml.c:
7325           inlined more docs, fixed double id-ref
7326
7327 2005-08-31  Wim Taymans  <wim@fluendo.com>
7328
7329         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7330         (gst_base_transform_handle_buffer):
7331         Passthrough elements don't need the caps as they don't care.
7332
7333 2005-08-31  Wim Taymans  <wim@fluendo.com>
7334
7335         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7336         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7337         Don't leak refcounts on buffers.
7338
7339 2005-08-31  Wim Taymans  <wim@fluendo.com>
7340
7341         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7342         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7343         (gst_base_transform_chain), (gst_base_transform_change_state):
7344         * gst/base/gstbasetransform.h:
7345         Handle the case where we are not negotiated more gracefully.
7346
7347 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7348
7349         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7350         (gst_file_src_map_region):
7351           Set READONLY flag on mmap'ed buffers, otherwise
7352           gst_buffer_make_writable() won't work properly (#314708).
7353
7354 2005-08-31  Wim Taymans  <wim@fluendo.com>
7355
7356         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7357         passthrough elements can even do inplace on non writable
7358         buffers (as they don't touch them).
7359
7360 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7361
7362         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7363         (gst_test_mono_source_set_property),
7364         (gst_test_mono_source_class_init), (GST_START_TEST),
7365         (gst_controller_suite):
7366           more tests (hehe I have the most)
7367         * gst/gstbus.c:
7368           describe popping messages whenusing mulltiple sources
7369         * libs/gst/controller/gst-controller.c:
7370         (gst_controlled_property_set_interpolation_mode),
7371         (gst_controlled_property_new):
7372         * libs/gst/controller/gst-controller.h:
7373         * libs/gst/controller/gst-interpolation.c:
7374           implement boolean properties
7375
7376 2005-08-31  Wim Taymans  <wim@fluendo.com>
7377
7378         * gst/gstminiobject.c: (gst_mini_object_ref):
7379         Cannot assert that the refcount has to be positive
7380         since a disposed object can be resurrected.
7381
7382 2005-08-31  Wim Taymans  <wim@fluendo.com>
7383
7384         * gst/gstpad.c: (gst_pad_init):
7385         Revert change, need to first fix badly behaving 
7386         apps.
7387
7388 2005-08-30  Wim Taymans  <wim@fluendo.com>
7389
7390         * check/elements/fakesrc.c: (setup_fakesrc):
7391         * check/elements/identity.c: (setup_identity):
7392         Activate pads before using them.
7393
7394 2005-08-30  Wim Taymans  <wim@fluendo.com>
7395
7396         * gst/base/gstadapter.c: (gst_adapter_flush):
7397         Flushing out 0 bytes is ok for this function.
7398
7399         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7400         no newsegment gives a warning and sets the start/stop to 
7401         invalid.
7402
7403         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7404         (gst_base_transform_set_passthrough):
7405         Some debug info.
7406
7407         * gst/gstminiobject.c: (gst_mini_object_ref):
7408         Check refcount here too.
7409
7410         * gst/gstpad.c: (gst_pad_init):
7411         Pads are initially flushing and refusing data.
7412
7413         * gst/gstutils.c: (gst_element_link_pads_filtered):
7414         When adding a capsfilter element make sure it has the
7415         same state as the parent bin.
7416
7417 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7418
7419         * docs/gst/tmpl/.cvsignore:
7420         * docs/gst/tmpl/gstformat.sgml:
7421         * docs/gst/tmpl/gstversion.sgml:
7422         * gst/gstbus.h:
7423         * gst/gstformat.c:
7424         * gst/gstformat.h:
7425         * gst/gstversion.h.in:
7426           more docs and two more inlined
7427
7428 2005-08-30  Wim Taymans  <wim@fluendo.com>
7429
7430         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7431         Don't sync to clock.
7432
7433 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7434
7435         * docs/gst/gstreamer-sections.txt:
7436           ultral33t func10ns deserve to appear in the docs actually
7437         * docs/gst/tmpl/.cvsignore:
7438         * docs/gst/tmpl/gstcompat.sgml:
7439         * docs/gst/tmpl/gstconfig.sgml:
7440         * gst/check/gstcheck.c:
7441         * gst/gstcompat.h:
7442         * gst/gstconfig.h.in:
7443           inlined more docs
7444
7445 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7446
7447         * docs/gst/tmpl/.cvsignore:
7448         * docs/gst/tmpl/gstquery.sgml:
7449         * docs/gst/tmpl/gstutils.sgml:
7450         * gst/gstquery.c:
7451         * gst/gstquery.h:
7452           inlined and extended docs
7453
7454 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7455
7456         * check/gst-libs/controller.c: (GST_START_TEST),
7457         (gst_controller_suite):
7458           more tests
7459         * docs/gst/tmpl/gstutils.sgml:
7460         * docs/libs/gstreamer-libs-sections.txt:
7461         * docs/libs/tmpl/gstdataprotocol.sgml:
7462           include path fixes
7463         * examples/controller/audio-example.c: (main):
7464           controller example works now
7465         * gst/gstclock.h:
7466           doc fixes
7467         * tools/gst-inspect.c: (print_element_properties_info):
7468           show param spec flags
7469
7470 2005-08-29  Andy Wingo  <wingo@pobox.com>
7471
7472         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7473
7474 2005-08-28  Andy Wingo  <wingo@pobox.com>
7475
7476         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7477         as having two arguments instead of just one. Allows superclasses
7478         to access information on subclasses -- see the terrible for() loop
7479         in gtype.c:g_type_create_instance for the reason why. All callers
7480         changed.
7481
7482 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7483
7484         * docs/design/part-messages.txt:
7485           update info
7486         * docs/gst/tmpl/.cvsignore:
7487         * docs/gst/tmpl/gstcaps.sgml:
7488         * docs/gst/tmpl/gstclock.sgml:
7489         * gst/gstbus.c:
7490         * gst/gstcaps.c:
7491         * gst/gstcaps.h:
7492         * gst/gstclock.c:
7493         * gst/gstclock.h:
7494         * gst/gstmessage.c:
7495           added descriptions for bus and message
7496           inline caps and clock docs
7497
7498 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7499
7500         * gst/gstmessage.c:
7501         * gst/gstmessage.h:
7502           doc fixes
7503
7504 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7505
7506         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7507           fix div-by-zero
7508
7509 2005-08-26  Andy Wingo  <wingo@pobox.com>
7510
7511         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7512         element_set_state's return val.
7513         (test_2_elements): Add test that's been disabled for months.
7514
7515         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7516         can-activate-pull properties.
7517
7518         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7519         can-activate-pull properties. Implement is_seekable so fakesrc can
7520         operate in pull mode.
7521
7522         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7523         properties.
7524         (gst_base_sink_activate, gst_base_sink_activate_pull)
7525         (gst_base_sink_activate_push): Make activation mode choosing work.
7526         Cleanups.
7527         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7528         is right. Make pull mode work. Post an eos before pausing in pull
7529         mode.
7530         (gst_base_sink_change_state): Pay attention to the core's
7531         change_state() return val.
7532         
7533         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7534         has-getrange properties. Cleanups.
7535         
7536         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7537         has_getrange and replace with can_activate_pull and
7538         can_activate_push.
7539
7540         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7541         locking comments. Remove has_loop, has_chain and replace with
7542         can_activate_pull and can_activate_push.
7543
7544 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7545
7546         * configure.ac:
7547         * examples/Makefile.am:
7548         * examples/metadata/Makefile.am:
7549         * examples/metadata/read-metadata.c: (message_loop),
7550         (have_pad_handler), (make_pipeline), (print_tag), (main):
7551           Add metadata reading example that loops over a list of filenames,
7552           dumping any tags found.
7553
7554         * gst/gstbus.c: (gst_bus_dispose):
7555         * gst/gstelement.c: (gst_element_dispose):
7556           Release a few potentially-held references in dispose.
7557
7558 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7559
7560         * docs/gst/tmpl/gstminiobject.sgml:
7561           do *not* add tmpl/*.sgml files to CVS!
7562
7563 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7564
7565         * libs/gst/bytestream/.cvsignore:
7566         * libs/gst/bytestream/Makefile.am:
7567         * libs/gst/bytestream/adapter.c:
7568         * libs/gst/bytestream/adapter.h:
7569         * libs/gst/bytestream/bytestream.c:
7570         * libs/gst/bytestream/bytestream.h:
7571         * libs/gst/bytestream/filepad.c:
7572         * libs/gst/bytestream/filepad.h:
7573           removing obsolete files
7574
7575 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7576
7577         * docs/gst/gstreamer-docs.sgml:
7578         * docs/libs/gstreamer-libs-docs.sgml:
7579           disabed additional index entries again, as this makes docs-gen just
7580           slow and they aren't useful yet
7581         * docs/libs/gstreamer-libs-sections.txt:
7582           little -section.txt cleanup for libs
7583
7584 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7585
7586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7587         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7588           fix up some debugging
7589         (gst_base_transform_get_unit_size),
7590         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7591         (gst_base_transform_handle_buffer):
7592         * gst/base/gstbasetransform.h:
7593           handle and store timed NEWSEGMENT events so that subclasses that
7594           calculate time by counting samples have a segment_start time they
7595           need to add to their timestamps - see audioresample
7596
7597 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7598
7599         * gst/gstbin.h:
7600           removed ';' from the end of macro defs
7601         * docs/gst/gstreamer-docs.sgml:
7602         * docs/gst/gstreamer-sections.txt:
7603         * docs/gst/tmpl/.cvsignore:
7604         * gst/gstbus.h:
7605         * gst/gstelement.c: (gst_element_class_init),
7606         (gst_element_set_state), (activate_pads),
7607         (gst_element_save_thyself):
7608         * gst/gstevent.c: (gst_event_new_newsegment):
7609         * gst/gstevent.h:
7610         * gst/gstiterator.c:
7611         * gst/gstiterator.h:
7612         * gst/gstpad.c:
7613         * gst/gstprobe.h:
7614         * gst/gstutils.c: (gst_pad_query_convert):
7615         * gst/gstutils.h:
7616           fixed parameter name mismatches between source, header and docs
7617           added some more docs, resolved the last batch of unused elements in
7618           docs (now someone needs to doc them)
7619
7620 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7621
7622         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7623         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7624           don't walk through the plugins backwards.  Where is all this
7625           reversed logic coming from ?
7626
7627 2005-08-25  Wim Taymans  <wim@fluendo.com>
7628
7629         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7630         (gst_base_transform_transform_size),
7631         (gst_base_transform_configure_caps),
7632         (gst_base_transform_get_unit_size),
7633         (gst_base_transform_buffer_alloc),
7634         (gst_base_transform_change_state):
7635         * gst/base/gstbasetransform.h:
7636         Cache caps unit_size.
7637         Make sure we cannot negotiate up and downstream at the
7638         same time.
7639
7640 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7641
7642         * gst/gst.c: (init_pre), (init_post):
7643           register the installed plugin path after the env var
7644         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7645         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7646           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7647           directories, so the tests can prefer uninstalled over installed
7648
7649 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7650
7651         * gst/base/gstbasetransform.h:
7652           comment
7653         * gst/gstpad.c:
7654           add to docs
7655
7656 2005-08-25  Wim Taymans  <wim@fluendo.com>
7657
7658         * gst/gstbin.c: (bin_bus_handler):
7659         Be a bit more conservative about the posted message.
7660         
7661         * gst/gstbus.c: (gst_bus_post):
7662         Some cleanups, warn wrong return values.
7663
7664 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7665
7666         * check/gst/gstbin.c: (GST_START_TEST):
7667         * gst/gstbin.c: (bin_bus_handler):
7668         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7669         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7670         (gst_message_new_warning), (gst_message_new_tag),
7671         (gst_message_new_state_changed), (gst_message_new_segment_start),
7672         (gst_message_new_segment_done), (gst_message_new_custom):
7673         * gst/gstmessage.h:
7674         * tools/gst-launch.c: (event_loop):
7675         * tools/gst-md5sum.c: (event_loop):
7676           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7677
7678 2005-08-25  Wim Taymans  <wim@fluendo.com>
7679
7680         * check/generic/states.c: (GST_START_TEST):
7681         Cleanup can be done at the end.
7682
7683         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7684         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7685         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7686         Oh boy.. Thanks for finding this, Thomas. 
7687
7688 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7689
7690         * docs/gst/gstreamer.types:
7691           added missing types
7692
7693 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7694
7695         * docs/gst/gstreamer-docs.sgml:
7696         * docs/gst/gstreamer-sections.txt:
7697         * docs/gst/tmpl/.cvsignore:
7698         * gst/gstbin.c:
7699         * gst/gstiterator.c:
7700         * gst/gstutils.c:
7701         * gst/registries/gstxmlregistry.h:
7702           added missing classes and symbols (123 more to go)
7703           removed removed symbols from section file
7704           fixed many doc-comments
7705
7706 2005-08-24  Wim Taymans  <wim@fluendo.com>
7707
7708         * check/generic/states.c: (GST_START_TEST):
7709         Make sure all tasks are stopped.
7710
7711         * check/gst/gstbin.c: (GST_START_TEST):
7712         Unref after usage for proper valgrinding.
7713
7714         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7715         Really wait for the task to stop before destroying the
7716         mutex.
7717
7718         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7719         (gst_queue_src_activate_push):
7720         Small cleanups. Don't stop the task when we did not start
7721         it.
7722
7723         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7724         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7725         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7726         (gst_task_join):
7727         * gst/gsttask.h:
7728         Protect the stream lock with the object lock.
7729         Disallow setting the stream lock when running.
7730         Add cleanup_all to wait for the threadpool to finish.
7731         Remove code to autoallocate a mutex if none was provided.
7732         Add _join() to wait for a task to stop.
7733         Protect the thread pool with a global lock.
7734
7735 2005-08-24  Wim Taymans  <wim@fluendo.com>
7736
7737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7738         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7739         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7740         * gst/base/gstbasesink.h:
7741         Handle newsegment events correctly.
7742         Drop buffers out of the segment range.
7743
7744 2005-08-22  Andy Wingo  <wingo@pobox.com>
7745
7746         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7747         macro, implements an interface and gstimplementsinterface for a
7748         new type.
7749
7750 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7751
7752         * check/Makefile.am:
7753         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7754           add a test that does a bunch of state changes on elements
7755           needs some fixing for valgrind
7756         * check/states/sinks.c: (gst_object_suite):
7757           whitespace
7758         * gst/gstcaps.h:
7759           add prototype for gst_caps_is_equal_fixed
7760         * gst/gstplugin.c:
7761         * gst/gstregistrypool.c:
7762           doc fixes
7763
7764 2005-08-24  Andy Wingo  <wingo@pobox.com>
7765
7766         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7767         convert a negative value. Doesn't make much sense. Mostly this is
7768         here to force callers to ensure -1 maps to -1.
7769
7770 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7771
7772         * docs/pwg/advanced-types.xml:
7773           Well done to Michael for catching my deliberate introduction
7774           of this spelling mistake. 
7775         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7776         * gst/gstelement.h:
7777           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7778           unlink pads before removing the element from the bin.
7779
7780 2005-08-24  Andy Wingo  <wingo@pobox.com>
7781
7782         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7783         the same thing as GST_DEBUG=*:4.
7784         (parse_debug_level, parse_debug_category): New helper parsers.
7785
7786 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7787
7788         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7789         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7790         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7791         (gst_base_transform_buffer_alloc),
7792         (gst_base_transform_handle_buffer):
7793           use gboolean return values and pointers to size so we can use the
7794           full GST_BUFFER_SIZE range (guint) for buffer sizes
7795           use GstPadDirection for transform_caps
7796         * gst/base/gstbasetransform.h:
7797           rename get_size to get_unit_size since that's what it is
7798         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7799           use GstPadDirection for transform_caps
7800         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7801         * gst/gstutils.h:
7802           cleanup and debugging
7803
7804 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7805
7806         * gst/gstelement.c: (gst_element_class_init),
7807         (gst_element_set_state), (activate_pads),
7808         (gst_element_save_thyself):
7809         * tools/gst-compprep.c: (main):
7810         * tools/gst-inspect.c: (print_element_properties_info):
7811         * tools/gst-xmlinspect.c: (print_element_properties):
7812           Fixed long standing mem-leak
7813
7814 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7815
7816         * check/gst/gstbin.c: (GST_START_TEST):
7817         * gst/gstbin.c: (bin_bus_handler):
7818         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7819         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7820         (gst_message_new_warning), (gst_message_new_tag),
7821         (gst_message_new_state_changed), (gst_message_new_segment_start),
7822         (gst_message_new_segment_done), (gst_message_new_custom):
7823         * gst/gstmessage.h:
7824         * tools/gst-launch.c: (event_loop):
7825         * tools/gst-md5sum.c: (event_loop):
7826           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7827           that applications can sensibly post custom messages with references
7828           to their own objects.
7829
7830 2005-08-24  Andy Wingo  <wingo@pobox.com>
7831
7832         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7833         already.
7834
7835 2005-08-24  Wim Taymans  <wim@fluendo.com>
7836
7837         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7838         (gst_base_transform_transform_caps),
7839         (gst_base_transform_transform_size),
7840         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7841         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7842         (gst_base_transform_handle_buffer):
7843         * gst/base/gstbasetransform.h:
7844         Many fixes and new features added by Thomas. Can now also do
7845         transforms with variable sizes and a custom fixate_caps function.
7846
7847 2005-08-24  Wim Taymans  <wim@fluendo.com>
7848
7849         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7850         Some debugging.
7851
7852         * gst/gstclock.h:
7853         Cast to ClockTime before formatting to time.
7854
7855         * gst/gstutils.h:
7856         Cleanups.
7857
7858 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7859
7860         * check/gst-libs/controller.c: (GST_START_TEST),
7861         (gst_controller_suite):
7862         * docs/gst/tmpl/gstcaps.sgml:
7863         * docs/gst/tmpl/gstghostpad.sgml:
7864         * docs/gst/tmpl/gstquery.sgml:
7865         * docs/gst/tmpl/gstutils.sgml:
7866         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7867         (gst_object_sink_values), (gst_object_get_value_arrays),
7868         (gst_object_get_value_array):
7869           gracefully handle helper method calls to objects that are not beeing
7870           controlled, added test case for that          
7871
7872 2005-08-23  Wim Taymans  <wim@fluendo.com>
7873
7874         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7875         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7876         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7877         (gst_event_parse_qos), (gst_event_new_seek),
7878         (gst_event_parse_seek):
7879         * gst/gstevent.h:
7880         Some more debugging output and doc cleanups.
7881
7882         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7883         Fix possible deadlock.
7884
7885 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7886
7887         * docs/gst/gstreamer-docs.sgml:
7888         * docs/gst/gstreamer-sections.txt:
7889         * docs/gst/gstreamer.types:
7890         * docs/gst/tmpl/.cvsignore:
7891         * gst/gstbin.h:
7892         * gst/gstbus.c:
7893         * gst/gstelement.c:
7894         * gst/gstevent.h:
7895           added 100 symbols from gstreamer-unused.txt to the right sections
7896           fixed more broken comments
7897           added GstBus to docs
7898
7899 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7900
7901         * docs/gst/gstreamer-sections.txt:
7902         * docs/gst/tmpl/.cvsignore:
7903         * docs/gst/tmpl/gstbin.sgml:
7904         * docs/gst/tmpl/gstbuffer.sgml:
7905         * gst/base/gstbasesrc.c:
7906         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7907         * gst/gstbuffer.c:
7908         * gst/gstbuffer.h:
7909         * tools/gst-launch.1.in:
7910           inlined more doc comments, added missing comments and fixed comments
7911           fixed typos
7912
7913 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7914
7915         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7916           some debugging
7917         * gst/gstcaps.h:
7918           whitespace fixes
7919         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7920           more debugging
7921         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7922         * gst/gststructure.h:
7923           add a fixate function for booleans; add a FIXME that these func
7924           names should probably be gst_structure_fixate_*
7925
7926 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7927
7928         * docs/gst/gstreamer-docs.sgml:
7929         * docs/gst/gstreamer-sections.txt:
7930         * gst/Makefile.am:
7931         * gst/gstbin.c: (gst_bin_get_type),
7932         (gst_bin_child_proxy_get_child_by_index),
7933         (gst_bin_child_proxy_get_children_count),
7934         (gst_bin_child_proxy_init):
7935         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7936         (gst_child_proxy_get_child_by_index),
7937         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7938         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7939         (gst_child_proxy_get), (gst_child_proxy_set_property),
7940         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7941         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7942         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7943         * gst/gstchildproxy.h:
7944         * gst/parse/grammar.y:
7945         * tools/gst-inspect.c: (print_interfaces),
7946         (print_element_properties_info), (print_element_info):
7947           ported gstchildproxy over from 0.8
7948           ported gst-inspect fixes and enhancements over from 0.8
7949
7950 2005-08-22  Wim Taymans  <wim@fluendo.com>
7951
7952         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7953         (gst_base_transform_handle_buffer):
7954         Also call the transform function if we have ANY caps.
7955
7956         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7957         Fix debug info.
7958
7959 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7960
7961         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7962           Don't pretend to handle seek events if the source is not seekable
7963
7964 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7965
7966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7967           Remove extra parameter to debug output
7968
7969         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7970         (gst_base_src_do_seek), (gst_base_src_activate_push):
7971           Fix seek event handling.
7972
7973         * gst/gstpipeline.c: (gst_pipeline_change_state):
7974         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7975         (gst_queue_src_activate_push):
7976           Don't start the src pad task on FLUSH_STOP if the pad
7977           isn't linked.
7978           Debug changes.
7979
7980 2005-08-22  Wim Taymans  <wim@fluendo.com>
7981
7982         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7983         Added check for gst_static_caps_get() refcounting.
7984
7985 2005-08-22  Wim Taymans  <wim@fluendo.com>
7986
7987         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7988         Make _static_caps_get() refcounting sane.
7989         
7990         * gst/gstelement.c: (gst_element_set_state):
7991         Add g_return_val_if_fail() to protect against segfaults.
7992
7993 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7994
7995         * docs/gst/tmpl/gstevent.sgml:
7996         * gst/gstevent.c:
7997         * gst/gstevent.h:
7998           inlined remaining docs, added missing doc comments
7999
8000 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8001
8002         * check/gst/gstbin.c: (GST_START_TEST):
8003           since we don't know when preroll is done, use refcount range
8004           check for the sink
8005         * gst/check/gstcheck.h:
8006           add macro for checking refcount range
8007
8008 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8009
8010         * check/Makefile.am:
8011           clean up environment for when registry gets built versus
8012           when actual tests are run; valgrind seems to not report
8013           leaks if GST_PLUGIN_PATH is set to some specific values
8014         * check/gst/gstbin.c: (GST_START_TEST):
8015           add more refcounting checks; maybe this exposes a
8016           preroll lock bug ?
8017         * common/check.mak:
8018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8019         * gst/check/gstcheck.h:
8020         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8021         (gst_bin_change_state):
8022         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8023           add/fix debugging/whitespace
8024
8025 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8026
8027         * check/gst/gstevent.c: (event_probe), (test_event),
8028         (GST_START_TEST):
8029          Er, don't call gst_bin_watch_for_state_change you idiot.
8030
8031 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8032
8033         * check/Makefile.am:
8034           Use CHECK_CFLAGS and CHECK_LIBS
8035         * check/gst/gstevent.c: (event_probe), (test_event),
8036         (GST_START_TEST):
8037           Don't leak events.
8038         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8039         (gst_base_src_start), (gst_base_src_stop),
8040         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8041         (gst_base_src_change_state):
8042           Sprinkle gst_base_src_stop liberally around error paths to fix
8043           problems reusing a source after failed state changes.
8044         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8045         (helper_find_suggest), (gst_type_find_helper):
8046           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8047         * gst/gstevent.h:
8048         * docs/gst/tmpl/gstevent.sgml:
8049           Migrate part of the docs from the SGML file. Wait for ensonic to
8050           tell me how I did it wrong ;)
8051         * tools/gst-typefind.c: (main):
8052           Extra robustness to state changes between files.
8053
8054 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8055
8056         * check/Makefile.am:
8057           don't valgrind the controller test - it's leaking - Stefan, HELP
8058         * gst/check/gstcheck.c: (gst_check_message_error),
8059         (gst_check_chain_func), (gst_check_setup_element),
8060         (gst_check_teardown_element), (gst_check_setup_src_pad),
8061         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8062         (gst_check_teardown_sink_pad):
8063         * gst/check/gstcheck.h:
8064           add a bunch of methods to set up elements, and src and sink pads
8065         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8066         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8067         (GST_START_TEST):
8068           use them
8069         * gst/gstmessage.c:
8070         * gst/gsttag.h:
8071           whitespace/doc fixes
8072
8073 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8074
8075         * gst/gstelement.h:
8076           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8077           be handled by the application and not always printed as well
8078
8079 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8080
8081         * check/Makefile.am:
8082           set GST_TOOLS_DIR
8083         * gst/check/gstcheck.c: (gst_check_message_error):
8084         * gst/check/gstcheck.h:
8085           add a fail_unless_equals_int
8086           add fail_unless for error messages
8087
8088 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8089
8090         * check/Makefile.am:
8091         * check/gst.supp:
8092         * common/Makefile.am:
8093         * common/check.mak:
8094         * common/gst.supp:
8095           factor out some of the common stuff so we can use it
8096
8097 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8098
8099         * check/Makefile.am:
8100         * check/gst/gstiterator.c: (GST_START_TEST):
8101         * check/gst/gstsystemclock.c: (GST_START_TEST),
8102         (gst_systemclock_suite):
8103         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8104         * gst/gstclock.c:
8105           valgrind more tests
8106
8107 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8108
8109         * check/elements/.cvsignore:
8110         * check/elements/gstfakesrc.c:
8111           rename to name of element
8112         * check/elements/identity.c: (chain_func), (event_func),
8113         (setup_identity), (cleanup_identity), (GST_START_TEST),
8114         (identity_suite), (main):
8115           add a test for identity
8116         * check/Makefile.am:
8117         * pkgconfig/Makefile.am:
8118         * pkgconfig/gstreamer-check.pc.in:
8119         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8120         * gst/check:
8121         * gst/Makefile.am:
8122         * configure.ac:
8123           move the check stuff to a library that gets installed
8124         * check/gst-libs/controller.c: (GST_START_TEST):
8125         * check/gst-libs/gdp.c:
8126         * check/gst/gst.c: (GST_START_TEST):
8127         * check/gst/gstbin.c:
8128         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8129         * check/gst/gstbus.c:
8130         * check/gst/gstcaps.c: (GST_START_TEST):
8131         * check/gst/gstelement.c:
8132         * check/gst/gstghostpad.c:
8133         * check/gst/gstiterator.c:
8134         * check/gst/gstmessage.c:
8135         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8136         * check/gst/gstobject.c:
8137         * check/gst/gstpad.c: (GST_START_TEST):
8138         * check/gst/gststructure.c: (GST_START_TEST):
8139         * check/gst/gstsystemclock.c: (GST_START_TEST),
8140         (gst_systemclock_suite):
8141         * check/gst/gsttag.c: (gst_tag_suite):
8142         * check/gst/gstvalue.c:
8143         * check/pipelines/cleanup.c:
8144         * check/pipelines/simple_launch_lines.c:
8145         * check/states/sinks.c:
8146           change include statement
8147
8148         * docs/gst/gstreamer-sections.txt:
8149         * docs/gst/tmpl/gstpad.sgml:
8150           document more pad stuff
8151         * gst/gstminiobject.c: (gst_mini_object_ref),
8152         (gst_mini_object_unref):
8153           debug refcounting
8154
8155 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8156
8157         * docs/gst/tmpl/gst.sgml:
8158         * gst/gst.c:
8159           eliminate another tmpl file, fix spelling in the long-description
8160
8161 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8162
8163         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8164         (test_event), (timediff), (gstevents_suite):
8165           Should fix build on 64-bit arch's
8166
8167 2005-08-18  Andy Wingo  <wingo@pobox.com>
8168
8169         Make sure that when a pipeline goes to PLAYING, that data has
8170         actually hit the sink.
8171
8172         * check/states/sinks.c (test_sink): A sink that doesn't get any
8173         data shouldn't return SUCCESS for going to either PLAYING or
8174         PAUSED. Test also the return values on the way back down.
8175
8176         * gst/gstelement.c (gst_element_set_state): When changing the
8177         state of an element currently changing state asynchronously, go to
8178         lost-state after commiting the pending state. Makes future calls
8179         to get_state continue to return ASYNC.
8180
8181         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8182         ASYNC when going to PLAYING if we still don't have preroll, as can
8183         happen with live sources.
8184
8185 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8186
8187         * docs/pwg/advanced-types.xml:
8188           Hack long paragraph into 2 chunks as a workaround for buggy
8189           jadetex version in sid and breezy that loops infinitely and
8190           eats all RAM.
8191
8192 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8193
8194         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8195         (test_event), (timediff), (gstevents_suite):
8196           Provide more error margin in clock measurements to allow for 
8197           g_get_current_time inaccuracies.
8198
8199 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8200
8201         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8202         (test_event), (timediff), (gstevents_suite):
8203            Fix error message output so I might be able to tell why the
8204            test works here but fails on the build farm.
8205
8206 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8207
8208         * check/Makefile.am:
8209         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8210         (test_event), (timediff), (gstevents_suite), (main):
8211           I wrote a test!
8212
8213         * docs/design/part-seeking.txt:
8214           Spelling correction
8215
8216         * docs/gst/tmpl/gstevent.sgml:
8217         * docs/gst/tmpl/gstfakesrc.sgml:
8218           Docs updates.
8219
8220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8221           Treat a buffer-without-newsegment the same as a receiving 
8222           a newsegment not in time format, and disable syncing to the clock
8223           with a warning.
8224
8225         * gst/gstbus.c: (gst_bus_set_sync_handler):
8226           Assert if anyone tries to replace the existing sync_handler for bus, 
8227           as only the owner should be setting it.
8228
8229         * gst/gstevent.h:
8230           Have a fixed set of custom event enums with events identified by
8231           their structure name (as in 0.8), rather than a free-for-all
8232           allowing collisions between enum values from different plugins.
8233
8234         * gst/gstpad.c: (gst_pad_class_init):
8235           Docs change.
8236           
8237         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8238           Handle out-of-band downstream events from the sending thread.
8239
8240 2005-08-17  Andy Wingo  <wingo@pobox.com>
8241
8242         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8243         play-timeout==0 to mean no timeout at all. In that case, don't
8244         bother with a get_state or a warning, just return directly, even
8245         if it's ASYNC.
8246
8247         * gst/base/gstbasetransform.c: Debug changes.
8248
8249         * gst/gstutils.h:
8250         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8251         ensure bins post state change messages. A bit of a hack but I can't
8252         think of a way to avoid it.
8253
8254         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8255
8256 2005-08-16  Andy Wingo  <wingo@pobox.com>
8257
8258         * gst/base/gstadapter.h:
8259         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8260         peek() but you own the data. Not terribly efficient atm.
8261
8262 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8263
8264         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8265         (gst_element_found_tags):
8266         * gst/gstutils.h:
8267           Add two utility functions for tag handling.
8268
8269 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8270
8271         * docs/manual/advanced-dataaccess.xml:
8272         * docs/manual/basics-helloworld.xml:
8273           Fix docs to use _bin_add() before _link(), which fixes the examples
8274           with recent core versions (reported by Madhan Raj M
8275           <raj_madan@rediffmail.com>, #313199).
8276
8277 2005-08-16  Wim Taymans  <wim@fluendo.com>
8278
8279         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8280         Added subtract checks.
8281
8282         * docs/design/part-events.txt:
8283         Some more docs about newsegment
8284
8285         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8286         Fix FIXME
8287
8288         * gst/gstcaps.c: (gst_caps_to_string):
8289         Add comments, cleanups.
8290         
8291         * gst/gstelement.c: (gst_element_save_thyself):
8292         cleanups
8293         
8294         * gst/gstvalue.c: (gst_value_collect_int_range),
8295         (gst_string_unwrap), (gst_value_union_int_int_range),
8296         (gst_value_union_int_range_int_range),
8297         (gst_value_intersect_int_int_range),
8298         (gst_value_intersect_int_range_int_range),
8299         (gst_value_intersect_double_double_range),
8300         (gst_value_intersect_double_range_double_range),
8301         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8302         (gst_value_subtract_int_range_int),
8303         (gst_value_subtract_double_range_double),
8304         (gst_value_subtract_double_range_double_range),
8305         (gst_value_subtract_from_list), (gst_value_subtract_list),
8306         (gst_value_can_compare), (gst_value_compare_fraction):
8307         Cleanups, add comments, remove unneeded asserts.
8308
8309 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8310
8311         * tools/gst-launch.c: (event_loop):
8312           don't convert NULL structures to strings
8313
8314 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8315
8316         * docs/gst/gstreamer-sections.txt:
8317           made some defines private
8318         * docs/gst/tmpl/gstconfig.sgml:
8319         * docs/gst/tmpl/gstqueue.sgml:
8320         * docs/gst/tmpl/gsttaglist.sgml:
8321         * docs/gst/tmpl/gsttypes.sgml:
8322         * docs/gst/tmpl/gstutils.sgml:
8323         * docs/pwg/appendix-porting.xml:
8324         * gst/base/gstbasesink.h:
8325         * gst/base/gstbasesrc.c:
8326         * gst/base/gstbasesrc.h:
8327         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8328         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8329         * gst/gstelement.c: (gst_element_class_init):
8330         * gst/gstpad.c: (gst_pad_class_init):
8331         * gst/gstqueue.c: (gst_queue_class_init):
8332         * gst/gstxml.c: (gst_xml_class_init):
8333           documented all undocumented signal inline
8334         * libs/gst/controller/gst-controller.h:
8335           added padding
8336
8337 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8338
8339         * docs/pwg/appendix-porting.xml:
8340           Document _set_link_function -> _set_setcaps_function.
8341
8342 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8343
8344         * check/Makefile.am:
8345           add a .check target for running the check
8346         * check/gst-libs/controller.c: (GST_START_TEST):
8347           cosmetic fixups
8348         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8349           complete checks for gstbuffer; would be nice if I could get the
8350           gcov stuff to work so I can see if I actually completed gstbuffer.c
8351         * check/gstcheck.h:
8352           add ASSERT_BUFFER_REFCOUNT
8353
8354 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8355
8356         * docs/gst/gstreamer-sections.txt:
8357         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8358         * gst/gsttag.h:
8359           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8360           spew out a warning if a tag that is already registered
8361           is re-registered, unless it is re-registered with a 
8362           different type (#308438).
8363
8364 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * docs/pwg/appendix-porting.xml:
8367         * docs/pwg/building-state.xml:
8368           Add some paragraphs about state changes in 0.9 to the PWG
8369           and the porting guide, in particular about the new meaning
8370           of GST_STATE_PAUSED and how to write state change functions
8371           with concurrent access by multiple threads in mind.
8372
8373 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8374
8375         * docs/gst/gstreamer-docs.sgml:
8376         * docs/libs/gstreamer-libs-docs.sgml:
8377           added deprecation and since indexes
8378         * libs/gst/controller/gst-controller.c:
8379         * libs/gst/controller/gst-helper.c:
8380           added since tags
8381
8382
8383 2005-08-11  Wim Taymans  <wim@fluendo.com>
8384
8385         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8386         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8387         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8388         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8389         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8390         (gst_ghost_pad_set_target):
8391         Actually implement (re)setting the target on a ghostpad
8392         as described in the docs.
8393
8394 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8395
8396         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8397           Check whether GST_DEBUG_NO_COLOR environment variable is
8398           set and disable coloured debug output if that is the case.
8399
8400 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8403         (gst_type_find_helper):
8404           The memory returned by gst_type_find_peek() needs to
8405           stay valid until the end of a typefind function, and
8406           typefind functions may keep results from different 
8407           offsets around, so we can't just unref the buffer from
8408           the previous _peek(), but have to save all buffers 
8409           returned by _peek() until typefinding is done and only
8410           free them then.
8411
8412 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         * docs/gst/gstreamer-sections.txt:
8415         * gst/gstutils.h:
8416           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8417
8418 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8419
8420         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8421           Fix a pretty good memleak.
8422
8423 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8424
8425         * gst/gstiterator.h:
8426           Fix wrong include and 'make distcheck'.
8427
8428 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8429
8430         * gst/gstbin.c: (bin_bus_handler):
8431           Use gst_element_post_message() instead.
8432
8433 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         * gst/base/gstadapter.h:
8436         * gst/base/gstbasesink.h:
8437         * gst/base/gstbasesrc.h:
8438         * gst/base/gstbasetransform.h:
8439         * gst/base/gstcollectpads.h:
8440         * gst/base/gstpushsrc.h:
8441         * gst/gstiterator.h:
8442           Add padding to our base elements' class and instance structs and
8443           to GstIterator (you will need to rebuild all plugins and apps!)
8444
8445 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8446
8447         * gst/gstbin.c: (bin_bus_handler):
8448           Make default message forwarding from child->bus to bin->bus
8449           threadsafe and make it not emit warnings if the parent has no bus.
8450
8451 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8452
8453         * gst/gstelement.c: (activate_pads):
8454           On paused->ready, set pad->caps to NULL, as is the documented
8455           behaviour in this state change. Fixes playback of series of
8456           media files when visualization is enabled in Totem.
8457
8458 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8459
8460         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8461           Allow NULL as filter-caps (which means "any").
8462
8463 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8464
8465         * docs/libs/gstreamer-libs-sections.txt:
8466         * libs/gst/controller/gst-controller.c:
8467         * libs/gst/controller/gst-controller.h:
8468         * libs/gst/controller/gst-helper.c:
8469           adding more entries to the docs and fix small doc-bugs
8470
8471 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8472
8473         * docs/gst/gstreamer-docs.sgml:
8474         * docs/gst/gstreamer-sections.txt:
8475         * docs/gst/gstreamer.types:
8476         * docs/gst/tmpl/gstbasesink.sgml:
8477         * docs/gst/tmpl/gstbasesrc.sgml:
8478         * docs/gst/tmpl/gstbasetransform.sgml:
8479         * docs/gst/tmpl/gstfakesrc.sgml:
8480         * gst/base/gstcollectpads.c:
8481         * gst/base/gstcollectpads.h:
8482         * libs/gst/controller/gst-controller.c:
8483         * libs/gst/controller/gst-controller.h:
8484         * libs/gst/controller/gst-helper.c:
8485         * libs/gst/controller/gst-interpolation.c:
8486         * libs/gst/controller/lib.c:
8487           added long/short desc for controller docs
8488           added collectpads base class docs
8489           added correct includes to base-class docs
8490
8491 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8492
8493         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8494         (gst_test_mono_source_set_property),
8495         (gst_test_mono_source_class_init), (GST_START_TEST),
8496         (gst_controller_suite):
8497         * docs/gst/gstreamer-docs.sgml:
8498         * docs/gst/gstreamer-sections.txt:
8499         * docs/gst/gstreamer.types:
8500         * docs/libs/gstreamer-libs-docs.sgml:
8501         * docs/libs/gstreamer-libs-sections.txt:
8502         * gst/base/gstadapter.c:
8503         * libs/gst/controller/gst-controller.c:
8504         (gst_controlled_property_new), (gst_controlled_property_free),
8505         (gst_controller_new_valist),
8506         (gst_controller_remove_properties_valist),
8507         (gst_controller_sink_values), (_gst_controller_finalize):
8508         * libs/gst/controller/gst-controller.h:
8509         * libs/gst/controller/gst-helper.c:
8510         (gst_object_control_properties), (gst_object_uncontrol_properties),
8511         (gst_object_get_controller), (gst_object_set_controller),
8512         (gst_object_sink_values), (gst_object_get_value_arrays),
8513         (gst_object_get_value_array):
8514           more tests (and fixes) for the controller
8515           more docs for the controller
8516           integrated companies docs for the adapter 
8517
8518 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8519
8520         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8521         (GST_START_TEST), (fakesrc_suite):
8522           add tests for sizetype
8523
8524 2005-08-04  Andy Wingo  <wingo@pobox.com>
8525
8526         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8527         fixes buffer_alloc proxying among other things.
8528
8529         * gst/base/gstbasetransform.c:
8530         * gst/base/gstbasetransform.h:
8531         Revert patch to gstbasetransform from 7-28 removing
8532         delay_configure.
8533
8534         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8535         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8536         Semantics changed, should return not the size of the output buffer
8537         but the byte size of a buffer with a given caps.
8538
8539         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8540         debug object.
8541         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8542         out) are not the pad caps until setcaps finishes.
8543         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8544         not-in-place case as well. Deal with changing from in-place to
8545         not-in-place within calling pad_alloc_buffer. Still a bit
8546         concerned about the overhead here...
8547
8548 2005-08-03  Andy Wingo  <wingo@pobox.com>
8549
8550         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8551         fixating is an error.
8552
8553 2005-08-04  Edward Hervey  <edward@fluendo.com>
8554
8555         * gst/base/gstadapter.h: 
8556         Added gst_adapter_get_type() to the header
8557
8558 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8559
8560         * check/Makefile.am:
8561         * check/gst-libs/controller.c:
8562         * libs/gst/controller/gst-controller.c:
8563         (gst_controller_new_valist):
8564           added check test suite for the controller
8565         * gst/base/gstpushsrc.c:
8566           fixed a doc typo
8567
8568 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8569
8570         * docs/gst/Makefile.am:
8571         * docs/gst/gstreamer-docs.sgml:
8572         * docs/gst/gstreamer-sections.txt:
8573         * docs/gst/gstreamer.types:
8574         * docs/gst/tmpl/gstfakesrc.sgml:
8575         * gst/base/README:
8576         * gst/base/gstbasesink.c:
8577         * gst/base/gstbasesink.h:
8578         * gst/base/gstbasesrc.c:
8579         * gst/base/gstbasesrc.h:
8580         * gst/base/gstbasetransform.c:
8581         * gst/base/gstpushsrc.c:
8582         * gst/base/gstpushsrc.h:
8583           add short/long description docs to base classes
8584           add pushsrc to the docs
8585           remove consolidated doc fragments
8586
8587 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8588
8589         * configure.ac:
8590         * docs/libs/Makefile.am:
8591         * docs/libs/gstreamer-libs-docs.sgml:
8592         * docs/libs/gstreamer-libs-sections.txt:
8593         * docs/libs/gstreamer-libs.types:
8594         * examples/Makefile.am:
8595         * examples/controller/.cvsignore:
8596         * examples/controller/Makefile.am:
8597         * examples/controller/audio-example.c: (main):
8598         * libs/gst/Makefile.am:
8599         * libs/gst/controller/.cvsignore:
8600         * libs/gst/controller/Makefile.am:
8601         * libs/gst/controller/gst-controller.c:
8602         (on_object_controlled_property_changed), (gst_timed_value_compare),
8603         (gst_timed_value_find),
8604         (gst_controlled_property_set_interpolation_mode),
8605         (gst_controlled_property_new), (gst_controlled_property_free),
8606         (gst_controller_find_controlled_property),
8607         (gst_controller_new_valist), (gst_controller_new),
8608         (gst_controller_remove_properties_valist),
8609         (gst_controller_remove_properties), (gst_controller_set),
8610         (gst_controller_set_from_list), (gst_controller_unset),
8611         (gst_controller_get), (gst_controller_get_all),
8612         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8613         (gst_controller_get_value_array),
8614         (gst_controller_set_interpolation_mode),
8615         (_gst_controller_finalize), (_gst_controller_init),
8616         (_gst_controller_class_init), (gst_controller_get_type):
8617         * libs/gst/controller/gst-controller.h:
8618         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8619         (g_object_uncontrol_properties), (g_object_get_controller),
8620         (g_object_set_controller), (g_object_sink_values),
8621         (g_object_get_value_arrays), (g_object_get_value_array):
8622         * libs/gst/controller/gst-interpolation.c:
8623         (gst_controlled_property_find_timed_value_node),
8624         (interpolate_none_get), (interpolate_trigger_get),
8625         (interpolate_trigger_get_value_array):
8626         * libs/gst/controller/lib.c: (gst_controller_init):
8627         * pkgconfig/Makefile.am:
8628         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8629         * pkgconfig/gstreamer-control.pc.in:
8630         * testsuite/Makefile.am:
8631         * testsuite/controller/.cvsignore:
8632         * testsuite/controller/Makefile.am:
8633         * testsuite/controller/interpolator.c: (main):
8634           added controller code
8635           removed dparam pc files
8636
8637 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8638         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8639         (gst_collectpads_stop):
8640           Broadcast the condition when shutting down, to make sure we wake all
8641           threads up. Shut down pads on finalize, for safety.
8642
8643 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8644         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8645         (gst_base_transform_handle_buffer),
8646         (gst_base_transform_change_state):
8647           Handle PAUSED->READY->PAUSED transition after negotiation
8648           occurred already.
8649         * gst/gstmessage.c: (gst_message_init):
8650           Extra piece of debug for new messages.
8651
8652 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8653
8654         * configure.ac:
8655         * docs/gst/tmpl/gstbasesrc.sgml:
8656         * docs/gst/tmpl/gstelement.sgml:
8657         * docs/gst/tmpl/gstevent.sgml:
8658         * docs/gst/tmpl/gstfakesrc.sgml:
8659         * docs/gst/tmpl/gstformat.sgml:
8660         * docs/gst/tmpl/gstghostpad.sgml:
8661         * docs/gst/tmpl/gstpad.sgml:
8662         * docs/gst/tmpl/gstquery.sgml:
8663         * docs/gst/tmpl/gststructure.sgml:
8664         * docs/gst/tmpl/gsttaglist.sgml:
8665         * docs/gst/tmpl/gstvalue.sgml:
8666         * docs/libs/gstreamer-libs-docs.sgml:
8667         * docs/libs/gstreamer-libs-sections.txt:
8668         * docs/libs/gstreamer-libs.types:
8669         * libs/gst/Makefile.am:
8670         * libs/gst/control/.cvsignore:
8671         * libs/gst/control/Makefile.am:
8672         * libs/gst/control/control.c:
8673         * libs/gst/control/control.h:
8674         * libs/gst/control/dparam.c:
8675         * libs/gst/control/dparam.h:
8676         * libs/gst/control/dparam_smooth.c:
8677         * libs/gst/control/dparam_smooth.h:
8678         * libs/gst/control/dparamcommon.h:
8679         * libs/gst/control/dparammanager.c:
8680         * libs/gst/control/dparammanager.h:
8681         * libs/gst/control/dplinearinterp.c:
8682         * libs/gst/control/dplinearinterp.h:
8683         * libs/gst/control/unitconvert.c:
8684         * libs/gst/control/unitconvert.h:
8685         * testsuite/Makefile.am:
8686         * testsuite/dynparams/.cvsignore:
8687         * testsuite/dynparams/Makefile.am:
8688         * testsuite/dynparams/dparamstest.c:
8689         * tools/Makefile.am:
8690         * tools/gst-inspect.c: (print_element_info), (main):
8691         * tools/gst-xmlinspect.c: (print_element_info), (main):
8692           deactivate and remove dparams (libgstcontrol)
8693
8694 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8695
8696         * gst/elements/gsttypefindelement.c:
8697         (gst_type_find_element_have_type), (gst_type_find_element_init),
8698         (stop_typefinding), (gst_type_find_element_handle_event),
8699         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8700         * gst/elements/gsttypefindelement.h:
8701           Set caps on all outgoing buffers, not just the first one.
8702
8703 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         * gst/elements/gsttypefindelement.c:
8706         (gst_type_find_element_have_type),
8707         (gst_type_find_element_check_set_buffer_caps),
8708         (gst_type_find_element_init), (stop_typefinding),
8709         (gst_type_find_element_handle_event),
8710         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8711         * gst/elements/gsttypefindelement.h:
8712           Set caps on first outgoing buffer when we've found the type.
8713
8714 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8715
8716         * docs/gst/gstreamer-docs.sgml:
8717         * docs/gst/gstreamer-sections.txt:
8718         * docs/gst/tmpl/gstscheduler.sgml:
8719         * docs/gst/tmpl/gstschedulerfactory.sgml:
8720           Remove some old cruft from docs.
8721
8722 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8723
8724         * gst/gstpad.h:
8725           Fix inline docs for GstPadLinkReturn.
8726           
8727         * gst/gststructure.c: (gst_structure_has_name):
8728         * gst/gststructure.h:
8729         * docs/gst/gstreamer-sections.txt:
8730           New API: gst_structure_has_name().
8731
8732 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8733
8734         * configure.ac:
8735           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8736           and _LARGEFILE_SOURCE in config.h as required. Do not 
8737           export those flags in our .pc files any longer (#142209).
8738
8739           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8740
8741         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8742         (gst_file_sink_do_seek), (gst_file_sink_event),
8743         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8744           Redo seek/tell calls with large file support in mind; add some
8745           debugging messages; add log message that tells us when large
8746           file support is unavailable or not enabled for some reason.
8747
8748         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8749           Add log message that tells us when large file support 
8750           is unavailable or not enabled for some reason.
8751
8752 2005-07-29  Wim Taymans  <wim@fluendo.com>
8753
8754         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8755         Added test for removing an element with ghostpad from a bin.
8756         Fixed test as current implementation does the right thing.
8757
8758         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8759         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8760         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8761         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8762         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8763         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8764         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8765         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8766         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8767         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8768         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8769         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8770         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8771         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8772         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8773         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8774         * gst/gstghostpad.h:
8775         Clean up ghostpads, remove properties for internal stuff.
8776         Make threadsafe.
8777         Fix refcounting.
8778         Prepare for switching targets, not all use cases work yet.
8779
8780 2005-07-29  Wim Taymans  <wim@fluendo.com>
8781
8782         * docs/design/part-gstghostpad.txt:
8783         Small update.
8784
8785         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8786         (gst_bin_remove_func):
8787         Unlinking pads while holding the bin LOCK is not a good
8788         idea.
8789
8790         * gst/gstpad.c: (gst_pad_class_init),
8791         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8792         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8793         No prob setting template after creating the pad.
8794
8795 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8796
8797         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8798         (gst_bus_peek), (gst_bus_source_dispatch),
8799         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8800         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8801           gst_bus_poll may be called from other threads. Handle
8802           this nicely by not making poll_data disappear off the
8803           stack once gst_bus_poll returns.
8804           gst_bus_peek now increments the refcount on the returned
8805           message.
8806
8807 2005-07-29  Wim Taymans  <wim@fluendo.com>
8808
8809         * docs/design/part-gstghostpad.txt:
8810         Overview of current GhostPad datastructures and use
8811         cases for changing the target.
8812
8813 2005-07-28  Wim Taymans  <wim@fluendo.com>
8814
8815         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8816         Added checks for hierarchy consistency whan adding linked
8817         elements to bins.
8818
8819         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8820         Added check to test element scheduling without bin/pipeline.
8821
8822         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8823         First add elements to bin, then link.
8824         
8825         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8826         (gst_bin_remove_func):
8827         Unlink pads from elements added/removed from bin to maintain
8828         hierarchy consistency.
8829
8830 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8831
8832         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8833         (gst_base_transform_handle_buffer):
8834         * gst/base/gstbasetransform.h:
8835           Remove broken delay_configure (fixes renegotiation of software
8836           scaling pipelines); remove some leftover printf()s.
8837
8838 2005-07-28  Wim Taymans  <wim@fluendo.com>
8839
8840         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8841         Added some more tests for wrong hierarchy
8842
8843         * docs/design/part-overview.txt:
8844         Some updates.
8845
8846         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8847         Cleanups.
8848
8849         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8850         (gst_element_dispose):
8851         Some more cleanups.
8852
8853         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8854         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8855         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8856         (gst_pad_set_caps), (gst_pad_send_event):
8857         Check for correct hierarchy when linking pads. Moving to
8858         strict requirement for ghostpads when linking elements in
8859         different bins.
8860
8861         * gst/gstpad.h:
8862         Clean ups. Added WRONG_HIERARCHY return value.
8863
8864 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8865
8866         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8867           Better debug if no transform is possible.
8868
8869 2005-07-27  Wim Taymans  <wim@fluendo.com>
8870
8871         * docs/random/wtay/network-transp:
8872         Some old doc I had.
8873
8874 2005-07-27  Wim Taymans  <wim@fluendo.com>
8875
8876         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8877         (gst_dp_event_from_packet):
8878         Fix serialization of seek events.
8879
8880 2005-07-27  Wim Taymans  <wim@fluendo.com>
8881
8882         * check/gst-libs/gdp.c: (GST_START_TEST):
8883         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8884         Fix compilation and fix event serialization.
8885
8886 2005-07-27  Wim Taymans  <wim@fluendo.com>
8887
8888         * CHANGES-0.9:
8889         * docs/design/part-TODO.txt:
8890         * docs/design/part-events.txt:
8891         Some docs updates
8892
8893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8894         (gst_base_sink_event), (gst_base_sink_do_sync),
8895         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8896         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8897         (gst_base_src_do_seek), (gst_base_src_event_handler),
8898         (gst_base_src_loop):
8899         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8900         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8901         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8902         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8903         (gst_base_transform_set_passthrough),
8904         (gst_base_transform_is_passthrough):
8905         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8906         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8907         Event updates.
8908
8909         * gst/gstbuffer.h:
8910         Use faster casts.
8911
8912         * gst/gstelement.c: (gst_element_seek):
8913         * gst/gstelement.h:
8914         Update gst_element_seek.
8915
8916         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8917         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8918         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8919         (gst_event_new_eos), (gst_event_new_newsegment),
8920         (gst_event_parse_newsegment), (gst_event_new_tag),
8921         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8922         (gst_event_parse_qos), (gst_event_new_seek),
8923         (gst_event_parse_seek), (gst_event_new_navigation):
8924         * gst/gstevent.h:
8925         Make GstEvent use GstStructure. Add parsing code, make sure the
8926         API is sufficiently generic.
8927         Mark possible directions of events and serialization.
8928
8929         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8930         (_gst_message_copy), (gst_message_new_segment_start),
8931         (gst_message_new_segment_done), (gst_message_new_custom),
8932         (gst_message_parse_segment_start),
8933         (gst_message_parse_segment_done):
8934         Small cleanups.
8935
8936         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8937         (gst_pad_set_caps), (gst_pad_send_event):
8938         Update for new events. 
8939         Catch events sent in wrong directions.
8940
8941         * gst/gstqueue.c: (gst_queue_link_src),
8942         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8943         (gst_queue_handle_src_query):
8944         Event updates.
8945
8946         * gst/gsttag.c:
8947         * gst/gsttag.h:
8948         Remove event code from this file.
8949
8950         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8951         (gst_dp_event_from_packet):
8952         Event updates.
8953
8954 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8955
8956         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8957         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8958         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8959           Make debugging actually useful.
8960
8961 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8962
8963         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8964         (gst_pad_fixate_caps):
8965           Implement default fixation once again, so that gst_pad_fixate()
8966           actually does anything at all. This probably needs to be some
8967           sort of a last resort, and use profile-based fixation first, but
8968           since that doesn't exist yet, this is the best we have. Fixes
8969           visualization in Totem.
8970
8971 2005-07-22  Wim Taymans  <wim@fluendo.com>
8972
8973         * docs/design/part-events.txt:
8974         Small update.
8975
8976         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8977         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8978         (gst_base_sink_activate_pull):
8979         Some more comments.
8980
8981         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8982         (gst_fake_src_create):
8983         Fix handoff marshall.
8984
8985         * gst/elements/gstidentity.c: (gst_identity_class_init),
8986         (gst_identity_transform_ip):
8987         We're a real inplace element.
8988
8989         * gst/gstbus.c: (gst_bus_post):
8990         Added some comments.
8991
8992         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8993         * tests/muxing/case1.c: (main):
8994         * tests/sched/dynamic-pipeline.c: (main):
8995         * tests/sched/interrupt1.c: (main):
8996         * tests/sched/interrupt2.c: (main):
8997         * tests/sched/interrupt3.c: (main):
8998         * tests/sched/runxml.c: (main):
8999         * tests/sched/sched-stress.c: (main):
9000         * tests/seeking/seeking1.c: (event_received), (main):
9001         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9002         (main):
9003         * tests/threadstate/threadstate3.c: (main):
9004         * tests/threadstate/threadstate4.c: (main):
9005         * tests/threadstate/threadstate5.c: (main):
9006         Fix the tests.
9007
9008 2005-07-21  Wim Taymans  <wim@fluendo.com>
9009
9010         * docs/design/part-seeking.txt:
9011         Some small additions.
9012
9013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9014         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9015         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9016         * gst/base/gstbasesink.h:
9017         discont values are gint64, handle the math correctly.
9018
9019         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9020         Make the basesrc report error if the source pad is not linked.
9021
9022         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9023         (gst_queue_loop), (gst_queue_handle_src_query),
9024         (gst_queue_src_activate_push):
9025         Make queue collect data even if the srcpad is not linked.
9026         Start pushing out data as soon as it is linked.
9027
9028         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9029         * gst/gstutils.h:
9030         Added gst_flow_get_name() to ease error reporting.
9031
9032 2005-07-20  Wim Taymans  <wim@fluendo.com>
9033
9034         * gst/gstmessage.c: (gst_message_new_segment_start),
9035         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9036         (gst_message_parse_segment_done):
9037         * gst/gstmessage.h:
9038         Added a bunch of messages for advanced seeking.
9039
9040         * gst/parse/grammar.y:
9041         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9042         (gst_dpman_state_changed):
9043         Fix some new-pad -> pad-added signals
9044
9045 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9046
9047         * docs/manual/appendix-porting.xml:
9048         * docs/pwg/appendix-porting.xml:
9049           Document new-pad/state-change signal renames and the FixedList
9050           type rename.
9051
9052 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9053
9054         * docs/manual/advanced-autoplugging.xml:
9055         * docs/manual/basics-helloworld.xml:
9056         * docs/manual/basics-pads.xml:
9057         * docs/random/ds/0.9-suggested-changes:
9058         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9059         * gst/gstelement.h:
9060         * gst/gstevent.h:
9061         * gst/gstformat.h:
9062         * gst/gstquery.h:
9063         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9064         (gst_structure_parse_array), (gst_structure_parse_value):
9065         * gst/gstvalue.c: (gst_type_is_fixed),
9066         (gst_value_list_prepend_value), (gst_value_list_append_value),
9067         (gst_value_list_get_size), (gst_value_list_get_value),
9068         (gst_value_transform_array_string), (gst_value_serialize_array),
9069         (gst_value_deserialize_array), (gst_value_intersect_array),
9070         (gst_value_is_fixed), (_gst_value_initialize):
9071         * gst/gstvalue.h:
9072           GstElement::new-pad -> pad-added, GstElement::state-change ->
9073           state-changed, GstValueFixedList -> GstValueArray, add format and
9074           flags as their own arguments in gst_element_seek() (should improve
9075           "bindeability"), remove function generators since they don't work
9076           under a whole bunch of compilers (they were deprecated already
9077           anyway).
9078
9079 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9080
9081         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9082         (_gst_debug_register_funcptr):
9083         * gst/gstinfo.h:
9084           Fix illegal cast on some platforms (#309253).
9085
9086 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9087
9088         * gst/gstmessage.c: (gst_message_new_custom):
9089         * gst/gstmessage.h:
9090           Add _new_custom, make _new_application a macro to _new_custom.
9091
9092 2005-07-20  Wim Taymans  <wim@fluendo.com>
9093
9094         * gst/base/gstbasesrc.c: (gst_base_src_init),
9095         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9096         * gst/base/gstbasesrc.h:
9097         Add a gboolean to decide when to push out a discont.
9098
9099         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9100         (gst_queue_loop), (gst_queue_handle_src_query),
9101         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9102         (gst_queue_set_property), (gst_queue_get_property):
9103         Some cleanups.
9104
9105         * tests/threadstate/threadstate1.c: (main):
9106         Make a thread test compile and run... very silly..
9107
9108
9109 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9110
9111         * docs/manual/appendix-porting.xml:
9112           Mention removal of libgstgconf-0.9.la and existence of gconf
9113           elements.
9114
9115 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9116
9117         * docs/pwg/advanced-clock.xml:
9118         * docs/pwg/appendix-porting.xml:
9119         * docs/pwg/intro-preface.xml:
9120         * docs/pwg/other-base.xml:
9121         * docs/pwg/other-manager.xml:
9122         * docs/pwg/other-nton.xml:
9123         * docs/pwg/other-ntoone.xml:
9124         * docs/pwg/other-oneton.xml:
9125         * docs/pwg/pwg.xml:
9126           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9127           demuxer), remove n-to-n (was never written), fix some code examples
9128           and links and update the porting section to include all this.
9129
9130 2005-07-19  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9133         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9134         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9135         (gst_queue_src_activate_push), (gst_queue_change_state),
9136         (gst_queue_get_property):
9137         * gst/gstqueue.h:
9138         Propagate GstFlowReturn more intelligently upstream and output
9139         an ERROR/EOS when streaming stopped due to fatal error.
9140
9141 2005-07-19  Wim Taymans  <wim@fluendo.com>
9142
9143         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9144         Don't block forever for the state change to complete, the
9145         pipeline already did with a sensible timeout.
9146
9147 2005-07-19  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9150         Make sure we never call the create function is we
9151         got deactivated.
9152
9153 2005-07-19  Andy Wingo  <wingo@pobox.com>
9154
9155         * gst/parse/parse.l: Attempt to solve bug #172815.
9156
9157 2005-07-19  Wim Taymans  <wim@fluendo.com>
9158
9159         * docs/design/part-clocks.txt:
9160         * docs/design/part-events.txt:
9161         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9162         Small docs updates.
9163         Only update the seeking values when we are not
9164         busy streaming.
9165
9166 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9167
9168         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9169           Oops, ignore the result of gst_pad_push_event here.
9170
9171 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9172
9173         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9174         (gst_base_src_activate_push):
9175           Send discont event from the loop function, as pads
9176           aren't activated yet in the activate_push handler.
9177
9178         * gst/gstbin.c: (bin_bus_handler):
9179           Don't leak element name.
9180
9181 2005-07-18  Andy Wingo  <wingo@pobox.com>
9182
9183         * configure.ac: Use AS_LIBTOOL_TAGS.
9184
9185 2005-07-18  Wim Taymans  <wim@fluendo.com>
9186
9187         * docs/gst/gstreamer.types:
9188         Remove deleted types.
9189
9190 2005-07-18  Wim Taymans  <wim@fluendo.com>
9191
9192         * check/elements/gstfakesrc.c: (GST_START_TEST):
9193         * configure.ac:
9194         * gst/Makefile.am:
9195         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9196         (init_popt_callback):
9197         * gst/gst.h:
9198         * gst/gst_private.h:
9199         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9200         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9201         * gst/gstbin.h:
9202         * gst/gstbus.h:
9203         * gst/gstconfig.h.in:
9204         * gst/gstelement.c: (gst_element_class_init),
9205         (gst_element_set_base_time), (gst_element_get_base_time),
9206         (iterator_fold_with_resync), (gst_element_change_state),
9207         (gst_element_dispose), (gst_element_get_bus):
9208         * gst/gstelement.h:
9209         * gst/gstelementfactory.h:
9210         * gst/gsterror.c: (_gst_core_errors_init):
9211         * gst/gsterror.h:
9212         * gst/gstevent.h:
9213         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9214         * gst/gstindex.c:
9215         * gst/gstinfo.c: (_gst_debug_init):
9216         * gst/gstmessage.c: (_gst_message_copy):
9217         * gst/gstmessage.h:
9218         * gst/gstminiobject.h:
9219         * gst/gstobject.c:
9220         * gst/gstobject.h:
9221         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9222         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9223         * gst/gstpad.h:
9224         * gst/gstparse.h:
9225         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9226         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9227         (gst_pipeline_get_last_stream_time):
9228         * gst/gstpipeline.h:
9229         * gst/gstpluginfeature.h:
9230         * gst/gstquery.h:
9231         * gst/gstscheduler.c:
9232         * gst/gstscheduler.h:
9233         * gst/gststructure.h:
9234         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9235         (gst_task_finalize), (gst_task_func), (gst_task_create),
9236         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9237         (gst_task_stop), (gst_task_pause):
9238         * gst/gsttask.h:
9239         * gst/gsttypefind.h:
9240         * gst/gsttypes.h:
9241         * gst/registries/gstlibxmlregistry.c: (load_feature),
9242         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9243         * gst/registries/gstxmlregistry.c:
9244         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9245         * gst/schedulers/threadscheduler.c:
9246         * libs/gst/control/dparammanager.h:
9247         * tools/gst-inspect.c: (print_element_list),
9248         (print_plugin_features), (print_element_features):
9249         * tools/gst-xmlinspect.c: (print_element_list),
9250         (print_plugin_info), (main):
9251         Removed plugable schedulers.
9252         Removed Scheduler/Manager from elements.
9253         Removed gsttypes.h, rearranged includes.
9254         Removed dependency pad<->element, element<>pipeline, and
9255         various others,  fix includes.
9256         implement gst_pad_get_parent() with gst_object_get_parent()
9257         Make GstTask sefcontained.
9258         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9259         timeout.
9260         Fix endless loop in iterator_fold_with_resync.
9261
9262
9263 2005-07-18  Wim Taymans  <wim@fluendo.com>
9264
9265         * gst/Makefile.am:
9266         * gst/gstarch.h:
9267         Remove old file.
9268
9269 2005-07-18  Wim Taymans  <wim@fluendo.com>
9270
9271         * gst/Makefile.am:
9272         No more cothreads.h
9273
9274 2005-07-18  Wim Taymans  <wim@fluendo.com>
9275
9276         * gst/cothreads.c:
9277         * gst/cothreads.h:
9278         Let's remove these.
9279
9280 2005-07-18  Wim Taymans  <wim@fluendo.com>
9281
9282         * docs/design/part-dynamic.txt:
9283         * docs/design/part-events.txt:
9284         * docs/design/part-seeking.txt:
9285         Some more docs in the works.
9286
9287         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9288         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9289         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9290         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9291         (gst_base_transform_handle_buffer),
9292         (gst_base_transform_sink_activate_push),
9293         (gst_base_transform_src_activate_pull),
9294         (gst_base_transform_set_passthrough),
9295         (gst_base_transform_is_passthrough):
9296         Refcounting fixes.
9297
9298         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9299         Cleanups.
9300
9301         * gst/gstevent.c: (gst_event_finalize):
9302         Set SRC to NULL.
9303
9304         * gst/gstutils.c: (gst_element_unlink),
9305         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9306         (gst_pad_proxy_setcaps):
9307         * gst/gstutils.h:
9308         Add _get_parent_element() to get a pads parent as an element.
9309
9310 2005-07-18  Wim Taymans  <wim@fluendo.com>
9311
9312         * check/gst/gstbin.c: (GST_START_TEST):
9313         Remove bogus test.
9314
9315 2005-07-18  Wim Taymans  <wim@fluendo.com>
9316
9317         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9318         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9319         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9320         (gst_base_sink_event), (gst_base_sink_do_sync),
9321         (gst_base_sink_chain), (gst_base_sink_loop),
9322         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9323         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9324         Refcounting fixes.
9325         Fix logic for returning ASYNC when not prerolled.
9326
9327 2005-07-18  Wim Taymans  <wim@fluendo.com>
9328
9329         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9330         Fix nasty refcount bug.
9331
9332 2005-07-16 Philippe Khalaf <burger@speedy.org>
9333
9334         * gst/elements/gstfdsrc.c:
9335         * gst/elements/gstfdsrc.h:
9336         * gst/elements/gstelements.c:
9337         * gst/elements/Makefile.am:
9338         Ported fdsrc to 0.9.
9339
9340 2005-07-16  Wim Taymans  <wim@fluendo.com>
9341
9342         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9343         (gst_base_sink_do_sync):
9344         Fix compile error.
9345
9346 2005-07-16  Wim Taymans  <wim@fluendo.com>
9347
9348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9349         (gst_base_sink_event), (gst_base_sink_get_times),
9350         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9351         * gst/base/gstbasesink.h:
9352         Store and use discont values when syncing buffers as described
9353         in design docs.
9354         
9355         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9356         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9357         (gst_base_src_activate_push):
9358         Push discont event when starting.
9359
9360         * gst/elements/gstidentity.c: (gst_identity_transform):
9361         Small cleanups.
9362
9363         * gst/gstbin.c: (gst_bin_change_state):
9364         Small cleanups in base_time  distribution.
9365
9366         * gst/gstelement.c: (gst_element_set_base_time),
9367         (gst_element_get_base_time), (gst_element_change_state):
9368         * gst/gstelement.h:
9369         Added methods for the base_time of the element.
9370         Some MT fixes.
9371
9372         * gst/gstpipeline.c: (gst_pipeline_send_event),
9373         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9374         (gst_pipeline_get_last_stream_time):
9375         * gst/gstpipeline.h:
9376         MT fixes.
9377         Handle seeking as described in design doc, remove stream_time
9378         hack.
9379         Cleanups clock and stream_time selection code. Added accessors
9380         for the stream_time.
9381         
9382
9383 2005-07-16  Andy Wingo  <wingo@pobox.com>
9384
9385         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9386         (#305291).
9387
9388 2005-07-16  Wim Taymans  <wim@fluendo.com>
9389
9390         * check/gst/gstbin.c: (GST_START_TEST):
9391         Make elements silent as the deep_notify refs the
9392         parent, which might make the test fail.
9393
9394         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9395         Don't hold the lock for too long.
9396
9397 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9398
9399         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9400           Don't unref the caps we passed to gst_caps_make_writable() after
9401           passing them. gst_caps_make_writable() will do that for us.
9402
9403 2005-07-15  Andy Wingo  <wingo@pobox.com>
9404
9405         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9406         (#157311).
9407
9408         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9409         own marshalling function for the handoff signal. Properly type the
9410         buffer as a buffer. Fixes some warnings. Should do a more general
9411         solution.
9412         (gst_identity_class_init): Plug into the right marshaller.
9413
9414 2005-07-15  Wim Taymans  <wim@fluendo.com>
9415
9416         * docs/design/part-TODO.txt:
9417         * docs/design/part-clocks.txt:
9418         * docs/design/part-element-sink.txt:
9419         * docs/design/part-events.txt:
9420         * docs/design/part-gstpipeline.txt:
9421         Updated docs, mostly DISCONT related.
9422
9423 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9424
9425         * docs/pwg/building-pads.xml:
9426           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9427
9428 2005-07-15  Andy Wingo  <wingo@pobox.com>
9429
9430         * tools/gst-typefind.c: Update, add copyright block.
9431
9432         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9433         Normalize and truncate caps before fixation.
9434
9435         * gst/gstcaps.h:
9436         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9437         discards all but the first structure from its argument.
9438
9439 2005-07-15  Wim Taymans  <wim@fluendo.com>
9440
9441         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9442         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9443         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9444         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9445         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9446         (gst_base_transform_chain), (gst_base_transform_change_state),
9447         (gst_base_transform_set_passthrough),
9448         (gst_base_transform_is_passthrough):
9449         * gst/base/gstbasetransform.h:
9450         Make passthrough work using the bufferpools.
9451         Changed API a bit, subclasses have to write into a buffer
9452         provided by the base class.
9453         More debug info in nego functions.
9454         
9455         * gst/elements/gstidentity.c: (gst_identity_init),
9456         (gst_identity_transform):
9457         Port to new base class.
9458
9459 2005-07-15  Wim Taymans  <wim@fluendo.com>
9460
9461         * gst/gstmessage.c: (gst_message_new_state_changed):
9462         * tools/gst-launch.c: (event_loop), (main):
9463         Totally dump messages in -launch with the -m option.
9464         Fix message name for State messages,
9465
9466 2005-07-14  Wim Taymans  <wim@fluendo.com>
9467
9468         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9469         Post error messages on errors.
9470
9471 2005-07-14  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gstcaps.c: (gst_caps_do_simplify):
9474         Remove debug info.
9475
9476         * gst/gsterror.h:
9477         Define error for stream stopped.
9478
9479         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9480         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9481         Do proper return values.
9482
9483         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9484         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9485         (gst_pad_get_range):
9486         Better return values.
9487
9488         * gst/gstpad.h:
9489         Reorganise return values, add macro to check for fatal errors.
9490
9491         * gst/gstqueue.c: (gst_queue_chain):
9492         Return proper GstFlowReturn values,
9493
9494 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9495
9496         * docs/gst/gstreamer-sections.txt:
9497         * docs/gst/gstreamer.types:
9498         * docs/gst/tmpl/gst.sgml:
9499         * docs/gst/tmpl/gstbasesink.sgml:
9500         * docs/gst/tmpl/gstbasesrc.sgml:
9501         * docs/gst/tmpl/gstbasetransform.sgml:
9502         * docs/gst/tmpl/gstbin.sgml:
9503         * docs/gst/tmpl/gstbuffer.sgml:
9504         * docs/gst/tmpl/gstcaps.sgml:
9505         * docs/gst/tmpl/gstclock.sgml:
9506         * docs/gst/tmpl/gstcompat.sgml:
9507         * docs/gst/tmpl/gstconfig.sgml:
9508         * docs/gst/tmpl/gstelement.sgml:
9509         * docs/gst/tmpl/gstelementdetails.sgml:
9510         * docs/gst/tmpl/gstelementfactory.sgml:
9511         * docs/gst/tmpl/gstenumtypes.sgml:
9512         * docs/gst/tmpl/gsterror.sgml:
9513         * docs/gst/tmpl/gstevent.sgml:
9514         * docs/gst/tmpl/gstfakesink.sgml:
9515         * docs/gst/tmpl/gstfakesrc.sgml:
9516         * docs/gst/tmpl/gstfilesink.sgml:
9517         * docs/gst/tmpl/gstfilesrc.sgml:
9518         * docs/gst/tmpl/gstfilter.sgml:
9519         * docs/gst/tmpl/gstformat.sgml:
9520         * docs/gst/tmpl/gstghostpad.sgml:
9521         * docs/gst/tmpl/gstimplementsinterface.sgml:
9522         * docs/gst/tmpl/gstindex.sgml:
9523         * docs/gst/tmpl/gstindexfactory.sgml:
9524         * docs/gst/tmpl/gstinfo.sgml:
9525         * docs/gst/tmpl/gstiterator.sgml:
9526         * docs/gst/tmpl/gstmacros.sgml:
9527         * docs/gst/tmpl/gstmemchunk.sgml:
9528         * docs/gst/tmpl/gstminiobject.sgml:
9529         * docs/gst/tmpl/gstobject.sgml:
9530         * docs/gst/tmpl/gstpad.sgml:
9531         * docs/gst/tmpl/gstpadtemplate.sgml:
9532         * docs/gst/tmpl/gstparse.sgml:
9533         * docs/gst/tmpl/gstpipeline.sgml:
9534         * docs/gst/tmpl/gstplugin.sgml:
9535         * docs/gst/tmpl/gstpluginfeature.sgml:
9536         * docs/gst/tmpl/gstquery.sgml:
9537         * docs/gst/tmpl/gstqueue.sgml:
9538         * docs/gst/tmpl/gstregistry.sgml:
9539         * docs/gst/tmpl/gstregistrypool.sgml:
9540         * docs/gst/tmpl/gstscheduler.sgml:
9541         * docs/gst/tmpl/gstschedulerfactory.sgml:
9542         * docs/gst/tmpl/gststructure.sgml:
9543         * docs/gst/tmpl/gstsystemclock.sgml:
9544         * docs/gst/tmpl/gsttaglist.sgml:
9545         * docs/gst/tmpl/gsttagsetter.sgml:
9546         * docs/gst/tmpl/gsttrace.sgml:
9547         * docs/gst/tmpl/gsttrashstack.sgml:
9548         * docs/gst/tmpl/gsttypefind.sgml:
9549         * docs/gst/tmpl/gsttypefindfactory.sgml:
9550         * docs/gst/tmpl/gsttypes.sgml:
9551         * docs/gst/tmpl/gsturihandler.sgml:
9552         * docs/gst/tmpl/gsturitype.sgml:
9553         * docs/gst/tmpl/gstutils.sgml:
9554         * docs/gst/tmpl/gstvalue.sgml:
9555         * docs/gst/tmpl/gstversion.sgml:
9556         * docs/gst/tmpl/gstxml.sgml:
9557         * docs/libs/tmpl/gstcontrol.sgml:
9558         * docs/libs/tmpl/gstdataprotocol.sgml:
9559         * docs/libs/tmpl/gstdparam.sgml:
9560         * docs/libs/tmpl/gstdplinint.sgml:
9561         * docs/libs/tmpl/gstdpman.sgml:
9562         * docs/libs/tmpl/gstdpsmooth.sgml:
9563         * docs/libs/tmpl/gstgetbits.sgml:
9564         * docs/libs/tmpl/gstunitconvert.sgml:
9565         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9566         (gst_push_src_base_init), (gst_push_src_class_init),
9567         (gst_push_src_init), (gst_push_src_create):
9568         * gst/base/gstpushsrc.h:
9569         * gst/elements/gstelements.c:
9570         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9571         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9572         (gst_fake_sink_init), (gst_fake_sink_set_property),
9573         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9574         (gst_fake_sink_event), (gst_fake_sink_preroll),
9575         (gst_fake_sink_render), (gst_fake_sink_change_state):
9576         * gst/elements/gstfakesink.h:
9577         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9578         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9579         (gst_fake_src_base_init), (gst_fake_src_class_init),
9580         (gst_fake_src_init), (gst_fake_src_event_handler),
9581         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9582         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9583         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9584         (gst_fake_src_create_buffer), (gst_fake_src_create),
9585         (gst_fake_src_start), (gst_fake_src_stop):
9586         * gst/elements/gstfakesrc.h:
9587         * gst/elements/gstfilesink.c: (_do_init),
9588         (gst_file_sink_base_init), (gst_file_sink_class_init),
9589         (gst_file_sink_init), (gst_file_sink_dispose),
9590         (gst_file_sink_set_location), (gst_file_sink_set_property),
9591         (gst_file_sink_get_property), (gst_file_sink_open_file),
9592         (gst_file_sink_close_file), (gst_file_sink_query),
9593         (gst_file_sink_event), (gst_file_sink_render),
9594         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9595         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9596         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9597         * gst/elements/gstfilesink.h:
9598         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9599         (gst_file_src_class_init), (gst_file_src_init),
9600         (gst_file_src_finalize), (gst_file_src_set_location),
9601         (gst_file_src_set_property), (gst_file_src_get_property),
9602         (gst_file_src_map_region), (gst_file_src_map_small_region),
9603         (gst_file_src_create_mmap), (gst_file_src_create_read),
9604         (gst_file_src_create), (gst_file_src_is_seekable),
9605         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9606         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9607         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9608         (gst_file_src_uri_handler_init):
9609         * gst/elements/gstfilesrc.h:
9610           more autistic cleanliness in functions/names/defines
9611
9612 2005-07-13  Andy Wingo  <wingo@pobox.com>
9613
9614         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9615         source couldn't negotiate.
9616
9617         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9618         connections again.
9619
9620         * gst/gstutils.h:
9621         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9622         function. I am channeling Hades. Put your boots on suckers!!!
9623
9624 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9625
9626         * testsuite/caps/Makefile.am:
9627         * testsuite/caps/value_compare.c:
9628         * testsuite/caps/value_intersect.c:
9629         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9630           move two testsuite apps over to the check dir
9631
9632 2005-07-12  Wim Taymans  <wim@fluendo.com>
9633
9634         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9635         Added more debug info in the negotiate process.
9636
9637         * gst/gstmessage.h:
9638         Prepare for segment playback.
9639
9640         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9641         Better debugging.
9642
9643         * gst/gstutils.c:
9644         Some more docs.
9645
9646         * tools/gst-launch.c: (main):
9647         NULL pipeline on errors.
9648
9649 2005-07-12  Andy Wingo  <wingo@pobox.com>
9650
9651         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9652         not it comes from a malloc region. Make sure our copy gets freed.
9653
9654 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9655
9656         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9657         * check/gst/gstmessage.c: (GST_START_TEST):
9658         * check/gst/gststructure.c: (GST_START_TEST),
9659         (gst_structure_suite), (main):
9660           more testing
9661         * gst/gstelement.c: (gst_element_message_full):
9662           clean up GError and debug string now that they get copied
9663         * gst/gstmessage.c: (gst_message_new_error),
9664         (gst_message_new_warning), (gst_message_parse_error),
9665         (gst_message_parse_warning):
9666           use GST_TYPE_G_ERROR for structure_new, and take copies of
9667           arguments, so that we don't mess up refcounting
9668
9669 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9670
9671         * check/Makefile.am:
9672           add per-test valgrind targets
9673         * check/gst-libs/gdp.c: (GST_START_TEST),
9674         (gst_data_protocol_suite), (main):
9675           clean up
9676
9677 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9678
9679         * check/Makefile.am:
9680           instate more valgrindable tests
9681         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9682         (GST_START_TEST), (fakesrc_suite):
9683         * check/gst/gstpad.c: (GST_START_TEST):
9684         * check/gst/gststructure.c: (GST_START_TEST):
9685           fix test leaks
9686         * docs/gst/tmpl/gstminiobject.sgml:
9687         * gst/gstpad.c: (gst_pad_finalize):
9688           fix the static mutex leak
9689
9690 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * check/Makefile.am:
9693           add two more tests for valgrinding
9694         * check/gst/gstvalue.c: (GST_START_TEST):
9695           test refcount of deserialized buffer, found a leak
9696         * docs/gst/gstreamer-docs.sgml:
9697         * docs/gst/gstreamer-sections.txt:
9698         * docs/gst/gstreamer.types:
9699         * docs/gst/tmpl/gstminiobject.sgml:
9700           add miniobject to docs
9701         * gst/gstminiobject.c:
9702           add some docs
9703         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9704         (gst_string_unwrap):
9705           fix a hard-to-find invalid write for one of the tests
9706           fix a leak for deserialized buffers
9707
9708 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9709
9710         * docs/pwg/advanced-events.xml:
9711         * docs/pwg/advanced-request.xml:
9712         * docs/pwg/advanced-scheduling.xml:
9713         * docs/pwg/appendix-porting.xml:
9714         * docs/pwg/building-boiler.xml:
9715         * docs/pwg/intro-preface.xml:
9716         * docs/pwg/other-ntoone.xml:
9717           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9718           of example code and explanation for pad activation, loop() and
9719           getrange() functions and a bit more. Remove old comments pointing
9720           to loop-functions.
9721         * examples/pwg/Makefile.am:
9722           Add loop/getrange examples.
9723
9724 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9725
9726         * configure.ac:
9727           check for valgrind binary + some fixes
9728         * check/gst.supp:
9729           valgrind suppressions for the tests
9730         * check/Makefile.am:
9731           add a valgrind: target that valgrinds the unit tests
9732         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9733         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9734         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9735         * check/gst/gstghostpad.c:
9736           added some cleanup
9737         * check/gst/gstdata.c:
9738           removed
9739         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9740         (thread_unref), (gst_mini_object_suite), (main):
9741           added
9742         * gst/gst.c: (gst_deinit):
9743         * gst/gst.h:
9744           add a method to clean up.
9745         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9746         (gst_system_clock_obtain):
9747           allow for disposing the system clock.
9748         * tools/gst-launch.c: (main):
9749           deinit
9750
9751 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9752
9753         * docs/gst/tmpl/gstbasesrc.sgml:
9754         * docs/gst/tmpl/gstfakesrc.sgml:
9755         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9756         (gst_base_src_init), (gst_base_src_set_property),
9757         (gst_base_src_get_property), (gst_base_src_get_range),
9758         (gst_base_src_start):
9759         * gst/base/gstbasesrc.h:
9760           add num-buffers property
9761         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9762         (gst_fakesrc_init), (gst_fakesrc_set_property),
9763         (gst_fakesrc_get_property), (gst_fakesrc_create),
9764         (gst_fakesrc_start):
9765           remove num-buffers property
9766
9767 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9768
9769         * docs/gst/gstreamer-sections.txt:
9770         * docs/gst/tmpl/gstbasesink.sgml:
9771         * docs/gst/tmpl/gstbasesrc.sgml:
9772         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9773         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9774         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9775         (gst_base_sink_set_property), (gst_base_sink_get_property),
9776         (gst_base_sink_handle_object), (gst_base_sink_event),
9777         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9778         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9779         (gst_base_sink_loop), (gst_base_sink_deactivate),
9780         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9781         (gst_base_sink_change_state):
9782         * gst/base/gstbasesink.h:
9783         * gst/base/gstbasesrc.h:
9784         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9785         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9786         (gst_filesink_init):
9787           more macro splitting
9788
9789 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9790
9791         * gst/gstelement.c: (gst_element_get_bus):
9792           add debug
9793         * tools/gst-launch.c: (check_intr), (event_loop):
9794           fix bus leaks
9795
9796 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9797
9798         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9799           fix a caps leak
9800
9801 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9802
9803         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9804         (gst_base_src_finalize):
9805           add finalize method and clean up properly
9806         * gst/gstpipeline.c: (gst_pipeline_dispose):
9807           add debug
9808
9809 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9810
9811         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9812         (gst_bin_suite):
9813           add more things to check
9814         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9815         * gst/gstelement.c:
9816           more debug
9817
9818 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9819
9820         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9821         (GST_START_TEST), (fakesrc_suite):
9822         * check/gst-libs/gdp.c: (GST_START_TEST):
9823         * check/gst/gst.c: (GST_START_TEST):
9824         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9825         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9826         * check/gst/gstbus.c: (GST_START_TEST):
9827         * check/gst/gstcaps.c: (GST_START_TEST):
9828         * check/gst/gstdata.c: (GST_START_TEST):
9829         * check/gst/gstelement.c: (GST_START_TEST):
9830         * check/gst/gstghostpad.c: (GST_START_TEST):
9831         * check/gst/gstiterator.c: (GST_START_TEST):
9832         * check/gst/gstmessage.c: (GST_START_TEST):
9833         * check/gst/gstobject.c: (GST_START_TEST):
9834         * check/gst/gstpad.c: (GST_START_TEST):
9835         * check/gst/gststructure.c: (GST_START_TEST):
9836         * check/gst/gstsystemclock.c: (GST_START_TEST),
9837         (gst_systemclock_suite):
9838         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9839         * check/gst/gstvalue.c: (GST_START_TEST):
9840         * check/pipelines/cleanup.c: (GST_START_TEST):
9841         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9842         * check/states/sinks.c: (GST_START_TEST):
9843         * check/gstcheck.c: (gst_check_init):
9844         * check/gstcheck.h:
9845           add debugging category
9846           use GST_START_TEST now, so we add a debug line
9847
9848 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9849
9850         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9851           add test for state change message on a bin
9852         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9853           add another test
9854         * gst/gstbin.c: (gst_bin_init):
9855         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9856         * gst/gstelement.c: (gst_element_post_message),
9857         (gst_element_set_state):
9858         * gst/gstelementfactory.c: (gst_element_factory_create):
9859         * gst/gstmessage.c: (gst_message_new):
9860         * gst/gstscheduler.c:
9861           various debugging additions and cleanups
9862
9863 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9864
9865         * check/Makefile.am:
9866         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9867         (main):
9868           adding tests for elements
9869         * gst/gstelement.c: (gst_element_dispose):
9870
9871 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9872
9873         * gst/registries/gstlibxmlregistry.c: (load_feature):
9874           plug more leaks.  A simple gst_init() now is leakfree, yay.
9875
9876 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9877
9878         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9879         (gst_xml_registry_load):
9880           plug another memleak
9881
9882 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9883
9884         * configure.ac:
9885           use GST_SET_ERROR_CFLAGS
9886         * docs/faq/cvs.xml:
9887           change to ERROR_CFLAGS
9888
9889 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * configure.ac:
9892           make GST_ERROR_CFLAGS overridable and re-enable Werror
9893         * docs/faq/cvs.xml:
9894           add a note about error CFLAGS
9895         * docs/gst/tmpl/gstfakesrc.sgml:
9896         * gst/elements/gstfakesrc.c:
9897           comment out some unused code
9898         * gst/gst.c: (split_and_iterate):
9899         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9900         (load_feature):
9901           plug some memleaks
9902
9903 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9904
9905         * common/Makefile.am:
9906         * common/gtk-doc.mak:
9907         * docs/gst/Makefile.am:
9908           factor out gtk-doc.mak
9909
9910 2005-07-07  Wim Taymans  <wim@fluendo.com>
9911
9912         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9913         (gst_thread_scheduler_dispose):
9914         Unlock the STREAM_LOCK completely.
9915
9916 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9917
9918         * check/Makefile.am:
9919         * check/elements/.cvsignore:
9920         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9921         (START_TEST), (fakesrc_suite), (main):
9922         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9923         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9924         (gst_fakesrc_create), (gst_fakesrc_start):
9925         * gst/elements/gstfakesrc.h:
9926           adding a first element test
9927
9928 2005-07-07  Andy Wingo  <wingo@pobox.com>
9929
9930         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9931         debug message.
9932
9933 2005-07-07  Wim Taymans  <wim@fluendo.com>
9934
9935         * gst/gstquery.c:
9936         * gst/gstquery.h:
9937         Remove old types
9938
9939 2005-07-07  Wim Taymans  <wim@fluendo.com>
9940
9941         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9942         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9943         Allow subclasses to implement their own negotiation.
9944
9945 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9946
9947         * docs/design/part-gstbin.txt:
9948         * docs/design/part-gstpipeline.txt:
9949           Update design notes to reflect the movement of
9950           responsibility for bus handling from GstPipeline to
9951           GstBin
9952
9953 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9954
9955         * configure.ac:
9956           Remove unnecessary queue2/3/4 examples.
9957
9958 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9959
9960         * examples/Makefile.am:
9961         * examples/helloworld/helloworld.c: (event_loop), (main):
9962         * examples/queue/queue.c: (event_loop), (main):
9963         * examples/queue2/queue2.c: (main):
9964           Update a couple of the examples to work again.
9965
9966         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9967         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9968          Spelling corrections and extra debug.
9969         
9970         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9971         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9972         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9973         * gst/gstbin.h:
9974         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9975         (gst_pipeline_change_state):
9976         * gst/gstpipeline.h:
9977           Move the bus handler for children to the GstBin, and create a
9978           separate bus for receiving messages from children to the one the
9979           bus sends 'upwards' on.
9980
9981 2005-07-06  Wim Taymans  <wim@fluendo.com>
9982
9983         * gst/base/README:
9984         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9985         (gst_base_sink_handle_object), (gst_base_sink_loop),
9986         (gst_base_sink_change_state):
9987         * gst/base/gstbasesink.h:
9988         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9989         (gst_base_src_init), (gst_base_src_setcaps),
9990         (gst_base_src_getcaps), (gst_base_src_loop),
9991         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9992         (gst_base_src_start), (gst_base_src_change_state):
9993         * gst/base/gstbasesrc.h:
9994         Make basesrc negotiate.
9995         Handle the case where preroll fails in basesink.
9996         Update README.
9997
9998 2005-07-06  Wim Taymans  <wim@fluendo.com>
9999
10000         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10001         Implement the fixate function.
10002         Clean up acceptcaps.
10003
10004 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10005
10006         * docs/pwg/building-filterfactory.xml:
10007         * docs/pwg/pwg.xml:
10008           Remove never-written filter-factory chapter; I'll add the various
10009           base classes to part 4 ("other element types") later on.
10010
10011 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10012
10013         * docs/pwg/advanced-negotiation.xml:
10014         * docs/pwg/building-boiler.xml:
10015         * docs/pwg/building-pads.xml:
10016         * docs/pwg/pwg.xml:
10017         * examples/pwg/Makefile.am:
10018           Add a chapter on caps negotiation, simplify the original code
10019           samples a bit w.r.t. caps negotiation, add link to the advanced
10020           section. Add a bunch of examples showing different use cases of
10021           different types of caps negotiation. Upstream renegotiation isn't
10022           fully documented yet since nobody knows how that works.
10023
10024 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10025
10026         * check/gst/gstpad.c:
10027         * check/gstcheck.c:
10028         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10029           if pad has no parent, return NULL as list of internal links
10030
10031 2005-07-05  Andy Wingo  <wingo@pobox.com>
10032
10033         * gst/elements/gstfilesrc.c:
10034         * gst/elements/gstfakesrc.c: 
10035         * gst/base/gstpushsrc.c:
10036         * gst/base/gstbasesrc.h: 
10037         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10038         
10039 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10040
10041         * Makefile.am:
10042           better report generation target (lcov needs a patch)
10043
10044 2005-07-05  Andy Wingo  <wingo@pobox.com>
10045
10046         * gst/elements, testsuite: Null if we got it...
10047
10048 2005-07-05  Wim Taymans  <wim@fluendo.com>
10049
10050         * configure.ac:
10051         * libs/gst/dataprotocol/Makefile.am:
10052         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10053         * libs/gst/dataprotocol/dataprotocol.h:
10054         * pkgconfig/Makefile.am:
10055         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10056         * pkgconfig/gstreamer-dataprotocol.pc.in:
10057         Ported dataprotol to 0.9. 
10058         Added pkgconfig files.
10059
10060 2005-07-05  Andy Wingo  <wingo@pobox.com>
10061
10062         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10063         Default to returning TRUE for the case when tranform_caps returns
10064         a fixed caps, like for identity or volume.
10065
10066         * check/gst/gstbus.c (pound_bus_with_messages): 
10067         * check/gst/gstmessage.c (START_TEST): 
10068         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10069         message API change.
10070
10071         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10072         logic weaks here: always run transform_caps, trying passthrough
10073         operation only if the original caps intersects with the transform.
10074
10075         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10076         source and sink caps.
10077
10078         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10079         Intersect the peer caps with the pad template before going into
10080         transform_caps.
10081         (gst_base_transform_transform_caps): More debugging.
10082
10083         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10084         src argument.
10085
10086 2005-07-04  Edward Hervey  <edward@fluendo.com>
10087
10088         * gst/gstutils.c:
10089         * gst/gstutils.h:
10090         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10091         in bindings.
10092
10093 2005-07-04  Andy Wingo  <wingo@pobox.com>
10094
10095         * check/gst/gstpad.c: Only set explicit caps on pads.
10096
10097 2005-07-01  Andy Wingo  <wingo@pobox.com>
10098
10099         * tests/network-clock.scm: Commentary update.
10100
10101         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10102         Didn't really make sense, not implementable with basetransform,
10103         etc.
10104         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10105         attempt at implementing the sync property, needs an unlock method.
10106
10107         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10108         New func, by default returns the same caps (the identity
10109         transformation).
10110         (gst_base_transform_getcaps): Uses transform_caps to return
10111         something sensible.
10112         (gst_base_transform_setcaps): Complicated logic to get caps on
10113         both pads, even if they are different, and to call set_caps once
10114         for every time both pads get their caps set.
10115         (gst_base_transform_handle_buffer): Give the ref to the transform
10116         function. Allows in-place modification of the buffer.
10117
10118         * gst/base/gstbasetransform.h (transform_caps): New class method.
10119         Given caps on one side, what can I do on the other.
10120         (set_caps): Take two caps, one for each side of the element.
10121
10122         * gst/gstpad.h:
10123         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10124         caps in place. This is safe because we can check the mutability of
10125         the caps, and a good idea because fixate functions are just called
10126         as a matter of last resort. (Not actually implemented.)
10127         (gst_pad_set_caps): If the caps we're setting is actually the same
10128         as the existing pad caps, just update the pointer without calling
10129         setcaps. Assert that caps is either NULL or fixed, as per the
10130         docs.
10131
10132         * gst/gstghostpad.c: Update for fixate changes.
10133
10134 2005-07-02  Andy Wingo  <wingo@pobox.com>
10135
10136         * gst/gstcaps.c:
10137         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10138         two refcounts makes it immutable, which is enough. Doc more.
10139
10140 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10141
10142         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10143           Put the mini_object into GValue as a mini_object,
10144           not a gpointer, since that's how we declared
10145           the signal.
10146
10147 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10148
10149         * examples/pwg/Makefile.am:
10150           Fix buildbot again.
10151
10152 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10153
10154         * docs/pwg/building-testapp.xml:
10155           Add extra check.
10156         * examples/pwg/Makefile.am:
10157           Fix buildbot.
10158
10159 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10160
10161         * configure.ac:
10162         * examples/Makefile.am:
10163         * examples/pwg/Makefile.am:
10164         * examples/pwg/extract.pl:
10165           Enable building the PWG examples.
10166         * docs/pwg/advanced-interfaces.xml:
10167           Add URI interface stub.
10168         * docs/pwg/advanced-types.xml:
10169         * docs/pwg/other-autoplugger.xml:
10170         * docs/pwg/appendix-porting.xml:
10171         * docs/pwg/pwg.xml:
10172           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10173         * docs/pwg/building-boiler.xml:
10174         * docs/pwg/building-chainfn.xml:
10175         * docs/pwg/building-pads.xml:
10176         * docs/pwg/building-props.xml:
10177         * docs/pwg/building-state.xml:
10178         * docs/pwg/building-testapp.xml:
10179           Update the building-*.xml parts for 0.9 changes. All examples
10180           code blocks compile in examples/pwg/*.
10181
10182 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10183
10184         * docs/manual/advanced-autoplugging.xml:
10185         * docs/manual/appendix-checklist.xml:
10186         * docs/manual/appendix-integration.xml:
10187         * docs/manual/highlevel-components.xml:
10188           Fix playbin/decodebin examples, update docs a bit, mention bus
10189           instead of signals in various places, mention kmplayer and
10190           kaffeine since they have a working GStreamer backend in the KDE
10191           section.
10192
10193 2005-06-30  Wim Taymans  <wim@fluendo.com>
10194
10195         * CHANGES-0.9:
10196         * docs/design/draft-ghostpads.txt:
10197         * docs/design/draft-push-pull.txt:
10198         * docs/design/draft-query.txt:
10199         * docs/design/part-TODO.txt:
10200         * docs/design/part-query.txt:
10201         Added CHANGES-0.9 doc, updated status of other docs.
10202         
10203         * gst/gstquery.h:
10204         Remove "hmm" macro
10205
10206 2005-06-30  Wim Taymans  <wim@fluendo.com>
10207
10208         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10209         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10210         (gst_base_sink_change_state):
10211         * gst/base/gstbasesink.h:
10212         Some tweaks, only EOS and a buffer complete a preroll.
10213
10214 2005-06-30  Andy Wingo  <wingo@pobox.com>
10215
10216         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10217         activate_push down to the internal pad as well.
10218
10219 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10220
10221         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10222
10223         * gst/gsttaginterface.c:
10224           Some documentation fixes (#307394 and #307397).
10225
10226 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10227
10228         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10229
10230         * gst/gstvalue.c: (gst_value_intersect_list):
10231           Fix memleak (#309125).
10232
10233 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10234
10235         * docs/manual/advanced-dataaccess.xml:
10236           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10237         * docs/manual/basics-pads.xml:
10238           Add reference for filtered caps to above chapter.
10239
10240 2005-06-30  Wim Taymans  <wim@fluendo.com>
10241
10242         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10243         (gst_bin_change_state):
10244         Probes are gone.
10245         Lame attempt at making the state change function a bit
10246         more readable.
10247
10248 2005-06-30  Wim Taymans  <wim@fluendo.com>
10249
10250         * docs/design/part-clocks.txt:
10251         * docs/design/part-element-sink.txt:
10252         * docs/design/part-events.txt:
10253         * docs/design/part-preroll.txt:
10254         * docs/design/part-states.txt:
10255         Some more tweeks and additions to the docs.
10256
10257 2005-06-30  Wim Taymans  <wim@fluendo.com>
10258
10259         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10260         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10261         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10262         (gst_pad_check_pull_range), (gst_pad_get_range),
10263         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10264         * gst/gstpad.h:
10265         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10266         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10267         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10268         (gst_pad_remove_buffer_probe):
10269         Removed atomic operations, use existing LOCK.
10270         Move exception handling out of main code path.
10271
10272 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10273
10274         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10275         (silly_return_true_function), (gst_pad_class_init),
10276         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10277         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10278         (gst_pad_send_event):
10279           Fix accumulator, add default value by using _emitv() instead
10280           of _emit() for signal emission.
10281
10282 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10283
10284         * docs/manual/advanced-dataaccess.xml:
10285         * examples/manual/Makefile.am:
10286           Add probe example.
10287         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10288           Make work (??).
10289
10290 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10291
10292         * gst/elements/gstfilesink.c: (gst_filesink_render):
10293           Simplify code so that we don't have to handle short
10294           writes and return GST_FLOW_ERROR if an error occured.
10295
10296 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10297
10298         * docs/gst/gstreamer-docs.sgml:
10299           Remove probes more.
10300
10301 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10302
10303         * docs/gst/gstreamer-sections.txt:
10304         * docs/gst/tmpl/gstpad.sgml:
10305         * docs/gst/tmpl/gstprobe.sgml:
10306         * gst/Makefile.am:
10307         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10308         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10309         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10310         (gst_pad_push_event), (gst_pad_send_event):
10311         * gst/gstpad.h:
10312         * gst/gstutils.c: (gst_pad_add_data_probe),
10313         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10314         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10315         (gst_pad_remove_buffer_probe):
10316         * gst/gstutils.h:
10317           Remove old probes, add new g-signal-based probes and some utility
10318           functions.
10319
10320 2005-06-29  Edward Hervey  <edward@fluendo.com>
10321
10322         * gst/gstelementfactory.c:
10323         * gst/gstutils.h:
10324         * gst/gstutils.c:
10325         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10326         the definition to the header file.
10327
10328 2005-06-29  Andy Wingo  <wingo@pobox.com>
10329
10330         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10331         plugins from the source directory.
10332
10333 2005-06-29  Wim Taymans  <wim@fluendo.com>
10334
10335         * docs/gst/tmpl/gstbuffer.sgml:
10336         * docs/gst/tmpl/gstclock.sgml:
10337         Some fixings for blantently wrong text.
10338
10339 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10340
10341         * check/Makefile.am:
10342         * gst/gst.c: (add_path_func), (init_pre):
10343         * gst/gstregistry.c: (gst_registry_add_path):
10344           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10345           only scan the GST_PLUGIN_PATH locations, and not add
10346           system locations
10347
10348 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10349
10350         * docs/gst/gstreamer-sections.txt:
10351         * docs/gst/tmpl/gstbasesrc.sgml:
10352         * gst/gstelement.c:
10353         * gst/gstelement.h:
10354         * gst/gstevent.c:
10355         * gst/gstutils.c:
10356           doc fixes
10357
10358 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10359
10360         * docs/manual/advanced-autoplugging.xml:
10361           Fix autoplugging example.
10362
10363 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10364
10365         * docs/manual/advanced-autoplugging.xml:
10366         * docs/manual/mime-world.fig:
10367           Try to get autoplugging working, fix type detection. Fix text
10368           in hello-world image.
10369
10370 2005-06-29  Wim Taymans  <wim@fluendo.com>
10371
10372         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10373         (gst_base_sink_change_state):
10374         Small debug line.
10375
10376         * gst/gstclock.h:
10377         map SIGNAL and BROADCAST to the right function.
10378
10379         * gst/gstobject.h:
10380         Remove redundant braces.
10381
10382         * gst/gstpad.c: (gst_pad_set_caps):
10383         Don't call setcaps function when reseting caps to NULL.
10384
10385         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10386         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10387         (gst_system_clock_id_unschedule):
10388         Use BROADCAST as this is what we do.
10389
10390 2005-06-29  Wim Taymans  <wim@fluendo.com>
10391
10392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10393         We are actually prerolling before commiting the state
10394         change. 
10395
10396 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10397
10398         * docs/manual/advanced-clocks.xml:
10399         * docs/manual/advanced-interfaces.xml:
10400         * docs/manual/advanced-metadata.xml:
10401         * docs/manual/advanced-position.xml:
10402         * docs/manual/advanced-schedulers.xml:
10403         * docs/manual/advanced-threads.xml:
10404         * docs/manual/appendix-porting.xml:
10405         * docs/manual/basics-bins.xml:
10406         * docs/manual/basics-bus.xml:
10407         * docs/manual/basics-elements.xml:
10408         * docs/manual/basics-helloworld.xml:
10409         * docs/manual/basics-pads.xml:
10410         * docs/manual/highlevel-components.xml:
10411         * docs/manual/manual.xml:
10412         * docs/manual/thread.fig:
10413           Update (until threads/scheduling) Application Development Manual;
10414           remove GstThread, add GstBus, add simple porting checklist, add
10415           documentation for tag writing, clocks, make all examples until this
10416           part compile and run.
10417         * examples/manual/Makefile.am:
10418           Update from changes to Application Development Manual; add bus
10419           example, remove thread example.
10420
10421 2005-06-28  Wim Taymans  <wim@fluendo.com>
10422
10423         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10424         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10425         (gst_bus_source_dispatch):
10426         Add debugging messages.
10427         Make internal methods static.
10428         Handle the case where the bus is flushed in the handler.
10429         
10430         * gst/gstelement.c: (gst_element_get_bus):
10431         Fix refcount in _get_bus();
10432
10433         * gst/gstpipeline.c: (gst_pipeline_change_state),
10434         (gst_pipeline_get_clock_func):
10435         Clock refcounting fixes.
10436         Handle the case where preroll timed out more gracefully.
10437         
10438         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10439         Clean up the internal thread in dispose. This is needed
10440         for subclasses that actually get disposed.
10441         
10442         * gst/schedulers/threadscheduler.c:
10443         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10444         (gst_thread_scheduler_dispose):
10445         Free thread pool in dispose.
10446
10447 2005-06-28  Andy Wingo  <wingo@pobox.com>
10448
10449         * tests/network-clock-utils.scm (debug, print-event): New utils.
10450
10451         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10452         (*packet-loss*): Unified loss probability.
10453         (network-time): Report out-of-band events.
10454
10455         * tests/plot-data: Add support for out-of-band events. Hack it
10456         into this script instead of passing it down the pipe; should fix
10457         this later.
10458
10459 2005-06-28  Wim Taymans  <wim@fluendo.com>
10460
10461         * docs/gst/gstreamer.types:
10462         * docs/gst/tmpl/gstbasesrc.sgml:
10463         * docs/gst/tmpl/gstpad.sgml:
10464         Docs fixes.
10465
10466 2005-06-28  Wim Taymans  <wim@fluendo.com>
10467
10468         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10469         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10470         (gst_proxy_pad_do_fixatecaps):
10471         Correctly proxy the check_pull_range function.
10472
10473 2005-06-28  Andy Wingo  <wingo@pobox.com>
10474
10475         * tests/network-clock.scm: Removed need for slib.
10476         
10477 2005-06-28  Wim Taymans  <wim@fluendo.com>
10478
10479         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10480         (gst_basesink_preroll_queue_flush):
10481         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10482         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10483         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10484         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10485         (gst_proxy_pad_set_property):
10486         * gst/gstpad.c:
10487         * gst/gstpad.h:
10488         * gst/gstqueue.c: (gst_queue_init):
10489         The deprecated pad loop function is removed now.
10490
10491 2005-06-28  Andy Wingo  <wingo@pobox.com>
10492
10493         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10494         New parameters, simulate network packet loss.
10495
10496         * tests/network-clock-utils.scm: Initialize the RNG.
10497
10498 2005-06-28  Wim Taymans  <wim@fluendo.com>
10499
10500         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10501         (gst_basesink_event), (gst_basesink_deactivate):
10502         Flushing the preroll queue always needs to unlock the waiters.
10503
10504 2005-06-28  Edward Hervey  <edward@fluendo.com>
10505
10506         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10507         Wheen a seek was successful on a pipeline, set the stream_time to the
10508         seek offset in order to have a synchronized stream_time.
10509
10510 2005-06-28  Wim Taymans  <wim@fluendo.com>
10511
10512         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10513         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10514         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10515         (gst_proxy_pad_do_fixatecaps):
10516         Call wrapper function instead of just calling the function
10517         pointers. This takes care of any locking and whatmore.
10518
10519 2005-06-28  Wim Taymans  <wim@fluendo.com>
10520
10521         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10522         (gst_pad_pull_range):
10523         * gst/gstpad.h:
10524         CONNECTED -> LINKED.
10525
10526 2005-06-28  Andy Wingo  <wingo@pobox.com>
10527
10528         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10529         source-munging commit!!!
10530
10531         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10532         (gst_object_sink): Take gpointer arguments, not GstObject --
10533         avoids casts. Like GLib.
10534
10535         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10536         activate.
10537
10538 2005-06-27  Andy Wingo  <wingo@pobox.com>
10539
10540         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10541         remaining buffer.
10542
10543         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10544         returns a sorted copy of the trace list.
10545         (gst_alloc_trace_print_live): New API, only prints traces with
10546         live objects. Sort the list.
10547         (gst_alloc_trace_print_all): Sort the list.
10548         (gst_alloc_trace_print): Align columns.
10549
10550         * gst/elements/gstttypefindelement.c:
10551         * gst/elements/gsttee.c:
10552         * gst/base/gstbasesrc.c:
10553         * gst/base/gstbasesink.c:
10554         * gst/base/gstbasetransform.c:
10555         * gst/gstqueue.c: Adapt for pad activation changes.
10556
10557         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10558         sched.
10559         (gst_pipeline_dispose): Drop ref on sched.
10560
10561         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10562         (gst_pad_activate_default): Push mode by default.
10563         (pre_activate_switch, post_activate_switch): New stubs, things to
10564         do before and after switching activation modes on pads.
10565         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10566         the pad's activate function to choose which mode to activate.
10567         Shortcut on deactivation and call the right function directly.
10568         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10569         mode.
10570         (gst_pad_activate_push): New API, same for push mode.
10571         (gst_pad_set_activate_function) 
10572         (gst_pad_set_activatepull_function) 
10573         (gst_pad_set_activatepush_function): Setters for new API.
10574
10575         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10576         Trace all miniobjects.
10577         (gst_mini_object_make_writable): Unref the arg if we copy, like
10578         gst_caps_make_writable.
10579
10580         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10581
10582         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10583         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10584         Adapt for new pad API.
10585
10586         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10587
10588         * gst/gstelement.h:
10589         * gst/gstelement.c (gst_element_iterate_src_pads) 
10590         (gst_element_iterate_sink_pads): New API functions.
10591         
10592         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10593         should fold into gstiterator.c in some form.
10594         (gst_element_pads_activate): Simplified via use of fold and
10595         delegation of decisions to gstpad->activate.
10596
10597         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10598         help in debugging.
10599
10600         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10601         class once in init, like gstmessage. Didn't run into this issue
10602         but it seems correct. Don't initialize a trace, gstminiobject does
10603         that.
10604
10605         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10606         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10607         to the bus.
10608         (assert_live_count): New util function, uses alloc traces to check
10609         cleanup.
10610
10611         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10612         To be modified when unlink drops the internal pad.
10613
10614 2005-06-27  Wim Taymans  <wim@fluendo.com>
10615
10616         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10617         (gst_bin_change_state):
10618         Cleanup the get_state() function a little, make sure it
10619         iterates the same set of elements.
10620         Added stub iterate_state_order().
10621
10622 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10623
10624         * docs/gst/gstreamer-docs.sgml:
10625         * docs/gst/gstreamer-sections.txt:
10626         * docs/gst/gstreamer.types:
10627         * docs/gst/tmpl/gstbasesink.sgml:
10628         * docs/gst/tmpl/gstbasesrc.sgml:
10629         * docs/gst/tmpl/gstbasetransform.sgml:
10630         * docs/gst/tmpl/gstelement.sgml:
10631         * docs/gst/tmpl/gstiterator.sgml:
10632         * gst/base/gstbasesrc.c:
10633         * gst/base/gstbasesrc.h:
10634         * gst/base/gstbasetransform.h:
10635         * gst/gstelement.c:
10636         * gst/gstiterator.h:
10637           adding basetransform and iterator docs
10638
10639 2005-06-27  Andy Wingo  <wingo@pobox.com>
10640
10641         * docs/design/part-activation.txt: Notes on how activation should
10642         work -- not quite implemented yet.
10643
10644 2005-06-25  Wim Taymans  <wim@fluendo.com>
10645
10646         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10647         At least get the chain function correct, needs more
10648         fixing.
10649
10650 2005-06-25  Wim Taymans  <wim@fluendo.com>
10651
10652         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10653         (gst_basesink_handle_object), (gst_basesink_event),
10654         (gst_basesink_do_sync), (gst_basesink_handle_event),
10655         (gst_basesink_change_state):
10656         * gst/gsttask.h:
10657         Right, two problems here: ghostpads don't take locks and
10658         glib _rec_mutex_lock_full() with depth==0 still locks.
10659         Catch illegal locking and g_warn them.
10660
10661 2005-06-25  Wim Taymans  <wim@fluendo.com>
10662
10663         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10664         Have to check for completion now...
10665
10666 2005-06-25  Wim Taymans  <wim@fluendo.com>
10667
10668         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10669         (gst_basesink_handle_object), (gst_basesink_event),
10670         (gst_basesink_do_sync), (gst_basesink_handle_event),
10671         (gst_basesink_change_state):
10672         * gst/gstpad.h:
10673         Unlock STREAM_LOCK whatever the recursion was.
10674
10675 2005-06-25  Wim Taymans  <wim@fluendo.com>
10676
10677         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10678         (gst_basesink_preroll_queue_empty),
10679         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10680         (gst_basesink_event), (gst_basesink_do_sync),
10681         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10682         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10683         (gst_basesink_change_state):
10684         Reworked the base sink, handle event and buffer serialisation
10685         correctly and removed possible deadlock.
10686         Handle EOS correctly.
10687
10688 2005-06-25  Wim Taymans  <wim@fluendo.com>
10689
10690         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10691         (gst_pipeline_change_state):
10692         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10693         Allow elements to post EOS in the state change function.
10694         Fix up -launch, make it exit the poll loop when the
10695         pipeline actually changed state.
10696         Fix up warning parsing in -launch.
10697
10698 2005-06-25  Wim Taymans  <wim@fluendo.com>
10699
10700         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10701         (gst_tee_sink_activate):
10702         Core takes STREAM_LOCK for us now.
10703
10704 2005-06-25  Wim Taymans  <wim@fluendo.com>
10705
10706         * gst/gstelement.c: (gst_element_get_state_func),
10707         (gst_element_set_state):
10708         * gst/gstelement.h:
10709         * gst/gstmessage.c: (gst_message_parse_error),
10710         (gst_message_parse_warning):
10711         Keep track of current target state while performing a state
10712         change so that subclasses can do something interesting.
10713         Fix parsing of warning/error messages when GError is NULL.
10714
10715 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10716
10717         * docs/gst/Makefile.am:
10718         * docs/gst/gstreamer-docs.sgml:
10719         * docs/gst/gstreamer-sections.txt:
10720         * docs/gst/gstreamer.types:
10721         * docs/gst/tmpl/gstbasesink.sgml:
10722         * docs/gst/tmpl/gstbasesrc.sgml:
10723         * docs/gst/tmpl/gstbin.sgml:
10724         * docs/gst/tmpl/gstcompat.sgml:
10725         * docs/gst/tmpl/gstfakesink.sgml:
10726         * docs/gst/tmpl/gstfakesrc.sgml:
10727         * docs/gst/tmpl/gstfilesink.sgml:
10728         * docs/gst/tmpl/gstfilesrc.sgml:
10729         * docs/gst/tmpl/gstindex.sgml:
10730         * docs/manual/appendix-quotes.xml:
10731         * gst/base/gstbasesrc.h:
10732         * gst/elements/gstfakesrc.h:
10733         * gst/gstmessage.h:
10734           start pulling in base classes and elements in our docs
10735
10736 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10737
10738         * docs/gst/Makefile.am:
10739         * docs/libs/Makefile.am:
10740           fixed make distcheck with gtk-doc 1.3
10741
10742 2005-06-23  Wim Taymans  <wim@fluendo.com>
10743
10744         * gst/gstelement.c: (gst_element_get_state_func),
10745         (gst_element_set_state), (gst_element_change_state):
10746         When the state did not change, also report NO_PREROLL
10747         when it matters.
10748
10749 2005-06-23  Wim Taymans  <wim@fluendo.com>
10750
10751         * gst/gstpad.c: (gst_pad_event_default):
10752         * gst/gstqueue.c: (gst_queue_loop):
10753         No unsafe task pausing please.
10754
10755 2005-06-23  Wim Taymans  <wim@fluendo.com>
10756
10757         * gst/schedulers/threadscheduler.c:
10758         (gst_thread_scheduler_task_start),
10759         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10760         Ref the task before pushing it on the threadpool. This
10761         makes sure that we have a ref when the threadfunction is
10762         actually called.
10763
10764 2005-06-23  Andy Wingo  <wingo@pobox.com>
10765
10766         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10767         offset is greater than the file's size.
10768
10769         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10770         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10771         * gst/gstobject.c (gst_object_class_init): Make the class lock
10772         recursive. Wim won't let me drop deep_notify. Decodebin works
10773         again, whoopdy doo.
10774
10775         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10776         internal pad, and hacks accordingly. Doesn't do it on the target
10777         pad because we change its caps. Probably catches all cases of
10778         interest tho.
10779         (gst_ghost_pad_set_property): Connect to notify::caps as
10780         appropritate.
10781
10782         * tests/network-clock.scm (plot-simulation): Pipe data to the
10783         elite python skript.
10784
10785         * tests/network-clock-utils.scm (define-parameter): New macro,
10786         defines a parameter that can be set via the command line.
10787         (set-parameter!, parse-parameter-arguments): Command line args
10788         parser.
10789
10790         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10791         stdin.
10792
10793 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10794
10795         * gst/elements/gsttypefindelement.c:
10796         (gst_type_find_element_handle_event):
10797           Don't restart typefinding on a discont.
10798         * gst/gstelement.c: (gst_element_set_state):
10799           Debug spelling fix.
10800         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10801           Allow changing mode of an active pad.
10802           Debug output fixes.
10803         * gst/registries/gstlibxmlregistry.c: (load_feature):
10804           Don't cast a static pad template to a normal pad template.
10805
10806 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10807
10808         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10809         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10810           remove gst_strtoll completely, since it didn't actually do
10811           anything more than what g_ascii_strtoull already does.
10812           check for range errors when deserializing
10813           do a cast for the unsigned cases; but further fixing needs
10814           a decision on what the interpretation of "(int)" and
10815           deserialization should be for values that fall outside the
10816           type's boundaries (ie, refuse, or interpret as casting)
10817
10818 2005-06-23  Wim Taymans  <wim@fluendo.com>
10819
10820         * check/Makefile.am:
10821         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10822         * docs/design/part-live-source.txt:
10823         * docs/design/part-states.txt:
10824         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10825         (gst_basesrc_set_live), (gst_basesrc_is_live),
10826         (gst_basesrc_get_range), (gst_basesrc_activate),
10827         (gst_basesrc_change_state):
10828         * gst/base/gstbasesrc.h:
10829         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10830         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10831         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10832         * gst/gstelement.c: (gst_element_get_state_func),
10833         (gst_element_set_state):
10834         * gst/gstelement.h:
10835         * gst/gsttypes.h:
10836         * tools/gst-launch.c: (event_loop), (main):
10837         Added support for live sources and other elements that
10838         cannot do preroll.
10839         Updated design docs, added live-source design doc.
10840         Implemented live source functionality in basesrc
10841         Fix error condition in _bin_get_state()
10842         Implement live source handling in -launch.
10843         Added check for live sources.
10844         Fixed case in GstBin where elements were changed state
10845         multiple times.
10846
10847
10848 2005-06-23  Andy Wingo  <wingo@pobox.com>
10849
10850         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10851         borken refcounting.
10852
10853         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10854         gst_caps_replace takes care of this for us.
10855
10856         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10857         gst_pad_set_caps on the target, not just its setcaps() function.
10858
10859         * tests/network-clock.scm: 
10860         * tests/network-clock-utils.scm: A network clock simulator.
10861         Something of an algorithmic testbed before doing something in C.
10862
10863 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10864
10865         * check/Makefile.am:
10866         * check/gst/capslist.h:
10867           copy over from 0.8, and add two with bitmasks specified with
10868           (int) 0xFF...
10869         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10870           add test to parse everything from capslist.h
10871         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10872         (main):
10873           add test for structure deserialization
10874         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10875           add tests for deserialization of strings to int types
10876         * gst/gststructure.c: (gst_structure_nth_field_name):
10877         * gst/gststructure.h:
10878           add a way to get the name of a field referenced by index
10879         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10880           instead of checking if the resulting long long lies between
10881           min and max, we check if the long long would fit into
10882           a number of bytes for the final type.
10883           This fixes cases where a string represents 2^32 - 1, which
10884           when cast to int would be the (valid) -1, but is bigger than
10885           G_MAXINT
10886
10887 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10888
10889         * gst/parse/grammar.y:
10890           add a log line for type deserialization
10891
10892 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10893
10894         * check/gst/gstvalue.c: (START_TEST):
10895         * gst/gstvalue.c: (gst_value_deserialize):
10896           return long long, not int, so gint64 deserialization actually
10897           works.  Is there any flag that makes the compiler check this ?
10898           Fixes #308559
10899
10900 2005-06-22  Wim Taymans  <wim@fluendo.com>
10901
10902         * gst/gstbuffer.h:
10903         Added convenience macros for setting buffers in GValue.
10904
10905 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10906
10907         * check/gst/.cvsignore:
10908         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10909           add a test deserializing int64, and comment part out because
10910           it fails, yay !
10911
10912 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10913
10914         * check/Makefile.am:
10915         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10916         * testsuite/Makefile.am:
10917         * testsuite/caps/Makefile.am:
10918         * testsuite/caps/value_serialize.c:
10919         * testsuite/test_gst_init.c:
10920           move a value_serialize test over
10921
10922 2005-06-20  Wim Taymans  <wim@fluendo.com>
10923
10924         * gst/gstpad.c:
10925         Small doc updates.
10926         
10927         * gst/gstvalue.c: (gst_value_compare_buffer),
10928         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10929         (gst_value_compare_flags), (gst_value_serialize_flags),
10930         (gst_value_deserialize_flags), (_gst_value_initialize):
10931         Fix serialisation of buffers, they are not boxed types anymore
10932
10933 2005-06-20  Wim Taymans  <wim@fluendo.com>
10934
10935         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10936         Testcase to show error in buffer-on-caps serialisation.
10937
10938 2005-06-20  Andy Wingo  <wingo@pobox.com>
10939
10940         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10941         will be adding to later.
10942
10943         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10944         if its socks fill with rocks.
10945         (gst_system_clock_obtain): Set the name on object construction.
10946         Avoid double-checked locking.
10947
10948 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10949
10950         * gst/gsturi.c: (gst_element_make_from_uri):
10951           Fix potential endless loop.
10952
10953 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10954
10955         * check/Makefile.am:
10956           add gsttag
10957         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10958         (main):
10959           move over from testsuite dir and clean up
10960         * configure.ac:
10961         * gst/gsttag.c:
10962         * testsuite/Makefile.am:
10963         * testsuite/tags/.cvsignore:
10964         * testsuite/tags/Makefile.am:
10965         * testsuite/tags/merge.c:
10966           remove testsuite/tags
10967
10968 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10969
10970         * docs/gst/gstreamer-sections.txt:
10971         * docs/gst/tmpl/gstenumtypes.sgml:
10972         * win32/gstenumtypes.c:
10973           clean up documentation build a little
10974
10975 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10976
10977         * check/gstcheck.h:
10978           add macros for checking refcounts on objects and caps
10979         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10980           add some more unit tests
10981         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10982         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10983           fix leaked refcounts (I hope :)) so unittest works
10984         * gst/gstpad.h:
10985           whitespace removal
10986
10987 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10988
10989         * configure.ac: back to HEAD
10990
10991 === release 0.9.1 ===
10992
10993 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10994
10995         * NEWS:
10996         * RELEASE:
10997           updated
10998
10999 2005-06-17  Andy Wingo  <wingo@pobox.com>
11000
11001         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11002         assert; it's always possible that the pad gets deactivated in
11003         between the checks in gstpad.c and the implementation. Rely on
11004         finish_preroll() to return a FLUSHING or similar instead of on the
11005         assert.
11006         
11007         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11008         clock and post an EOS message if we come out of finish_preroll in
11009         the playing state.
11010
11011 2005-06-16  David Schleef  <ds@schleef.org>
11012
11013         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11014         (gst_capsfilter_set_property): Allow NULL as possible value
11015         for filter_caps property, indicating GST_CAPS_ANY.
11016
11017 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11018
11019         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11020           fix debug output
11021         * gst/schedulers/Makefile.am:
11022           use libgst prefix
11023         * gstreamer.spec.in:
11024           fix spec for it
11025
11026 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11027
11028         * gstreamer.spec.in:
11029           clean up
11030
11031 2005-06-08  Andy Wingo  <wingo@pobox.com>
11032
11033         * gst/gstutils.c: RPAD fixes all around.
11034         (gst_element_link_pads): Refcounting fixes.
11035
11036         * tools/gst-inspect.c:
11037         * tools/gst-xmlinspect.c:
11038         * parse/grammar.y:
11039         * gst/base/gsttypefindhelper.c:
11040         * gst/base/gstbasesink.c:
11041         * gst/gstqueue.c: RPAD fixes.
11042
11043         * gst/gstghostpad.h:
11044         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11045         pads. The tricky thing is they provide both source and sink
11046         interfaces, since they proxy the internal pad for the external
11047         pad, and vice versa. Implement with lower-level ProxyPad objects,
11048         with the interior proxy pad as a child of the exterior ghost pad.
11049         Should write a doc on this.
11050         
11051         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11052         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11053         gst_object API.
11054         
11055         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11056         pads are real pads. No ghost pads in this file. Not documenting
11057         the myriad s/RPAD/PAD/ and REALIZE fixes.
11058         (gst_pad_class_init): Add properties for "direction" and
11059         "template". Both are construct-only, so they can't change during
11060         the life of the pad. Fixes properly deriving from GstPad.
11061         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11062         derived objects, just set properties when creating the objects via
11063         g_object_new.
11064         (gst_pad_get_parent): Implement as a function, return NULL if the
11065         parent is not an element.
11066         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11067         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11068         
11069         * gst/gstobject.c (gst_object_class_init): Make name a construct
11070         property. Don't set it in the object init.
11071
11072         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11073         with UNKNOWN direction.
11074         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11075         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11076         (gst_element_remove_pad): Remove ghost-pad special cases.
11077         (gst_element_pads_activate): Remove rpad cruft.
11078
11079         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11080         catch the pad's-parent-not-an-element case.
11081
11082         * gst/gst.h: Include gstghostpad.h.
11083
11084         * gst/gst.c (init_post): No more real, ghost pads.
11085
11086         * gst/Makefile.am: Add gstghostpad.[ch].
11087
11088         * check/Makefile.am:
11089         * check/gst/gstbin.c:
11090         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11091         into a bin creates ghost pads, and that the refcounts are right.
11092         Partly moved from gstbin.c.
11093
11094 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11095
11096         * check/gst-libs/.cvsignore:
11097         * check/gst/.cvsignore:
11098         * check/pipelines/.cvsignore:
11099           ignore more
11100         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11101         (START_TEST), (cleanup_suite), (main):
11102           add some tests related to cleanup after running pipelines
11103
11104 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11105
11106         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11107           add a testsuite for GstBuffer
11108
11109 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11110
11111         * gst/gstminiobject.h:
11112           add defines for accessing the refcount
11113
11114 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11115
11116         * Makefile.am: added support for html unit test coverage reports
11117
11118 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11119
11120         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11121           Free existing caps if the capsfilter changes. Add a FIXME about
11122           setting those caps on the pads.
11123
11124         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11125           Before adding a ghost pad to a parent bin, check that there isn't
11126           already one for the element on the bin. Prevents infinite recursion
11127           when using decodebin in parse pipelines. Andy says he'll rewrite the
11128           way this works anyway, so ignore the hack.
11129
11130 2005-06-02  Andy Wingo  <wingo@pobox.com>
11131
11132         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11133         file size, pass it on to the type find helper.
11134
11135         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11136         segment_start and segment_end properly according to the seek
11137         method. Segment_end is still a bit flaky because offset can be
11138         negative for CUR and END cases, but it takes -1 as an "unset"
11139         value.
11140
11141 2005-06-02  Wim Taymans  <wim@fluendo.com>
11142
11143         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11144         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11145         (gst_basesink_activate):
11146         * gst/base/gstbasesink.h:
11147         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11148         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11149         (gst_pad_query), (gst_pad_start_task):
11150         * gst/gstpad.h:
11151         * gst/gstqueue.c: (gst_queue_bufferalloc),
11152         (gst_queue_handle_sink_event), (gst_queue_chain):
11153         Bufferalloc: return GstFlowReturn to more accuratly report
11154         why allocation failed.
11155
11156 2005-06-02  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/gstpipeline.c: (gst_pipeline_send_event):
11159         Take snapshot of state without blocking.
11160
11161 2005-06-02  Wim Taymans  <wim@fluendo.com>
11162
11163         * docs/design/part-TODO.txt:
11164         * docs/design/part-caps.txt:
11165         * docs/design/part-clocks.txt:
11166         * docs/design/part-negotiation.txt:
11167         * docs/design/part-preroll.txt:
11168         Small doc updates 
11169
11170 2005-05-30  Wim Taymans  <wim@fluendo.com>
11171
11172         * gst/elements/gstidentity.c: (gst_identity_event),
11173         (gst_identity_transform), (gst_identity_get_property):
11174         Protect last_message property as it is accessed from
11175         multiple threads.
11176
11177 2005-05-30  Wim Taymans  <wim@fluendo.com>
11178
11179         * gst/gstelement.c: (gst_element_init),
11180         (gst_element_pads_activate), (gst_element_change_state):
11181         Slicker pad activation code.
11182
11183 2005-05-30  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/Makefile.am:
11186         * gst/gstelement.h:
11187         * gst/gstelementfactory.h:
11188         * gst/gsttypes.h:
11189         Move elementfactory methods to separate .h file.
11190
11191 2005-05-30  Wim Taymans  <wim@fluendo.com>
11192
11193         * docs/design/part-overview.txt:
11194         * gst/gstsystemclock.h:
11195         Small typo fixes, doc updates.
11196
11197 2005-05-30  Wim Taymans  <wim@fluendo.com>
11198
11199         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11200         (init_popt_callback):
11201         Remove cpu-opt flag.
11202
11203 2005-05-30  Wim Taymans  <wim@fluendo.com>
11204
11205         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11206         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11207         * gst/gstbuffer.h:
11208         Avoid typechecking in places where not needed.
11209         Added accessor for malloc_data.
11210
11211 2005-05-30  Wim Taymans  <wim@fluendo.com>
11212
11213         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11214         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11215         (gst_pad_configure_sink), (gst_pad_configure_src),
11216         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11217         (gst_pad_start_task):
11218         Propagate errors from _set_caps() in configure_src/sink
11219         functions instead of returning TRUE.
11220         FLUSH events can travel up and downstream
11221
11222
11223 2005-05-30  Wim Taymans  <wim@fluendo.com>
11224
11225         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11226         (gst_basesink_activate):
11227         Handle EOS in preroll.
11228
11229 2005-05-30  Wim Taymans  <wim@fluendo.com>
11230
11231         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11232         (gst_queue_loop), (gst_queue_handle_src_event):
11233         Remove old pieces of code
11234         Flushing the queue in an upstream event is a very bad idea.
11235
11236 2005-05-26  Andy Wingo  <wingo@pobox.com>
11237
11238         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11239         gst_value_set_mini_object so as to add a ref on the object (which
11240         will be removed when the value is unset).
11241
11242         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11243         arg type in ::handoff.
11244
11245         * gst/gstelement.c (gst_element_change_state): Also deactivate
11246         pads in READY->NULL, just in case the element didn't make it to
11247         PAUSED. Wingo tested, Wim approved.
11248
11249 2005-05-26  Wim Taymans  <wim@fluendo.com>
11250
11251         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11252         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11253         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11254         A flushing pad cannot be used to alloc_buffer from.
11255
11256 2005-05-26  Wim Taymans  <wim@fluendo.com>
11257
11258         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11259         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11260         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11261         (gst_bus_create_watch), (gst_bus_add_watch_full):
11262         * gst/gstbus.h:
11263         Implement a real GSource and use g_main_context_wakeup() to
11264         signal new messages instead of the socketpair.
11265
11266 2005-05-25  Wim Taymans  <wim@fluendo.com>
11267
11268         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11269         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11270         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11271         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11272         (gst_pad_send_event), (gst_pad_start_task):
11273         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11274         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11275         (gst_queue_sink_activate), (gst_queue_src_activate),
11276         (gst_queue_change_state):
11277         * gst/gstqueue.h:
11278         Fix state changes for non sinks. We now change sinks, then elements
11279         with unconnected srcpads, then the rest.
11280         More efficient queue unlocking in flush and state changes.
11281         Set the pad activate mode even if it does not have an activate
11282         function.
11283
11284 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11285
11286         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11287           Don't go in pull mode for non-seekable sources.
11288         * gst/elements/gsttypefindelement.h:
11289         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11290         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11291         (free_entry), (stop_typefinding),
11292         (gst_type_find_element_handle_event), (find_peek),
11293         (gst_type_find_element_chain), (do_pull_typefind),
11294         (gst_type_find_element_change_state):
11295           Allow typefinding (w/o seeking) in push-mode, simplified version
11296           of what was in 0.8.
11297         * gst/gstutils.c: (gst_buffer_join):
11298         * gst/gstutils.h:
11299           gst_buffer_join() from 0.8.
11300
11301 2005-05-25  Wim Taymans  <wim@fluendo.com>
11302
11303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11304         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11305         (gst_pad_send_event), (gst_pad_start_task):
11306         Disable attempt at mode switching until it is figured out.
11307
11308 2005-05-25  Wim Taymans  <wim@fluendo.com>
11309
11310         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11311         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11312         (gst_basesink_finish_preroll), (gst_basesink_chain),
11313         (gst_basesink_loop), (gst_basesink_activate),
11314         (gst_basesink_change_state):
11315         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11316         (gst_basesrc_get_range), (gst_basesrc_loop),
11317         (gst_basesrc_activate):
11318         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11319         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11320         (gst_real_pad_init), (gst_real_pad_set_property),
11321         (gst_real_pad_get_property), (gst_pad_set_active),
11322         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11323         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11324         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11325         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11326         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11327         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11328         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11329         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11330         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11331         (gst_pad_stop_task):
11332         * gst/gstpad.h:
11333         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11334         (gst_queue_loop), (gst_queue_src_activate):
11335         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11336         (gst_task_get_state):
11337         * gst/gsttask.h:
11338         * gst/schedulers/threadscheduler.c:
11339         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11340         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11341         in task function.
11342         Remove ACTIVE pad flag, use FLUSHING everywhere
11343         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11344         functions.
11345         Add locks around IS_FLUSHING when reading.
11346         Take STREAM lock in chain(), get_range() functions so plugins
11347         don't need to take it anymore.
11348         
11349
11350
11351 2005-05-25  Wim Taymans  <wim@fluendo.com>
11352
11353         * tools/gst-launch.c: (event_loop):
11354         Unref message after using its contents instead of
11355         before.
11356
11357 2005-05-24  Wim Taymans  <wim@fluendo.com>
11358
11359         * docs/design/draft-ghostpads.txt:
11360         * docs/design/draft-push-pull.txt:
11361         * docs/design/draft-query.txt:
11362         * docs/design/part-overview.txt:
11363         Docs updates, added general overview doc.
11364
11365 2005-05-21  David Schleef  <ds@schleef.org>
11366
11367         * docs/gst/tmpl/old/GstBin.sgml:
11368         * docs/gst/tmpl/old/GstBuffer.sgml:
11369         * docs/gst/tmpl/old/GstCaps.sgml:
11370         * docs/gst/tmpl/old/GstClock.sgml:
11371         * docs/gst/tmpl/old/GstCompat.sgml:
11372         * docs/gst/tmpl/old/GstData.sgml:
11373         * docs/gst/tmpl/old/GstElement.sgml:
11374         * docs/gst/tmpl/old/GstEvent.sgml:
11375         * docs/gst/tmpl/old/GstIndex.sgml:
11376         * docs/gst/tmpl/old/GstStructure.sgml:
11377         * docs/gst/tmpl/old/GstTag.sgml:
11378         * docs/gst/tmpl/old/cothreads.sgml:
11379         * docs/gst/tmpl/old/cothreads_compat.sgml:
11380         * docs/gst/tmpl/old/gettext.sgml:
11381         * docs/gst/tmpl/old/gobject2gtk.sgml:
11382         * docs/gst/tmpl/old/grammar.tab.sgml:
11383         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11384         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11385         * docs/gst/tmpl/old/gst_private.sgml:
11386         * docs/gst/tmpl/old/gstaggregator.sgml:
11387         * docs/gst/tmpl/old/gstarch.sgml:
11388         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11389         * docs/gst/tmpl/old/gstbufferstore.sgml:
11390         * docs/gst/tmpl/old/gstdata_private.sgml:
11391         * docs/gst/tmpl/old/gstdisksink.sgml:
11392         * docs/gst/tmpl/old/gstdisksrc.sgml:
11393         * docs/gst/tmpl/old/gstelementfactory.sgml:
11394         * docs/gst/tmpl/old/gstextratypes.sgml:
11395         * docs/gst/tmpl/old/gstfakesink.sgml:
11396         * docs/gst/tmpl/old/gstfakesrc.sgml:
11397         * docs/gst/tmpl/old/gstfdsink.sgml:
11398         * docs/gst/tmpl/old/gstfdsrc.sgml:
11399         * docs/gst/tmpl/old/gstfilesink.sgml:
11400         * docs/gst/tmpl/old/gstfilesrc.sgml:
11401         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11402         * docs/gst/tmpl/old/gstidentity.sgml:
11403         * docs/gst/tmpl/old/gstindexfactory.sgml:
11404         * docs/gst/tmpl/old/gstmarshal.sgml:
11405         * docs/gst/tmpl/old/gstmd5sink.sgml:
11406         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11407         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11408         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11409         * docs/gst/tmpl/old/gstpipefilter.sgml:
11410         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11411         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11412         * docs/gst/tmpl/old/gstshaper.sgml:
11413         * docs/gst/tmpl/old/gstspider.sgml:
11414         * docs/gst/tmpl/old/gstspideridentity.sgml:
11415         * docs/gst/tmpl/old/gststatistics.sgml:
11416         * docs/gst/tmpl/old/gsttee.sgml:
11417         * docs/gst/tmpl/old/gsttimecache.sgml:
11418         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11419         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11420         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11421         * docs/gst/tmpl/old/types.sgml:
11422           I didn't intend to add these or check them in.
11423
11424 2005-05-19  David Schleef  <ds@schleef.org>
11425
11426         * configure.ac: Use -no-common everywhere.  In a sane world, it
11427           would be the default in libtool, because without it, you can't
11428           build DLLs on Windows.
11429         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11430         * docs/gst/gstreamer-sections.txt:
11431         * docs/gst/tmpl/gstcpu.sgml:
11432         * docs/gst/tmpl/gstdata.sgml:
11433         * docs/gst/tmpl/gstthread.sgml:
11434
11435 2005-05-19  David Schleef  <ds@schleef.org>
11436
11437         * gst/gstminiobject.c: (gst_value_set_mini_object),
11438         (gst_value_take_mini_object), (gst_value_get_mini_object):
11439         * gst/gstminiobject.h: Add GValue set/get functions.
11440
11441 2005-05-19  Wim Taymans  <wim@fluendo.com>
11442
11443         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11444         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11445         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11446         * gst/gstbuffer.h:
11447         * gst/gstbus.c: (gst_bus_post):
11448         * gst/gstelement.c: (gst_element_get_random_pad):
11449         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11450         Make subbufer unref the parent in finalize.
11451         some more debugging info.
11452
11453
11454 2005-05-19  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11457         (gst_basesink_init), (gst_basesink_finalize),
11458         (gst_basesink_activate), (gst_basesink_change_state):
11459         Don't free preroll queue too early.
11460
11461 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11462
11463         * gst/Makefile.am:
11464         * gst/ROADMAP:
11465           Hi, I'm outdated. Please shoot me.
11466
11467 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11468
11469         * gst/gstpipeline.c: (gst_pipeline_send_event):
11470           Do not access variables after they have been deleted.
11471
11472 2005-05-19  Wim Taymans  <wim@fluendo.com>
11473
11474         * tools/gst-inspect.c: (print_plugin_features):
11475         A plugin feature does unfortunatly not use the
11476         object name yet...
11477
11478 2005-05-18  Wim Taymans  <wim@fluendo.com>
11479
11480         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11481         Port _span() functions to new subbuffers.
11482
11483 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11484
11485         * gst/gstbin.c: (gst_bin_add_func):
11486           Fix clock settery in bins when adding kids after the clock has
11487           been selected.
11488
11489 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11490
11491         * gst/elements/gstidentity.c: (gst_identity_class_init):
11492           Workaround until signals support GstMiniObject.
11493
11494 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11495
11496         * gst/gstbuffer.c:
11497         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11498
11499 2005-05-18  Wim Taymans  <wim@fluendo.com>
11500
11501         * gst/base/Makefile.am:
11502         * gst/base/gstadapter.c: (gst_adapter_base_init),
11503         (gst_adapter_class_init), (gst_adapter_init),
11504         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11505         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11506         (gst_adapter_flush), (gst_adapter_available),
11507         (gst_adapter_available_fast):
11508         * gst/base/gstadapter.h:
11509         Ported and added adapter to the base classes.
11510
11511 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11512
11513         * gst/gst.c:
11514         * gst/gstmessage.c:
11515           Make sure the class is reffed/unreffed once before threads can be
11516           used.  Fixes #304551.
11517
11518 2005-05-17  Wim Taymans  <wim@fluendo.com>
11519
11520         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11521         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11522         * gst/gstminiobject.c: (gst_mini_object_get_type),
11523         (gst_mini_object_free):
11524         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11525         (gst_pad_push), (gst_pad_push_event):
11526         * gst/gstqueue.c: (gst_queue_change_state):
11527         Don't queue buffers in basesink when we are flushing.
11528         Unref buffer when flushing in basesink.
11529         Flush queue when going to READY
11530         Unref buffer when _push() returns an error.
11531         Don't free MiniObject instance when refcount is incremented
11532         in _finalize() so that we can recover objects.
11533
11534 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11535
11536         * docs/manual/advanced-schedulers.xml:
11537         * docs/manual/appendix-checklist.xml:
11538         * docs/pwg/advanced-clock.xml:
11539         * docs/pwg/advanced-interfaces.xml:
11540         * docs/pwg/advanced-request.xml:
11541         * docs/pwg/advanced-types.xml:
11542         * docs/pwg/intro-preface.xml:
11543         * examples/plugins/example.c: (gst_example_get_type),
11544         (gst_example_class_init), (gst_example_chain),
11545         (gst_example_set_property), (gst_example_get_property),
11546         (gst_example_change_state), (plugin_init):
11547         * examples/plugins/example.h:
11548           small doc fixes
11549
11550 2005-05-17  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11553         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11554         * gst/gstqueue.c: (gst_queue_change_state):
11555         Clear queue when going to READY.
11556         Remove IN_SETCAPS flag too.
11557
11558 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11559
11560         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11561           Remove implicit cast from gboolean to GstElementStateReturn;
11562           make sure we still return failure in paused => ready case if
11563           the parent class fails to change state and our own stop 
11564           vfunc succeeds.
11565
11566 2005-05-17  Wim Taymans  <wim@fluendo.com>
11567
11568         * tools/gst-launch.c: (event_loop):
11569         Message was unreffed too soon.
11570
11571 2005-05-16  Andy Wingo  <wingo@pobox.com>
11572
11573         * gst/gstbin.c (sink_iterator_filter): Err... um...
11574
11575         * check/gst/gstbin.c (test_ghost_pads): New test for the
11576         ghosting-if-elements-not-in-same-bin behavior.
11577
11578 2005-05-16  David Schleef  <ds@schleef.org>
11579
11580         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11581         accessing refcount directly.
11582
11583 2005-05-15  David Schleef  <ds@schleef.org>
11584
11585         * check/Makefile.am: remove GstData checks
11586         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11587         * gst/Makefile.am: add miniobject, remove data
11588         * gst/gst.h: add miniobject, remove data
11589         * gst/gstdata.c: remove
11590         * gst/gstdata.h: remove
11591         * gst/gstdata_private.h: remove
11592         * gst/gsttypes.h: remove GstEvent and GstMessage
11593         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11594         * gst/gstmarshal.list: change BOXED -> OBJECT
11595
11596         Implement GstMiniObject.
11597         * gst/gstminiobject.c:
11598         * gst/gstminiobject.h:
11599
11600         Modify to be subclasses of GstMiniObject.
11601         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11602         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11603         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11604         (gst_subbuffer_get_type), (gst_subbuffer_init),
11605         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11606         (gst_buffer_span):
11607         * gst/gstbuffer.h:
11608         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11609         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11610         (_gst_event_copy), (gst_event_new):
11611         * gst/gstevent.h:
11612         * gst/gstmessage.c: (_gst_message_initialize),
11613         (gst_message_get_type), (gst_message_class_init),
11614         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11615         (gst_message_new), (gst_message_new_error),
11616         (gst_message_new_warning), (gst_message_new_tag),
11617         (gst_message_new_state_changed), (gst_message_new_application):
11618         * gst/gstmessage.h:
11619         * gst/gstprobe.c: (gst_probe_perform),
11620         (gst_probe_dispatcher_dispatch):
11621         * gst/gstprobe.h:
11622         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11623         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11624         (_gst_query_copy), (gst_query_new):
11625
11626         Update elements for GstData -> GstMiniObject changes
11627         * gst/gstquery.h:
11628         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11629         (gst_queue_chain), (gst_queue_loop):
11630         * gst/elements/gstbufferstore.c:
11631         (gst_buffer_store_add_buffer_func),
11632         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11633         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11634         (gst_fakesink_render):
11635         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11636         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11637         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11638         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11639         (gst_filesrc_create_read):
11640         * gst/elements/gstidentity.c: (gst_identity_class_init):
11641         * gst/elements/gsttypefindelement.c:
11642         (gst_type_find_element_src_event), (free_entry_buffers),
11643         (gst_type_find_element_handle_event):
11644         * libs/gst/dataprotocol/dataprotocol.c:
11645         (gst_dp_header_from_buffer):
11646         * libs/gst/dataprotocol/dataprotocol.h:
11647         * libs/gst/dataprotocol/dp-private.h:
11648
11649 2005-05-15  David Schleef  <ds@schleef.org>
11650
11651         * gst/elements/gstelements.c: Don't include headers that were
11652         just removed.
11653
11654 2005-05-15  David Schleef  <ds@schleef.org>
11655
11656         * gst/elements/Makefile.am: Remove some elements that don't
11657         need to be in the core (or even exist at all).
11658         * gst/elements/gstaggregator.c:
11659         * gst/elements/gstaggregator.h:
11660         * gst/elements/gstmd5sink.c:
11661         * gst/elements/gstmd5sink.h:
11662         * gst/elements/gstmultifilesrc.c:
11663         * gst/elements/gstmultifilesrc.h:
11664         * gst/elements/gstpipefilter.c:
11665         * gst/elements/gstpipefilter.h:
11666         * gst/elements/gstshaper.c:
11667         * gst/elements/gstshaper.h:
11668         * gst/elements/gststatistics.c:
11669         * gst/elements/gststatistics.h:
11670         * po/POTFILES.in: Remove above files.
11671
11672 2005-05-14  Andy Wingo  <wingo@pobox.com>
11673
11674         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11675         so as to get the refs right.
11676         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11677         unreffing objects that don't pass the filter.
11678
11679         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11680         gst_element_set_bus.
11681         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11682         normal cases, this will destroy the bus.
11683
11684         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11685         object.
11686
11687         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11688         has no sinks.
11689
11690 2005-05-13  Andy Wingo  <wingo@pobox.com>
11691
11692         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11693         gst_pad_link, call pad_link_maybe_ghosting,
11694         (pad_link_maybe_ghosting): Links pads, making sure that the
11695         elements being linked are in the same bin.
11696         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11697         Helpers for pad_link_maybe_ghosting.
11698
11699 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11700
11701         * configure.ac:
11702           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11703
11704 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11705
11706         * docs/design/part-element-source.txt:
11707           Mention GstPushSrc
11708
11709 2005-05-12  Wim Taymans  <wim@fluendo.com>
11710
11711         * gst/base/gstbasesink.c: (gst_basesink_init),
11712         (gst_basesink_activate):
11713         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11714         (gst_basesrc_is_seekable):
11715         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11716         (bin_element_is_sink), (gst_bin_change_state):
11717         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11718         * gst/gstelement.h:
11719         Identify sinks by their flag to avoid overly complicated
11720         checks (fow now).
11721         Do state changes even for elements not reachable from the
11722         sinks.
11723         BaseSink is a sink now :)
11724         Some more debugging info in the basesrc.
11725
11726
11727 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11728
11729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11730           Implement _query on a bin, similar to _send_event.
11731
11732 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11735           Discont event offset format should be GST_FORMAT_BYTES,
11736           not GST_FORMAT_TIME.
11737
11738 2005-05-12  Wim Taymans  <wim@fluendo.com>
11739
11740         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11741         Same fix as Ronald's but without the signal. 
11742
11743 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11744
11745         * gst/gstutils.c: (gst_element_query_position):
11746           No, an element is not a pad.
11747
11748 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11749
11750         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11751         (gst_bin_get_state):
11752           If a child is removed from a bin while we remove the child from
11753           the bin and while we're retrieving its state, signal this to the
11754           get_state function so we abort the wait (instead of waiting for
11755           a timeout) and can immediately re-iterate over all other elements.
11756
11757 2005-05-12  Wim Taymans  <wim@fluendo.com>
11758
11759         * gst/base/Makefile.am:
11760         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11761         (gst_basesrc_start):
11762         * gst/base/gstbasesrc.h:
11763         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11764         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11765         (gst_pushsrc_init), (gst_pushsrc_create):
11766         * gst/base/gstpushsrc.h:
11767         Added is_seekable to BaseSrc
11768         Added simple PushSrc.
11769
11770 2005-05-11  Wim Taymans  <wim@fluendo.com>
11771
11772         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11773         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11774         (gst_element_link_pads), (gst_element_query_position),
11775         (gst_element_query_convert), (intersect_caps_func),
11776         (gst_pad_query_position), (gst_pad_query_convert):
11777         Fix refcounting in utils function.
11778         No point in trying to activate a pad when it's added, it could
11779         be added from the state change function and then we deadlock, the
11780         element has to decide what to do.
11781
11782 2005-05-10  Andy Wingo  <wingo@pobox.com>
11783
11784         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11785         *all* the arguments.
11786
11787         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11788         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11789         lock (according to the docs -- if this is wrong change the docs).
11790
11791         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11792         flush messages in the NULL state.
11793
11794         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11795         message immediately and return.
11796         (gst_bus_set_flushing): New function. If a bus is flushing, it
11797         flushes out any queued messages and immediately unrefs new
11798         messages. This is so when an element goes to NULL, all of the
11799         unhandled messages coming from it can be freed, and their
11800         references to the element dropped. In other words: message source
11801         ref considered harmful :P
11802
11803         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11804         we're finished with it.
11805
11806         * gst/gstmessage.c (gst_message_new_state_changed): 
11807
11808 2005-05-10  Wim Taymans  <wim@fluendo.com>
11809
11810         * gst/gstvalue.c: (gst_value_compare_flags),
11811         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11812         (_gst_value_initialize):
11813         Added flags serialize/deserialize/compare code.
11814
11815 2005-05-09  Andy Wingo  <wingo@pobox.com>
11816
11817         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11818         Intersect the peer's caps with our caps.
11819
11820 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11821
11822         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11823         * gst/elements/gsttypefindelement.c: (find_peek):
11824           Handle negative offsets better. Fixes decodebin.
11825
11826 2005-05-09  Wim Taymans  <wim@fluendo.com>
11827
11828         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11829         (gst_base_transform_event):
11830         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11831         Implement accept_caps.
11832         Fix silly lock/unlock mismatch in base class.
11833
11834 2005-05-09  Wim Taymans  <wim@fluendo.com>
11835
11836         * docs/design/draft-push-pull.txt:
11837         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11838         * gst/elements/gstfilesink.c: (gst_filesink_init),
11839         (gst_filesink_query):
11840         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11841         (gst_type_find_handle_src_query), (find_element_get_length):
11842         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11843         * gst/gstelement.h:
11844         * gst/gstmessage.c:
11845         * gst/gstmessage.h:
11846         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11847         (gst_real_pad_get_caps_unlocked),
11848         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11849         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11850         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11851         (gst_real_pad_dispose), (gst_real_pad_finalize),
11852         (gst_pad_load_and_link), (gst_pad_save_thyself),
11853         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11854         (gst_pad_check_pull_range), (gst_pad_pull_range),
11855         (gst_pad_template_get_type), (gst_pad_template_class_init),
11856         (gst_pad_template_init), (gst_pad_template_dispose),
11857         (name_is_valid), (gst_static_pad_template_get),
11858         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11859         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11860         (gst_pad_get_element_private), (gst_pad_start_task),
11861         (gst_pad_pause_task), (gst_pad_stop_task),
11862         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11863         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11864         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11865         (gst_ghost_pad_new):
11866         * gst/gstpad.h:
11867         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11868         (gst_query_new_position), (gst_query_set_position),
11869         (gst_query_parse_position), (gst_query_new_convert),
11870         (gst_query_set_convert), (gst_query_parse_convert):
11871         * gst/gstquery.h:
11872         * gst/gstqueryutils.c:
11873         * gst/gstqueryutils.h:
11874         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11875         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11876         (gst_queue_handle_src_query):
11877         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11878         (gst_element_query_position), (gst_element_query_convert),
11879         (intersect_caps_func), (gst_pad_query_position),
11880         (gst_pad_query_convert):
11881         * gst/gstutils.h:
11882         * tools/gst-inspect.c: (print_pad_info):
11883         * tools/gst-xmlinspect.c: (print_element_info):
11884         Remove old query functions. Ported old code.
11885         Added position/convert helper functions to gstutils.
11886         Reordered gstpad.c code, grouping relevant things.
11887         Remove gst_message_new(), always need to speficy a specific
11888         message.
11889
11890
11891 2005-05-09  Andy Wingo  <wingo@pobox.com>
11892
11893         * gst/gstiterator.h: Add some includes.
11894
11895         * gst/gstqueryutils.h: Include more headers.
11896
11897         * gst/gstpad.h:
11898         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11899         some uses of gst_pad_query.
11900
11901         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11902         NULL out parameters.
11903         (gst_query_new_position): New proc, allocates a new position
11904         query.
11905
11906         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11907         gstqueryutils.c to the build.
11908
11909         * gst/gststructure.c (gst_structure_set_valist): Implement with
11910         the generic G_VALUE_COLLECT.
11911         
11912 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11913
11914         * gst/Makefile.am: (gst_headers):
11915         Added gstqueryutils.h to the list of headers to install, that was
11916         a 'nachty' move wingo :)
11917
11918 2005-05-06  Andy Wingo  <wingo@pobox.com>
11919
11920         * gst/gstquery.h
11921         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11922         GstData, init a memchunk.
11923         (standard_definitions): Add a few query types, deprecate a few.
11924         (gst_query_get_type): New proc.
11925         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11926         implementation.
11927         (gst_query_new_application, gst_query_get_structure): New public
11928         procs.
11929
11930         * docs/design/draft-query.txt: Removed LINKS from the query types,
11931         because all the rest can be dispatched to other pads -- seemed
11932         ugly to have a query that couldn't be dispatched. internal_links
11933         is fine as a pad method.
11934
11935         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11936         in gstpad.c, but maintain binary compatibility for the moment.
11937         Will fix before 0.9 is out.
11938
11939         * gst/gstqueryutils.c: 
11940         * gst/gstqueryutils.h: New files, implement 3 methods for each
11941         query type: parse_query, parse_response, and set. Probably need an
11942         allocator as well.
11943
11944         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11945
11946         * gst/elements/gstfilesink.c (gst_filesink_query2):
11947         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11948         query_types, and formats methods.
11949
11950         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11951         (gst_pad_set_query2_function): New functions.
11952         (gst_real_pad_init): Set query2_default as the default query2
11953         function. Basically just dispatches to internally linked pads.
11954
11955         Needs review!
11956         
11957         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11958         without using the atomic operations. Only one thread can possibly
11959         be accessing the data at this point. Changed so as to avoid
11960         gst_atomic operations.
11961
11962 2005-05-06  Wim Taymans  <wim@fluendo.com>
11963
11964         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11965         Also set caps if we use the fallback buffer alloc.
11966
11967 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * docs/gst/Makefile.am:
11970         * docs/gst/gstreamer-docs.sgml:
11971         * docs/gst/gstreamer-sections.txt:
11972         * docs/gst/tmpl/gstatomic.sgml:
11973         * docs/gst/tmpl/gstmemchunk.sgml:
11974         * testsuite/elements/struct_i386.h:
11975         * win32/GStreamer.vcproj:
11976         * win32/Makefile:
11977           Purge GstAtomic stuff from docs and win32 makefiles as well
11978
11979 2005-05-06  Wim Taymans  <wim@fluendo.com>
11980
11981         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11982         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11983         * gst/gstpad.c: (gst_pad_peer_get_caps):
11984         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11985         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11986         (gst_queue_src_activate), (gst_queue_change_state):
11987         * gst/gstqueue.h:
11988         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11989         (intersect_caps_func):
11990         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11991         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11992         Some fixes for the peer_get_caps() change.
11993
11994 2005-05-06  Wim Taymans  <wim@fluendo.com>
11995
11996         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11997         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11998         (gst_basesink_activate):
11999         Actually do something with error codes returned from the push
12000         functions.
12001
12002 2005-05-06  Wim Taymans  <wim@fluendo.com>
12003
12004         * docs/design/part-element-sink.txt:
12005         * docs/design/part-element-source.txt:
12006         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12007         (gst_basesink_event), (gst_basesink_activate):
12008         * gst/base/gstbasesink.h:
12009         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12010         (gst_basesrc_activate):
12011         * gst/base/gstbasesrc.h:
12012         * gst/gstelement.c: (gst_element_pads_activate):
12013         Some more documentation.
12014         Fixed scheduling decision in _pads_activate().
12015
12016 2005-05-05  Andy Wingo  <wingo@pobox.com>
12017
12018         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12019         the test suite.
12020
12021 2005-05-05  Wim Taymans  <wim@fluendo.com>
12022
12023         * gst/base/Makefile.am:
12024         * gst/base/gstbasesink.h:
12025         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12026         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12027         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12028         (gst_collectpads_class_init), (gst_collectpads_init),
12029         (gst_collectpads_finalize), (gst_collectpads_new),
12030         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12031         (find_pad), (gst_collectpads_remove_pad),
12032         (gst_collectpads_is_active), (gst_collectpads_collect),
12033         (gst_collectpads_collect_range), (gst_collectpads_start),
12034         (gst_collectpads_stop), (gst_collectpads_peek),
12035         (gst_collectpads_pop), (gst_collectpads_available),
12036         (gst_collectpads_read), (gst_collectpads_flush),
12037         (gst_collectpads_chain):
12038         * gst/base/gstcollectpads.h:
12039         * gst/elements/Makefile.am:
12040         * gst/elements/gstelements.c:
12041         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12042         (gst_fakesink_get_times), (gst_fakesink_event),
12043         (gst_fakesink_preroll), (gst_fakesink_render):
12044         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12045         (gst_filesink_init), (gst_filesink_set_location),
12046         (gst_filesink_open_file), (gst_filesink_close_file),
12047         (gst_filesink_pad_query), (gst_filesink_event),
12048         (gst_filesink_render), (gst_filesink_change_state):
12049         * gst/elements/gstfilesink.h:
12050         Added object to help in making collect pad based elements.
12051         Ported filesink.
12052         Make event function in sink baseclass return gboolean.
12053
12054 2005-05-05  Wim Taymans  <wim@fluendo.com>
12055
12056         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12057         (gst_bin_get_by_name):
12058         * gst/gstbuffer.h:
12059         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12060         (gst_clock_finalize):
12061         * gst/gstdata.c: (gst_data_replace):
12062         * gst/gstdata.h:
12063         * gst/gstelement.c: (gst_element_request_pad),
12064         (gst_element_pads_activate):
12065         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12066         (gst_object_unref):
12067         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12068         (gst_pad_set_checkgetrange_function),
12069         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12070         (gst_pad_check_pull_range), (gst_pad_pull_range),
12071         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12072         (gst_pad_pause_task), (gst_pad_stop_task):
12073         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12074         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12075         Fix name lookup in GstBin.
12076         Added _data_replace() function and _buffer_replace()
12077         Use finalize method to clean up clock.
12078         Fix refcounting on request pads.
12079         Fix pad schedule mode error.
12080         Some more object refcounting debug info,
12081
12082
12083 2005-05-04  Andy Wingo <wingo@pobox.com>
12084
12085         * check/Makefile.am:
12086         * docs/gst/tmpl/gstatomic.sgml:
12087         * docs/gst/tmpl/gstplugin.sgml:
12088         * gst/base/gstbasesink.c: (gst_basesink_activate):
12089         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12090         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12091         (gst_basesrc_query), (gst_basesrc_set_property),
12092         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12093         (gst_basesrc_activate):
12094         * gst/base/gstbasesrc.h:
12095         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12096         (gst_base_transform_src_activate):
12097         * gst/elements/gstelements.c:
12098         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12099         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12100         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12101         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12102         (gst_type_find_element_checkgetrange),
12103         (gst_type_find_element_activate):
12104         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12105         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12106         (gst_caps_load_thyself):
12107         * gst/gstelement.c: (gst_element_pads_activate),
12108         (gst_element_save_thyself), (gst_element_restore_thyself):
12109         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12110         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12111         * gst/gstpad.h:
12112         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12113         (gst_xml_parse_file), (gst_xml_parse_memory),
12114         (gst_xml_get_element), (gst_xml_make_element):
12115         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12116         (_file_index_id_save_xml), (gst_file_index_commit):
12117         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12118         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12119         (load_paths):
12120         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12121         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12122         * tools/gst-complete.c: (main):
12123         * tools/gst-compprep.c: (main):
12124         * tools/gst-inspect.c: (print_element_properties_info):
12125         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12126         * tools/gst-xmlinspect.c: (print_element_properties):
12127         GCC 4 fixen.
12128         
12129 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12130
12131         * gst/gstplugin.c: (gst_plugin_check_module),
12132         (gst_plugin_check_file), (gst_plugin_load_file):
12133             apply patch from #172526 to make register work on MacOSX
12134
12135 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12136
12137         * docs/gst/tmpl/gstconfig.sgml:
12138         * gst/gstconfig.h.in:
12139           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12140         * testsuite/debug/printf_extension.c: (main):
12141           Do not use GST_PTR_FORMAT on pointers to types with
12142           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12143         * testsuite/elements/property.h:
12144           use correct printf format
12145
12146 2005-05-02  Wim Taymans  <wim@fluendo.com>
12147
12148         * docs/design/draft-push-pull.txt:
12149         * docs/design/draft-query.txt:
12150         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12151         (gst_basesrc_start):
12152         Added draft for new query API.
12153         Added draft for better selecting scheduling methods.
12154         Make basesrc ignore length if the subclass does not support
12155         it.
12156
12157 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12158
12159         * gst/Makefile.am:
12160           possible fixes for automake-1.5 - _LIBADD is reserved
12161
12162 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12163
12164         * docs/faq/Makefile.am:
12165         * docs/manual/Makefile.am:
12166         * docs/manuals.mak:
12167         * docs/pwg/Makefile.am:
12168         * gst/Makefile.am:
12169           possible fixes for automake-1.5
12170
12171 2005-04-28  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12174         (gst_basesink_pad_getcaps), (gst_basesink_init),
12175         (gst_basesink_do_sync):
12176         * gst/gstclock.c: (gst_clock_entry_new):
12177         * gst/gstevent.c: (gst_event_discont_get_value):
12178         * gst/gstpipeline.c: (pipeline_bus_handler),
12179         (gst_pipeline_change_state):
12180         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12181         Better debugging of clocking info.
12182         Allow NULL values when getting discont values.
12183
12184 2005-04-27  Wim Taymans  <wim@fluendo.com>
12185
12186         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12187         * check/gst/gstpad.c: (gst_pad_suite):
12188         Increase timeout for checks.
12189
12190 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12191
12192         * check/Makefile.am:
12193           fix the broken rule for cleanup.  Apparently this rule is
12194           only needed on FC2, so maybe this warrants further autotool
12195           inspection.
12196
12197 2005-04-26  Wim Taymans  <wim@fluendo.com>
12198
12199         * gst/gsttrashstack.h:
12200         Ooohh. a nasty one! After having a failed pop() from the stack,
12201         it's possible that the stack is empty. In that case, don't
12202         follow the NULL pointer.
12203
12204 2005-04-25  Wim Taymans  <wim@fluendo.com>
12205
12206         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12207         (gst_pad_set_checkgetrange_function),
12208         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12209         (gst_pad_check_pull_range), (gst_pad_pull_range),
12210         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12211         (gst_pad_pause_task), (gst_pad_stop_task):
12212         * gst/gstplugin.c: (gst_plugin_load):
12213         * gst/gstplugin.h:
12214         Remove gst_library_load as it does more harm than good with
12215         the new g_module flags.
12216         Revert bogus caps template check in pad linking, pad caps
12217         are important when linking not the template, which is more
12218         general than the current caps.
12219
12220 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12221
12222         * gst/autoplug/.cvsignore:
12223         * gst/autoplug/Makefile.am:
12224         * gst/autoplug/gstsearchfuncs.c:
12225         * gst/autoplug/gstsearchfuncs.h:
12226         * gst/autoplug/gstspider.c:
12227         * gst/autoplug/gstspider.h:
12228         * gst/autoplug/gstspideridentity.c:
12229         * gst/autoplug/gstspideridentity.h:
12230         * gst/autoplug/spidertest.c:
12231           Die, spider, die.
12232
12233 2005-04-25  Wim Taymans  <wim@fluendo.com>
12234
12235         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12236         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12237         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12238         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12239         * gst/gstpad.h:
12240         Added stubs for unimplemented functions. 
12241
12242 2005-04-24  David Schleef  <ds@schleef.org>
12243
12244         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12245         please fix.
12246
12247 2005-04-24  David Schleef  <ds@schleef.org>
12248
12249         Convert everything from GstAtomicInt to g_atomic_int_*, and
12250         remove gstatomic.
12251         * gst/Makefile.am:
12252         * gst/gstatomic.c:
12253         * gst/gstatomic.h:
12254         * gst/gstatomic_impl.h:
12255         * gst/gstbuffer.c:
12256         * gst/gstcaps.c:
12257         * gst/gstcaps.h:
12258         * gst/gstclock.c:
12259         * gst/gstclock.h:
12260         * gst/gstdata.c:
12261         * gst/gstdata.h:
12262         * gst/gstdata_private.h:
12263         * gst/gstevent.c:
12264         * gst/gstinfo.c:
12265         * gst/gstinfo.h:
12266         * gst/gstmessage.c:
12267         * gst/gstobject.c:
12268         * gst/gstobject.h:
12269         * gst/gststructure.c:
12270         * gst/gststructure.h:
12271         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12272         * gst/gstutils.h:
12273
12274 2005-04-24  David Schleef  <ds@schleef.org>
12275
12276         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12277         make the regressions tests work.  Remove some code that is no
12278         longer true.
12279         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12280         Disable warning for pads without templates.
12281
12282 2005-04-24  David Schleef  <ds@schleef.org>
12283
12284         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12285         functions that handle filtered links.
12286         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12287         removed functions.
12288         * gst/gstutils.c: Fix/remove utility functions that handle
12289         filtered caps.
12290         * gst/gstutils.h:
12291         * gst/gstvalue.c: Add serialization/deserialization of caps
12292         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12293         requires fixing so that the filter caps notation creates
12294         a capsfilter element and sets the filter_caps property.  I
12295         think everyone probably wants to keep the shorthand notation.
12296         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12297         * docs/gst/tmpl/gstpad.sgml:
12298
12299         * gst/elements/gstelements.c: Register capsfilter element.
12300         * gst/Makefile.am: fix spacing
12301         * docs/random/ds/0.9-suggested-changes: random
12302
12303 2005-04-23  David Schleef  <ds@schleef.org>
12304
12305         * gst/elements/Makefile.am:
12306         * gst/elements/gstcapsfilter.c: New element that acts like an
12307         identity, but filters caps.  Will eventually replace filtered
12308         caps in pad linking.
12309         * gst/gstutils.c: (gst_element_create_all_pads): New function
12310         to create all the ALWAYS pads that are registered with an
12311         element class.  This functionality should eventually be
12312         merged in with GstElement initialization.
12313         * gst/gstutils.h:
12314         * testsuite/trigger/README: part of trigger test code that should
12315         have been checked in a long time ago.
12316
12317 2005-04-23  David Schleef  <ds@schleef.org>
12318
12319         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12320         needed with new versions of libtool (nobody will confirm this),
12321         and hard to carry around.
12322         * gst/autoplug/Makefile.am:
12323         * gst/base/Makefile.am:
12324         * gst/elements/Makefile.am:
12325         * gst/indexers/Makefile.am:
12326         * gst/schedulers/Makefile.am:
12327         * libs/gst/bytestream/Makefile.am:
12328         * libs/gst/control/Makefile.am:
12329         * libs/gst/dataprotocol/Makefile.am:
12330         * libs/gst/getbits/Makefile.am:
12331
12332 2005-04-21  Wim Taymans  <wim@fluendo.com>
12333
12334         * docs/design/draft-push-pull.txt:
12335         * docs/design/part-MT-refcounting.txt:
12336         * docs/design/part-TODO.txt:
12337         * docs/design/part-caps.txt:
12338         * docs/design/part-events.txt:
12339         * docs/design/part-gstbus.txt:
12340         * docs/design/part-gstpipeline.txt:
12341         * docs/design/part-messages.txt:
12342         * docs/design/part-push-pull.txt:
12343         * docs/design/part-query.txt:
12344         Some more docs.
12345
12346 2005-04-21  Wim Taymans  <wim@fluendo.com>
12347
12348         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12349         (gst_message_new), (gst_message_new_error),
12350         (gst_message_new_warning), (gst_message_new_tag),
12351         (gst_message_new_state_changed), (gst_message_new_application),
12352         (gst_message_get_structure):
12353         * gst/gstmessage.h:
12354         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12355         (gst_structure_copy_conditional):
12356         Use parent refcount in GstMessage to ensure GstStructure
12357         consistency.
12358         Cleaned up headers a bit.
12359         
12360
12361 2005-04-20  Wim Taymans  <wim@fluendo.com>
12362
12363         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12364         (gst_basesink_pad_getcaps), (gst_basesink_init),
12365         (gst_basesink_chain_unlocked):
12366         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12367         (gst_type_find_helper):
12368         * gst/elements/gsttypefindelement.c:
12369         (gst_type_find_element_have_type), (gst_type_find_element_init),
12370         (stop_typefinding), (gst_type_find_element_handle_event),
12371         (find_suggest), (gst_type_find_element_chain),
12372         (gst_type_find_element_checkgetrange),
12373         (gst_type_find_element_getrange), (do_typefind),
12374         (gst_type_find_element_activate):
12375         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12376         (gst_buffer_default_free), (gst_buffer_default_copy),
12377         (gst_buffer_set_caps):
12378         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12379         (gst_caps_replace):
12380         * gst/gstmessage.c: (gst_message_new),
12381         (gst_message_new_state_changed):
12382         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12383         (gst_pad_set_checkgetrange_function),
12384         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12385         (gst_pad_set_caps), (gst_pad_check_pull_range),
12386         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12387         * gst/gstpad.h:
12388         * gst/gsttypefind.c: (gst_type_find_register):
12389         Make gst_caps_replace() work like other _replace() functions.
12390         Use _caps_replace() where possible.
12391         Make sure _message_new() initialises its field.
12392         Add gst_static_pad_template_get_caps()
12393
12394
12395 2005-04-18  Andy Wingo  <wingo@pobox.com>
12396
12397         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12398         on the peer, not the pad. I think that was a typo. Pass an extra
12399         arg to see if random access is possible. Activate the pads as
12400         PULL_RANGE if possible.
12401
12402         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12403
12404         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12405         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12406         to PROP_....
12407
12408 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12409
12410         * docs/faq/using.xml:
12411           Add note on gstreamer-properties (#154996).
12412
12413 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12414
12415         * docs/random/bbb/optional-properties:
12416           Some analysis on optional properties.
12417
12418 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12419
12420         * docs/gst/tmpl/gstelementfactory.sgml:
12421         * gst/gstelement.h:
12422         * gst/gstelementfactory.c: (gst_element_factory_init),
12423         (gst_element_factory_cleanup), (gst_element_register),
12424         (__gst_element_factory_add_static_pad_template),
12425         (gst_element_factory_get_static_pad_templates),
12426         (gst_element_factory_can_src_caps),
12427         (gst_element_factory_can_sink_caps):
12428         * gst/registries/Makefile.am:
12429         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12430         (gst_xml_registry_class_init), (gst_xml_registry_init),
12431         (gst_xml_registry_new), (gst_xml_registry_set_property),
12432         (gst_xml_registry_get_property), (get_time), (make_dir),
12433         (gst_xml_registry_get_perms_func),
12434         (plugin_times_older_than_recurse), (plugin_times_older_than),
12435         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12436         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12437         (add_to_char_array), (read_string), (read_uint), (read_enum),
12438         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12439         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12440         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12441         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12442         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12443         (gst_xml_registry_rebuild):
12444         * gst/registries/gstlibxmlregistry.h:
12445         * tools/gst-compprep.c: (main):
12446         * tools/gst-inspect.c: (print_pad_templates_info):
12447         * tools/gst-xmlinspect.c: (print_element_info):
12448           Use libxml2 for registry parsing, use staticpadtemplates in
12449           elementfactories. Makes gst_init() +/- 10x faster.
12450
12451 2005-04-12  Wim Taymans  <wim@fluendo.com>
12452
12453         * gst/base/Makefile.am:
12454         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12455         (gst_basesink_pad_getcaps), (gst_basesink_init),
12456         (gst_basesink_event), (gst_basesink_change_state):
12457         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12458         (gst_basesrc_init), (gst_basesrc_query),
12459         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12460         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12461         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12462         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12463         (gst_basesrc_stop), (gst_basesrc_activate),
12464         (gst_basesrc_change_state):
12465         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12466         (helper_find_suggest), (gst_type_find_helper):
12467         * gst/base/gsttypefindhelper.h:
12468         * gst/elements/Makefile.am:
12469         * gst/elements/gstelements.c:
12470         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12471         (gst_fakesink_get_times), (gst_fakesink_event),
12472         (gst_fakesink_preroll), (gst_fakesink_render):
12473         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12474         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12475         (gst_fakesrc_get_property), (gst_fakesrc_create),
12476         (gst_fakesrc_start), (gst_fakesrc_stop):
12477         * gst/elements/gstfakesrc.h:
12478         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12479         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12480         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12481         (gst_filesrc_create_read), (gst_filesrc_create),
12482         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12483         (gst_filesrc_start):
12484         * gst/elements/gsttypefindelement.c:
12485         (gst_type_find_element_have_type), (gst_type_find_element_init),
12486         (start_typefinding), (stop_typefinding), (push_buffer_store),
12487         (gst_type_find_element_handle_event),
12488         (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_type_find_element_change_state):
12493         * gst/elements/gsttypefindelement.h:
12494         * gst/gstpipeline.c: (pipeline_bus_handler):
12495         Added typefind helper.
12496         Small preroll fix in the base sink.
12497         Disable typefind code in basesrc.
12498         Crude port of typefindelement.
12499         Fakesrc cleanups.
12500
12501
12502 2005-04-11  Wim Taymans  <wim@fluendo.com>
12503
12504         * check/gst/gstbus.c: (gstbus_suite):
12505         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12506         * check/gstcheck.h:
12507           Fix up the timeout so that the test does not fail.
12508
12509 2005-04-06  Wim Taymans  <wim@fluendo.com>
12510
12511         * gst/base/README:
12512         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12513         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12514         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12515         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12516         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12517         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12518         (gst_basesrc_stop), (gst_basesrc_activate),
12519         (gst_basesrc_change_state), (basesrc_find_peek),
12520         (basesrc_find_suggest), (gst_basesrc_type_find):
12521         * gst/base/gstbasesrc.h:
12522         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12523         (gst_filesrc_class_init), (gst_filesrc_init),
12524         (gst_filesrc_finalize), (gst_filesrc_set_location),
12525         (gst_filesrc_set_property), (gst_filesrc_get_property),
12526         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12527         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12528         (gst_filesrc_create_read), (gst_filesrc_create),
12529         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12530         * gst/elements/gstfilesrc.h:
12531         * gst/gstelement.c: (gst_element_get_state_func),
12532         (gst_element_lost_state), (gst_element_pads_activate):
12533         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12534         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12535         (gst_pad_pull_range):
12536         * gst/gstpad.h:
12537         More work on the generic source base class, implement seeking,
12538         query.
12539         Make filesrc extend the base source class.
12540         Added gst_pad_set_checkgetrange_function to GstPad.
12541
12542 2005-04-06  Andy Wingo  <wingo@pobox.com>
12543
12544         * pkgconfig/gstreamer-base.pc.in:
12545         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12546
12547         * pkgconfig/Makefile.am:
12548         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12549
12550 2005-04-04  Wim Taymans  <wim@fluendo.com>
12551
12552         * gst/base/Makefile.am:
12553         * gst/base/README:
12554         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12555         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12556         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12557         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12558         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12559         (gst_basesrc_base_init), (gst_basesrc_class_init),
12560         (gst_basesrc_init), (gst_basesrc_get_formats),
12561         (gst_basesrc_get_query_types), (gst_basesrc_query),
12562         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12563         (gst_basesrc_set_property), (gst_basesrc_get_property),
12564         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12565         (gst_basesrc_loop), (gst_basesrc_activate),
12566         (gst_basesrc_change_state):
12567         * gst/base/gstbasesrc.h:
12568         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12569         (gst_fakesrc_class_init), (gst_fakesrc_init),
12570         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12571         (gst_fakesrc_get_property), (gst_fakesrc_create):
12572         * gst/elements/gstfakesrc.h:
12573         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12574         (gst_filesrc_open_file), (gst_filesrc_loop),
12575         (gst_filesrc_activate), (filesrc_find_peek),
12576         (gst_filesrc_type_find):
12577         Made base source class, make fakesrc extend it.
12578         Add comments to basesink class.
12579         Some filesrc cleanup.
12580
12581 2005-03-31  David Schleef  <ds@schleef.org>
12582
12583         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12584         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12585         expected to link against libgstreamer.
12586         * gst/base/Makefile.am: link against libgstreamer
12587         * gst/elements/Makefile.am: same
12588
12589 2005-03-31  Andy Wingo  <wingo@pobox.com>
12590
12591         * tests/instantiate/Makefile.am:
12592         * tests/instantiate/caps.c: Add test to test speed of caps copy
12593         and free.
12594
12595         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12596         GMemChunk to be fair.
12597
12598         * gst/gsttrashstack.h: Remove warning about using the fallback
12599         trash stack implementation, it's still faster than malloc.
12600
12601 2005-03-30  Andy Wingo  <wingo@pobox.com>
12602
12603         * tests/complexity.c: Add a copyright.
12604
12605 2005-03-31  Wim Taymans  <wim@fluendo.com>
12606
12607         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12608         (gst_base_transform_class_init), (gst_base_transform_init),
12609         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12610         (gst_base_transform_get_property),
12611         (gst_base_transform_sink_activate),
12612         (gst_base_transform_src_activate),
12613         (gst_base_transform_change_state):
12614         * gst/base/gstbasetransform.h:
12615         * gst/elements/gstidentity.c: (gst_identity_class_init),
12616         (gst_identity_event), (gst_identity_check_perfect),
12617         (gst_identity_transform), (gst_identity_start),
12618         (gst_identity_stop):
12619         Added start/stop methods to transform base class so subclasses 
12620         don't need to deal with state changes even.
12621
12622 2005-03-31  Wim Taymans  <wim@fluendo.com>
12623
12624         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12625         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12626         * gst/gstevent.h:
12627         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12628         (gst_pad_pull_range):
12629         Added rate to the discont event to prepare for variable speed
12630         and reverse playback.
12631
12632 2005-03-29  David Schleef  <ds@schleef.org>
12633
12634         * configure.ac:
12635         * testsuite/trigger/Makefile.am:
12636         * testsuite/trigger/trigger.c: A little example program to show
12637         how trigger-based elements can work.
12638
12639 2005-03-29  Wim Taymans  <wim@fluendo.com>
12640
12641         * gst/base/Makefile.am:
12642         * gst/base/README:
12643         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12644         (gst_basesink_base_init), (gst_basesink_class_init),
12645         (gst_basesink_pad_getcaps), (gst_basesink_init),
12646         (gst_basesink_activate), (gst_basesink_change_state):
12647         * gst/base/gstbasesink.h:
12648         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12649         (gst_base_transform_base_init), (gst_base_transform_finalize),
12650         (gst_base_transform_class_init), (gst_base_transform_init),
12651         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12652         (gst_base_transform_event), (gst_base_transform_getrange),
12653         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12654         (gst_base_transform_set_property),
12655         (gst_base_transform_get_property),
12656         (gst_base_transform_sink_activate),
12657         (gst_base_transform_src_activate),
12658         (gst_base_transform_change_state):
12659         * gst/base/gstbasetransform.h:
12660         * gst/elements/gstidentity.c: (gst_identity_finalize),
12661         (gst_identity_class_init), (gst_identity_init),
12662         (gst_identity_event), (gst_identity_check_perfect),
12663         (gst_identity_transform), (gst_identity_set_property),
12664         (gst_identity_get_property), (gst_identity_change_state):
12665         * gst/elements/gstidentity.h:
12666         * gst/gstelement.c: (gst_element_get_state_func),
12667         (gst_element_lost_state), (gst_element_pads_activate):
12668         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12669         (gst_pad_check_pull_range), (gst_pad_pull_range):
12670         * gst/gstpad.h:
12671         Simplify pad activation.
12672         Added function to check if pull_range can be performed.
12673         Error out when pulling inactive or flushing pads.
12674         Removed const from refcounted types as it does not make sense.
12675         Simplify pad templates in basesink
12676         Added base class for simple 1-to-1 transforms.
12677         Make identity subclass the base transform.
12678
12679 2005-03-29  Andy Wingo  <wingo@pobox.com>
12680
12681         * docs/libs/gstreamer-libs-overrides.txt: 
12682         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12683         really don't understand what's going on, but like whatever. I want
12684         green buildbot!
12685
12686         * docs/gst/Makefile.am:
12687         * docs/libs/Makefile.am: Dist the overrides files.
12688
12689         * check/Makefile.am (clean-local): Remove .libs directories.
12690
12691         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12692         elements to EXTRA_DIST, so po/ files are happy.
12693
12694         * po/POTFILES.in: Er, remove it here.
12695
12696         * po/POTFILES: Remove gstspider.c.
12697
12698         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12699
12700         * docs/libs/gstreamer-libs-docs.sgml: 
12701         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12702         bytestream.
12703
12704         * tests/complexity.c (main): Set the length of the preroll queue
12705         on the sinks to prevent a lockup.
12706
12707         * libs/gst/dataprotocol/Makefile.am: 
12708         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12709         the same as the one in check/gst-libs/gdp.c.
12710
12711         * po/, docs/gst/: Commit automatic changes to docs and po files.
12712
12713         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12714         the versioned libgstbase.
12715
12716         * check/Makefile.am: Depend on an unversioned gst-register, seems
12717         to make autoconf happier.
12718
12719         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12720
12721 2005-03-28  Wim Taymans  <wim@fluendo.com>
12722
12723         * configure.ac:
12724         * docs/design/part-gstelement.txt:
12725         * docs/design/part-negotiation.txt:
12726         * docs/design/part-preroll.txt:
12727         * docs/design/part-scheduling.txt:
12728         * docs/design/part-states.txt:
12729         * gst/Makefile.am:
12730         * gst/base/Makefile.am:
12731         * gst/base/README:
12732         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12733         (gst_basesink_base_init), (gst_basesink_class_init),
12734         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12735         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12736         (gst_basesink_set_pad_functions),
12737         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12738         (gst_basesink_set_property), (gst_basesink_get_property),
12739         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12740         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12741         (gst_basesink_preroll_queue_push),
12742         (gst_basesink_preroll_queue_empty),
12743         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12744         (gst_basesink_event), (gst_basesink_get_times),
12745         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12746         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12747         (gst_basesink_loop), (gst_basesink_activate),
12748         (gst_basesink_change_state):
12749         * gst/base/gstbasesink.h:
12750         * gst/elements/Makefile.am:
12751         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12752         (gst_fakesink_class_init), (gst_fakesink_init),
12753         (gst_fakesink_set_property), (gst_fakesink_get_property),
12754         (gst_fakesink_get_times), (gst_fakesink_event),
12755         (gst_fakesink_preroll), (gst_fakesink_render),
12756         (gst_fakesink_change_state):
12757         * gst/elements/gstfakesink.h:
12758         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12759         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12760         * gst/gstelement.c: (gst_element_add_pad),
12761         (gst_element_get_state_func), (gst_element_abort_state),
12762         (gst_element_commit_state), (gst_element_lost_state),
12763         (gst_element_set_state), (gst_element_pads_activate):
12764         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12765         * gst/gstpipeline.c: (gst_pipeline_send_event),
12766         (gst_pipeline_change_state):
12767         Added state change code.
12768         Added/updated docs.
12769         Added sink base class, make fakesink extend the base class.
12770         Small cleanups in GstPipeline.
12771
12772 2005-03-26  David Schleef  <ds@schleef.org>
12773
12774         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12775         is broken and should be implemented in a different library.
12776         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12777         * gst/gst.h: remove gstcpu.h
12778         * gst/gstcpu.c: remove
12779         * gst/gstcpu.h: remove
12780         * gst/Makefile.am.future: Remove this file.  It's ancient.
12781
12782 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12783
12784         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12785         (gst_bin_send_event):
12786           Add default event/set_manager handlers. The set_manager handler
12787           takes care that the manager is distributed over kids that were
12788           already in the bin before the manager was set. The event handler
12789           is a utility virtual function that sends the event over all sinks,
12790           so that gst_element_send_event (bin, event); has the expected
12791           behaviour.
12792         * gst/gstpad.c: (gst_pad_event_default):
12793           Re-install default event handling for discontinuities, so that
12794           seeking works without requiring hacks in applications or extra
12795           code in sinks.
12796         * gst/gstpipeline.c: (gst_pipeline_class_init),
12797         (gst_pipeline_send_event):
12798           Half hack, half utility: set a pipeline to PAUSED for seek events,
12799           since that is the only way we can guarantee a/v sync. Means that
12800           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12801           and it "just works".
12802
12803 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12804
12805         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12806           Lock/unlock mismatch.
12807
12808 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12809
12810         * docs/faq/gst-uninstalled:
12811           add gst-plugins-base
12812         * docs/gst/Makefile.am:
12813           don't error out until docs are fixed
12814         * docs/gst/gstreamer.types:
12815           remove thread
12816
12817 2005-03-22  Wim Taymans  <wim@fluendo.com>
12818
12819         * check/Makefile.am:
12820         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12821         * gst/gststructure.c: (gst_structure_set_valist),
12822         (gst_structure_copy_conditional):
12823         Activated more tests.
12824         Added message test.
12825         Added G_TYPE_POINTER to GstStructure.
12826         
12827
12828 2005-03-22  Wim Taymans  <wim@fluendo.com>
12829
12830         * docs/design/part-TODO.txt:
12831         * docs/design/part-events.txt:
12832         * docs/design/part-gstbin.txt:
12833         * docs/design/part-gstbus.txt:
12834         * docs/design/part-gstpipeline.txt:
12835         * docs/design/part-messages.txt:
12836         * gst/gstbus.c:
12837         * gst/gstmessage.c:
12838         Docs updates
12839
12840 2005-03-21  Wim Taymans  <wim@fluendo.com>
12841
12842         * gst/gstbus.c: (gst_bus_post):
12843         Fix copy-and-paste error.
12844
12845 2005-03-21  Wim Taymans  <wim@fluendo.com>
12846
12847         * check/Makefile.am:
12848         * gst/Makefile.am:
12849         * gst/elements/Makefile.am:
12850         * gst/elements/gstelements.c:
12851         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12852         (gst_fakesink_event), (gst_fakesink_chain):
12853         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12854         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12855         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12856         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12857         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12858         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12859         (gst_fakesrc_loop), (gst_fakesrc_activate),
12860         (gst_fakesrc_change_state):
12861         * gst/elements/gstfakesrc.h:
12862         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12863         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12864         (gst_filesrc_open_file), (gst_filesrc_loop),
12865         (gst_filesrc_activate), (gst_filesrc_change_state),
12866         (filesrc_find_peek), (filesrc_find_suggest),
12867         (gst_filesrc_type_find):
12868         * gst/elements/gstidentity.c: (gst_identity_finalize),
12869         (gst_identity_class_init), (gst_identity_init),
12870         (gst_identity_proxy_getcaps), (identity_queue_push),
12871         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12872         (gst_identity_getrange), (gst_identity_chain),
12873         (gst_identity_sink_loop), (gst_identity_src_loop),
12874         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12875         (gst_identity_set_property), (gst_identity_get_property),
12876         (gst_identity_change_state):
12877         * gst/elements/gstidentity.h:
12878         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12879         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12880         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12881         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12882         (gst_tee_sink_activate):
12883         * gst/elements/gsttee.h:
12884         * gst/gst.c: (gst_register_core_elements), (init_post):
12885         * gst/gst.h:
12886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12887         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12888         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12889         (gst_bin_change_state):
12890         * gst/gstbin.h:
12891         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12892         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12893         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12894         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12895         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12896         (bus_watch_callback), (bus_watch_destroy),
12897         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12898         (poll_timeout), (gst_bus_poll):
12899         * gst/gstbus.h:
12900         * gst/gstcaps.h:
12901         * gst/gstdata.h:
12902         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12903         (gst_element_post_message), (gst_element_message_full),
12904         (gst_element_get_state_func), (gst_element_get_state),
12905         (gst_element_abort_state), (gst_element_commit_state),
12906         (gst_element_lost_state), (gst_element_set_state),
12907         (gst_element_pads_activate), (gst_element_change_state),
12908         (gst_element_dispose), (gst_element_set_manager_func),
12909         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12910         (gst_element_set_manager), (gst_element_get_manager),
12911         (gst_element_set_bus), (gst_element_get_bus),
12912         (gst_element_set_scheduler), (gst_element_get_scheduler):
12913         * gst/gstelement.h:
12914         * gst/gstevent.c: (gst_event_new_segment_seek),
12915         (gst_event_new_flush):
12916         * gst/gstevent.h:
12917         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12918         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12919         (gst_message_new_eos), (gst_message_new_error),
12920         (gst_message_new_warning), (gst_message_new_tag),
12921         (gst_message_new_state_changed), (gst_message_new_application),
12922         (gst_message_get_structure), (gst_message_parse_tag),
12923         (gst_message_parse_state_changed), (gst_message_parse_error),
12924         (gst_message_parse_warning):
12925         * gst/gstmessage.h:
12926         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12927         (gst_real_pad_set_property), (gst_pad_set_active),
12928         (gst_pad_is_active), (gst_pad_set_blocked_async),
12929         (gst_pad_set_blocked), (gst_pad_is_blocked),
12930         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12931         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12932         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12933         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12934         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12935         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12936         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12937         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12938         (gst_pad_set_caps), (gst_pad_configure_sink),
12939         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12940         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12941         (gst_real_pad_dispose), (gst_real_pad_finalize),
12942         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12943         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12944         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12945         * gst/gstpad.h:
12946         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12947         (pipeline_bus_handler), (gst_pipeline_change_state),
12948         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12949         * gst/gstpipeline.h:
12950         * gst/gstprobe.h:
12951         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12952         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12953         (gst_queue_link_src), (gst_queue_bufferalloc),
12954         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12955         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12956         (gst_queue_loop), (gst_queue_handle_src_event),
12957         (gst_queue_handle_src_query), (gst_queue_src_activate),
12958         (gst_queue_change_state):
12959         * gst/gstqueue.h:
12960         * gst/gstscheduler.c: (gst_scheduler_init),
12961         (gst_scheduler_dispose), (gst_scheduler_create_task),
12962         (gst_scheduler_factory_create):
12963         * gst/gstscheduler.h:
12964         * gst/gststructure.c: (gst_structure_get_type),
12965         (gst_structure_copy_conditional):
12966         * gst/gststructure.h:
12967         * gst/gsttaginterface.h:
12968         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12969         (gst_task_init), (gst_task_dispose), (gst_task_create),
12970         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12971         (gst_task_pause):
12972         * gst/gsttask.h:
12973         * gst/gstthread.c:
12974         * gst/gstthread.h:
12975         * gst/gsttypes.h:
12976         * gst/schedulers/Makefile.am:
12977         * gst/schedulers/cothreads_compat.h:
12978         * gst/schedulers/entryscheduler.c:
12979         * gst/schedulers/faircothreads.c:
12980         * gst/schedulers/faircothreads.h:
12981         * gst/schedulers/fairscheduler.c:
12982         * gst/schedulers/gstbasicscheduler.c:
12983         * gst/schedulers/gstoptimalscheduler.c:
12984         * gst/schedulers/gthread-cothreads.h:
12985         * gst/schedulers/threadscheduler.c:
12986         (gst_thread_scheduler_task_get_type),
12987         (gst_thread_scheduler_task_class_init),
12988         (gst_thread_scheduler_task_init),
12989         (gst_thread_scheduler_task_start),
12990         (gst_thread_scheduler_task_stop),
12991         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12992         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12993         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12994         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12995         (plugin_init):
12996         * libs/gst/Makefile.am:
12997         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12998         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12999         (gst_file_pad_parent_set):
13000         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13001         (gst_dp_event_from_packet):
13002         * tests/complexity.c: (main):
13003         * tests/mass_elements.c: (main):
13004         * testsuite/states/locked.c: (message_received), (main):
13005         * testsuite/states/parent.c: (main):
13006         * tools/gst-inspect.c: (print_element_flag_info),
13007         (print_implementation_info), (print_pad_info):
13008         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13009         (main):
13010         * tools/gst-md5sum.c: (event_loop), (main):
13011         * tools/gst-typefind.c: (main):
13012         * tools/gst-xmlinspect.c: (print_element_info):
13013         Next big merge.
13014         Added GstBus for mainloop integration.
13015         Added GstMessage for sending notifications on the bus.
13016         Added GstTask as an abstraction for pipeline entry points.
13017         Removed GstThread.
13018         Removed Schedulers.
13019         Simplified GstQueue for multithreaded core.
13020         Made _link threadsafe, removed old capsnego.
13021         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13022         Added pad blocking functions.
13023         Reworked scheduling functions in GstPad to prepare for
13024         scheduling updates soon.
13025         Moved events out of data stream.
13026         Simplified GstEvent types.
13027         Added return values to push/pull.
13028         Removed clocking from GstElement.
13029         Added prototypes for state change function for next merge.
13030         Removed iterate from bins and state change management.
13031         Fixed some elements, disabled others for now.
13032         Fixed -inspect and -launch.
13033         Added check for GstBus.
13034
13035 2005-03-10  Wim Taymans  <wim@fluendo.com>
13036
13037         * docs/design/part-MT-refcounting.txt:
13038         * docs/design/part-clocks.txt:
13039         * docs/design/part-gstelement.txt:
13040         * docs/design/part-gstobject.txt:
13041         * docs/design/part-standards.txt:
13042         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13043         (gst_bin_remove_func), (gst_bin_remove):
13044         * gst/gstbin.h:
13045         * gst/gstbuffer.c:
13046         * gst/gstcaps.h:
13047         * testsuite/clock/clock1.c: (main):
13048         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13049         (main):
13050         * testsuite/dlopen/loadgst.c: (do_test):
13051         * testsuite/refcounting/bin.c: (add_remove_test1),
13052         (add_remove_test2), (main):
13053         * testsuite/refcounting/element.c: (main):
13054         * testsuite/refcounting/element_pad.c: (main):
13055         * testsuite/refcounting/pad.c: (main):
13056         * tools/gst-launch.c: (sigint_handler_sighandler):
13057         * tools/gst-typefind.c: (main):
13058         Doc updates.
13059         Added doc about clock.
13060         removed gst_bin_iterate_recurse_up(), marked methods
13061         for removal.
13062         Fix more testsuites.
13063
13064 2005-03-09  Wim Taymans  <wim@fluendo.com>
13065
13066         * gst/gstpad.c: (gst_pad_get_direction),
13067         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13068         (gst_pad_collect_valist):
13069         * testsuite/bins/interface.c: (main):
13070         * testsuite/caps/audioscale.c: (test_caps):
13071         * testsuite/caps/caps.c: (test1), (test2), (test3):
13072         * testsuite/caps/deserialize.c: (main):
13073         * testsuite/caps/enumcaps.c: (main):
13074         * testsuite/caps/filtercaps.c: (main):
13075         * testsuite/caps/intersect2.c: (main):
13076         * testsuite/caps/random.c: (main):
13077         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13078         * testsuite/caps/sets.c: (check_caps):
13079         * testsuite/caps/simplify.c: (check_caps), (main):
13080         * testsuite/caps/subtract.c: (check_caps):
13081         Fix _pad_get_direction wrt ghostpads.
13082         Fix caps testsuite.
13083
13084 2005-03-09  Wim Taymans  <wim@fluendo.com>
13085
13086         * check/Makefile.am:
13087         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13088         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13089         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13090         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13091         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13092         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13093         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13094         (bin_element_is_sink), (gst_bin_iterate_sinks),
13095         (gst_bin_iterate_all_by_interface):
13096         * gst/gstbin.h:
13097         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13098         (gst_element_change_state), (gst_element_dispose),
13099         (gst_element_finalize), (gst_element_set_loop_function):
13100         * gst/gstelement.h:
13101         * gst/gstiterator.c: (find_custom_fold_func):
13102         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13103         (gst_pad_collectv), (gst_pad_collect_valist),
13104         (gst_pad_template_new):
13105         * gst/gstpipeline.c: (gst_pipeline_class_init),
13106         (gst_pipeline_dispose), (gst_pipeline_set_property),
13107         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13108         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13109         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13110         * gst/gstutils.h:
13111         * gst/schedulers/entryscheduler.c:
13112         * gst/schedulers/gstbasicscheduler.c:
13113         (gst_basic_scheduler_cothreaded_chain),
13114         (gst_basic_scheduler_chain_add_element):
13115         * testsuite/bins/interface.c: (main):
13116         Added GstBin test.
13117         Added GstSystemClock test.
13118         Implemented clock distribution code in GstBin.
13119         Implemented iterate sinks method for future use.
13120         Rearranged gstelement.h
13121         Fix GstIterator comparison bug.
13122         Moved some code to GstPipeline, mostly clocking related.
13123
13124 2005-03-09  Wim Taymans  <wim@fluendo.com>
13125
13126         * configure.ac:
13127         * gst/gst_private.h:
13128         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13129         (gst_bin_remove_func), (gst_bin_remove),
13130         (gst_bin_get_by_name_recurse_up):
13131         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13132         (gst_clock_id_compare_func), (gst_clock_id_wait),
13133         (gst_clock_id_wait_async), (gst_clock_init),
13134         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13135         * gst/gstelement.h:
13136         * gst/gstinfo.c: (_gst_debug_init):
13137         * gst/gstobject.h:
13138         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13139         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13140         * gst/gstpad.h:
13141         Bump version number, we're now 0.9.0
13142         Add future debugging category.
13143         Fix NULL _unref() in _get_by_name_recurse_up
13144         Rearrange gstpad.h.
13145         Update some docs.
13146
13147 2005-03-08  Wim Taymans  <wim@fluendo.com>
13148
13149         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13150         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13151         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13152         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13153         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13154         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13155         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13156         * gst/elements/gstidentity.c: (gst_identity_class_init):
13157         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13158         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13159         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13160         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13161         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13162         (gst_tee_link):
13163         * gst/gstelement.c: (gst_element_class_init),
13164         (gst_element_base_class_init), (gst_element_init),
13165         (gst_element_get_random_pad), (gst_element_wait_state_change),
13166         (gst_element_change_state), (gst_element_dispose),
13167         (gst_element_finalize), (gst_element_set_loop_function):
13168         * gst/gstelement.h:
13169         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13170         * gst/gstthread.c: (gst_thread_class_init),
13171         (gst_thread_release_children_locks), (gst_thread_change_state):
13172         * gst/schedulers/gstbasicscheduler.c:
13173         (gst_basic_scheduler_loopfunc_wrapper),
13174         (gst_basic_scheduler_chain_wrapper),
13175         (gst_basic_scheduler_src_wrapper),
13176         (gst_basic_scheduler_remove_element):
13177         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13178         Remove threadsafe properties. Fix elements because GObject
13179         complains when installing a property before declaring a
13180         set/get_property handler.
13181         Rearrange gstelement.h file, use STATE macros for state locks.
13182         Free mutexes in the finalize method instead of dispose.
13183
13184 2005-03-08  Wim Taymans  <wim@fluendo.com>
13185
13186         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13187         * gst/gstthread.c: (gst_thread_release_children_locks):
13188         Added parentage check.
13189         Fix build og GstThread again.
13190
13191 2005-03-08  Wim Taymans  <wim@fluendo.com>
13192
13193         * docs/design/part-MT-refcounting.txt:
13194         * docs/design/part-conventions.txt:
13195         * docs/design/part-gstobject.txt:
13196         * docs/design/part-relations.txt:
13197         * docs/design/part-standards.txt:
13198         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13199         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13200         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13201         (gst_bin_iterate_all_by_interface):
13202         * gst/gstbuffer.h:
13203         * gst/gstclock.h:
13204         * gst/gstelement.c: (gst_element_class_init),
13205         (gst_element_change_state), (gst_element_set_loop_function):
13206         * gst/gstelement.h:
13207         * gst/gstiterator.c:
13208         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13209         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13210         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13211         (gst_object_set_parent), (gst_object_unparent),
13212         (gst_object_check_uniqueness):
13213         * gst/gstobject.h:
13214         Docs updates, clean up some headers.
13215
13216 2005-03-07  Wim Taymans  <wim@fluendo.com>
13217
13218         * check/.cvsignore:
13219         * check/Makefile.am:
13220         * check/gst-libs/.cvsignore:
13221         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13222         * check/gst/.cvsignore:
13223         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13224         (START_TEST), (gstbus_suite), (main):
13225         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13226         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13227         (gst_data_suite), (main):
13228         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13229         (add_fold_func), (gstiterator_suite), (main):
13230         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13231         (thread_name_object), (thread_name_object_default),
13232         (gst_object_name_compare), (gst_object_suite), (main):
13233         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13234         (gst_pad_suite), (main):
13235         * check/gstcheck.c: (gst_check_log_message_func),
13236         (gst_check_log_critical_func), (gst_check_init):
13237         * check/gstcheck.h:
13238         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13239         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13240         Added checks.
13241
13242 2005-03-07  Wim Taymans  <wim@fluendo.com>
13243
13244         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13245         (gst_list_iterator_next), (gst_list_iterator_resync),
13246         (gst_list_iterator_free), (gst_iterator_new_list),
13247         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13248         (gst_iterator_free), (gst_iterator_push), (filter_next),
13249         (filter_resync), (filter_uninit), (filter_free),
13250         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13251         (gst_iterator_foreach), (find_custom_fold_func),
13252         (gst_iterator_find_custom):
13253         * gst/gstiterator.h:
13254         Added missing files.
13255
13256 2005-03-07  Wim Taymans  <wim@fluendo.com>
13257
13258         * Makefile.am:
13259         * configure.ac:
13260         * docs/design/part-MT-refcounting.txt:
13261         * docs/design/part-conventions.txt:
13262         * docs/design/part-gstobject.txt:
13263         * docs/design/part-relations.txt:
13264         * examples/mixer/mixer.c: (main):
13265         * examples/thread/thread.c: (eos), (main):
13266         * gst/Makefile.am:
13267         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13268         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13269         (gst_spider_plug_from_srcpad):
13270         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13271         (gst_spider_identity_change_state),
13272         (gst_spider_identity_sink_loop_type_finding):
13273         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13274         * gst/elements/gstidentity.c: (gst_identity_init):
13275         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13276         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13277         * gst/elements/gsttypefindelement.c: (free_entry):
13278         * gst/gst.c:
13279         * gst/gst.h:
13280         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13281         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13282         (gst_bin_set_index), (gst_bin_set_element_sched),
13283         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13284         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13285         (gst_bin_iterate_elements), (iterate_child_recurse),
13286         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13287         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13288         (compare_interface), (gst_bin_get_by_interface),
13289         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13290         * gst/gstbin.h:
13291         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13292         (gst_buffer_default_free), (gst_buffer_default_copy),
13293         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13294         (gst_buffer_create_sub):
13295         * gst/gstbuffer.h:
13296         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13297         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13298         (gst_caps_unref), (gst_static_caps_get),
13299         (gst_caps_remove_and_get_structure), (gst_caps_append),
13300         (gst_caps_append_structure), (gst_caps_remove_structure),
13301         (gst_caps_copy_nth), (gst_caps_set_simple),
13302         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13303         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13304         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13305         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13306         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13307         (gst_caps_structure_figure_out_union),
13308         (gst_caps_switch_structures), (gst_caps_do_simplify),
13309         (gst_caps_replace), (gst_caps_from_string),
13310         (gst_caps_copy_conditional):
13311         * gst/gstcaps.h:
13312         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13313         (_gst_clock_id_free), (gst_clock_id_unref),
13314         (gst_clock_id_compare_func), (gst_clock_id_wait),
13315         (gst_clock_id_wait_async), (gst_clock_class_init),
13316         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13317         (gst_clock_get_time), (gst_clock_set_time_adjust),
13318         (gst_clock_set_property), (gst_clock_get_property):
13319         * gst/gstclock.h:
13320         * gst/gstcompat.h:
13321         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13322         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13323         * gst/gstdata.h:
13324         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13325         (gst_element_requires_clock), (gst_element_provides_clock),
13326         (gst_element_set_clock), (gst_element_clock_wait),
13327         (gst_element_wait), (gst_element_set_time_delay),
13328         (gst_element_is_indexable), (gst_element_add_pad),
13329         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13330         (pad_compare_name), (gst_element_get_static_pad),
13331         (gst_element_request_pad), (gst_element_get_request_pad),
13332         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13333         (gst_element_class_get_pad_template_list),
13334         (gst_element_class_get_pad_template), (gst_element_error_func),
13335         (gst_element_get_random_pad), (gst_element_get_event_masks),
13336         (gst_element_send_event), (gst_element_seek),
13337         (gst_element_get_query_types), (gst_element_query),
13338         (gst_element_get_formats), (gst_element_convert),
13339         (gst_element_is_locked_state), (gst_element_set_locked_state),
13340         (gst_element_sync_state_with_parent), (gst_element_change_state),
13341         (gst_element_finalize), (gst_element_yield),
13342         (gst_element_interrupt), (gst_element_set_scheduler),
13343         (gst_element_get_scheduler), (gst_element_set_loop_function):
13344         * gst/gstelement.h:
13345         * gst/gstevent.h:
13346         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13347         (gst_format_get_by_nick), (gst_format_get_details),
13348         (gst_format_iterate_definitions):
13349         * gst/gstformat.h:
13350         * gst/gstindex.c: (gst_index_gtype_resolver):
13351         * gst/gstinfo.c:
13352         * gst/gstinfo.h:
13353         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13354         (gst_mem_chunk_free):
13355         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13356         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13357         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13358         (gst_object_dispatch_properties_changed),
13359         (gst_object_set_name_default), (gst_object_set_name),
13360         (gst_object_get_name), (gst_object_set_name_prefix),
13361         (gst_object_get_name_prefix), (gst_object_set_parent),
13362         (gst_object_get_parent), (gst_object_unparent),
13363         (gst_object_check_uniqueness), (gst_object_save_thyself),
13364         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13365         (gst_object_set_property), (gst_object_get_property),
13366         (gst_object_get_path_string):
13367         * gst/gstobject.h:
13368         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13369         (gst_real_pad_init), (gst_real_pad_get_property),
13370         (gst_pad_custom_new), (gst_pad_get_direction),
13371         (gst_pad_set_active), (gst_pad_is_active),
13372         (gst_pad_set_event_function), (gst_pad_is_linked),
13373         (gst_pad_link_free), (gst_pad_link_intersect),
13374         (gst_pad_link_fixate), (gst_pad_set_caps),
13375         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13376         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13377         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13378         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13379         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13380         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13381         (gst_pad_realize), (gst_pad_get_allowed_caps),
13382         (gst_real_pad_dispose), (gst_real_pad_finalize),
13383         (gst_pad_collectv), (gst_pad_collect_valist),
13384         (gst_pad_template_dispose), (gst_pad_template_new),
13385         (gst_pad_get_internal_links):
13386         * gst/gstpad.h:
13387         * gst/gstpipeline.c: (gst_pipeline_dispose),
13388         (gst_pipeline_change_state):
13389         * gst/gstpipeline.h:
13390         * gst/gstplugin.c:
13391         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13392         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13393         * gst/gstpluginfeature.h:
13394         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13395         * gst/gstquery.c: (_gst_query_type_initialize),
13396         (gst_query_type_register), (gst_query_type_get_by_nick),
13397         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13398         * gst/gstquery.h:
13399         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13400         * gst/gstscheduler.c: (gst_scheduler_add_element),
13401         (gst_scheduler_factory_create):
13402         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13403         (gst_structure_free), (gst_structure_set_name),
13404         (gst_structure_id_set_value), (gst_structure_set_value),
13405         (gst_structure_set_valist), (gst_structure_remove_field),
13406         (gst_structure_remove_fields),
13407         (gst_structure_remove_fields_valist),
13408         (gst_structure_remove_all_fields), (gst_structure_foreach),
13409         (gst_structure_map_in_place),
13410         (gst_caps_structure_fixate_field_nearest_int),
13411         (gst_caps_structure_fixate_field_nearest_double):
13412         * gst/gststructure.h:
13413         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13414         (gst_system_clock_init), (gst_system_clock_dispose),
13415         (gst_system_clock_async_thread),
13416         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13417         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13418         * gst/gstsystemclock.h:
13419         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13420         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13421         * gst/gsttaginterface.c:
13422         * gst/gstthread.c: (gst_thread_dispose),
13423         (gst_thread_release_children_locks), (gst_thread_change_state),
13424         (gst_thread_main_loop):
13425         * gst/gsttrashstack.h:
13426         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13427         * gst/gsttypes.h:
13428         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13429         (gst_element_request_pad), (gst_element_get_pad_from_template),
13430         (gst_element_request_compatible_pad),
13431         (gst_element_get_compatible_pad_filtered),
13432         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13433         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13434         (gst_element_link_many), (gst_element_link),
13435         (gst_element_link_pads), (gst_element_unlink_pads),
13436         (gst_element_unlink_many), (gst_element_unlink),
13437         (gst_pad_can_link_filtered), (gst_pad_can_link),
13438         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13439         (gst_object_default_error), (gst_bin_add_many),
13440         (gst_bin_remove_many), (gst_element_populate_std_props),
13441         (gst_element_class_install_std_props), (gst_buffer_merge),
13442         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13443         (link_fold_func), (gst_pad_proxy_setcaps):
13444         * gst/gstutils.h:
13445         * gst/gstvalue.c: (gst_value_deserialize_string):
13446         * gst/parse/grammar.y:
13447         * gst/schedulers/gstbasicscheduler.c:
13448         (gst_basic_scheduler_cothreaded_chain),
13449         (gst_basic_scheduler_chain_recursive_add),
13450         (gst_basic_scheduler_pad_link):
13451         * gst/schedulers/gstoptimalscheduler.c:
13452         (get_group_schedule_function),
13453         (gst_opt_scheduler_state_transition),
13454         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13455         * libs/gst/bytestream/bytestream.c:
13456         * libs/gst/dataprotocol/dataprotocol.c:
13457         (gst_dp_header_from_buffer):
13458         * po/nb.po:
13459         * po/ru.po:
13460         * tests/threadstate/threadstate2.c: (eos):
13461         * tools/gst-compprep.c: (main):
13462         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13463         (print_pad_info), (print_children_info):
13464         * tools/gst-launch.c: (idle_func), (main):
13465         * tools/gst-md5sum.c: (idle_func), (main):
13466         * tools/gst-xmlinspect.c: (print_element_info):
13467         First THREADED backport attempt, focusing on adding locks and
13468         making sure the API is threadsafe. Needs more work. More docs
13469         follow this week.
13470
13471 2005-02-24  Andy Wingo  <wingo@pobox.com>
13472
13473         * tests/bench-complexity.scm:
13474         * tests/complexity.gnuplot: New files, good for running complexity
13475         benchmarks.
13476
13477         * tests/Makefile.am:
13478         * tests/complexity.c: New test, sets up N elements, at each level
13479         teeing into M streams per element. Eeeenteresting.
13480
13481         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13482         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13483         running bench-mass_elements.scm.
13484
13485         * tests/bench-mass_elements.scm: New script, runs mass_elements
13486         for various numbers of identities, outputting the results to a
13487         file. Requires guile 1.6. Just for testing.
13488
13489 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13490
13491         * gst/schedulers/fairscheduler.c:
13492           compile with debug disabled
13493
13494 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13495
13496         * configure.ac:
13497           hunting season on 0.9 is now OPEN